Restore upload

http
POST /projects/{project_reference}/uploads/{upload_reference}/restore

Restore a soft-deleted upload. Requires project.uploads.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
upload_referencepathYesUpload UUID selects that exact row; raw project-relative path selects an active row first, otherwise latest deletion then descending UUID. Active rows are rejected. No deletion-age cutoff is enforced; stored content availability is not checked. Requires upload write and path edit access.

Responses

StatusDescription
200File restored successfully.
400Invalid request, or the upload is not soft-deleted
401Unauthorized
403The caller lacks access to the upload or path
404Project or upload not found
409Upload is being collected, or its path is occupied by an active upload
500Server error