ODK API Portal
한국어
  • Overview
  • MediaIO
  • Continue Watching
  • Player Event
  • Deprecated
  • Recent changes
Information
carousel-group
Carousel
category-channels
category-navigation
    Get category navigationget/odx/api/v4/category-navigation/post/odx/api/v4/category-navigation/{id}/get
category
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-navigation


Get category navigation

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

Retrieve category navigation structure ordered by display order.

Get category navigation › 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 navigation › Responses

200
PaginatedAmasianCategoryNavigationList
count
​integer
next
​string | null · uri
previous
​string | null · uri
​AmasianCategoryNavigation[]
GET/odx/api/v4/category-navigation/
curl https://odkmedia.io/odx/api/v4/category-navigation
Example Responses
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ { "default_sort_option": "default_sort_option", "image": "https://www.example.com/path/to/resource", "order": 0, "seo_description": "seo_description", "seo_keywords": "seo_keywords", "seo_title": "seo_title", "slug": "slug", "sort_by_label": "sort_by_label", "sort_options": "sort_options", "title": "title" } ] }
json
application/json

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

Category navigation API viewset. Provides category navigation structure for UI components.

Request Body

패턴 B(필드별 i18n_<field> JSONField) 기반 번역 serializer. modeltrans TranslationField(단일 i18n 컬럼) 를 쓰던 TranslationSerializer 와 동일하게 Accept-Language 로 단일 값을 스왑하지만, 번역 데이터는 필드별로 분리된 i18n_<field> JSONField({lang: value}) 에서 읽고 쓴다. subclass 는 표시 필드명 -> i18n JSONField 명 매핑을 i18n_fields 로 정의한다. i18n_fields = {"title": "i18n_title", "description": "i18n_description"}
AmasianCategoryNavigationRequest
​
order
​integer · min: 0 · max: 2147483647
seo_description
​string | null
seo_keywords
​string | null
seo_title
​string | null · maxLength: 255
title
​string · minLength: 1 · maxLength: 255

Responses

패턴 B(필드별 i18n_<field> JSONField) 기반 번역 serializer. modeltrans TranslationField(단일 i18n 컬럼) 를 쓰던 TranslationSerializer 와 동일하게 Accept-Language 로 단일 값을 스왑하지만, 번역 데이터는 필드별로 분리된 i18n_<field> JSONField({lang: value}) 에서 읽고 쓴다. subclass 는 표시 필드명 -> i18n JSONField 명 매핑을 i18n_fields 로 정의한다. i18n_fields = {"title": "i18n_title", "description": "i18n_description"}
AmasianCategoryNavigation
default_sort_option
​string · readOnly
​
order
​integer · min: 0 · max: 2147483647
seo_description
​string | null
seo_keywords
​string | null
seo_title
​string | null · maxLength: 255
slug
​string · readOnly
sort_by_label
​string · readOnly
sort_options
​string · readOnly
title
​string · maxLength: 255
POST/odx/api/v4/category-navigation/
curl https://odkmedia.io/odx/api/v4/category-navigation \ --request POST \ --header 'Content-Type: application/json' \ --data '{ "image": "https://www.example.com/path/to/resource", "order": 0, "seo_description": "seo_description", "seo_keywords": "seo_keywords", "seo_title": "seo_title", "title": "title" }'
Example Request Body
{ "image": "https://www.example.com/path/to/resource", "order": 0, "seo_description": "seo_description", "seo_keywords": "seo_keywords", "seo_title": "seo_title", "title": "title" }
json
Example Responses
{ "default_sort_option": "default_sort_option", "image": "https://www.example.com/path/to/resource", "order": 0, "seo_description": "seo_description", "seo_keywords": "seo_keywords", "seo_title": "seo_title", "slug": "slug", "sort_by_label": "sort_by_label", "sort_options": "sort_options", "title": "title" }
json
application/json

GET
https://odkmedia.io
/odx/api/v4/category-navigation/{id}/

Category navigation API viewset. Provides category navigation structure for UI components.

path Parameters

id
​integer · required

A unique integer value identifying this amasian category navigation.

Responses

200
패턴 B(필드별 i18n_<field> JSONField) 기반 번역 serializer. modeltrans TranslationField(단일 i18n 컬럼) 를 쓰던 TranslationSerializer 와 동일하게 Accept-Language 로 단일 값을 스왑하지만, 번역 데이터는 필드별로 분리된 i18n_<field> JSONField({lang: value}) 에서 읽고 쓴다. subclass 는 표시 필드명 -> i18n JSONField 명 매핑을 i18n_fields 로 정의한다. i18n_fields = {"title": "i18n_title", "description": "i18n_description"}
AmasianCategoryNavigation
default_sort_option
​string · readOnly
​
order
​integer · min: 0 · max: 2147483647
seo_description
​string | null
seo_keywords
​string | null
seo_title
​string | null · maxLength: 255
slug
​string · readOnly
sort_by_label
​string · readOnly
sort_options
​string · readOnly
title
​string · maxLength: 255
GET/odx/api/v4/category-navigation/{id}/
curl https://odkmedia.io/odx/api/v4/category-navigation/:id
Example Responses
{ "default_sort_option": "default_sort_option", "image": "https://www.example.com/path/to/resource", "order": 0, "seo_description": "seo_description", "seo_keywords": "seo_keywords", "seo_title": "seo_title", "slug": "slug", "sort_by_label": "sort_by_label", "sort_options": "sort_options", "title": "title" }
json
application/json

category-channelscategory