REST changes around logging

This commit is contained in:
Jakob Borg
2015-11-04 17:06:11 +00:00
parent a40ee17ea3
commit ecb7d0bb51
4 changed files with 68 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
GET /rest/system/log
====================
.. versionadded:: 0.12.0
Returns the list of recent log entries.
.. code-block:: json
{
"messages": [
{
"when": "2014-09-18T12:59:26.549953186+02:00",
"message": "This is a log entry"
}
]
}