Tasks

Изменить документ задачи или проекта

Changed on

Частично обновляет выбранный документ проекта задач. Идентификатор документа задаётся в URL.

patch/api/v1/tasks/documents/{id}

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 выбранного кабинета; кабинет не является юрлицом

Request body

DocumentUpdate required
owner_type, 'task' | 'section' | 'project' | 'milestone'
owner_id, string
task, string
section, string
project, string
milestone, string
title, string
content, string
icon, string
color, string
is_archived, boolean

Response

Обновлённый документ

TaskDocument required
id, string uuid required
owner_type, 'task' | 'section' | 'project' | 'milestone' required
owner_id, string uuid required
owner_key, string required
owner_name, string required
author_id, integer nullable required
author_name, string required
title, string required
content, string required
icon, string required
color, string required
is_archived, boolean required
created_at, string required
updated_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

    5 more changes in this revision