Retrieve the syslog configuration
GEThttps://demo.openremote.io/api/master/syslog/config
Retrieve the syslog configuration
Request
Header Parameters
Authorization string
X-Forwarded-Proto string
X-Forwarded-Host string
Responses
- default
default response
- application/json
- Schema
- Example (from schema)
Schema
storedLevelstringrequired
Possible values: [INFO
, WARN
, ERROR
]
storedCategoriesstring[]required
Possible values: [ASSET
, AGENT
, NOTIFICATION
, ALARM
, RULES
, PROTOCOL
, GATEWAY
, MODEL_AND_VALUES
, API
, DATA
]
storedMaxAgeMinutesint32required
{
"storedLevel": "INFO",
"storedCategories": [
"ASSET"
],
"storedMaxAgeMinutes": 0
}
Authorization: oauth2
name: openidtype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
},
"authorizationCode": {
"authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
}
}
- curl
- nodejs
- java
- python
- ruby
- csharp
- go
- php
- powershell
- CURL
curl -L 'https://demo.openremote.io/api/master/syslog/config' \
-H 'Authorization: Bearer <token>'
ResponseClear