YOWO7 API
Storage

PATCH

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

Scope storage:write

Rename a drive file, move it, or change who can open it.

Pfad

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

Request

application/json · UpdateStorageFileRequestDto

folderId
string (uuid)
Identifier of the folder.
name
string
Display name.

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.
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.
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.
Update a file · YOWO7 API