directory
A directory of profiles that your website is aware of.
get
View profile directory
https://mastodon.example/api/v1/directory
List accounts visible in the directory.
戻り値: Array of Account
OAuth: Public
実装履歴:
- 3.0.0 - 追加
リクエスト
クエリ
offset
任意
string
How many accounts to skip before returning results. Default 0.
limit
任意
string
How many accounts to load. Default 40.
order
任意
string
active
to sort by most recently posted statuses (default) or new
to sort by most recently created profiles.
local
任意
boolean
Only return local accounts.
レスポンス
200: Success
Sample results with limit=2
[
{
"id": "796927",
"username": "eternalNo3",
"acct": "eternalNo3@best-friends.chat",
"display_name": "ESD@┓(谷)┏",
...
},
{
"id": "787648",
"username": "ariel",
"acct": "ariel@best-friends.chat",
"display_name": "あやっしー🧜🏻♀️",
...
}
]
最終更新 May 17, 2020 · このページを改善する
他の言語:
English