PATCH
/
streaming
/
broadcasts
/
{broadcast_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
broadcast = client.streaming.broadcasts.update(
    broadcast_id=0,
)
print(broadcast.ad_id)
{
  "name": "Broadcast",
  "status": "live",
  "share_url": "",
  "custom_iframe_url": "",
  "show_dvr_after_finish": true,
  "ad_id": 1,
  "player_id": 14,
  "stream_ids": [
    10
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

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.