preferences
Preferred common behaviors to be shared across clients.
get
View user preferences
https://mastodon.example/api/v1/preferences
Preferences defined by the user in their account settings.
戻り値: Preferences by key and value
OAuth: User token + read:accounts
実装履歴:
- 2.8.0 - 追加
リクエスト
ヘッダ
Authorization
必須
string
Bearer <user token>
レスポンス
200: Success
{
"posting:default:visibility": "public",
"posting:default:sensitive": false,
"posting:default:language": null,
"reading:expand:media": "default",
"reading:expand:spoilers": false
}
401: Unauthorized
Incorrect Authorization header
{
"error": "The access token is invalid"
}
最終更新 May 17, 2020 · このページを改善する
他の言語:
English