Resource URL: /platform/<<version=1>>/quota/reports

    Overview: This resource applies the standard collection pattern to quota
              reports.

     Methods: GET, POST

********************************************************************************

Method GET: List all or matching reports.

       URL: GET /platform/<<version=1>>/quota/reports

Query arguments:
     sort=<enum> Where <enum> is one of time, generated, type.  Order results
                 by this field.
 resume=<string> Continue returning results from previous call using this token
                 (token should come from the previous call, resume cannot be
                 used with other options).
generated=<enum> Where <enum> is one of manual, scheduled, all.  Only list
                 reports matching this source.
 limit=<integer> Return no more than this many results at once (see resume).
     type=<enum> Where <enum> is one of summary, detail, all.  Only list
                 reports matching this type.
      dir=<enum> Where <enum> is one of ASC, DESC.  The direction of the sort.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }, 
    "reports": {
      "items": {
        "type": "object", 
        "properties": {
          "generated": {
            "enum": [
              "manual", 
              "scheduled"
            ], 
            "type": "string", 
            "description": "Whether report was manually requested (live) or scheduled.", 
            "required": true
          }, 
          "type": {
            "enum": [
              "summary", 
              "detail"
            ], 
            "type": "string", 
            "description": "Whether this is a summary or detail report.", 
            "required": true
          }, 
          "id": {
            "required": true, 
            "type": "string", 
            "description": "The system ID given to the report."
          }, 
          "time": {
            "required": true, 
            "type": "integer", 
            "description": "Unix epoch time the report was taken."
          }
        }
      }, 
      "type": "array"
    }, 
    "resume": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
    }
  }
}

********************************************************************************

Method POST: Create a new report. The type of this report is 'manual'; it is
             also sometimes called 'live' or 'ad-hoc'.

        URL: POST /platform/<<version=1>>/quota/reports

There are no query arguments for this method.

POST request body schema:
{
  "type": [
    "null", 
    "object"
  ], 
  "description": "Null or any empty JSON object.", 
  "properties": {}
}

POST response body schema:
{
  "type": "object", 
  "properties": {
    "id": {
      "required": true, 
      "type": "integer", 
      "description": "ID of created item that can be used to refer to item in the collection-item resource path."
    }
  }
}
