Tasks

Завершить прямую upload-сессию и зарегистрировать вложение

Changed on

Завершает прямую сессию загрузки и регистрирует вложение задачи.

post/api/v1/tasks/attachments/upload-sessions/{id}/finish

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Зарегистрированное вложение

Attachment required
id, string uuid required
owner_type, string required
owner_id, string uuid required
folder_id, string uuid nullable required
name, string required
mime_type, string required
size_bytes, integer required
kind, string required
url, string required
content_path, string required
public_url, string required
markdown, string required
uploaded_by, integer nullable required
uploader, string required
created_at, string required

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

    11 more changes in this revision