Tasks

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

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

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

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/tasks/attachments/upload-sessions/{id}/finish
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Response

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

idstring uuid required
owner_typestring required
owner_idstring uuid required
folder_idstring uuid required
namestring required
mime_typestring required
size_bytesinteger required
kindstring required
urlstring required
content_pathstring required
public_urlstring required
markdownstring required
uploaded_byinteger nullable required
uploaderstring required
created_atstring required

Changes

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