1
0

[skip ci] Updated swagger docs

(cherry picked from commit 0984821b41f5f8c3eeddf81c4ad75df67c065d74)
This commit is contained in:
Frederick [Bot] 2024-07-19 10:01:46 +00:00 committed by kolaente
parent 811ccc1baa
commit 3ecc81094f
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
3 changed files with 34 additions and 0 deletions

View File

@ -4527,6 +4527,18 @@ const docTemplate = `{
"name": "attachmentID", "name": "attachmentID",
"in": "path", "in": "path",
"required": true "required": true
},
{
"type": "string",
"description": "If set to true, a preview image will be returned if the attachment is an image.",
"name": "preview",
"in": "query"
},
{
"type": "string",
"description": "The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px.",
"name": "size",
"in": "query"
} }
], ],
"responses": { "responses": {

View File

@ -4519,6 +4519,18 @@
"name": "attachmentID", "name": "attachmentID",
"in": "path", "in": "path",
"required": true "required": true
},
{
"type": "string",
"description": "If set to true, a preview image will be returned if the attachment is an image.",
"name": "preview",
"in": "query"
},
{
"type": "string",
"description": "The size of the preview image. Can be sm = 100px, md = 200px, lg = 400px or xl = 800px.",
"name": "size",
"in": "query"
} }
], ],
"responses": { "responses": {

View File

@ -4629,6 +4629,16 @@ paths:
name: attachmentID name: attachmentID
required: true required: true
type: integer type: integer
- description: If set to true, a preview image will be returned if the attachment
is an image.
in: query
name: preview
type: string
- description: The size of the preview image. Can be sm = 100px, md = 200px,
lg = 400px or xl = 800px.
in: query
name: size
type: string
produces: produces:
- application/octet-stream - application/octet-stream
responses: responses: