Skip to main content
GET
/
ott
/
pages
/
v1
/
{page_id}
/
compare
cURL
curl --request GET \
  --url https://api.mottostreaming.com/ott/pages/v1/{page_id}/compare \
  --header 'Authorization: Bearer <token>'
{
  "prod": "<string>",
  "preview": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

page_id
string
required

The page ID to diff.

Query Parameters

page_type
enum<string>
Available options:
PAGE_TYPE_UNSPECIFIED,
PAGE_TYPE_DEFAULT,
PAGE_TYPE_HOME,
PAGE_TYPE_EVENT,
PAGE_TYPE_CREATIVE_WORK,
PAGE_TYPE_ENTITY
platform_id
string

Response

OK

prod
string

The representation of the production version of the page.

preview
string

The representation of the preview version of the page.