Resource URL: /platform/<<version=3>>/protocols/ndmp/diagnostics

    Overview: This resource exposes ndmp diagnostics setting.

     Methods: GET, PUT

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

Method GET: List ndmp diagnostics settings.

       URL: GET /platform/<<version=3>>/protocols/ndmp/diagnostics

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": {
        "diagnostics": {
          "type": "object", 
          "properties": {
            "diag_level": {
              "type": "integer", 
              "description": "Diagnostics level for ndmp."
            }, 
            "protocol_version": {
              "type": "integer", 
              "description": "The version of the ndmp protocol."
            }, 
            "trace_level": {
              "enum": [
                "none", 
                "standard", 
                "include-file-history", 
                "log-file-history"
              ], 
              "type": "string", 
              "description": "Trace level for ndmp."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify ndmp diagnostics settings.

       URL: PUT /platform/<<version=3>>/protocols/ndmp/diagnostics

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "diag_level": {
      "type": "integer", 
      "description": "Diagnostics level for ndmp."
    }, 
    "protocol_version": {
      "type": "integer", 
      "description": "The version of the ndmp protocol."
    }, 
    "trace_level": {
      "enum": [
        "none", 
        "standard", 
        "include-file-history", 
        "log-file-history"
      ], 
      "type": "string", 
      "description": "Trace level for ndmp."
    }
  }
}

There is no JSON response body for this method.
