Resource URL: /platform/<<version=3>>/protocols/smb/log-level

    Overview: This resource represents the current SMB logging level

     Methods: GET, PUT

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

Method GET: Get the current SMB logging level.

       URL: GET /platform/<<version=3>>/protocols/smb/log-level

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": {
        "level": {
          "enum": [
            "always", 
            "error", 
            "warning", 
            "info", 
            "verbose", 
            "debug", 
            "trace"
          ], 
          "type": "string", 
          "description": "Valid SMB logging levels"
        }
      }
    }
  ]
}

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

Method PUT: Set the current SMB logging level.

       URL: PUT /platform/<<version=3>>/protocols/smb/log-level

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "level": {
      "enum": [
        "always", 
        "error", 
        "warning", 
        "info", 
        "verbose", 
        "debug", 
        "trace"
      ], 
      "type": "string", 
      "description": "Valid SMB logging levels"
    }
  }
}

There is no JSON response body for this method.
