Resource URL: /platform/<<version=1>>/worm/settings

    Overview: This resource represents the global settings for WORM.

     Methods: GET, PUT

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

Method GET: Get the global WORM settings.

       URL: GET /platform/<<version=1>>/worm/settings

There are no query arguments for this method.

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": "Specifies global SmartLock (WORM) settings.", 
          "properties": {
            "cdate": {
              "type": [
                "null", 
                "integer"
              ], 
              "description": "Specifies the current time of the SmartLock compliance clock in Unix Epoch seconds. If the compliance clock is not set, this value is null. A PUT request will set the compliance clock date to the current system time. The cluster must be in compliance mode to set the compliance clock."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify the global WORM settings.  All input fields are optional,
            but one or more must be supplied.

       URL: PUT /platform/<<version=1>>/worm/settings

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "Specifies global SmartLock (WORM) settings.", 
  "properties": {
    "cdate": {
      "type": "object", 
      "description": "To set the compliance clock to the current system time, PUT to this resource with an empty JSON object {} for the cdate value.  This cluster must be in compliance mode to set the compliance clock."
    }
  }
}

There is no JSON response body for this method.
