Skip to content

Read the message log

GET
/api/v1/log
curl --request GET \
--url http://pwrman.local/api/v1/log \
--header 'Authorization: Bearer <token>'

The controller’s recent messages as text, oldest first.

The messages. Passwords and the token appear as ********.

Media typetext/plain
string

The token is missing or wrong, or no token is set yet.

Media typeapplication/json
object
error
required

Why the request was refused, in words.

string

Examples

{
"error": "bearer token required"
}

Another request is reading the log. Try again.

Media typetext/plain
string

Example

log busy, retry

USB Type-C® and USB-C® are registered trademarks of USB Implementers Forum.