mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-09 08:58:05 -04:00
Sphinx uses .. code-block:: directives to enable highlighting:
http://sphinx-doc.org/markup/code.html#directive-code-block
Use
for i in *.rst; do
sed -i 's/code::/code-block::/g' $i
done
to update these strings to enable proper highlighting.
Note: A have disabled the windows "bash" one, because the highlighting
is broken anyway...
16 lines
265 B
ReStructuredText
16 lines
265 B
ReStructuredText
GET /rest/system/error
|
|
======================
|
|
|
|
Returns the list of recent errors.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"errors": [
|
|
{
|
|
"time": "2014-09-18T12:59:26.549953186+02:00",
|
|
"error": "This is an error string"
|
|
}
|
|
]
|
|
}
|