Resource URL: /platform/<<version=3>>/file-filter/settings

    Overview: This resource contains per zone File Filtering settings.

     Methods: GET, PUT

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

Method GET: View File Filtering settings of an access zone

       URL: GET /platform/<<version=3>>/file-filter/settings

Query arguments:
zone=<string> Specifies the access zones in which these settings apply.

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"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "settings": {
          "required": true, 
          "type": "object", 
          "properties": {
            "file_filtering_enabled": {
              "type": "boolean", 
              "description": "Indicates whether file filtering is enabled on this zone."
            }, 
            "file_filter_extensions": {
              "items": {
                "type": "string"
              }, 
              "type": "array", 
              "description": "List of file extensions to be filtered."
            }, 
            "file_filter_type": {
              "enum": [
                "deny", 
                "allow"
              ], 
              "type": "string", 
              "description": "Specifies if filter list is for deny or allow. Default is deny."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify one or more File Filtering settings for an access zone

       URL: PUT /platform/<<version=3>>/file-filter/settings

Query arguments:
zone=<string> Specifies the access zones in which these settings apply.

PUT request body schema:
{
  "required": true, 
  "type": "object", 
  "properties": {
    "file_filtering_enabled": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "Indicates whether file filtering is enabled on this zone."
        }
      ]
    }, 
    "file_filter_extensions": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "items": {
            "type": "string"
          }, 
          "type": "array", 
          "description": "List of file extensions to be filtered."
        }
      ]
    }, 
    "file_filter_type": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "enum": [
            "deny", 
            "allow"
          ], 
          "type": "string", 
          "description": "Specifies if filter list is for deny or allow. Default is deny."
        }
      ]
    }
  }
}

There is no JSON response body for this method.
