Solicitar las URL de carga para la carga en tiempo real

Registrar partes de carga en tiempo real y generar URL PUT de carga de AWS S3 prefirmadas.

Autenticación

AuthorizationBearer

Autenticación de portador de la forma Bearer <token>, donde token es tu token de autenticación.

Parámetros de ruta

asset_idstringRequeridoformat: "uuid"
Asset ID

Encabezados

x-client-versionstringOpcionalValor predeterminado: 0.0.0
Firmware or software version of a C2C integration. Will be used to determine the correct Device Model configuration for the device when multiple are available. Must be a valid semantic version. For more on semantic versions, see here: https://semver.org/

Solicitud

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

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

Otherwise, will be ignored.

asset_filesizeintegerOpcional1-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.

Respuesta

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.

Errores

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