Solicitar URLs de upload para upload em tempo real

Registrar partes do upload em tempo real e gerar URLs PUT de upload AWS S3 pré-assinadas.

Autenticação

AuthorizationBearer

Autenticação bearer na forma Bearer <token>, onde token é seu token de autenticação.

Parâmetros de caminho

asset_idstringObrigatórioformat: "uuid"
Asset ID

Solicitação

Enumerates parts that upload URLs should be created for.
partslist of objectsObrigatório
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.

Resposta

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.

Erros

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