POST
/
streaming
/
rtmp_ingests
/
v1
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
region
enum<string>
required
Available options:
REGION_UNSPECIFIED,
REGION_AF,
REGION_AS,
REGION_EU,
REGION_NA,
REGION_OC,
REGION_SA
disabled
boolean
name
string
description
string
pull_url
string

Response

200
application/json
OK

Response message for CreateRTMPIngest.

rtmp_ingest
object

The created RTMP ingest.