YOWO7 API
Storage

GET

/api/v1/workspaces/{workspaceId}/storage/files/{fileId}/download

Scope storage:read

Get a download URL for a drive file.

Pfad

workspaceIdPflicht
string (uuid)
Workspace that owns the resource.
fileIdPflicht
string (uuid)
File identifier.

Query

disposition
string
Download disposition: attachment or inline.

Antworten

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

Get storage download url response.

fileIdPflicht
string (uuid)
Identifier of the file.
urlPflicht
string
URL.
expiresAtPflicht
string (date-time)
When this URL or value expires.
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.
Get a download URL · YOWO7 API