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

Authorizations

Authorization
string
header
required

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

Path Parameters

slug
string
required

Query Parameters

platform_id
string

Response

200
application/json
OK
slug
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).