コンテンツにスキップ

/accounts/:id

GET
/accounts/:id

Parameters

Path Parameters

id
required

Account ID

string
495849959300385847

Responses

200

OK

object
id
required

Account ID

string
38477395
email

Account email address (only when logged in to an account with viewing privileges)

string
name
required

Account name

string
>= 8 characters <= 512 characters
nickname
required

Account nickname

string
>= 1 characters <= 256 characters
JohnDoe<:typescript:299384730049>
bio
required

Biography

string
<= 1024 characters
avatar
required

Avatar URL

string format: uri
https://example.com/avatar.png
header
required

Header URL

string format: uri
https://example.com/header.png
followed_count
required

Followed count

number
100
following_count
required

Following count

number
100
note_count
required

Note count

number
100
role

Account role (only when logged in to an account with viewing privileges)

string
normal
status

Account status (only when logged in to an account with viewing privileges)

string
active
frozen

Account frozen status (only when logged in to an account with viewing privileges)

string
normal
silenced

Account silenced status (only when logged in to an account with viewing privileges)

string
normal
created_at

Account created at (only when logged in to an account with viewing privileges)

string
2021-01-01T00:00:00Z

404

Not Found

Account not found

object
error
required

Account not found.

string
Allowed values: ACCOUNT_NOT_FOUND

500

Internal Server Error

object
error
required

Internal server error.

string
Allowed values: INTERNAL_ERROR