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
+4 -2
View File
@@ -1,6 +1,8 @@
GET /rest/system/error
======================
.. note:: Return format changed in 0.12.0.
Returns the list of recent errors.
.. code-block:: json
@@ -8,8 +10,8 @@ Returns the list of recent errors.
{
"errors": [
{
"time": "2014-09-18T12:59:26.549953186+02:00",
"error": "This is an error string"
"when": "2014-09-18T12:59:26.549953186+02:00",
"message": "This is an error string"
}
]
}