List a user's followers:
GET /users/:username/followers
List the authenticated user's followers:
GET /user/followers
Status: 200 OK
[
{
"id": 3,
"username": "user1",
"full_name": "",
"email": "[email protected]",
"avatar_url": "/avatars/3"
}
]
List who a user is following:
GET /users/:username/following
List who the authenticated user is following:
GET /user/following
GET /user/following/:username
Response if you are following this user
Status: 204 No Content
Response if you are not following this user
Status: 404 Not Found
GET /users/:username/following/:target
Response if user follows target user
Status: 204 No Content
Response if user does not follow target user
Status: 404 Not Found
PUT /user/following/:username
Status: 204 No Content
DELETE /user/following/:username
Status: 204 No Content