List Global Filesystem
[ESP780]<Root> json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
pwd=<admin password> the admin password if authentication is enabled
-
Root
- if Root is empty, it will list files on /FS
- if Root is not empty, it will list files on defined repository
Output
Section titled “Output”- json
{ "cmd":"780", "status":"ok", "data":{ "path":"/", "files":[ {"name":"FS","size":"-1"}, {"name":"SD","size":"-1"} ], "total":"0 B", "used":"0 B", "occupation":"0" }}-
cmdId of requested command, should be780 -
statusstatus of command, should beok -
datacontent of response, here the list of files on /FS or defined repository -
text
Directory on Global FS : /[DIR] FS[DIR] SDFiles: 0, Dirs :2Total: 0 B, Used: 0 B, Available: 0 B