Storage
POST
/api/v1/workspaces/{workspaceId}/storage/uploads
Scope storage:write
Upload a file in one call. Use this for files up to 8 MiB. For a task attachment, upload into the folder from the attachment upload target, then attach the file to the task.
Pfad
workspaceIdPflicht
string (uuid)
Workspace that owns the resource.
Request
application/json · DirectStorageUploadRequestDto
folderId
string (uuid)
Identifier of the folder.
fileNamePflicht
string
Name of the file.
contentType
string
Content type.
contentBase64Pflicht
string
Content Base 64.
Antworten
200StorageFileDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Storage file.
idPflicht
string (uuid)
Identifier.
folderIdPflicht
string (uuid)
Identifier of the folder.
namePflicht
string
Display name.
contentType
string
Content type.
sizeBytes
integer (int64)
Size bytes.
visibility
uploadStatus
scanStatus
accessStatus
createdAt
string (date-time)
When this was created.
uploadedAt
string (date-time)
When the uploaded was recorded.
uploadedByUserId
string (uuid)
Identifier of the uploaded by user.
lastScannedAt
string (date-time)
When the last scanned was recorded.
lastDownloadedAt
string (date-time)
When the last downloaded was recorded.
publicToken
string
Public token.
publicUrlPath
string
Public url path.
publicEnabledAt
string (date-time)
When the public enabled was recorded.
publicDisabledAt
string (date-time)
When the public disabled was recorded.
versionNumber
integer (int32)
Version number.