Return task amount, task done amount, total estimation, total duration

GET /data/tasks/open-tasks/stats

by status by task type by project for open projects. It aggregates the
result at the project level.

Responses

  • 200 application/json

    A dict organized by project that contains the results for each task type and status pairs

    Hide response attribute Show response attribute object
    • * object Additional properties
      Hide * attribute Show * attribute object
      • task_types object
        Hide task_types attribute Show task_types attribute object
        • * object Additional properties
          Hide * attributes Show * attributes object
          • total integer
          • done integer
          • estimation integer
          • duration integer
  • 400

    Bad request

GET /data/tasks/open-tasks/stats
curl \
 --request GET 'http://api.example.com/data/tasks/open-tasks/stats' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "additionalProperty1": {
    "task_types": {
      "additionalProperty1": {
        "total": 42,
        "done": 42,
        "estimation": 42,
        "duration": 42
      },
      "additionalProperty2": {
        "total": 42,
        "done": 42,
        "estimation": 42,
        "duration": 42
      }
    }
  },
  "additionalProperty2": {
    "task_types": {
      "additionalProperty1": {
        "total": 42,
        "done": 42,
        "estimation": 42,
        "duration": 42
      },
      "additionalProperty2": {
        "total": 42,
        "done": 42,
        "estimation": 42,
        "duration": 42
      }
    }
  }
}