Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET /v1/system/supervisor/logging/ 

Returns the current logging level on the player. The default value is info.

Request Example

Code Block
GET /api/v1/system/supervisor/logging/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}

Response Body

  • status is the HTTP response code

  • level is the logging level on the player. The higher the number, the more detail is offered.

  • name is the name of the logging level (trace, info, error, or warn)

Response Example

Code Block
languagejson
{
    "data": {
        "result": {
            "status": 200,
            "level": "2",
            "name": "info"
        }
    }
}

Endpoints:

Table of Contents
minLevel1
maxLevel25
include
outlinefalse
indent
stylenone
excludeEndpoints:
typelist
class
printablefalse

PUT /v1/system/supervisor/logging/ 

Sets the logging level on the player.

Request Body

  • level int: The integer values correspond to the logging levels:

    • 3: Trace

    • 2: Info

    • 1: Warn

    • 0: Error

Request Example

Code Block
PUT /api/v1/system/supervisor/logging/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}

This is the example request body:

Code Block
languagejson
{
  "level": 1
}

Response Example

Code Block
languagejson
{
    "data": {
        "result": {
            "status": 200
        }
    }
}