ODK API Portal
English
  • Overview
  • MediaIO
  • Continue Watching
  • Player Event
  • 지원 종료
  • 최근 변경
Information
carousel-group
Carousel
category-channels
category-navigation
category
channels
consent
content
Continue Watching
cover
deletion-request
device-data
Favorites
multichannel
Onboarding
parental-control
    Get kids-block status by content idgetGet age rating details by content idgetGet channels currently airing a child-safe programmeget
Amasian Parental PIN
playback
policy
recommendation
search
season
series
service-config
Schemas
powered by Zudoku
ODX API v4
ODX API v4

parental-control


Get kids-block status by content id

GET
https://odkmedia.io
/odx/api/v4/parental-control/

Parental control for Live TV. Returns whether the program is blocked for kids. Any rating other than all-ages ('All', or Vietnam 'P'), resolved from amasian -> ODX -> MediaHub, blocks kids: is_blocked=true. All-ages or no rating: is_blocked=false.

Get kids-block status by content id › query Parameters

content_id
​integer · required

EPG content_uuid (MediaHub content id).

Get kids-block status by content id › Responses

200

No response body

No data returned
GET/odx/api/v4/parental-control/
curl 'https://odkmedia.io/odx/api/v4/parental-control?content_id=<number>'
Example Responses
No example specified for this content type

Get age rating details by content id

GET
https://odkmedia.io
/odx/api/v4/parental-control/age-rating/

Returns the resolved age rating (amasian -> ODX -> MediaHub) for a Live TV program by its EPG content id. age_rating_info is {code, label, warnings} or null when the content has no rating ('All').

Get age rating details by content id › query Parameters

content_id
​integer · required

EPG content_uuid (MediaHub content id).

language
​string

Warning label language (vi/en). Defaults to the request language.

Get age rating details by content id › Responses

200

No response body

No data returned
GET/odx/api/v4/parental-control/age-rating/
curl 'https://odkmedia.io/odx/api/v4/parental-control/age-rating?content_id=<number>'
Example Responses
No example specified for this content type

Get channels currently airing a child-safe programme

GET
https://odkmedia.io
/odx/api/v4/parental-control/available-channels/

Powers the Child Mode block screen's 'Now on channels within your limit' rail. A channel is included when its currently-airing programme has a resolved age rating that does not block kids (see /parental-control/age-rating/ for how a rating is resolved). Channels whose rating was never resolved are excluded, not assumed safe. Scoped to LG Channels Vietnam; other services get an empty list.

Get channels currently airing a child-safe programme › Responses

200
​AvailableChannel[]
Serializer representing a channel eligible for the available-channels rail. Input is an EPG instance (the channel's currently-airing, child-safe programme, `select_related('channel')`'d by the query); channel identity fields are read through the `channel` FK, matching `current_epg` naming used elsewhere for the same pairing (see `Channel.current_epg`).
AvailableChannel
​AvailableChannelEpg · required

Serializer representing the channel's currently-airing programme.

id
​integer · required
logo
​string | null · required
number
​integer · required
title
​string · required
GET/odx/api/v4/parental-control/available-channels/
curl https://odkmedia.io/odx/api/v4/parental-control/available-channels
Example Responses
[ { "current_epg": { "end_time": "2024-08-25T15:00:00Z", "start_time": "2024-08-25T15:00:00Z", "thumbnail": "https://www.example.com/path/to/resource", "title": "title" }, "id": 0, "logo": "logo", "number": 0, "title": "title" } ]
json
application/json

OnboardingAmasian Parental PIN