[skip ci] Updated swagger docs
(cherry picked from commit 2b8515b91db6f90becfe150b351120e3b1afc726)
This commit is contained in:

committed by
kolaente

parent
0b9f3070fd
commit
85445ea032
@ -157,7 +157,8 @@ definitions:
|
||||
$ref: '#/definitions/user.User'
|
||||
type: array
|
||||
attachments:
|
||||
description: All attachments this task has
|
||||
description: All attachments this task has. This property is read-onlym, you
|
||||
must use the separate endpoint to add attachments to a task.
|
||||
items:
|
||||
$ref: '#/definitions/models.TaskAttachment'
|
||||
type: array
|
||||
@ -213,7 +214,9 @@ definitions:
|
||||
call to the api.
|
||||
type: boolean
|
||||
labels:
|
||||
description: An array of labels which are associated with this task.
|
||||
description: An array of labels which are associated with this task. This
|
||||
property is read-only, you must use the separate endpoint to add labels
|
||||
to a task.
|
||||
items:
|
||||
$ref: '#/definitions/models.Label'
|
||||
type: array
|
||||
@ -726,7 +729,8 @@ definitions:
|
||||
$ref: '#/definitions/user.User'
|
||||
type: array
|
||||
attachments:
|
||||
description: All attachments this task has
|
||||
description: All attachments this task has. This property is read-onlym, you
|
||||
must use the separate endpoint to add attachments to a task.
|
||||
items:
|
||||
$ref: '#/definitions/models.TaskAttachment'
|
||||
type: array
|
||||
@ -782,7 +786,9 @@ definitions:
|
||||
call to the api.
|
||||
type: boolean
|
||||
labels:
|
||||
description: An array of labels which are associated with this task.
|
||||
description: An array of labels which are associated with this task. This
|
||||
property is read-only, you must use the separate endpoint to add labels
|
||||
to a task.
|
||||
items:
|
||||
$ref: '#/definitions/models.Label'
|
||||
type: array
|
||||
@ -4625,15 +4631,11 @@ 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.
|
||||
lg = 400px or xl = 800px. If provided, a preview image will be returned
|
||||
if the attachment is an image.
|
||||
in: query
|
||||
name: size
|
||||
name: preview_size
|
||||
type: string
|
||||
produces:
|
||||
- application/octet-stream
|
||||
|
Reference in New Issue
Block a user