/v0/accounts/:id/follower
const url = 'http://localhost:3000/v0/accounts/:id/follower';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/v0/accounts/:id/followerParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Characters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]
Example
example_manCharacters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]
Responses
Section titled “ Responses ”OK
object
Account ID
Account email address (only when logged in to an account with viewing privileges)
Account name
Account nickname
Biography
Avatar URL
Header URL
Followed count
Following count
Note count
Account role (only when logged in to an account with viewing privileges)
Account status (only when logged in to an account with viewing privileges)
Account frozen status (only when logged in to an account with viewing privileges)
Account silenced status (only when logged in to an account with viewing privileges)
Account created at (only when logged in to an account with viewing privileges)
Example
[ { "id": "38477395", "email": "johndoe@example.com", "name": "@johndoe@example.com", "nickname": "JohnDoe<:typescript:299384730049>", "bio": "", "avatar": "https://example.com/avatar.png", "header": "https://example.com/header.png", "followed_count": 100, "following_count": 100, "note_count": 100, "role": "normal", "status": "active", "frozen": "normal", "silenced": "normal", "created_at": "2021-01-01T00:00:00Z" }]Not Found
Account not found
object
Account not found.
Example
{ "error": "ACCOUNT_NOT_FOUND"}Internal Server Error
object
Internal server error.
Example
{ "error": "INTERNAL_ERROR"}