Cephfs

Get Cephfs statfs of the specified path

    Get the statfs of the specified path.
    :param fs_id: The filesystem identifier.
    :param path: The path of the directory/file.
    :return: Returns a dictionary containing 'bytes',
    'files' and 'subdirs'.
    :rtype: dict
    
get/api/cephfs/{fs_id}/statfs

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/cephfs/{fs_id}/statfs
  • Auth
    HTTP bearer

Path parameters

fs_idstring required

File System Identifier

Query parameters

pathstring required

File System Path

Response

OK

bytesinteger required
filesinteger required
subdirsinteger required

Changes

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