[skip ci] Updated swagger docs
(cherry picked from commit 0984821b41f5f8c3eeddf81c4ad75df67c065d74)
This commit is contained in:
parent
811ccc1baa
commit
3ecc81094f
@ -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": {
|
||||||
|
@ -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": {
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user