{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tower Accounts Stats API",
    "version": "v0.11.16"
  },
  "items": [
    {
      "info": {
        "name": "Stats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate app statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/stats/apps",
            "params": [
              {
                "name": "environment",
                "value": "",
                "type": "query",
                "description": "The environment to filter the statistics by. If not provided, statistics for all environments will be returned."
              }
            ]
          },
          "docs": "Generates current statistics about apps"
        },
        {
          "info": {
            "name": "Generate run statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/stats/runs",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter runs by status(es). Define multiple with a comma-separated list. Supplying none will return all statuses."
              },
              {
                "name": "start_at",
                "value": "",
                "type": "query",
                "description": "Start date and time for statistics (inclusive)"
              },
              {
                "name": "end_at",
                "value": "",
                "type": "query",
                "description": "End date and time for statistics (inclusive)"
              },
              {
                "name": "timezone",
                "value": "",
                "type": "query",
                "description": "Timezone for the statistics (e.g., 'Europe/Berlin'). Defaults to UTC."
              },
              {
                "name": "environment",
                "value": "",
                "type": "query",
                "description": "Filter runs by environment. If not provided, all environments will be included."
              }
            ]
          },
          "docs": "Generates statistics about runs over a specified time period."
        }
      ]
    }
  ],
  "bundled": true
}