Richiedi URL di caricamento per il caricamento in tempo reale

Registra le parti di caricamento in tempo reale e genera URL PUT di caricamento AWS S3 pre-firmati.

Autenticazione

AuthorizationBearer

Autenticazione bearer nella forma Bearer <token>, dove token è il tuo token di autenticazione.

Parametri di percorso

asset_idstringObbligatorioformat: "uuid"
Asset ID

Richiesta

Enumerates parts that upload URLs should be created for.
partslist of objectsObbligatorio
List of file upload parts to register with Frame.
asset_namestringOpzionaleformat: "\..+"

Updates the asset name if only extension was supplied to assetCreate, and the default name is still in use.

Otherwise, will be ignored.

asset_filesizeintegerOpzionale1-5497558138880

The full filesize for the upload in bytes. This field is required when an object in parts has is_final set to true.

Must be no more than 5 TiB.

Risposta

Returns array of upload URLs for created parts.
upload_urlslist of strings

Array of AWS S3 presigned upload PUT URLs.

Returned in the same order as the parts field of the request.

Errori

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error