Skip to content

v3 API update #26

@cwdcwd

Description

@cwdcwd

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 )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions