fs

List the subdirectories of a directory on the daemon host

get/api/v1/fs/dirs

Query parameters

pathstring

Absolute directory on the daemon host to list. When omitted, the daemon user's home directory.

Absolute directory on the daemon host to list. When omitted, the daemon user's home directory.

Response

OK

parentstring required

Absolute path of the listed directory's parent; equals path at the filesystem root.

pathstring required

Absolute path that was listed.

truncatedboolean

True when the listing hit the entry cap and more subdirectories exist.

Changes