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

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

     Methods: GET, PUT

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

Method GET: List all settings.

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

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "settings": {
          "type": "object", 
          "properties": {
            "live_retain": {
              "minimum": 1, 
              "type": "integer", 
              "description": "The number of manual reports to keep.", 
              "required": true
            }, 
            "live_dir": {
              "required": true, 
              "type": "string", 
              "description": "The directory on /ifs where manual or live reports will be placed."
            }, 
            "scheduled_retain": {
              "minimum": 1, 
              "type": "integer", 
              "description": "The number of scheduled reports to keep.", 
              "required": true
            }, 
            "scheduled_dir": {
              "required": true, 
              "type": "string", 
              "description": "The directory on /ifs where schedule reports will be placed."
            }, 
            "schedule": {
              "required": true, 
              "type": "string", 
              "description": "The isidate schedule used to generate reports."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify one or more settings.

       URL: PUT /platform/<<version=1>>/quota/settings/reports

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "live_retain": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "minimum": 1, 
          "type": "integer", 
          "description": "The number of manual reports to keep."
        }
      ]
    }, 
    "live_dir": {
      "type": "string", 
      "description": "The directory on /ifs where manual or live reports will be placed."
    }, 
    "scheduled_retain": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "minimum": 1, 
          "type": "integer", 
          "description": "The number of scheduled reports to keep."
        }
      ]
    }, 
    "scheduled_dir": {
      "type": "string", 
      "description": "The directory on /ifs where schedule reports will be placed."
    }, 
    "schedule": {
      "type": "string", 
      "description": "The isidate schedule used to generate reports."
    }
  }
}

There is no JSON response body for this method.
