GET
/
streaming
/
videos
/
{video_id}
/
upload
curl --request GET \
  --url https://api.gcore.com/streaming/videos/{video_id}/upload \
  --header 'APIKey: <api-key>'
{
  "servers": [
    {
      "id": 15,
      "hostname": "example.com"
    }
  ],
  "token": "X2lkIjoxMDE1fSwi",
  "video": {
    "id": 17,
    "name": "Video",
    "description": "Conference July",
    "client_id": 100,
    "duration": 4120,
    "slug": "zInSg1FL80",
    "origin_size": 2974741,
    "origin_host": "origin.host.org",
    "origin_resource": "",
    "origin_height": 1080,
    "screenshots": [
      "https://screenshot1.example.com/494.jpg"
    ],
    "screenshot_id": 0,
    "ad_id": 2,
    "projection": "regular",
    "client_user_id": 10,
    "hls_url": "https://example.com/master.m3u8"
  }
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

video_id
integer
required

Video ID.
IDs of all created videos can be received via Get All Videos request

Response

200 - application/json

Successful

The response is of type object.