Files uploads
Узнать принятые части загрузки
Changed onНа этом ответе держится докачка: клиент спрашивает, что уже дошло, и досылает недостающее.
get/api/v1/files/uploads/{id}
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Состояние загрузки
Files Upload 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, Files Uploaded Part[]
Уже принятые части; на них держится докачка
direct_urls, object
Подписанные адреса частей для прямой записи в объектное хранилище
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
3 more changes in this revision
- info