assets
Bring an older version back
Make an older version the current one again. The older version is copied forward as a NEW version rather than the file being rewound, so nothing is lost and the restore can itself be undone. Answers 404 when the file or that version does not exist, has been deleted, or belongs to another workspace.
post/v1/assets/{asset_id}/versions/{version}/restore
Request
- Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
- URL: https://api.patricia.app/v1/assets/{asset_id}/versions/{version}/restore
- Auth: HTTP bearer
Path parameters
asset_idstring uuid required
The asset's id.
versioninteger required
The version to bring back.
Headers
X-Tenant-Idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.