v1

latestOpenAPI 3.1.02026-07-2211914.9 KB
Uploads

Initiate a resumable upload

post/uploads

Request body

filenamestring required
fileSizeinteger required
contentTypestring required
contentSha256string

Optional client-computed sha256 of the file bytes (64 lowercase hex chars). When supplied, the platform checks for an existing non-archived sample in the same org with the same hash; on a hit the response carries existing: true and the existing uploadId instead of minting a new signed URL.

Response

Resumable upload URL

uploadIdstring uuid required
uploadUrlstring

Resumable upload URL — PUT slide bytes here. Omitted when existing: true.

gcsPathstring required
existingboolean

True when contentSha256 matched an existing non-archived sample in the same org. In that case uploadUrl is omitted and the byte upload should be skipped.