Tasks

Создать веху проекта задач

Changed on

Создаёт веху проекта задач.

post/api/v1/tasks/milestones

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

Headers

X-Tenant, string required

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

Request body

MilestoneCreate required
section, string required

UUID, ключ или имя проекта задач

name, string required
description, string
target_date, string
order, integer

Response

Созданная веха

Milestone required
id, string uuid required
section, string uuid required
section_key, string required
section_name, string required
name, string required
description, string required
target_date, string nullable required
order, integer required
is_archived, boolean required
task_count, integer required

Живые задачи вехи, без архивных

tasks_done, integer required

Из них в финальном статусе

blocked_tasks, integer required

Открытые задачи вехи, которые ждут незакрытую задачу из другой вехи или без вехи (выводится из связей «блокирует», ERP-2751)

depends_on, MilestoneDependency[] required

Откуда ждут: вехи (или «без вехи»), чьи незакрытые задачи держат открытые задачи этой вехи

created_at, string required
updated_at, string required

Changes

    • info

      added the required property blocked_tasks to the response with the status

    • info

      added the required property depends_on to the response with the status

    • info

      added the optional property field to the response with the status

    7 more changes in this revision