Endpoints챌린지

챌린지 상태 일괄 조회

한 번의 요청으로 여러 챌린지의 상태를 반환합니다. 최대 100개의 챌린지 ID를 받아 챌린지 ID를 키로 하는 객체를 반환합니다. 각 값은 챌린지 상태이거나, 챌린지를 가져올 수 없는 경우 `ClientErrorResponse`입니다.

POST
/challenge/get-status
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/challenge/get-status" \  -H "Content-Type: application/json" \  -d '{    "challengeIds": [      "ae6d4729-af32-42ea-8ef2-ff46c7664802",      "f47ac10b-58cc-4372-a567-0e02b2c3d479"    ]  }'

{  "ae6d4729-af32-42ea-8ef2-ff46c7664802": {    "status": "PASS",    "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672",    "approverEmail": "user@example.com"  },  "f47ac10b-58cc-4372-a567-0e02b2c3d479": {    "status": "IN_PROGRESS"  }}