v1

latestOpenAPI 3.0.02026-07-17506168.4 KB
system

Inspect system directory

Returns the contents and disk usage of the specified directory path.

get/system/dir

Query parameters

pathstring

Absolute path to inspect. Defaults to the daemon working directory.

Response

Directory contents and metadata.

pathstring required

Absolute path of the inspected directory.

totalBytesinteger

Total disk space on the volume containing the path in bytes.

freeBytesinteger

Available disk space on the volume containing the path in bytes.

directoriesstring[] required

Subdirectory names in the inspected directory.