Resource URL: /platform/<<version=3>>/cluster/time

    Overview: This resource represents the current time on the cluster.  Note
              that if NTP is configured (see /protocols/ntp/settings and
              /protocols/ntp/server resources), cluster time will be
              automatically synchronized to the time reported by the configured
              NTP servers.

     Methods: GET, PUT

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

Method GET: Retrieve the current time as reported by each node.

       URL: GET /platform/<<version=3>>/cluster/time

There are no query arguments for this method.

GET response body schema:
{
  "total": {
    "type": "integer", 
    "description": "The total number of nodes responding."
  }, 
  "nodes": {
    "items": {
      "type": "object", 
      "properties": {
        "status": {
          "required": false, 
          "minimum": 0, 
          "type": "integer", 
          "description": "Status of the HTTP response from this node if not 200.  If 200, this field does not appear.", 
          "maximum": 4294967295
        }, 
        "time": {
          "minimum": -9223372036854775808, 
          "type": "integer", 
          "description": "The current time on the cluster as a UNIX epoch (seconds since 1/1/1970), as reported by this node.", 
          "maximum": 9223372036854775807
        }, 
        "lnn": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Logical node number of the node reporting this information.", 
          "maximum": 4294967295
        }, 
        "id": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Node ID of the node reporting this information.", 
          "maximum": 4294967295
        }, 
        "error": {
          "required": false, 
          "type": "string", 
          "description": "Error message, if the HTTP status returned from this node was not 200."
        }
      }
    }, 
    "type": "array", 
    "description": "The responses from the individual nodes involved in this request."
  }, 
  "errors": {
    "items": {
      "type": "object", 
      "properties": {
        "status": {
          "minimum": 0, 
          "type": "integer", 
          "description": "HTTP Status code returned by this node.", 
          "maximum": 4294967295
        }, 
        "message": {
          "type": "string", 
          "description": "More detailed description of the error."
        }, 
        "code": {
          "type": "string", 
          "description": "The general meaning of the status code."
        }, 
        "lnn": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Logical node number of the node reporting this error.", 
          "maximum": 4294967295
        }
      }
    }, 
    "type": "array", 
    "description": "A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors."
  }
}

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

Method PUT: Set cluster time.  Time will mostly be synchronized across nodes,
            but there may be slight drift.

       URL: PUT /platform/<<version=3>>/cluster/time

There are no query arguments for this method.

Required PUT request body fields:
time

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "time": {
      "required": true, 
      "minimum": 0, 
      "type": "integer", 
      "description": "The current time on the cluster as a UNIX epoch (seconds since 1/1/1970), as reported by this node.", 
      "maximum": 4294967295
    }
  }
}

There is no response body for this method.
