profile
Profile List
query Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile List › Responses
birthdayNullable
Nullable
has_pinDefault false
ididis unique per Profile.
is_activeNullable
is_kidDefault false
is_primaryDefault false
languageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
Profile Create
query Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Create › Request Body
nameuseravatar_idbirthdayis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
pinProfile Create › Responses
nameuseravatar_idbirthdayidis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
pinProfile Avatars List
query Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Avatars List › Responses
image_urldescriptionidorder이어보기(Continue Watching) 목록
query Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
pageA page number within the paginated result set.
page_size한 번에 반환할 시청 기록 수. 기본값 10.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
이어보기(Continue Watching) 목록 › Responses
에피소드별 이어보기 조회
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
에피소드별 이어보기 조회 › Responses
durationThe video length
episode_idis_primarylast_positionThe last watched point
profile_idprogram_idsession_keytotal_play_timeTotal played video time
updated_atuser_idwatchedTrue if progress_ratio is larger than 90%
progress_ratiolast_position divided by duration
프로그램별 이어보기 목록
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
pageA page number within the paginated result set.
page_size한 번에 반환할 시청 기록 수. 기본값 10.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
프로그램별 이어보기 목록 › Responses
Profile Favorites List
query Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
pageA page number within the paginated result set.
page_sizeNumber of results to return per page.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Favorites List › Responses
Profile Favorites Create
query Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Favorites Create › Responses
idis_favoritealways return True because this program is in user's favorite program list
slugProfile Favorites Delete All
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Favorites Delete All › Responses
No response body
Profile Favorites Save To All
query Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Favorites Save To All › Request Body
program_slugProfile Favorites Save To All › Responses
idis_favoritealways return True because this program is in user's favorite program list
slugProfile Favorites Delete
path Parameters
slugA unique integer value identifying this Profile Favorites.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Favorites Delete › Responses
No response body
Profile Retrieve
query Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Retrieve › Responses
No response body
시청 기록 목록
query Parameters
debugIf value is "on", debug is included in response.
orderingWhich field to use when ordering the results.
pageA page number within the paginated result set.
page_sizeNumber of results to return per page.
searchA search term.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
시청 기록 목록 › Responses
watching histories delete
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
watching histories delete › Responses
No response body
watching histories episode delete
path Parameters
idHeaders
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
watching histories episode delete › Responses
No response body
Profile Retrieve
To be written. Go to https://ondemandkorea.atlassian.net/wiki/spaces/BE/pages/2653356161/API+specification#Retrieve%5BinlineExtension%5D%3Agreen_star%3A
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Retrieve › Responses
birthdayhas_pinidis_activeis_kidis_primarylanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
프로필 전체 수정
ODX 토큰 인증이 필요하다. 같은 ViewSet 의 PATCH(부분 수정)와 같은 시리얼라이저 (OdxV3ProfileUpsertSerializer)를 쓰는 전체 수정(PUT) 액션으로, 프로필을 갱신하고 관련 ProfileToken 캐시를 지운 뒤 갱신된 프로필을 반환한다. 본문이 비어 있으면 400 을 반환한다.
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
프로필 전체 수정 › Request Body
nameuseravatar_idbirthdayis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
pin프로필 전체 수정 › Responses
nameuseravatar_idbirthdayidis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
pinProfile Delete
path Parameters
idHeaders
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Delete › Responses
No response body
Profile partial Update
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile partial Update › Request Body
avatar_idbirthdayis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
namepinuserProfile partial Update › Responses
nameuseravatar_idbirthdayidis_activeis_kidlanguageen- Englishko- Koreanzh-hans- Simplified Chinesezh-hant- Traditional Chinesees- Spanishpt- Portuguese
pinProfile Sign In
path Parameters
idquery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-Name요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).
Accept-Language"zh-Hans", "zh-Hant" is deprecated. Supported values: ko, en, es, zh-Hans, zh-Hant, pt, vi (default: en) — see LANGUAGES in app/settings/base.py.
Profile Sign In › Responses
No response body