Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List view of contents of a directory #11

Open
Xkonti opened this issue Aug 27, 2023 · 0 comments
Open

List view of contents of a directory #11

Xkonti opened this issue Aug 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@Xkonti
Copy link
Owner

Xkonti commented Aug 27, 2023

An endpoint that allows to list files and directories in a specified path. This endpoint will return a flat list of files and directories.

  • VERB: GET
  • Path: /list

Query parameters:

Name Value Default value Description
path string required The path to the directory of which contents should be listed
dirs true or false true Whether directories should be listed.
depth number 1 The depth of the tree to fetch. The depth of 1 will list just the immediate contents of the provided path. Depth of 2 will also include contents of the subdirectories etc.
@Xkonti Xkonti added the enhancement New feature or request label Aug 27, 2023
@Xkonti Xkonti self-assigned this Aug 27, 2023
@Xkonti Xkonti changed the title List files and directories in a directory List view of contents of a directory Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant