Запрашивать URL-адреса для добавления, чтобы выполнять добавление в реальном времени

Зарегистрируйте фрагменты добавления в реальном времени и создайте предварительно подписанные URL-адреса для добавления методом PUT в AWS S3.

Аутентификация

AuthorizationBearer

Аутентификация Bearer в форме Bearer <token>, где token — ваш токен аутентификации.

Параметры пути

asset_idstringОбязательныйformat: "uuid"
Asset ID

Заголовки

x-client-versionstringОпциональныйПо умолчанию 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/

Запрос

Enumerates parts that upload URLs should be created for.
partslist of objectsОбязательный
List of file upload parts to register with Frame.
asset_namestringОпциональныйformat: "\..+"

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