update search friends by status routes to v2
Closed this issue · 0 comments
aleish-m commented
Update the routes for searching friends/followees and followers by status to use v2 routing for the latest changes on BE so that friendship Id can be accessed on FE
- GET
/api/v2/friends?user=<google_id>&request_status=<status>
- GET
/api/v2/users/followers?user=<google_id>&request_status=<status>
Endpoint now looks like:
{
"data": [
{
"id": 2,
"friendship_id": 1,
"type": "friend_followee",
"attributes": {
"name": "Bubbles",
"email": "catlover69@hotmail.com",
"google_id": "7357151"
}
}
]
}