请求实时上传的上传 URL

注册实时上传的分片,并生成预签名的 AWS S3 上传 PUT URL。

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

asset_idstring必需格式: "uuid"
Asset ID

请求

Enumerates parts that upload URLs should be created for.
partslist of objects必需
List of file upload parts to register with Frame.
asset_namestring可选格式: "\..+"

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

Otherwise, will be ignored.

asset_filesizeinteger可选1-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.

响应

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.

错误

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