Cephfs
GET /api/cephfs/{fs_id}/ls_dir
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
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/cephfs/{fs_id}/ls_dir
- AuthHTTP bearer
Path parameters
fs_idstring required
Query parameters
pathstring
depthinteger
Response
OK
object required
Changes
No recorded changes to this operation across all 68 revisions of this API.