diff options
| author | 2025-11-11 19:39:09 +0100 | |
|---|---|---|
| committer | 2025-11-17 14:15:04 +0100 | |
| commit | 0c7b069c4a09f01a3a6c59bd7b66f096f8dcec40 (patch) | |
| tree | e5306d5ebad1e5a6efe5393bfafde95f5b94b237 /docs | |
| parent | [performance] remove hard reliance on .Cached field to indicate whether media... (diff) | |
| download | gotosocial-0c7b069c4a09f01a3a6c59bd7b66f096f8dcec40.tar.xz | |
[chore] Apply schema for OpenAPI errors (#4511)
Adds an error struct to Swagger covering normal and OAuth errors for client API endpoints. Now clients using Swagger codegen can handle errors.
Specifically, if you _don't_ have typed errors in your Swagger IDL and you're using `go-swagger` to generate your API client, the error message is discarded and you are only told the status code. With this change in place, clients like `slurp` can tell the user that they tried to upload an emoji that was too big or whatever.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4511
Reviewed-by: tobi <kipvandenbos@noreply.codeberg.org>
Co-authored-by: Vyr Cossont <vyr@noreply.codeberg.org>
Co-committed-by: Vyr Cossont <vyr@noreply.codeberg.org>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/swagger.yaml | 2291 |
1 files changed, 2290 insertions, 1 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 3454364a1..8425e46ed 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -920,7 +920,8 @@ definitions: x-go-name: RedirectURI redirect_uris: description: Post-authorization redirect URIs for the application (OAuth2). - example: '[https://example.org/callback?some=query]' + example: + - https://example.org/callback?some=query items: type: string type: array @@ -1422,6 +1423,24 @@ definitions: type: object x-go-name: EmojiCategory x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model + error: + properties: + error: + description: |- + Error is usually a human-readable description of the error. + + For OAuth-related errors, it will be one of the codes listed in + <https://datatracker.ietf.org/doc/html/rfc6749#section-5.2>. + type: string + x-go-name: Error + error_description: + description: ErrorDescription is only used for OAuth errors, and is a human-readable description of the error. + type: string + x-go-name: ErrorDescription + title: Error is a generic public-facing API error. + type: object + x-go-name: Error + x-go-package: code.superseriousbusiness.org/gotosocial/internal/api/model field: properties: name: @@ -3983,12 +4002,20 @@ paths: $ref: '#/definitions/attachment' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "422": description: unprocessable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:media @@ -4080,14 +4107,24 @@ paths: $ref: '#/definitions/searchResult' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:search @@ -4144,16 +4181,28 @@ paths: $ref: '#/definitions/oauthToken' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: Unprocessable. Your account creation request cannot be processed because either too many accounts have been created on this instance in the last 24h, or the pending account backlog is full. + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Application: - write:accounts @@ -4178,14 +4227,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4210,14 +4269,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:blocks @@ -4245,14 +4314,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4297,14 +4376,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -4363,14 +4452,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4429,14 +4528,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4463,14 +4572,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -4506,16 +4625,28 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:mutes @@ -4547,14 +4678,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -4624,14 +4765,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -4656,14 +4807,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:blocks @@ -4688,14 +4849,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -4721,14 +4892,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:mutes @@ -4760,16 +4941,28 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: Unprocessable. Check the response body for more details. + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -4792,14 +4985,24 @@ paths: description: The account deletion has been accepted and the account will be deleted. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -4824,14 +5027,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4859,16 +5072,28 @@ paths: description: The account move has been accepted and the account will be moved. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: Unprocessable. Check the response body for more details. + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -4898,14 +5123,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4960,14 +5195,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -4988,14 +5233,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -5154,14 +5409,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -5180,14 +5445,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -5302,16 +5577,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:accounts @@ -5336,16 +5623,28 @@ paths: $ref: '#/definitions/adminAccountInfo' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:accounts @@ -5379,18 +5678,32 @@ paths: description: OK "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:accounts @@ -5415,16 +5728,28 @@ paths: $ref: '#/definitions/adminAccountInfo' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:accounts @@ -5461,16 +5786,28 @@ paths: $ref: '#/definitions/adminAccountInfo' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:accounts @@ -5541,16 +5878,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:custom_emojis @@ -5586,18 +5935,32 @@ paths: $ref: '#/definitions/emoji' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict -- shortcode for this emoji is already in use + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:custom_emojis @@ -5628,16 +5991,28 @@ paths: $ref: '#/definitions/adminEmoji' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:custom_emojis @@ -5661,16 +6036,28 @@ paths: $ref: '#/definitions/adminEmoji' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:custom_emojis @@ -5733,16 +6120,28 @@ paths: $ref: '#/definitions/adminEmoji' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:custom_emojis @@ -5763,16 +6162,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:custom_emojis @@ -5798,14 +6209,24 @@ paths: $ref: '#/definitions/debugAPUrlResponse' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -5823,14 +6244,24 @@ paths: description: All good baby! "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -5856,16 +6287,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:domain_allows @@ -5917,18 +6360,32 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_allows @@ -5953,18 +6410,32 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_allows @@ -5988,16 +6459,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:domain_allows @@ -6035,16 +6518,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_allows @@ -6070,16 +6565,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:domain_blocks @@ -6131,18 +6638,32 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_blocks @@ -6167,18 +6688,32 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_blocks @@ -6202,16 +6737,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:domain_blocks @@ -6249,16 +6796,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:domain_blocks @@ -6299,18 +6858,32 @@ paths: $ref: '#/definitions/adminActionResponse' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.' + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6377,16 +6950,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -6428,16 +7013,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6462,14 +7059,24 @@ paths: $ref: '#/definitions/domainPermission' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -6502,16 +7109,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6544,16 +7163,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6612,16 +7243,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -6655,16 +7298,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6689,16 +7344,28 @@ paths: $ref: '#/definitions/domainPermission' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6722,14 +7389,24 @@ paths: $ref: '#/definitions/domainPermission' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -6788,16 +7465,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -6868,16 +7557,28 @@ paths: $ref: '#/definitions/domainPermissionSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6946,16 +7647,28 @@ paths: $ref: '#/definitions/domainPermissionSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -6980,14 +7693,24 @@ paths: $ref: '#/definitions/domainPermissionSubscription' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7022,16 +7745,28 @@ paths: $ref: '#/definitions/domainPermissionSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7062,16 +7797,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7099,16 +7846,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7142,18 +7901,32 @@ paths: description: Test email was sent. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: An smtp occurred while the email attempt was in progress. Check the returned json for more information. The smtp error will be included, to help you debug communication with the smtp server. + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7172,14 +7945,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin @@ -7217,12 +8000,20 @@ paths: $ref: '#/definitions/headerFilter' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7243,14 +8034,24 @@ paths: description: Accepted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7272,14 +8073,24 @@ paths: $ref: '#/definitions/headerFilter' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7298,14 +8109,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin @@ -7343,12 +8164,20 @@ paths: $ref: '#/definitions/headerFilter' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7369,14 +8198,24 @@ paths: description: Accepted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7398,14 +8237,24 @@ paths: $ref: '#/definitions/headerFilter' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7427,14 +8276,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7461,16 +8320,28 @@ paths: $ref: '#/definitions/instanceRule' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7497,16 +8368,28 @@ paths: $ref: '#/definitions/instanceRule' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7530,14 +8413,24 @@ paths: $ref: '#/definitions/instanceRule' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read @@ -7570,16 +8463,28 @@ paths: $ref: '#/definitions/instanceRule' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7610,16 +8515,28 @@ paths: description: Echos the number of days requested. The cleanup is performed asynchronously after the request completes. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7644,16 +8561,28 @@ paths: description: Request accepted and will be processed. Check the logs for progress / errors. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -7720,14 +8649,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:reports @@ -7752,14 +8691,24 @@ paths: $ref: '#/definitions/adminReport' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:reports @@ -7794,14 +8743,24 @@ paths: $ref: '#/definitions/adminReport' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write:reports @@ -7824,12 +8783,20 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: [] summary: Get an array of currently active announcements. @@ -7879,14 +8846,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:applications @@ -7946,16 +8923,28 @@ paths: $ref: '#/definitions/application' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' summary: Register a new application on this instance. tags: - apps @@ -7977,14 +8966,24 @@ paths: $ref: '#/definitions/application' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:applications @@ -8008,14 +9007,24 @@ paths: $ref: '#/definitions/application' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:applications @@ -8067,14 +9076,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:blocks @@ -8114,10 +9133,16 @@ paths: type: array "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:bookmarks @@ -8141,16 +9166,28 @@ paths: $ref: '#/definitions/conversation' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:conversations @@ -8202,14 +9239,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -8235,14 +9282,24 @@ paths: description: conversation deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:conversations @@ -8264,10 +9321,16 @@ paths: type: array "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:custom_emojis @@ -8284,10 +9347,16 @@ paths: description: CSV file of accounts that you block. "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:blocks @@ -8304,10 +9373,16 @@ paths: description: CSV file of accounts that follow you. "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -8324,10 +9399,16 @@ paths: description: CSV file of accounts that you follow. "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:follows @@ -8344,10 +9425,16 @@ paths: description: CSV file of lists. "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -8364,10 +9451,16 @@ paths: description: CSV file of accounts that you mute. "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:mutes @@ -8386,10 +9479,16 @@ paths: $ref: '#/definitions/accountExportStats' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -8435,14 +9534,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:favourites @@ -8464,14 +9573,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -8492,14 +9611,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -8574,20 +9703,36 @@ paths: $ref: '#/definitions/filterV1' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate keyword) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -8610,14 +9755,24 @@ paths: description: filter deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -8641,14 +9796,24 @@ paths: $ref: '#/definitions/filterV1' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -8728,20 +9893,36 @@ paths: $ref: '#/definitions/filterV1' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate keyword) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -8793,14 +9974,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:follows @@ -8826,14 +10017,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -8858,14 +10059,24 @@ paths: $ref: '#/definitions/accountRelationship' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -8917,14 +10128,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:follows @@ -8969,14 +10190,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:follows @@ -9020,12 +10251,20 @@ paths: description: Upload accepted. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write @@ -9044,8 +10283,12 @@ paths: $ref: '#/definitions/instanceV1' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' summary: View instance information. tags: - instance @@ -9110,16 +10353,28 @@ paths: $ref: '#/definitions/instanceV1' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:write @@ -9141,16 +10396,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: [] summary: List explicitly allowed domains. @@ -9171,16 +10438,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: [] summary: List blocked domains. @@ -9232,16 +10511,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: [] summary: List peer domains. @@ -9262,12 +10553,20 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' summary: View instance rules (public). tags: - instance @@ -9283,10 +10582,16 @@ paths: $ref: '#/definitions/defaultPolicies' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -9425,14 +10730,24 @@ paths: $ref: '#/definitions/defaultPolicies' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -9500,14 +10815,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:notifications @@ -9532,14 +10857,24 @@ paths: $ref: '#/definitions/interactionRequest' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:notifications @@ -9564,14 +10899,24 @@ paths: $ref: '#/definitions/interactionRequest' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -9596,14 +10941,24 @@ paths: $ref: '#/definitions/interactionRequest' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -9624,14 +10979,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -9683,16 +11048,28 @@ paths: $ref: '#/definitions/list' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:lists @@ -9715,14 +11092,24 @@ paths: description: list deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:lists @@ -9746,14 +11133,24 @@ paths: $ref: '#/definitions/list' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -9804,16 +11201,28 @@ paths: $ref: '#/definitions/list' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:lists @@ -9848,14 +11257,24 @@ paths: description: list accounts updated "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -9912,14 +11331,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -9953,14 +11382,24 @@ paths: description: list accounts updated "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -9990,10 +11429,16 @@ paths: $ref: '#/definitions/markers' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -10022,12 +11467,20 @@ paths: $ref: '#/definitions/markers' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "409": description: conflict (when two clients try to update the same timeline at the same time) + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -10051,14 +11504,24 @@ paths: $ref: '#/definitions/attachment' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:media @@ -10102,14 +11565,24 @@ paths: $ref: '#/definitions/attachment' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:media @@ -10161,14 +11634,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:mutes @@ -10193,14 +11676,24 @@ paths: $ref: '#/definitions/notification' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:notifications @@ -10282,14 +11775,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:notifications @@ -10309,14 +11812,24 @@ paths: type: object "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:notifications @@ -10341,16 +11854,28 @@ paths: $ref: '#/definitions/poll' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -10382,18 +11907,32 @@ paths: $ref: '#/definitions/poll' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable entity + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -10427,14 +11966,24 @@ paths: type: object "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -10454,14 +12003,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin @@ -10481,14 +12040,24 @@ paths: $ref: '#/definitions/account' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin @@ -10504,10 +12073,16 @@ paths: description: Push subscription deleted, or did not exist. "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - push @@ -10525,12 +12100,20 @@ paths: $ref: '#/definitions/webPushSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: This access token doesn't have an associated subscription. + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - push @@ -10645,16 +12228,28 @@ paths: $ref: '#/definitions/webPushSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - push @@ -10752,16 +12347,28 @@ paths: $ref: '#/definitions/webPushSubscription' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: This access token doesn't have an associated subscription. + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - push @@ -10824,14 +12431,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -10904,14 +12521,24 @@ paths: $ref: '#/definitions/report' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:reports @@ -10936,14 +12563,24 @@ paths: $ref: '#/definitions/report' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -10986,14 +12623,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11016,14 +12663,24 @@ paths: description: status canceled "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11047,14 +12704,24 @@ paths: $ref: '#/definitions/scheduledStatus' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11087,16 +12754,28 @@ paths: $ref: '#/definitions/scheduledStatus' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11281,18 +12960,32 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11320,16 +13013,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11353,16 +13058,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11464,16 +13181,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11498,16 +13227,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:bookmarks @@ -11533,16 +13274,28 @@ paths: $ref: '#/definitions/threadContext' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11567,16 +13320,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:favourites @@ -11603,16 +13368,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -11639,16 +13416,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11677,16 +13466,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request; you're not part of the target status thread + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:mutes @@ -11716,16 +13517,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -11753,16 +13566,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -11789,12 +13614,20 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -11821,16 +13654,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -11855,16 +13700,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:bookmarks @@ -11889,16 +13746,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:favourites @@ -11927,16 +13796,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request; you're not part of the target status thread + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:mutes @@ -11961,16 +13842,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -11995,16 +13888,28 @@ paths: $ref: '#/definitions/status' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:statuses @@ -12107,8 +14012,12 @@ paths: type: object "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' schemes: - wss security: @@ -12133,10 +14042,16 @@ paths: type: array "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read @@ -12162,14 +14077,24 @@ paths: $ref: '#/definitions/tag' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: [] summary: Get details for a hashtag, including whether you currently follow it. @@ -12194,12 +14119,20 @@ paths: $ref: '#/definitions/tag' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -12225,14 +14158,24 @@ paths: $ref: '#/definitions/tag' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: unauthorized + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:follows @@ -12290,8 +14233,12 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -12349,8 +14296,12 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:lists @@ -12408,8 +14359,12 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -12469,8 +14424,12 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:statuses @@ -12523,8 +14482,12 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -12549,14 +14512,24 @@ paths: $ref: '#/definitions/tokenInfo' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -12581,14 +14554,24 @@ paths: $ref: '#/definitions/tokenInfo' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -12611,6 +14594,8 @@ paths: type: array "406": description: not acceptable + schema: + $ref: '#/definitions/error' summary: Links that have been shared more than others. tags: - trends @@ -12630,6 +14615,8 @@ paths: type: array "406": description: not acceptable + schema: + $ref: '#/definitions/error' summary: Statuses that have been interacted with more than others. tags: - trends @@ -12649,6 +14636,8 @@ paths: type: array "406": description: not acceptable + schema: + $ref: '#/definitions/error' summary: View hashtags that are currently being used more frequently than usual. tags: - trends @@ -12664,14 +14653,24 @@ paths: $ref: '#/definitions/user' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -12698,16 +14697,28 @@ paths: description: QR code "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "422": description: unprocessable entity + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -12738,16 +14749,28 @@ paths: description: QR code "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "422": description: unprocessable entity + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -12770,16 +14793,28 @@ paths: description: QR code png "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "422": description: unprocessable entity + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -12802,16 +14837,28 @@ paths: description: QR code uri "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict + schema: + $ref: '#/definitions/error' "422": description: unprocessable entity + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:accounts @@ -12847,16 +14894,28 @@ paths: $ref: '#/definitions/user' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: 'Conflict: desired email address already in use' + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -12896,16 +14955,28 @@ paths: description: Change successful "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "422": description: unprocessable request because instance is running with OIDC backend + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:accounts @@ -12997,16 +15068,28 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - admin:read:accounts @@ -13027,14 +15110,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13125,20 +15218,36 @@ paths: $ref: '#/definitions/filterV2' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate title, keyword, or status) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13161,14 +15270,24 @@ paths: description: filter deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13192,14 +15311,24 @@ paths: $ref: '#/definitions/filterV2' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13297,20 +15426,36 @@ paths: $ref: '#/definitions/filterV2' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate title, keyword, or status) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13337,14 +15482,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13390,20 +15545,36 @@ paths: $ref: '#/definitions/filterKeyword' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate keyword) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13430,14 +15601,24 @@ paths: type: array "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13473,20 +15654,36 @@ paths: $ref: '#/definitions/filterStatus' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate status) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13509,14 +15706,24 @@ paths: description: filter keyword deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13540,14 +15747,24 @@ paths: $ref: '#/definitions/filterKeyword' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13593,20 +15810,36 @@ paths: $ref: '#/definitions/filterKeyword' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden to moved accounts + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "409": description: conflict (duplicate keyword) + schema: + $ref: '#/definitions/error' "422": description: unprocessable content + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13629,14 +15862,24 @@ paths: description: filter status deleted "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - write:filters @@ -13660,14 +15903,24 @@ paths: $ref: '#/definitions/filterStatus' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' security: - OAuth2 Bearer: - read:filters @@ -13686,8 +15939,12 @@ paths: $ref: '#/definitions/instanceV2' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal error + schema: + $ref: '#/definitions/error' summary: View instance information. tags: - instance @@ -13757,12 +16014,20 @@ paths: description: OK - If you own the provided token, the API call will provide OK and an empty response `{}`. This operation is idempotent, so calling this API multiple times will still return OK. "400": description: bad request + schema: + $ref: '#/definitions/error' "403": description: forbidden - If you provide a token you do not own, the API call will return a 403 error. + schema: + $ref: '#/definitions/error' "406": description: not acceptable + schema: + $ref: '#/definitions/error' "500": description: internal server error + schema: + $ref: '#/definitions/error' summary: Revoke an access token to make it no longer valid for use. tags: - oauth @@ -13811,12 +16076,20 @@ paths: $ref: '#/definitions/swaggerFeaturedCollection' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' summary: Get the featured collection (pinned posts) for a user. tags: - s2s/federation @@ -13857,12 +16130,20 @@ paths: $ref: '#/definitions/swaggerCollection' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' summary: Get the public outbox collection for an actor. tags: - s2s/federation @@ -13909,12 +16190,20 @@ paths: $ref: '#/definitions/swaggerCollection' "400": description: bad request + schema: + $ref: '#/definitions/error' "401": description: unauthorized + schema: + $ref: '#/definitions/error' "403": description: forbidden + schema: + $ref: '#/definitions/error' "404": description: not found + schema: + $ref: '#/definitions/error' summary: Get the replies collection for a status. tags: - s2s/federation |
