Endpoints테스트
챌린지 상태 설정
기존 챌린지의 상태를 `PASS` 또는 `FAIL`로 강제 설정합니다. **테스트 전용입니다.** 완료된 챌린지를 시뮬레이션하여, 실제 검증 가능한 보호자 동의 흐름을 실행하지 않고도 챌린지 이후 경로를 확인할 수 있습니다.
Authorization
api-key AuthorizationBearer <token>
In: header
Request Body
application/json
챌린지 상태 설정 요청
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/test/set-challenge-status" \ -H "Content-Type: application/json" \ -d '{ "challengeId": "ae6d4729-af32-42ea-8ef2-ff46c7664802", "status": "PASS", "age": 13, "jurisdiction": "US-CA" }'{}{ "error": "NOT_FOUND", "errorMessage": "Challenge not found"}