Closed sahsisunny closed 19 hours ago
Can you provide API contact and data model for task request
Can you provide API contact and data model for task request
I'll create a new issue ticket for the API contract and data model and assign it to myself. I didn't initially realize that I also needed to create these since I thought they had already been decided. As this is just a migration, I'll address it in the next task for all types of requests.
https://github.com/Real-Dev-Squad/website-data-models/issues/69 https://github.com/Real-Dev-Squad/website-api-contracts/issues/182
Pull Request Description
Date: 27 June 2024
Developer Name: @sahsisunny
Issue Ticket Number
Closes [#2042 ]
Description
This PR introduces a middleware to facilitate the task creation requests to the unified
/request
API endpoint. The middleware ensures that all task creation requests are redirected appropriately and handled uniformly through the new endpoint.Documentation Updated?
Documentation will be updated after the successful migration of all endpoints.
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Test Coverage
Screenshot 1
![image](https://github.com/Real-Dev-Squad/website-backend/assets/70854507/5ebbc864-1917-4940-8a63-8b4f721c629f)Additional Notes
This middleware is the first step in the migration process, and subsequent PRs will address the actual redirection logic and handle the deprecation of the old endpoints.