ODX API v4
stringintegerintegerstring
integer · min: 0 · max: 2147483647string | nullstring | nullstring | null · maxLength: 255string · minLength: 1 · maxLength: 255 string · readOnlyinteger · min: 0 · max: 2147483647string | nullstring | nullstring | null · maxLength: 255string · readOnlystring · readOnlystring · readOnlystring · maxLength: 255
integer · required string · readOnlyinteger · min: 0 · max: 2147483647string | nullstring | nullstring | null · maxLength: 255string · readOnlystring · readOnlystring · readOnlystring · maxLength: 255
category-navigation
Get category navigation
GET
https://odkmedia.io
/odx/api/v4/category-navigation/
Retrieve category navigation structure ordered by display order.
query Parameters
orderingWhich field to use when ordering the results.
Example: title
pageA page number within the paginated result set.
Default: 1
page_sizeNumber of results to return per page.
Example: 10
searchA search term.
Get category navigation › Responses
200
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"}
orderseo_descriptionseo_keywordsseo_titletitleResponses
패턴 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"}
default_sort_option
orderseo_descriptionseo_keywordsseo_titleslugsort_by_labelsort_optionstitleGET
https://odkmedia.io
/odx/api/v4/category-navigation/{id}/
Category navigation API viewset. Provides category navigation structure for UI components.
path Parameters
idA 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"}
default_sort_option
orderseo_descriptionseo_keywordsseo_titleslugsort_by_labelsort_optionstitle