-- Connection Feature --
Story 5:
As, a Users, I want to see others profile.
Technical Requirements:
REST API Endpoint: GET /connections
Response: 200 OK with the list of all users in the system
Normally, I want the pagination but nevermind!
Story 6:
As a users, I want to add friend to other persons.
Technical Requirements:
REST API Endpoint: POST /friends_request/{target_id} with Request Body
Path Variable: {target_id} - The user we want to added.
Request Body: Content Type: application/json
Request Body Example: {"user_id": "XXX-XXX-XXXX"} this is the user_id whom want to add the target_id
-- Connection Feature --
Story 5:
As, a Users, I want to see others profile.
Technical Requirements:
REST API Endpoint: GET /connections
Response: 200 OK with the list of all users in the system
Normally, I want the pagination but nevermind!
Story 6:
As a users, I want to add friend to other persons.
Technical Requirements:
REST API Endpoint: POST /friends_request/{target_id} with Request Body
Path Variable: {target_id} - The user we want to added.
Request Body: Content Type: application/json
Request Body Example: {"user_id": "XXX-XXX-XXXX"} this is the user_id whom want to add the target_id