Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Attention! This is a fast 48h challenge. Make sure you don’t miss the deadline ;)

In the previous challenges, we created an endpoint in ap-review-microservice to fetch the available review opportunities. In this challenge, we want to restrict the results returned by this endpoint based on the user’s access level.

This is already implemented in ap-challenge-microservice so you’ll just have to copy/follow the same implementation.

Detailed Requirements

We want to make the following updates to the /reviewOpportunities endpoint:

  1. If the API is called without authentication, the endpoint should return ONLY review opportunities for public challenges. As a public, we define a challenge that doesn’t have a group associated with it.

  2. If the API is called with authentication, the endpoint should return review opportunities for challenges that match a group the user is in as well as public challenges.

  3. Create a new test in the Postman collection that calls the endpoint with authentication.

Notes:

Please request access to both GitHub repositories in the challenge forum.

Feel free to ask any question in the challenge forum.



Final Submission Guidelines

Please submit a git patch for the latest commit in dev branch and a verification document.

A video showing your implementation in action is highly desirable but not required.

 

ELIGIBLE EVENTS:

2018 Topcoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30060934