SE701-T1 / backend

Class Buddy Matcher - Group project for SOFTENG 701 Team 1 (Backend).
MIT License
3 stars 24 forks source link

Endpoint implementation to get list of users blocked by a user #154

Closed R055A closed 2 years ago

R055A commented 2 years ago

Describe the task that needs to be done.

Implement a new API endpoint for getting a list of users blocked by a user.

Describe how a solution to your proposed task might look like (and any alternatives considered).

Using the URL path /block with a HTTP GET request, rows from the BLOCKED_BUDDIES database table can be selected in queries where USER_BLOCKER_ID matches userId for getting a list of user's blocked by userId. This can be returned in the HTTP response entity as a list of UserDTO.

Notes