Miscellaneous
Write to App Log
POST
Write a new log line to the app log.
POST /otto/api/app-log Request body
application/json- body
token*stringlevel?stringDefault
"info"Value in
"error""warn""info""http""verbose""debug"message*stringPOST /otto/api/app-log Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/app-log' \ -H 'Content-Type: application/json' \ -d '{ "level": "info", "message": "This is an example log message"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?