ODK API Portal
English
  • Overview
  • MediaIO
  • Continue Watching
  • Player Event
  • 지원 종료
  • 최근 변경
Information
apple
    애플 알림 이력 조회 (관리자용)get애플 주문 ID로 사용자 찾기 (관리자용)get애플 IAP 알림 웹훅post애플 IAP 샌드박스 알림 웹훅post
category
channels
check-region
client-base
client-log
config
contact-us
cover
curation
epg
episode
episodes
fast-channel
firetv
google
live-tv
navigation
notice
otp
page
payment
playback-log
playback
profile
program
programs
promotion-banner
reward
samsung
search
shorts
sponsor
tv-guide
user
visio-amasian-feed
Schemas
powered by Zudoku
ODX API v3
ODX API v3

apple


애플 알림 이력 조회 (관리자용)

GET
https://odkmedia.io
/odx/api/v3/apple/notification-history/

관리자(IsAdminUser)만 호출할 수 있는 내부 지원 도구다. payment_platform, transaction_id, 기간 등 쿼리 파라미터로 Apple App Store Server Notification 이력을 조회해 그대로 반환한다. 조회만 하며 부수효과는 없다.

애플 알림 이력 조회 (관리자용) › query Parameters

debug
​string

If value is "on", debug is included in response.

애플 알림 이력 조회 (관리자용) › Headers

Service-Name
​string · enum · required

요청을 처리할 서비스. v3 에서 유효한 값은 odk, odc 뿐이다 (content.constants.Service; v4 는 다른 값 체계를 쓴다).

Enum values:
odk
odc
Example: odk
Accept-Language
​string

"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.

Example: ko-KR,ko;q=0.9,en;q=0.8

애플 알림 이력 조회 (관리자용) › Responses

200

No response body

No data returned
GET/odx/api/v3/apple/notification-history/
curl https://odkmedia.io/odx/api/v3/apple/notification-history \ --header 'Service-Name: odk' \ --header 'Authorization: <api-key>'
Example Responses
No example specified for this content type

애플 주문 ID로 사용자 찾기 (관리자용)

GET
https://odkmedia.io
/odx/api/v3/apple/orders/{order_id}/

관리자 전용 지원 도구다. Apple App Store Server API 로 order_id 를 조회해 서명된 트랜잭션에서 appAccountToken 을 꺼내고, 그 uuid 로 로컬 사용자를 찾아 email/uuid 를 반환한다. payment_platform, environment 쿼리 파라미터가 필요하다.

애플 주문 ID로 사용자 찾기 (관리자용) › path Parameters

order_id
​string · required

애플 주문 ID로 사용자 찾기 (관리자용) › query Parameters

debug
​string

If value is "on", debug is included in response.

애플 주문 ID로 사용자 찾기 (관리자용) › Headers

Accept-Language
​string

"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.

Example: ko-KR,ko;q=0.9,en;q=0.8

애플 주문 ID로 사용자 찾기 (관리자용) › Responses

200

No response body

No data returned
GET/odx/api/v3/apple/orders/{order_id}/
curl https://odkmedia.io/odx/api/v3/apple/orders/:order_id
Example Responses
No example specified for this content type

애플 IAP 알림 웹훅

POST
https://odkmedia.io
/odx/api/v3/apple/{platform}/

Apple App Store Server Notifications V2 웹훅을 수신한다. platform 경로 파라미터로 ios/tvos 를 구분하며, 서명된 JWS 페이로드를 검증해 appAccountToken 으로 로컬 사용자를 찾고 구독 상태를 갱신한다. DRF 인증은 걸려 있지 않고 Apple 서명 검증 자체가 신뢰 경계다.

애플 IAP 알림 웹훅 › path Parameters

platform
​string · required

애플 IAP 알림 웹훅 › query Parameters

debug
​string

If value is "on", debug is included in response.

애플 IAP 알림 웹훅 › Headers

Accept-Language
​string

"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.

Example: ko-KR,ko;q=0.9,en;q=0.8

애플 IAP 알림 웹훅 › Responses

200

No response body

No data returned
POST/odx/api/v3/apple/{platform}/
curl https://odkmedia.io/odx/api/v3/apple/:platform \ --request POST
Example Responses
No example specified for this content type

애플 IAP 샌드박스 알림 웹훅

POST
https://odkmedia.io
/odx/api/v3/apple/{platform}/sandbox/

위 알림 웹훅과 같은 AppleNotificationView 를 쓰되 sandbox 플래그를 강제해, Apple 샌드박스(TestFlight 등) 환경의 서명 키셋으로 검증한다. 사용자 조회·구독 상태 갱신 등 나머지 처리는 동일하다.

애플 IAP 샌드박스 알림 웹훅 › path Parameters

platform
​string · required

애플 IAP 샌드박스 알림 웹훅 › query Parameters

debug
​string

If value is "on", debug is included in response.

애플 IAP 샌드박스 알림 웹훅 › Headers

Accept-Language
​string

"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.

Example: ko-KR,ko;q=0.9,en;q=0.8

애플 IAP 샌드박스 알림 웹훅 › Responses

200

No response body

No data returned
POST/odx/api/v3/apple/{platform}/sandbox/
curl https://odkmedia.io/odx/api/v3/apple/:platform/sandbox \ --request POST
Example Responses
No example specified for this content type

category