Endpoints챌린지
챌린지 상태 가져오기
챌린지의 결과를 반환하며, 보호자의 조치를 기다리는 동안 폴링하는 엔드포인트입니다. `/age-gate/check`가 `CHALLENGE`를 반환한 후에 호출하십시오. `PASS`가 보고되면 이어서 `/session/get`을 호출하여 이제 `ACTIVE`가 된 세션과 부여된 권한을 조회하십시오. `FAIL`은 챌린지가 확정되어 더 이상 진행되지 않음을 의미합니다.
Authorization
api-key AuthorizationBearer <token>
In: header
Query Parameters
challengeId*string
챌린지의 ID입니다
Match
^[A-z0-9]{8}-[A-z0-9]{4}-[A-z0-9]{4}-[A-z0-9]{4}-[A-z0-9]{12}$Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/challenge/get-status?challengeId=ae6d4729-af32-42ea-8ef2-ff46c7664802"{ "status": "PASS", "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672", "approverEmail": "user@example.com"}{ "error": "NOT_FOUND", "errorMessage": "Challenge not found"}