Przejdź do głównej zawartości

InitiateUploadResult

Dla: Programista

Typ obiektowyInitiateUploadResult

Where and how to send the file content: a single HTTP request to uploadUrl, then completeFileUpload.

Pola

PoleTypOpis
expiresAtString!

When uploadUrl stops working, as an ISO 8601 date-time string. Start the upload again after that.

fileIdID!

Identifier of the new file; pass it to completeFileUpload after sending the content.

methodString!

HTTP method of the upload request, for example PUT.

requiredHeadersString

Headers the upload request must carry, as a JSON object in a string (for example {"Content-Type":"application/pdf"}); null when none are required.

uploadUrlString!

Signed URL to send the file content to. Valid until expiresAt; needs no API key (do not send one).

Używane w