Challenge Overview
We need to allow calling TaaS API using M2M tokens.
-
We can follow Challenge API as an example for implementation https://github.com/topcoder-platform/challenge-api/blob/develop/app-routes.js
-
We should be able to configs scopes per route like this https://github.com/topcoder-platform/challenge-api/blob/develop/src/routes.js#L20
-
Support and config scopes per entity:
- For teams:
read:taas-teams - For jobs:
read:taas-jobs,create:taas-jobs,delete:taas-jobs,update:taas-jobs,all:taas-jobs - For job candidates:
read:taas-jobCandidates,create:taas-jobCandidates,delete:taas-jobCandidates,update:taas-jobCandidates,all:taas-jobCandidates - For resource bookings:
read:taas-resourceBookings,create:taas-resourceBookings,delete:taas-resourceBookings,update:taas-resourceBookings,all:taas-resourceBookings
- For teams: