PATCH
/
streaming
/
broadcasts
/
{broadcast_id}
curl --request PATCH \
  --url https://api.gcore.com/streaming/broadcasts/{broadcast_id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "broadcast": {
    "name": "Broadcast",
    "status": "live",
    "share_url": "",
    "custom_iframe_url": "",
    "show_dvr_after_finish": true,
    "ad_id": 1,
    "player_id": 14,
    "stream_ids": [
      10
    ]
  }
}'
{
  "name": "Broadcast",
  "status": "live",
  "share_url": "",
  "custom_iframe_url": "",
  "show_dvr_after_finish": true,
  "ad_id": 1,
  "player_id": 14,
  "stream_ids": [
    10
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

broadcast_id
integer
required

Broadcast ID.
IDs of all created broadcasts can be received via Get All Broadcasts request

Body

application/json

Response

200
application/json

Successful

The response is of type object.