Topcoder - Create Review Opportunity Application Endpoints

Register
Submit a solution
The challenge is finished.

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

  1. Create a new POST /reviewOpportunities/:challengeId/applications which takes the challenge ID as route parameter and reviewApplicationRoleId as a required query parameter.

  2. Create a new DELETE /reviewOpportunities/:challengeId/applications which takes the challenge ID as route parameter and reviewApplicationRoleId as a required query parameter.

  3. Create tests for the new endpoints.

  4. 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.

 

ELIGIBLE EVENTS:

2018 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30061878