curl --request GET \
--url https://api.example.com/api/get_followers/{username}{
"200": {},
"404": {},
"followers": [
{
"username": "<string>",
"avatar_url": "<string>"
}
]
}Retrieve a user’s followers list
curl --request GET \
--url https://api.example.com/api/get_followers/{username}{
"200": {},
"404": {},
"followers": [
{
"username": "<string>",
"avatar_url": "<string>"
}
]
}{
"error": "user not found"
}
curl -X GET https://api.example.com/api/get_followers/johndoe
{
"followers": [
{
"username": "alice",
"avatar_url": "https://example.com/avatars/alice.png"
},
{
"username": "bob",
"avatar_url": "default.png"
},
{
"username": "charlie",
"avatar_url": "https://example.com/avatars/charlie.png"
}
]
}