Tasks
Создать прямую upload-сессию для замены файла
Changed onСоздаёт прямую сессию загрузки файла для замены вложения.
post/api/v1/tasks/attachments/{id}/replace-sessions
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Attachment Replacement Session Create required
filename, string required
mime_type, string
size_bytes, integer required
sha256, string
Response
Upload-сессия замены
Attachment Upload Session required
id, string uuid required
attachment_id, string uuid required
replace_attachment_id, string uuid
owner_type, 'task' | 'section' | 'project' | 'comment' | 'meeting' | 'document' required
owner_id, string uuid required
folder_id, string uuid
Папка файлов проекта, куда ляжет файл
uploaded_by, integer required
name, string required
mime_type, string required
size_bytes, integer required
sha256, string
status, string required
expires_at, string date-time required
completed_at, string date-time
created_at, string date-time required
upload_url, string uri
method, string
headers, object
fields, object
file_field, string
max_bytes, integer
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
9 more changes in this revision
- info