Add documentation for the new icons attribute in /api/v2/instances (#1510)

This commit is contained in:
Renaud Chaput 2024-08-22 17:52:50 +02:00 committed by GitHub
parent 495285ba35
commit 9b6dbb491e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 59 additions and 1 deletions

View file

@ -54,6 +54,24 @@ Obtain general information about the server.
"@2x": "https://files.mastodon.social/site_uploads/files/000/000/001/@2x/57c12f441d083cde.png"
}
},
"icon": [
{
"src": "https://files.mastodon.social/site_uploads/files/000/000/003/36/accf17b0104f18e5.png",
"size": "36x36"
},
{
"src": "https://files.mastodon.social/site_uploads/files/000/000/003/72/accf17b0104f18e5.png",
"size": "72x72"
},
{
"src": "https://files.mastodon.social/site_uploads/files/000/000/003/192/accf17b0104f18e5.png",
"size": "192x192"
},
{
"src": "https://files.mastodon.social/site_uploads/files/000/000/003/512/accf17b0104f18e5.png",
"size": "512x512"
}
],
"languages": [
"en"
],
@ -635,7 +653,7 @@ Obtain general information about the server.
"statuses_count":72309,
"last_status_at":"2022-08-24",
"emojis":[
],
"fields":[
{