POST
/
streaming
/
restreams
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
client.streaming.restreams.create()

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

Body

application/json
restream
object
Example:
{
"name": "first restream",
"active": true,
"uri": "rtmp://a.rtmp.youtube.com/live/k17a-13s8",
"stream_id": 20,
"client_user_id": 10
}