Restore a workspace file version
POST/v1/workspaces/:workspaceId/files/$restore
Restore a workspace file version
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 412
- 500
Historical version restored as the latest version.
Response Headers
ETag
Entity tag of the restored latest version.
X-Kothar-File-Version-Id
S3 version id created by the restore copy.
The request is malformed or invalid.
Authentication is required or invalid.
The caller is not allowed to perform this action.
The requested resource was not found.
The request conflicts with the current resource state.
A request precondition was not satisfied.
The server encountered an unexpected error.