system

Inspect system directory

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

get/system/dir

Request

  • Base URL
    http://localhost:9980/api
  • URL
    http://localhost:9980/api/system/dir
  • Auth
    HTTP basic

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.

Changes

No recorded changes to this operation across all 15 revisions of this API.