Implement the logic of the matchBuddy endpoint #49
Labels
Priority: High
Status: Review Needed
The implementation has finished and someone has been approached for review.
Type: Feature
The issue is about a new feature being introduced to the project.
Projects
Describe the task that needs to be done.
After the blank endpoint is created for the matchBuddy endpoint in the Pairing service, the actual logic and implementation needs to be complete with appropriate testing
Depends on #30 #22
Blocking: #50
Describe how a solution to your proposed task might look like (and any alternatives considered).
The endpoint takes in a list of courses from a JSON body that is passed in with the post request.
The matchBuddy endpoint needs to:
Response codes:
200 Ok, with list of possible buddies
204 No Content, if no buddies found
404 Not Found, if courses passed in are not valid
(TBD) 403 not authorized, if the user authentication system is set up (added as a later issue)
Notes
The text was updated successfully, but these errors were encountered: