GET
/
ott
/
slugs
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/ott/slugs/v1 \
  --header 'Authorization: Bearer <token>'
{
  "slugs": [
    {
      "slug": "<string>",
      "project_id": "<string>",
      "platform_id": "<string>",
      "path": "<string>",
      "is_canonical": true,
      "visibility": "VISIBILITY_UNSPECIFIED"
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer

Maximum number of records to return

project_id
string
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. This currently supports queries based on platform_id, path and is_canonical, e.g. path:"/entity/team/123" AND is_canonical:true AND platform_id:Zidfx48am194

page_token
string

The pagination token in the List request.

Response

200
application/json
OK
slugs
object[]

Slugs can be created to generate a better looking URL for your pages, leading to better SEO and user experience. For example, for an entity page that requires two variables, instead of using https://example.com/en-US/entity/competition/HiKTtRZYdyGU/2024 you can define a slug for https://example.com/en-US/la-liga-2024. The slug would be /la-liga-2024 and the path would be /entity/competition/HiKTtRZYdyGU/2024 (excluding the language segment, including the leading slash).

next_page_token
string

The pagination token that should be used to get next slug results. An empty value means no more results