Resource URL: /platform/<<version=1>>/filepool/default-policy

    Overview: This resource manages the default file pool policy.

     Methods: GET, PUT

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

Method GET: List default file pool policy.

       URL: GET /platform/<<version=1>>/filepool/default-policy

Query arguments:

GET response body schema:
{
  "type": "object", 
  "description": "A default filepool policy object", 
  "properties": {
    "default-policy": {
      "type": "object", 
      "description": "A default filepool policy object", 
      "properties": {
        "actions": {
          "items": {
            "required": true, 
            "type": "object", 
            "description": "An action to apply to a file matching the policy", 
            "properties": {
              "action_param": {
                "required": true, 
                "type": [
                  "string", 
                  "boolean", 
                  "object", 
                  "null"
                ], 
                "description": "Varies according to action_type"
              }, 
              "action_type": {
                "enum": [
                  "set_requested_protection", 
                  "set_data_access_pattern", 
                  "enable_coalescer", 
                  "apply_data_storage_policy", 
                  "apply_snapshot_storage_policy", 
                  "set_cloudpool_policy"
                ], 
                "type": "string", 
                "required": true
              }
            }
          }, 
          "type": "array", 
          "description": "A list of actions to be taken for matching files"
        }
      }
    }
  }
}

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

Method PUT: Set default file pool policy.

       URL: PUT /platform/<<version=1>>/filepool/default-policy

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "actions": {
      "items": {
        "required": true, 
        "type": "object", 
        "description": "An action to apply to a file matching the policy", 
        "properties": {
          "action_param": {
            "required": true, 
            "type": [
              "string", 
              "boolean", 
              "object", 
              "null"
            ], 
            "description": "Varies according to action_type"
          }, 
          "action_type": {
            "enum": [
              "set_requested_protection", 
              "set_data_access_pattern", 
              "enable_coalescer", 
              "apply_data_storage_policy", 
              "apply_snapshot_storage_policy", 
              "set_cloudpool_policy"
            ], 
            "type": "string", 
            "required": true
          }
        }
      }, 
      "type": "array"
    }
  }
}

There is no response body for this method.
