ODK API Portal
한국어
  • Overview
  • MediaIO
  • Continue Watching
  • Player Event
  • Deprecated
  • Recent changes
Information
carousel-group
Carousel
category-channels
category-navigation
category
    Get category listget/odx/api/v4/category/postGet category detailgetGet category contentsget
channels
consent
content
Continue Watching
cover
deletion-request
device-data
Favorites
multichannel
Onboarding
parental-control
Amasian Parental PIN
playback
policy
recommendation
search
season
series
service-config
Schemas
powered by Zudoku
ODX API v4
ODX API v4

category


Get category list

GET
https://odkmedia.io
/odx/api/v4/category/

Retrieve a list of all categories.

Get category list › query Parameters

ordering
​string

Which field to use when ordering the results.

Example: title
page
​integer

A page number within the paginated result set.

Default: 1
page_size
​integer

Number of results to return per page.

Example: 10
search
​string

A search term.

Get category list › Responses

200
PaginatedAmasianCategoryList
count
​integer
next
​string | null · uri
previous
​string | null · uri
​AmasianCategory[]
GET/odx/api/v4/category/
curl https://odkmedia.io/odx/api/v4/category
Example Responses
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ { "description": "description", "i18n_description": {}, "i18n_title": {}, "id": 0, "slug": "slug", "title": "title" } ] }
json
application/json

POST
https://odkmedia.io
/odx/api/v4/category/

Category management API viewset. Provides category information and related content listings with filtering and sorting capabilities.

Request Body

Serializer 용 mixin. `self.service_name` 프로퍼티로 amasian service_name 을 제공한다. context['request'] 가 없거나 헤더가 없으면 기본값 `amasian` 으로 폴백한다.
AmasianCategoryRequest
slug
​string · minLength: 1 · maxLength: 256 · pattern: ^[-\w]+$ · required
title
​string · minLength: 1 · maxLength: 255 · required
description
​string | null
i18n_description
​
i18n_title
​

Responses

Serializer 용 mixin. `self.service_name` 프로퍼티로 amasian service_name 을 제공한다. context['request'] 가 없거나 헤더가 없으면 기본값 `amasian` 으로 폴백한다.
AmasianCategory
slug
​string · maxLength: 256 · pattern: ^[-\w]+$ · required
title
​string · maxLength: 255 · required
description
​string | null
i18n_description
​
i18n_title
​
id
​integer · readOnly
POST/odx/api/v4/category/
curl https://odkmedia.io/odx/api/v4/category \ --request POST \ --header 'Content-Type: application/json' \ --data '{ "description": "description", "i18n_description": {}, "i18n_title": {}, "slug": "slug", "title": "title" }'
Example Request Body
{ "description": "description", "i18n_description": {}, "i18n_title": {}, "slug": "slug", "title": "title" }
json
Example Responses
{ "description": "description", "i18n_description": {}, "i18n_title": {}, "id": 0, "slug": "slug", "title": "title" }
json
application/json

Get category detail

GET
https://odkmedia.io
/odx/api/v4/category/{slug}/

Retrieve detailed category information by slug.

Get category detail › path Parameters

slug
​string · required

Category slug identifier

Example: action

Get category detail › Responses

Serializer 용 mixin. `self.service_name` 프로퍼티로 amasian service_name 을 제공한다. context['request'] 가 없거나 헤더가 없으면 기본값 `amasian` 으로 폴백한다.
AmasianCategory
slug
​string · maxLength: 256 · pattern: ^[-\w]+$ · required
title
​string · maxLength: 255 · required
description
​string | null
i18n_description
​
i18n_title
​
id
​integer · readOnly
GET/odx/api/v4/category/{slug}/
curl https://odkmedia.io/odx/api/v4/category/:slug
Example Responses
{ "description": "description", "i18n_description": {}, "i18n_title": {}, "id": 0, "slug": "slug", "title": "title" }
json
application/json

Get category contents

GET
https://odkmedia.io
/odx/api/v4/category/{slug}/contents/

Retrieve contents and series for a specific category with sorting options.

Get category contents › path Parameters

slug
​string · required

Category slug identifier

Example: action

Get category contents › query Parameters

kids
​boolean

Kids profile. When true, only all-ages titles are returned: the resolved age rating (content -> season -> series) must be Vietnam 'P' or unset. Every other rating, 'K' included, is filtered out. Series and seasons are omitted when none of their episodes is all-ages. The Kids-Profile: true header does the same thing.

order
​string · enum

Order results

Enum values:
a-z
most-popular
newest
Default: newest

Get category contents › Responses

Combined list of series and content with pagination

count
​integer · required

전체 아이템 수

​array · required

시리즈와 콘텐츠가 혼합된 결과 목록

next
​string | null · uri

다음 페이지 URL

previous
​string | null · uri

이전 페이지 URL

GET/odx/api/v4/category/{slug}/contents/
curl https://odkmedia.io/odx/api/v4/category/:slug/contents
Example Responses
{ "count": 0, "next": "https://www.example.com/path/to/resource", "previous": "https://www.example.com/path/to/resource", "results": [ { "data": { "info": { "dubbing_mode": true, "genres": [ {} ], "season_ids": [ 0 ], "series_id": 0, "series_slug": "series_slug" }, "view": { "badge": { "bottom_left": "bottom_left", "bottom_right": "bottom_right", "top_left": "top_left", "top_right": "top_right" }, "badges": { "bottom_left": "bottom_left", "bottom_right": "bottom_right", "top_left": "top_left", "top_right": "top_right" }, "image": { "language": "language", "orientation": "orientation", "url": "https://www.example.com/path/to/resource" }, "title": "title" } }, "type": "series" } ] }
json
application/json

category-navigationchannels