GET /rest/db/localchanged

New in version 0.14.55.

Takes one mandatory parameter, folder, and returns the list of files which were changed locally in a receive-only folder. Thus they differ from the global state and could be reverted by pulling from remote devices again, see POST /rest/db/revert.

The results can be paginated using the common pagination parameters.

  1. {
  2. "files": [
  3. {
  4. "flags": "0755",
  5. "sequence": 6,
  6. "modified": "2015-04-20T23:06:12+09:00",
  7. "name": "ls",
  8. "size": 34640,
  9. "version": [
  10. "5157751870738175669:1"
  11. ]
  12. }
  13. ],
  14. "page": 1,
  15. "perpage": 100
  16. }

Note

This is an expensive call, increasing CPU and RAM usage on the device. Use sparingly.