Resource URL: /platform/<<version=3>>/protocols/ntp/servers

    Overview: This resource represents the NTP servers configured on a cluster.

     Methods: GET, POST, DELETE

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

Method GET: List all NTP servers.

       URL: GET /platform/<<version=3>>/protocols/ntp/servers

Query arguments:
  sort=<string> The field that will be used for sorting.
limit=<integer> Return no more than this many results at once (see resume).
     dir=<enum> Where <enum> is one of ASC, DESC.  The direction of the sort.
resume=<string> Continue returning results from previous call using this token
                (token should come from the previous call, resume cannot be
                used with other options).

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"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "total": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Total number of items available.", 
          "maximum": 4294967295
        }, 
        "servers": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "NTP server.", 
            "properties": {
              "id": {
                "required": true, 
                "type": "string", 
                "description": "Field ID."
              }, 
              "key": {
                "required": true, 
                "type": [
                  "string", 
                  "null"
                ], 
                "description": "Key value from key_file that maps to this server."
              }, 
              "name": {
                "required": true, 
                "type": "string", 
                "description": "NTP server name."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "resume": {
          "minLength": 0, 
          "type": [
            "string", 
            "null"
          ], 
          "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
        }
      }
    }
  ]
}

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

Method POST: Create an NTP server entry.

        URL: POST /platform/<<version=3>>/protocols/ntp/servers

There are no query arguments for this method.

Required POST request body fields:
name

POST request body schema:
{
  "type": "object", 
  "description": "NTP server.", 
  "properties": {
    "name": {
      "required": true, 
      "type": "string", 
      "description": "NTP server name."
    }, 
    "key": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "Key value from key_file that maps to this server."
    }
  }
}

POST 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": {
        "id": {
          "minLength": 0, 
          "required": true, 
          "type": "string", 
          "description": "ID of created item that can be used to refer to item in the collection-item resource path.", 
          "maxLength": 255
        }
      }
    }
  ]
}

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

Method DELETE: Delete all NTP server entries.

          URL: DELETE /platform/<<version=3>>/protocols/ntp/servers

There are no query arguments for this method.

There is no JSON response body for this method.
