List Global Filesystem
Input
[ESP780]<Root> json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
pwd=
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
- json
{
"cmd":"780",
"status":"ok",
"data":{
"path":"/",
"files":[
{"name":"FS","size":"-1"},
{"name":"SD","size":"-1"}
],
"total":"0 B",
"used":"0 B",
"occupation":"0"
}
}
cmd
Id of requested command, should be780
status
status of command, should beok
-
data
content of response, here the list of files on /FS or defined repository -
text