Files uploads

Узнать принятые части загрузки

На этом ответе держится докачка: клиент спрашивает, что уже дошло, и досылает недостающее.

get/api/v1/files/uploads/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/files/uploads/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Path parameters

idstring uuid required

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Состояние загрузки

idstring uuid required
folder_idstring uuid required
root_idstring uuid required
file_idstring uuid
namestring required
mime_typestring required
size_bytesinteger required
part_bytesinteger required
part_countinteger required
status'pending' | 'uploading' | 'completed' | 'failed' | 'aborted' required
error_codestring
expires_atstring date-time required
created_atstring date-time required
direct_urlsobject

Подписанные адреса частей для прямой записи в объектное хранилище

Changes

No recorded changes to this operation across all 1 revision of this API.