tasks

Get task counts grouped by status

get/v1/tasks/counts

Response

Task counts fetched successfully

{"stackTrail":"paths:/v1/tasks/counts:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","example":{"message":"Task counts fetched successfully","payload":{"counts":[{"status":"upcoming","count":12},{"status":"dueToday","count":5},{"status":"skipped","count":3},{"status":"completed","count":9}]}}}

Example response

{
  "message": "Task counts fetched successfully",
  "payload": {
    "counts": [
      {
        "status": "upcoming",
        "count": 12
      },
      {
        "status": "dueToday",
        "count": 5
      },
      {
        "status": "skipped",
        "count": 3
      },
      {
        "status": "completed",
        "count": 9
      }
    ]
  }
}

Changes

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