Skip to main content
POST
/
filesystem.Filesystem
/
ListDir
ListDir
curl --request POST \
  --url https://api.example.com/filesystem.Filesystem/ListDir \
  --header 'Content-Type: application/json' \
  --data '
{
  "path": "<string>",
  "depth": 123
}
'
{
  "entries": [
    {
      "name": "<string>",
      "type": "FILE_TYPE_UNSPECIFIED",
      "path": "<string>",
      "size": 123,
      "mode": 123,
      "permissions": "<string>",
      "owner": "<string>",
      "group": "<string>",
      "modifiedTime": "2023-01-15T01:30:15.01Z",
      "symlinkTarget": "<string>"
    }
  ]
}

Body

application/json
path
string
depth
integer

Response

Success

entries
EntryInfo · object[]