Logs
API Key Scope: logs / index
Pass the username and password of a user in the authorization header. This currently gives full access.
The number of items to display for pagination.
The number of items to skip for pagination.
Sort results by attribute.
Can sort on multiple attributes, separated by |.
Order direction can be suffixing the attribute by either :asc (default) or :desc.
Filter on degree
Filter on date
Filter on message
Lets know if the request should return all the logs or only the notifications
List of logs.
1GET /api/v2/logs HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of logs.
{
"count": 1,
"logs": [
{
"date": "2022-01-01T10:48:08.000Z",
"message": "this is a message",
"degree": 10
}
]
}API Key Scope: logs / post
Pass the username and password of a user in the authorization header. This currently gives full access.
Log notifications clear
No content
POST /api/v2/logs/clear_notifications HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Log notifications clear
No content
Last updated
Was this helpful?