[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2024-07-19 10:01:46 +00:00 committed by Dominik Pschenitschni
parent e8be657d97
commit 0984821b41
3 changed files with 34 additions and 0 deletions

@ -4527,6 +4527,18 @@ const docTemplate = `{
"name": "attachmentID",
"in": "path",
"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": {

@ -4519,6 +4519,18 @@
"name": "attachmentID",
"in": "path",
"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": {

@ -4629,6 +4629,16 @@ paths:
name: attachmentID
required: true
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:
- application/octet-stream
responses: