Initiate upload
Initiate a resumable upload by registering an H&E slide’s filename, size, and content type, and receive a signed GCS URL to PUT the slide bytes to.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
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.
^[0-9a-f]{64}$Response
Resumable upload URL
Resumable upload URL — PUT slide bytes here. Omitted when existing: true.
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.