Challenge Overview
Previously, we have implemented the Add/Remove Resource For Challenge APIs separately.
For this challenge, we'd like to merge the logic into challenge apis with some changes to the endpoints, the backend logic should be similar.
the endpoints should be
- Add Resource - POST /v3/challenges/{id}/resources/
- Remove Resource - DELETE /v3/challenges/{id}/resources/
the challenge id will be passed in path instead of in body.
- Updated swagger.yaml file
- Deployment Guide and Verification Steps
For this challenge, we'd like to merge the logic into challenge apis with some changes to the endpoints, the backend logic should be similar.
the endpoints should be
- Add Resource - POST /v3/challenges/{id}/resources/
- Remove Resource - DELETE /v3/challenges/{id}/resources/
the challenge id will be passed in path instead of in body.
General Requirements
1. swagger.yaml should be merge and updated to reflect the changes.
2. The API requests and responses should follow the v3 API standards.
About Local Setup
- The Challenge APIs need to communicate with Direct App and Informix Database, Please check https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/direct-app about how to build, deploy and run direct-app locally.
- Please check ap-challenge-microservice.zip/docs/Deployment Guide.docx about how to run the service and test with the API.
Final Submission Guidelines
- Code changes addressing the requirements- Updated swagger.yaml file
- Deployment Guide and Verification Steps