POST
/
ott
/
platforms
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/ott/platforms/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "project_id": "<string>",
  "name": "<string>",
  "hosts": [
    "<string>"
  ],
  "locales": [
    "<string>"
  ],
  "default_locale": "<string>",
  "title": {},
  "logo_asset_id": "<string>",
  "favicon_asset_id": "<string>",
  "colors": {},
  "navbar_entries": [
    {
      "title": {},
      "url": "<string>"
    }
  ],
  "footer_entries": [
    {
      "title": {},
      "url": "<string>"
    }
  ],
  "feature_configuration": {},
  "scripts": "<string>",
  "css": "<string>"
}'
{
  "platform": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "hosts": [
      "<string>"
    ],
    "locales": [
      "<string>"
    ],
    "default_locale": "<string>",
    "title": {},
    "logo_asset_id": "<string>",
    "favicon_asset_id": "<string>",
    "colors": {},
    "navbar_entries": [
      {
        "title": {},
        "url": "<string>"
      }
    ],
    "footer_entries": [
      {
        "title": {},
        "url": "<string>"
      }
    ],
    "feature_configuration": {},
    "scripts": "<string>",
    "css": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Platform is a configuration object that defines the structure of a Motto OTT platform instance.

Response

200
application/json

OK

The response is of type object.