proofs
For use by identity providers.
get
View identity proof
https://mastodon.example/api/proofs
戻り値: custom response defined by provider
OAuth: Public
実装履歴:
- 2.8.0 - 追加
リクエスト
クエリ
provider
任意
string
The identity provider to be looked up. Currently only supports
keybase
(case-sensitive)
username
任意
string
The username on the selected identity provider
レスポンス
200: Success
gargron
on keybase
{
"avatar": "https://files.mastodon.social/accounts/avatars/000/000/001/original/d96d39a0abb45b92.jpg",
"signatures": [
{
"sig_hash": "5cfc20c7018f2beefb42a68836da59a792e55daa4d118498c9b1898de7e845690f",
"kb_username": "gargron"
}
]
}
404: Not Found
No identity proof found for username
on provider
{
"error": "Record not found"
}
最終更新 May 17, 2020 · このページを改善する
他の言語:
English