Tasks

Получить проекты задач

Changed on

Возвращает проекты задач.

get/api/v1/tasks/sections

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

Query parameters

counters, 'mine'

mine — счётчики задач (tasks_total/tasks_active/tasks_done/tasks_overdue) считают только мои задачи тем же правилом, что scope=mine в списке (бегунок «Только мои»)

mine_roles, string
Example:executor,watcher

Сужает фильтр «Мои» (scope=mine или counters=mine) до перечисленных ролей через запятую; пусто — все роли. Неизвестная роль — 400

Headers

X-Tenant, string required

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

Response

Проекты задач со счётчиками и участниками

SectionPage required
count, integer required
results, Section[] 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

    3 more changes in this revision