PATCH
/
ott
/
platforms
/
v1
/
{platform_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/ott/platforms/v1/{platform_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform_id": "<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>"
  },
  "update_mask": "<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.

Path Parameters

platform_id
string
required

Body

application/json
platform_id
string
required
platform
object
required

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

update_mask
string
required

Response

200
application/json
OK
platform
object

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