diff --git a/rest/db-localignored-get.rst b/rest/db-localignored-get.rst new file mode 100644 index 00000000..da6f71f5 --- /dev/null +++ b/rest/db-localignored-get.rst @@ -0,0 +1,32 @@ +GET /rest/db/localignored +========================= + +.. versionadded:: 0.14.55 + +Takes one mandatory parameter, ``folder``, and returns the list of files which +are ignored in a receive-only folder and exists locally. + +The results can be paginated using the :ref:`common pagination parameters +`. + +.. code-block:: json + + { + "files": [ + { + "flags": "0755", + "sequence": 6, + "modified": "2015-04-20T23:06:12+09:00", + "name": "ls", + "size": 34640, + "version": [ + "5157751870738175669:1" + ] + } + ], + "page": 1, + "perpage": 100 + } + +.. note:: This is an expensive call, increasing CPU and RAM usage on the device. + Use sparingly.