|
3 | 3 | "info": { |
4 | 4 | "title": "Mastodon API", |
5 | 5 | "version": "4.5.0", |
6 | | - "description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [4f4dc07](https://github.com/mastodon/documentation/commit/4f4dc07606580042a725fc43c62434b520789d6e). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.", |
| 6 | + "description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [f2feffe](https://github.com/mastodon/documentation/commit/f2feffedeb4f71272da187304e2412d412dce82c). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.", |
7 | 7 | "license": { |
8 | 8 | "name": "GFDL-1.3", |
9 | 9 | "url": "https://www.gnu.org/licenses/fdl-1.3.en.html" |
|
29520 | 29520 | "$ref": "#/components/schemas/AccountRole" |
29521 | 29521 | } |
29522 | 29522 | }, |
| 29523 | + "show_featured": { |
| 29524 | + "description": "Whether the account wishes to have a “Featured” tab on their profile.", |
| 29525 | + "type": [ |
| 29526 | + "boolean", |
| 29527 | + "null" |
| 29528 | + ] |
| 29529 | + }, |
| 29530 | + "show_media": { |
| 29531 | + "description": "Whether the account wishes to have a “Media” tab with media attachments on their profile.", |
| 29532 | + "type": [ |
| 29533 | + "boolean", |
| 29534 | + "null" |
| 29535 | + ] |
| 29536 | + }, |
| 29537 | + "show_media_replies": { |
| 29538 | + "description": "Whether the account wishes to have replies in the “Media” tab on their profile.", |
| 29539 | + "type": [ |
| 29540 | + "boolean", |
| 29541 | + "null" |
| 29542 | + ] |
| 29543 | + }, |
29523 | 29544 | "suspended": { |
29524 | 29545 | "description": "An extra attribute returned only when an account is suspended.", |
29525 | 29546 | "type": [ |
|
29580 | 29601 | "statuses_count": 28468, |
29581 | 29602 | "last_status_at": "2019-11-17", |
29582 | 29603 | "indexable": true, |
| 29604 | + "show_media": true, |
| 29605 | + "show_media_replies": true, |
| 29606 | + "show_featured": true, |
29583 | 29607 | "roles": [], |
29584 | 29608 | "emojis": [ |
29585 | 29609 | { |
|
29876 | 29900 | "$ref": "#/components/schemas/AccountRole" |
29877 | 29901 | } |
29878 | 29902 | }, |
| 29903 | + "show_featured": { |
| 29904 | + "description": "Whether the account wishes to have a “Featured” tab on their profile.", |
| 29905 | + "type": [ |
| 29906 | + "boolean", |
| 29907 | + "null" |
| 29908 | + ] |
| 29909 | + }, |
| 29910 | + "show_media": { |
| 29911 | + "description": "Whether the account wishes to have a “Media” tab with media attachments on their profile.", |
| 29912 | + "type": [ |
| 29913 | + "boolean", |
| 29914 | + "null" |
| 29915 | + ] |
| 29916 | + }, |
| 29917 | + "show_media_replies": { |
| 29918 | + "description": "Whether the account wishes to have replies in the “Media” tab on their profile.", |
| 29919 | + "type": [ |
| 29920 | + "boolean", |
| 29921 | + "null" |
| 29922 | + ] |
| 29923 | + }, |
29879 | 29924 | "suspended": { |
29880 | 29925 | "description": "An extra attribute returned only when an account is suspended.", |
29881 | 29926 | "type": [ |
|
30091 | 30136 | "$ref": "#/components/schemas/AccountRole" |
30092 | 30137 | } |
30093 | 30138 | }, |
| 30139 | + "show_featured": { |
| 30140 | + "description": "Whether the account wishes to have a “Featured” tab on their profile.", |
| 30141 | + "type": [ |
| 30142 | + "boolean", |
| 30143 | + "null" |
| 30144 | + ] |
| 30145 | + }, |
| 30146 | + "show_media": { |
| 30147 | + "description": "Whether the account wishes to have a “Media” tab with media attachments on their profile.", |
| 30148 | + "type": [ |
| 30149 | + "boolean", |
| 30150 | + "null" |
| 30151 | + ] |
| 30152 | + }, |
| 30153 | + "show_media_replies": { |
| 30154 | + "description": "Whether the account wishes to have replies in the “Media” tab on their profile.", |
| 30155 | + "type": [ |
| 30156 | + "boolean", |
| 30157 | + "null" |
| 30158 | + ] |
| 30159 | + }, |
30094 | 30160 | "suspended": { |
30095 | 30161 | "description": "An extra attribute returned only when an account is suspended.", |
30096 | 30162 | "type": [ |
|
32126 | 32192 | "description": "The maximum number of featured tags allowed for each account.", |
32127 | 32193 | "type": "integer" |
32128 | 32194 | }, |
| 32195 | + "max_display_name_length": { |
| 32196 | + "description": "The maximum length allowed for an account's display name.", |
| 32197 | + "type": [ |
| 32198 | + "integer", |
| 32199 | + "null" |
| 32200 | + ] |
| 32201 | + }, |
| 32202 | + "max_note_length": { |
| 32203 | + "description": "The maximum length allowed for an account's bio.", |
| 32204 | + "type": [ |
| 32205 | + "integer", |
| 32206 | + "null" |
| 32207 | + ] |
| 32208 | + }, |
32129 | 32209 | "max_pinned_statuses": { |
32130 | 32210 | "description": "The maximum number of pinned statuses for each account.", |
32131 | 32211 | "type": [ |
|
32733 | 32813 | "public_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=" |
32734 | 32814 | }, |
32735 | 32815 | "accounts": { |
| 32816 | + "max_display_name_lenth": 30, |
| 32817 | + "max_note_length": 500, |
32736 | 32818 | "max_featured_tags": 10, |
32737 | 32819 | "max_pinned_statuses": 5, |
32738 | 32820 | "max_profile_fields": 4, |
|
33836 | 33918 | "null" |
33837 | 33919 | ], |
33838 | 33920 | "format": "uri" |
| 33921 | + }, |
| 33922 | + "missing_attribution": { |
| 33923 | + "description": "True if the linked article claims to be written by the current user without the user having the article's domain in their [`attribution_domains`]({{< relref \"entities/Account#source[attribution_domains]\" >}})). This is used to prompt them to review and add the domain.", |
| 33924 | + "type": [ |
| 33925 | + "boolean", |
| 33926 | + "null" |
| 33927 | + ] |
33839 | 33928 | } |
33840 | 33929 | }, |
33841 | 33930 | "required": [ |
|
33968 | 34057 | "null" |
33969 | 34058 | ], |
33970 | 34059 | "format": "uri" |
| 34060 | + }, |
| 34061 | + "missing_attribution": { |
| 34062 | + "description": "True if the linked article claims to be written by the current user without the user having the article's domain in their [`attribution_domains`]({{< relref \"entities/Account#source[attribution_domains]\" >}})). This is used to prompt them to review and add the domain.", |
| 34063 | + "type": [ |
| 34064 | + "boolean", |
| 34065 | + "null" |
| 34066 | + ] |
33971 | 34067 | } |
33972 | 34068 | }, |
33973 | 34069 | "required": [ |
|
34276 | 34372 | "type": "boolean" |
34277 | 34373 | }, |
34278 | 34374 | "note": { |
34279 | | - "description": "This user's profile bio", |
| 34375 | + "description": "The authenticated user's personal comment about this account", |
34280 | 34376 | "type": "string" |
34281 | 34377 | }, |
34282 | 34378 | "notifying": { |
|
34305 | 34401 | "type": "string", |
34306 | 34402 | "format": "iso-639-1" |
34307 | 34403 | } |
| 34404 | + }, |
| 34405 | + "muting_expires_at": { |
| 34406 | + "description": "Date at which the mute expires, if there is any.", |
| 34407 | + "type": [ |
| 34408 | + "string", |
| 34409 | + "null" |
| 34410 | + ], |
| 34411 | + "format": "date-time" |
34308 | 34412 | } |
34309 | 34413 | }, |
34310 | 34414 | "required": [ |
|
34337 | 34441 | "blocked_by": false, |
34338 | 34442 | "muting": false, |
34339 | 34443 | "muting_notifications": false, |
| 34444 | + "muting_expires_at": null, |
34340 | 34445 | "requested": false, |
34341 | 34446 | "requested_by": false, |
34342 | 34447 | "domain_blocking": false, |
|
34435 | 34540 | ], |
34436 | 34541 | "format": "date-time" |
34437 | 34542 | }, |
| 34543 | + "collection_ids": { |
| 34544 | + "description": "IDs of Featured Collections that have been attached to this report for additional context.", |
| 34545 | + "type": [ |
| 34546 | + "array", |
| 34547 | + "null" |
| 34548 | + ], |
| 34549 | + "items": { |
| 34550 | + "type": "string" |
| 34551 | + } |
| 34552 | + }, |
34438 | 34553 | "rule_ids": { |
34439 | 34554 | "description": "IDs of the rules that have been cited as a violation by this report.", |
34440 | 34555 | "type": [ |
|
34480 | 34595 | "status_ids": [ |
34481 | 34596 | "108882889550545820" |
34482 | 34597 | ], |
| 34598 | + "collection_ids": [], |
34483 | 34599 | "rule_ids": null, |
34484 | 34600 | "target_account": { |
34485 | 34601 | "id": "108366849347798387", |
|
0 commit comments