Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BasePath is the base path for serving the emoji API
BasePath = "/api/v1/custom_emojis"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module implements the ClientAPIModule interface for everything related to emoji
func (*Module) EmojisGETHandler ¶
EmojisGETHandler swagger:operation GET /api/v1/custom_emojis customEmojisGet
Get an array of custom emojis available on the instance.
--- tags: - custom_emojis
produces: - application/json
security: - OAuth2 Bearer:
- read:custom_emojis
responses:
'200': description: Array of custom emojis. schema: type: array items: "$ref": "#/definitions/emoji" '401': description: unauthorized '406': description: not acceptable '500': description: internal server error
Click to show internal directories.
Click to hide internal directories.