YOWO7 API
Storage

POST

/api/v1/workspaces/{workspaceId}/storage/folders/{folderId}/restore

Scope storage:write

Restore a folder from the trash.

Pfad

workspaceIdPflicht
string (uuid)
Workspace that owns the resource.
folderIdPflicht
string (uuid)
Folder identifier.

Antworten

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

Storage folder.

idPflicht
string (uuid)
Identifier.
parentFolderId
string (uuid)
Identifier of the parent folder.
namePflicht
string
Display name.
path
string
Path.
depth
integer (int32)
Depth.
createdAt
string (date-time)
When this was created.
breadcrumb
StorageBreadcrumbSegmentDto[]
Breadcrumb.
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.
Restore a folder · YOWO7 API