diff options
author | 2022-09-13 13:30:07 +0200 | |
---|---|---|
committer | 2022-09-13 13:30:07 +0200 | |
commit | 6a101237902dd9fd7205967dc9e5a95ce8d1b765 (patch) | |
tree | 89a55d9f6512afba74fad7e5819aa3695597e7a0 /docs/api | |
parent | [bug] fix unique constraint conflict (#820) (diff) | |
download | gotosocial-6a101237902dd9fd7205967dc9e5a95ce8d1b765.tar.xz |
[docs] Swagger document `/api/v1/custom_emojis` (#824)
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/swagger.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 0d75a6a12..42cd0ee59 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -3128,6 +3128,30 @@ paths: summary: Get an array of accounts that requesting account has blocked. tags: - blocks + /api/v1/custom_emojis: + get: + operationId: customEmojisGet + produces: + - application/json + responses: + "200": + description: Array of custom emojis. + schema: + items: + $ref: '#/definitions/emoji' + type: array + "401": + description: unauthorized + "406": + description: not acceptable + "500": + description: internal server error + security: + - OAuth2 Bearer: + - read:custom_emojis + summary: Get an array of custom emojis available on the instance. + tags: + - custom_emojis /api/v1/follow_requests: get: description: |- @@ -4451,6 +4475,7 @@ securityDefinitions: read: grants read access to everything read:accounts: grants read access to accounts read:blocks: grant read access to blocks + read:custom_emojis: grant read access to custom_emojis read:media: grant read access to media read:notifications: grants read access to notifications read:search: grant read access to searches |