PUT
/
streaming
/
streams
/
{stream_id}
/
clip_recording
curl --request PUT \
  --url https://api.gcore.com/streaming/streams/{stream_id}/clip_recording \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "start": 1716559200,
  "duration": 60,
  "expiration": 1716562860
}'
{
  "id": "d7bsli54p8n4",
  "created_at": "2024-01-05T20:15:00.000Z",
  "vod_required": true,
  "video_id": 459857,
  "renditions": [
    "media_1_360",
    "media_2_468",
    "media_3_720",
    "media_4_1080"
  ],
  "hls_master": "https://CID.domain.com/rec/12345_330031/rec_d7bsli54p8n4_qsid42_master.m3u8",
  "mp4_master": "https://CID.domain.com/rec/12345_330031/rec_d7bsli54p8n4_qsid42_master.mp4",
  "start": 1716559200,
  "duration": 60,
  "expiration": 1716562860
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

stream_id
integer
required

Stream ID

Body

application/json

Response

200
application/json

Successful

The response is of type object.