v5

OpenAPI 3.1.02026-08-025631,1012.8 MB
Apps

Verify a presigned-URL upload landed in S3

Confirm a bundle uploaded via a presigned PUT URL actually landed in S3.

S3 returns an empty body on a successful PUT — the ETag is only in response headers, which browser clients often can't read due to CORS. This endpoint does a server-side HEAD and returns {etag, size_bytes, last_modified, exists} so clients can verify the upload before calling /deploy.

post/v1/apps/{app_id}/deploy/verify-upload

Path parameters

app_idstring required

Request body

bundle_s3_keystring required

S3 key returned by /deploy/upload-url — the object you just PUT to.

Response

Successful Response

bundle_s3_keystring required

S3 key that was verified

existsboolean required

True if the object exists in S3

etagstring nullable

S3 ETag of the uploaded object (MD5 for single-part uploads).

size_bytesinteger nullable

Size of the uploaded object in bytes.

last_modifiedstring nullable

Last-modified timestamp (ISO 8601).