Challenge Overview
In the previous challenges, we created an endpoint in ap-review-microservice to fetch the available review opportunities. In this challenge, we want to create an endpoint to apply for review or cancel an existing application.
Detailed requirements
-
Create a new POST /reviewOpportunities/:challengeId/applications which takes the challenge ID as route parameter and reviewApplicationRoleId as a required query parameter.
-
Create a new DELETE /reviewOpportunities/:challengeId/applications which takes the challenge ID as route parameter and reviewApplicationRoleId as a required query parameter.
-
Create tests for the new endpoints.
-
Add the new endpoints in both the swagger definition and the postman collection.
The new endpoints should be secured (user must provide a token).
The reviewApplicationRoleId query parameter will be a string of comma-separated numbers. (eg ‘1,2,3’)
Github repos:
Request access to the Github repo in the challenge forum.
Final Submission Guidelines
Submit a git patch for the latest commit in dev branch and a verification document.