{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mux Animated Images Delivery Usage API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Delivery Usage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Usage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mux.com/video/v1/delivery-usage",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Offset by this many pages, of the size of `limit`"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items to include in the response"
              },
              {
                "name": "asset_id",
                "value": "",
                "type": "query",
                "description": "Filter response to return delivery usage for this asset only. You cannot specify both the `asset_id` and `live_stream_id` parameters together."
              },
              {
                "name": "live_stream_id",
                "value": "",
                "type": "query",
                "description": "Filter response to return delivery usage for assets for this live stream. You cannot specify both the `asset_id` and `live_stream_id` parameters together."
              },
              {
                "name": "timeframe[]",
                "value": "",
                "type": "query",
                "description": "Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs."
        }
      ]
    }
  ],
  "bundled": true
}