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

    Overview: This resource applies to the latest HDFS FSImage.

     Methods: GET, DELETE

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

Method GET: Retrieve the latest HDFS FSImage information, if there is one.

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

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

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": {
        "latest": {
          "type": "object", 
          "description": "Information about the latest FSImage.", 
          "properties": {
            "txid": {
              "minimum": 0, 
              "type": [
                "integer", 
                "null"
              ], 
              "description": "The transaction id of the latest HDFS FSImage. If null, FSImage is not present.", 
              "maximum": 18446744073709551615
            }, 
            "size": {
              "minimum": 0, 
              "type": [
                "integer", 
                "null"
              ], 
              "description": "Size of the FSImage in bytes. If null, FSImage is not present.", 
              "maximum": 18446744073709551615
            }, 
            "created": {
              "minimum": 0, 
              "type": [
                "integer", 
                "null"
              ], 
              "description": "The date and time FSImage was created as a UNIX epoch.", 
              "maximum": 18446744073709551615
            }
          }
        }
      }
    }
  ]
}

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

Method DELETE: Delete the latest HDFS FSImage, if there is one.

          URL: DELETE /platform/<<version=5>>/protocols/hdfs/fsimage/latest

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

There is no JSON response body for this method.
