Confirm vault upload result
Changed onConfirm whether a direct-to-S3 vault upload succeeded or failed. This endpoint emits vault.upload.completed or vault.upload.failed events and is idempotent for repeated confirmations. Conditional fields: when success=true, sizeBytes is required; when success=false, errorCode and errorMessage are required. These rules are enforced server-side with specific 400 responses.
Request
- Base URLhttps://api.case.dev
- URLhttps://api.case.dev/vault/{id}/upload/{objectId}/confirm
- AuthHTTP bearer
Path parameters
Vault ID
Vault object ID
Request body
Response
Confirmation recorded
Changes
- breaking
added the new required request property
- breaking
removed
subschema #1: VaultConfirmUploadSuccesssubschema #2: VaultConfirmUploadFailurefrom the request bodyoneOflist - breaking
the request's body type changed from no type to
object - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking