summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml35
1 files changed, 33 insertions, 2 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index 5330d080f..bef064102 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -2773,8 +2773,8 @@ paths:
in: query
name: filter
type: string
- - default: 30
- description: Number of emojis to return. If below 1, will be set to 1, if greater than 50, will be set to 50.
+ - default: 50
+ description: Number of emojis to return. Less than 1, or not set, means unlimited (all emojis).
in: query
name: limit
type: integer
@@ -2861,6 +2861,37 @@ paths:
summary: Upload and create a new instance emoji.
tags:
- admin
+ /api/v1/admin/custom_emojis/{id}:
+ get:
+ operationId: emojiGet
+ parameters:
+ - description: The id of the emoji.
+ in: path
+ name: id
+ required: true
+ type: string
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: A single emoji.
+ schema:
+ $ref: '#/definitions/adminEmoji'
+ "400":
+ description: bad request
+ "401":
+ description: unauthorized
+ "403":
+ description: forbidden
+ "404":
+ description: not found
+ "406":
+ description: not acceptable
+ "500":
+ description: internal server error
+ summary: Get the admin view of a single emoji.
+ tags:
+ - admin
/api/v1/admin/domain_blocks:
get:
operationId: domainBlocksGet