Audit log
Get an audit log signing key (all configuration) and on Encedo PPA only get a log list & files.
Allowed users
Allowed
Required access scope
logger:get
Get a log signing key
Get a log signing key
GET
https://my.ence.do/api/logger/key
Return a key used to digitally sign the log file header as proof of source.
Headers
Authorization*
String
Bearer JWT_TOKEN
Response data for successful operation
key
String
Base64 encoded ED25519 public key
nonce
String
Base64 encoded random nonce
nonce_signed
String
Base64 encoded ED25519 signature of the nonce
.
Log entries
LOG_TYPE_FAILED_SCOPE_CHECK
LOG_RESULT_FAILED
403
Get a list of log entries
Embedded Flash Drive is available on Encedo PPA only. On Encedo EPA these two endpoints are not available, response code 404 will be returned.
Get a logs list
GET
https://my.ence.do/api/logger/list/:offset
Get a list of available logs files
Path Parameters
offset
Number
Skip 'offset' logs entries
Headers
Authorization*
String
Bearer JWT_TOKEN
Response data for successful operation
total
Number
Total number of logs entries.
id
Array of strings
An array of logs File IDs
Log entries
LOG_TYPE_FAILED_SCOPE_CHECK
LOG_RESULT_FAILED
403
LOG_TYPE_LOGGER_LIST_LOG
LOG_RESULT_OK
200
LOG_TYPE_LOGGER_LIST_LOG
LOG_RESULT_FAILED
404
Max 128 log entries are returned by one call. Use the offset
argument for pagination.
Get a log file
Embedded Flash Drive is available on Encedo PPA only. On Encedo EPA these two endpoints are not available, response code 404 will be returned.
Get a log file
GET
https://my.ence.do/api/logger/:id
Get a log file for a given id
Path Parameters
id*
String
FIle ID e.g. "62310b2b"
Headers
Authorization*
String
Bearer JWT_TOKEN
Log entries
LOG_TYPE_FAILED_SCOPE_CHECK
LOG_RESULT_FAILED
403
LOG_TYPE_LOGGER_READ_LOG
LOG_RESULT_OK
200
LOG_TYPE_LOGGER_READ_LOG
LOG_RESULT_FAILED
404
Last updated