category-channels
Retrieve channel list by categories
Retrieves channel lists organized by enabled channel categories. For favorites channels, device ID (did) parameter is required.
query Parameters
adidAdvertising ID (used for advertisement tracking and targeting). Takes priority over did parameter when is_lat=0. If is_lat=1 (limit ad tracking) on Smartcast platform, this value is used instead.
dntDo Not Track preference. Values: "0" (not enabled) or "1" (enabled). This is a user/browser preference and is independent of both the CMP consent choice and is_lat.
gdprGDPR applicability flag as reported by the CMP. Values: "0" (does not apply) or "1" (applies). Omit the parameter when the CMP does not report it; the backend never assumes a value.
gdpr_consentIAB TCF consent string, required by buyers when gdpr=1. Forwarded unmodified.
gppIAB Global Privacy Platform (GPP) consent string as reported by the CMP. Forwarded to ad tags unmodified. Omit the parameter when the CMP has not resolved.
gpp_sidGPP section ID(s) as reported by the CMP (e.g. "7" for usnat, "8" for usca). Send whatever the CMP reports. The value is forwarded unmodified and is never validated or defaulted, because it differs per platform and jurisdiction.
is_latLimit Ad Tracking flag. Values: "0" (allow tracking) or "1" (limit tracking)
lmtLimit Ad Tracking flag as reported by the device (OpenRTB device.lmt). Values: "0" (allow tracking) or "1" (limit tracking). Equivalent to is_lat.
orderingWhich field to use when ordering the results.
searchA search term.
us_privacyCCPA US Privacy string as reported by the CMP (e.g. "1YNN", "1YYN"). Send the real consent value. Omit the parameter when no consent signal is available.
Headers
didDevice ID (used for Continue Watching, Favorites, and advertisement tracking)
Retrieve channel list by categories › Responses
category_typecategory- Categorybanner- Banner
orderClient API serializer for promoted content with platform-aware image selection and derived relationships.
slug^[-a-zA-Z0-9_]+$titleAPI ViewSet for managing channel categories and EPG information.
Provides channel lists by category and EPG program information. Supports both ID and slug-based retrieval.
Responses
category_typecategory- Categorybanner- Banner
orderClient API serializer for promoted content with platform-aware image selection and derived relationships.
slug^[-a-zA-Z0-9_]+$titleRetrieves EPG program list by channels with caching support.
캐시 전략:
- config.AMASIAN_EPG_CACHE_ENABLED로 캐시 on/off 제어 (기본 True)
- channel_ids 해싱으로 캐시 키 생성
- 정상 데이터: config.AMASIAN_EPG_CACHE_TIMEOUT 초 캐싱 (기본 120초)
- 빈 결과: config.AMASIAN_EPG_EMPTY_CACHE_TIMEOUT 초 캐싱 (기본 30초)
- Django admin에서 동적으로 캐시 설정 조정 가능
- 동일한 요청에 대해 캐시된 응답 제공으로 성능 향상
Responses
category_typecategory- Categorybanner- Banner
orderClient API serializer for promoted content with platform-aware image selection and derived relationships.
slug^[-a-zA-Z0-9_]+$titleRetrieve specific channel category
Retrieves detailed information of a specific channel category by ID or slug. For favorites channels, device ID (did) parameter is required.
path Parameters
idpkChannel category ID or slug
query Parameters
adidAdvertising ID (used for advertisement tracking and targeting). Takes priority over did parameter when is_lat=0. If is_lat=1 (limit ad tracking) on Smartcast platform, this value is used instead.
dntDo Not Track preference. Values: "0" (not enabled) or "1" (enabled). This is a user/browser preference and is independent of both the CMP consent choice and is_lat.
gdprGDPR applicability flag as reported by the CMP. Values: "0" (does not apply) or "1" (applies). Omit the parameter when the CMP does not report it; the backend never assumes a value.
gdpr_consentIAB TCF consent string, required by buyers when gdpr=1. Forwarded unmodified.
gppIAB Global Privacy Platform (GPP) consent string as reported by the CMP. Forwarded to ad tags unmodified. Omit the parameter when the CMP has not resolved.
gpp_sidGPP section ID(s) as reported by the CMP (e.g. "7" for usnat, "8" for usca). Send whatever the CMP reports. The value is forwarded unmodified and is never validated or defaulted, because it differs per platform and jurisdiction.
is_latLimit Ad Tracking flag. Values: "0" (allow tracking) or "1" (limit tracking)
lmtLimit Ad Tracking flag as reported by the device (OpenRTB device.lmt). Values: "0" (allow tracking) or "1" (limit tracking). Equivalent to is_lat.
us_privacyCCPA US Privacy string as reported by the CMP (e.g. "1YNN", "1YYN"). Send the real consent value. Omit the parameter when no consent signal is available.
Headers
didDevice ID (used for Continue Watching, Favorites, and advertisement tracking)
Retrieve specific channel category › Responses
category_typecategory- Categorybanner- Banner
orderClient API serializer for promoted content with platform-aware image selection and derived relationships.
slug^[-a-zA-Z0-9_]+$title