Resource URL: /platform/<<version=5>>/protocols/hdfs/fsimage/settings

    Overview: This resource applies the HDFS FSImage settings.

     Methods: GET, PUT

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

Method GET: Retrieve HDFS FSImage properties.

       URL: GET /platform/<<version=5>>/protocols/hdfs/fsimage/settings

Query arguments:
zone=<string> Access zone which contains FSImage settings.

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", 
          "description": "Settings for the HDFS FSImage.", 
          "properties": {
            "enabled": {
              "required": false, 
              "type": "boolean", 
              "description": "Enable or disable the HDFS FSImage generation and access to the latest FSImage."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify HDFS FSImage properties.

       URL: PUT /platform/<<version=5>>/protocols/hdfs/fsimage/settings

Query arguments:
zone=<string> Access zone which contains FSImage settings.

PUT request body schema:
{
  "type": "object", 
  "description": "Settings for the HDFS FSImage.", 
  "properties": {
    "enabled": {
      "required": false, 
      "type": "boolean", 
      "description": "Enable or disable the HDFS FSImage generation and access to the latest FSImage."
    }
  }
}

There is no JSON response body for this method.
