GET
/
streaming
/
restreams
Get all restreams
curl --request GET \
  --url https://api.gcore.com/streaming/restreams \
  --header 'Authorization: <api-key>'
[
  {
    "name": "first restream",
    "active": true,
    "uri": "rtmp://a.rtmp.youtube.com/live/k17a-13s8",
    "stream_id": 20,
    "client_user_id": 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

Query Parameters

page
integer

Query parameter. Use it to list the paginated content

Response

200 - application/json

Successful

name
string

Restream name

live
boolean

Indicates that the stream is being published. Has two possible values:

  • true — stream is being published
  • false — stream isn't published
active
boolean

Enables/Disables restream. Has two possible values:

  • true — restream is enabled and can be started

  • false — restream is disabled.

Default is true

uri
string

A URL to push the stream to

stream_id
integer

ID of the stream to restream

client_user_id
integer

Custom field where you can specify user ID in your system