Get debug info about Link connection
Returns debug info when MQTT protocol is enabled
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- info string[]
array of logs
{
"info": [
"Fri May 20 19:09:17 2022: Disconnected",
"Fri May 20 19:09:17 2022: Connecting to the MQTT server...",
"Fri May 20 19:09:17 2022: Subscribing to topics..."
]
}
{
"info": [
"Fri May 20 19:06:42 2022: Exception: MQTT error [-1]: TCP/TLS connect failure (0)",
"Fri May 20 19:09:17 2022: Disconnected",
"Fri May 20 19:09:17 2022: Connecting to the MQTT server...",
"Fri May 20 19:09:17 2022: Subscribing to topics...",
"Fri May 20 19:09:18 2022: Connected"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}
Loading...