GET /rest/db/remoteneed

New in version 0.14.43.

Takes the mandatory parameters folder and device, and returns the list of files which are needed by that remote device in order for it to become in sync with the shared folder.

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.