(레거시) 두 번째 화면 웹 앱에서 사전 승인된 리소스 목록 검색 retrieve-list-of-preauthorized-resources-by-second-screen-web-app
NOTE
이 페이지의 컨텐츠는 정보용으로만 제공됩니다. 이 API를 사용하려면 Adobe의 현재 라이선스가 필요합니다. 허가되지 않은 사용은 허용되지 않습니다.
IMPORTANT
제품 알림 페이지에서 집계한 최신 Adobe Pass 인증 제품 알림 및 서비스 중단 타임라인에 대한 정보를 계속 받아 보십시오.
NOTE
REST API 구현은 조절 메커니즘에 의해 제한됩니다.
REST API 끝점 clientless-endpoints
<레지스트리_FQDN>:
- 프로덕션 - api.auth.adobe.com
- 스테이징 - api.auth-staging.adobe.com
<SP_FQDN>:
- 프로덕션 - api.auth.adobe.com
- 스테이징 - api.auth-staging.adobe.com
설명 description
사전 승인된 리소스 목록을 가져오기 위해 Adobe Pass 인증에 대한 요청입니다.
API에는 스트리밍 앱 또는 프로그래머 서비스용 세트와 두 번째 화면 웹 앱용 세트, 이렇게 두 개의 API 세트가 있습니다. 이 페이지에서는 AuthN 앱용 API에 대해 설명합니다.
엔드포인트
호출자:
명
명
입력
매개 변수
매개 변수
HTTP
메서드
메서드
응답
HTTP
응답
응답
<SP_FQDN>/api/v1/사전 승인/
AuthN 모듈
1. 등록 코드
(경로 구성 요소)
2. 요청자(필수)
3. 리소스(필수)
(경로 구성 요소)
2. 요청자(필수)
3. 리소스(필수)
GET
개별 사전 인증 결정 또는 오류 세부 정보가 포함된 XML 또는 JSON입니다. 아래 샘플을 참조하십시오.
200 - 성공
400 - 잘못된 요청
401 - 권한 없음
405 - 메서드가 허용되지 않음
412 - 사전 조건 실패
500 - 내부 서버 오류
400 - 잘못된 요청
401 - 권한 없음
405 - 메서드가 허용되지 않음
412 - 사전 조건 실패
500 - 내부 서버 오류
입력 매개 변수
설명
등록 코드
인증 흐름 시작 시 사용자가 제공한 등록 코드 값입니다.
요청자
이 작업이 유효한 Programmer requestorId입니다.
리소스
사용자가 액세스할 수 있고 MVPD 권한 부여 종단점에서 인식하는 콘텐츠를 식별하는, 쉼표로 구분된 resourceId 목록이 포함된 문자열입니다.
샘플 응답 sample-response
XML:
HTTP/1.1 200 OK
Adobe-Request-Id : 7af28ec2-a068-45c2-8009-f5443049baf4`
Adobe-Response-Confidence : full
Content-Type: application/xml; charset=utf-8
<resources>
<resource>
<id>TestStream1</id>
<authorized>true</authorized>
</resource>
<resource>
<id>TestStream2</id>
<authorized>false</authorized>
<error>
<status>403</status>
<code>authorization_denied_by_mvpd</code>
<message>User not authorized</message>
<details>Your subscription package does not include the "TestStream3" channel.</details>
<helpUrl>https://experienceleague-review.corp.adobe.com/docs/primetime/authentication/auth-features/error-reportn/enhanced-error-codes.html#error-codes</helpUrl>
<trace>0453f8c8-167a-4429-8784-cd32cfeaee58</trace>
<action>none</action>
</error>
<resource>
</resources>
JSON:
HTTP/1.1 200 OK
Adobe-Request-Id : 7af28ec2-a068-45c2-8009-f5443049baf4
Adobe-Response-Confidence : full
Content-Type: application/json; charset=utf-8
{
"resources" : [
{
"id" : "TestStream1",
"authorized" : true
},
{
"id" : "TestStream3",
"authorized" : false,
"error" : {
"status" : 403,
"code" : "authorization_denied_by_mvpd",
"message" : "User not authorized",
"details" : "Your subscription package does not include the "TestStream3" channel.",
"helpUrl" : "https://experienceleague-review.corp.adobe.com/docs/primetime/authentication/auth-features/error-reportn/enhanced-error-codes.html#error-codes",
"trace" : "0453f8c8-167a-4429-8784-cd32cfeaee58",
"action" : "none"
}
}
]
}
recommendation-more-help
3f5e655c-af63-48cc-9769-2b6803cc5f4b