Challenge Overview
This challenge, we are going to add a new API for returning My Challenges data.
2. The endpoint should be GET /challenges/member
3. The API can only be accessed by user with valid auth token.
4. The API will be similar as challenge listing API (GET /challenges), but
4.1 no pagination required, it will return all challenges with one call, so when querying elasticsearch, please use a biggest enough size to query all.
4.2 the userId from user token, should always be passed for querying.
5. Update the swagger.yaml to describe the API properly.
- verification steps
General Requirements
1. Please use dev branch of ap-challenge-microservice2. The endpoint should be GET /challenges/member
3. The API can only be accessed by user with valid auth token.
4. The API will be similar as challenge listing API (GET /challenges), but
4.1 no pagination required, it will return all challenges with one call, so when querying elasticsearch, please use a biggest enough size to query all.
4.2 the userId from user token, should always be passed for querying.
5. Update the swagger.yaml to describe the API properly.
Final Submission Guidelines
- git patch for code changes.- verification steps