YOWO7 API
Projects

POST

/api/v1/workspaces/{workspaceId}/projects/tasks/{taskId}/attachments

Scope projects:write

Attach a file that is already uploaded in Files to a task.

Pfad

taskIdPflicht
string (uuid)
Task identifier.
workspaceIdPflicht
string
Workspace that owns the resource.

Request

application/json · ProjectTaskAttachmentCreateDto

storageFileId
string (uuid)
Identifier of the storage file.

Antworten

200ProjectTaskAttachmentDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.

Project task attachment.

id
string (uuid)
Identifier.
storageFileId
string (uuid)
Identifier of the storage file.
folderId
string (uuid)
Identifier of the folder.
fileName
string
Name of the file.
contentType
string
Content type.
sizeBytes
integer (int64)
Size bytes.
scanStatus
string
Scan status.
downloadAvailable
boolean
Whether download available is set.
createdByUserId
string (uuid)
Member who created this.
sortOrder
integer (int32)
Order among siblings. Lower numbers come first.
createdAt
string (date-time)
When this was created.
400ApiProblemThe request is invalid.
401ApiProblemThe private app token is missing or invalid.
403ApiProblemThe token is missing the required scope, or this action is not allowed.
404ApiProblemThe workspace or resource was not found.
defaultApiProblemError response.
Attach a file · YOWO7 API