{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zencoder Accounts Reports API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Usage Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.zencoder.com/api/v2/reports/vod",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Zencoder-Api-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Start date in the format YYYY-MM-DD (default: 30 days ago)"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "End date in the format YYYY-MM-DD (default: today)"
              },
              {
                "name": "grouping",
                "value": "",
                "type": "query",
                "description": "A grouping name set in the [Create Job](#operation/createJob) operation"
              }
            ]
          },
          "docs": "'This report returns a breakdown of video on demand minute usage by day and grouping. It will contain two top-level keys: total and statistics. total will contain the sum of all statistics returned in the report. statistics will contain an entry for each day and grouping. If you do not use the report grouping feature of the API the report will contain only one entry per day. These statistics are collected about once per hour, but there is only one record per day (per grouping). By default this r"
        },
        {
          "info": {
            "name": "Get Minutes Used",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.zencoder.com/api/v2/reports/minutes",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Zencoder-Api-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Start date in the format YYYY-MM-DD (default: 30 days ago)"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "End date in the format YYYY-MM-DD (default: today)"
              },
              {
                "name": "grouping",
                "value": "",
                "type": "query",
                "description": "A grouping name set in the [Create Job](#operation/createJob) operation"
              }
            ]
          },
          "docs": "'In API version 2 /vod and /minutes return the same data, so this endpoint is identical to `https://app.zencoder.com/api/v2/reports/vod`.'"
        }
      ]
    }
  ],
  "bundled": true
}