GET
/
streaming
/
restreams
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
page = client.streaming.restreams.list()
page = page.items[0]
print(page.client_user_id)
[
  {
    "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

The response is of type object[].