Запрашивать URL-адреса для добавления, чтобы выполнять добавление в реальном времени
Запрашивать URL-адреса для добавления, чтобы выполнять добавление в реальном времени
Зарегистрируйте фрагменты добавления в реальном времени и создайте предварительно подписанные URL-адреса для добавления методом PUT в AWS S3.
Аутентификация
AuthorizationBearer
Аутентификация Bearer в форме Bearer <token>, где token — ваш токен аутентификации.
Параметры пути
asset_id
Asset ID
Запрос
Enumerates parts that upload URLs should be created for.
parts
List of file upload parts to register with Frame.
asset_name
Updates the asset name if only extension was supplied to assetCreate, and the default name is still in use.
Otherwise, will be ignored.
asset_filesize
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_urls
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