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

    Overview: This resource applies the HDFS FSImage job settings.

     Methods: GET, PUT

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

Method GET: Retrieve HDFS FSImage job properties.

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

Query arguments:
zone=<string> Access zone which contains job 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 job.", 
          "properties": {
            "generation_interval": {
              "required": false, 
              "minimum": 0, 
              "type": "integer", 
              "description": "The interval in seconds between successive FSImages. The default is 86400, which amounts to a day.", 
              "maximum": 2147483647
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify HDFS FSImage job properties.

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

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

PUT request body schema:
{
  "type": "object", 
  "description": "Settings for the HDFS FSImage job.", 
  "properties": {
    "generation_interval": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "required": false, 
          "minimum": 0, 
          "type": "integer", 
          "description": "The interval in seconds between successive FSImages. The default is 86400, which amounts to a day.", 
          "maximum": 2147483647
        }
      ]
    }
  }
}

There is no JSON response body for this method.
