Files uploads

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

Changed on

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

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

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

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

FilesUpload required
id, string uuid required
folder_id, string uuid required
root_id, string uuid required
file_id, string uuid
name, string required
mime_type, string required
size_bytes, integer required
part_bytes, integer required
part_count, integer required
status, 'pending' | 'uploading' | 'completed' | 'failed' | 'aborted' required
error_code, string
expires_at, string date-time required
created_at, string date-time required
uploaded, FilesUploadedPart[]

Уже принятые части; на них держится докачка

direct_urls, object

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

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision