GET /rest/db/file

Returns most data available about a given file, including version and availability. Takes folder and file parameters.

  1. {
  2. "availability": [
  3. {
  4. "id": "ITZRNXE-YNROGBZ-HXTH5P7-VK5NYE5-QHRQGE2-7JQ6VNJ-KZUEDIU-5PPR5AM",
  5. "fromTemporary": false
  6. }
  7. ],
  8. "global": {
  9. "deleted": false,
  10. "ignored": false,
  11. "invalid": false,
  12. "localFlags": 0,
  13. "modified": "2018-08-18T12:21:13.836784059+02:00",
  14. "modifiedBy": "SYNO4VL",
  15. "mustRescan": false,
  16. "name": "testfile",
  17. "noPermissions": false,
  18. "numBlocks": 1,
  19. "permissions": "0755",
  20. "sequence": 107499,
  21. "size": 1234,
  22. "type": 0,
  23. "version": [
  24. "SYNO4VL:1"
  25. ]
  26. },
  27. "local": {
  28. "deleted": false,
  29. "ignored": false,
  30. "invalid": false,
  31. "localFlags": 0,
  32. "modified": "2018-08-18T12:21:13.836784059+02:00",
  33. "modifiedBy": "SYNO4VL",
  34. "mustRescan": false,
  35. "name": "testfile",
  36. "noPermissions": false,
  37. "numBlocks": 1,
  38. "permissions": "0755",
  39. "sequence": 111038,
  40. "size": 1234,
  41. "type": 0,
  42. "version": [
  43. "SYNO4VL:1"
  44. ]
  45. }
  46. }