We need to update the middleware to utilize the TC v3 API.
This should be done via the TC Challenges API wrapper module found here
In doing this we can remove all the old cruft inside the route handler that refers to the original APIs and only use the TCv3 API.
This includes:
- Creating a challenge
- Posting a challenge
- Getting the list of challenges
You are free to:
- Refactor the routes/index.js file as you see fit
- Remove any unneeded endpoints (like the "-santosh" stuff)
You should update the "MassagePayload" calls to output new JSON that is appropriate for the updated Topcoder API (according to the swagger file available here: https://github.com/appirio-tech/ap-challenge-microservice )
We need to update the middleware to utilize the TC v3 API.
This should be done via the TC Challenges API wrapper module found here
In doing this we can remove all the old cruft inside the route handler that refers to the original APIs and only use the TCv3 API.
This includes:
You are free to:
You should update the "MassagePayload" calls to output new JSON that is appropriate for the updated Topcoder API (according to the swagger file available here: https://github.com/appirio-tech/ap-challenge-microservice )