Create endpoint for Adding Buddy #28
Labels
Priority: Medium
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.
Describe the task that needs to be done.
Set up endpoint and documentation for adding a buddy by communicating with 'Users'.
Describe how a solution to your proposed task might look like (and any alternatives considered).
Set up empty endpoint methods with descriptions for adding a buddy that will show up on swagger.
Endpoint: addBuddy
Path: /api/pairing/
Request: Current User ID and added buddy's User ID.
Operation: PUT
Response: 200 OK. Adds new buddy's User ID to current user's array of all buddies.
Notes
The text was updated successfully, but these errors were encountered: