curl --request POST \
--url https://api.mottostreaming.com/streaming/rtmp_ingests/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"region": "REGION_UNSPECIFIED",
"disabled": true,
"name": "<string>",
"description": "<string>",
"pull_url": "<string>"
}'
{
"rtmp_ingest": {
"id": "<string>",
"project_id": "<string>",
"region": "REGION_UNSPECIFIED",
"key": "<string>",
"connected": true,
"disabled": true,
"name": "<string>",
"description": "<string>",
"pull_url": "<string>",
"last_update_time": "2023-11-07T05:31:56Z"
}
}
curl --request POST \
--url https://api.mottostreaming.com/streaming/rtmp_ingests/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"region": "REGION_UNSPECIFIED",
"disabled": true,
"name": "<string>",
"description": "<string>",
"pull_url": "<string>"
}'
{
"rtmp_ingest": {
"id": "<string>",
"project_id": "<string>",
"region": "REGION_UNSPECIFIED",
"key": "<string>",
"connected": true,
"disabled": true,
"name": "<string>",
"description": "<string>",
"pull_url": "<string>",
"last_update_time": "2023-11-07T05:31:56Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
Response message for CreateRTMPIngest.