POST
/
streaming
/
restreams
curl --request POST \
  --url https://api.gcore.com/streaming/restreams \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "restream": {
    "name": "first restream",
    "active": true,
    "uri": "rtmp://a.rtmp.youtube.com/live/k17a-13s8",
    "stream_id": 20,
    "client_user_id": 10
  }
}'

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json