v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-034240919.6 KB
Cephfs

    List directories of specified path.
    :param fs_id: The filesystem identifier.
    :param path: The path where to start listing the directory content.
    Defaults to '/' if not set.
    :type path: str | bytes
    :param depth: The number of steps to go down the directory tree.
    :type depth: int | str
    :return: The names of the directories below the specified path.
    :rtype: list
    
get/api/cephfs/{fs_id}/ls_dir

Path parameters

fs_idstring required

Query parameters

pathstring
depthinteger

Response

OK

object required