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 Directory With Extra info like Etag #73

Open
2 tasks
RangerMauve opened this issue Apr 14, 2023 · 4 comments
Open
2 tasks

List Directory With Extra info like Etag #73

RangerMauve opened this issue Apr 14, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@RangerMauve
Copy link
Owner

  • Look at stuff like WebDAV or other specs
  • Add flag to list directory with details
@RangerMauve RangerMauve added the enhancement New feature or request label Apr 14, 2023
@alphapapa
Copy link

alphapapa commented Jun 30, 2023

Perhaps the closest example is found in WebDAV, 9.1.5. Example - Using So-called 'allprop' (properties available for file entries), which shows a list of properties that can be retrieved for a directory and/or file listing. I'm not sure how instructive it is for us, other than giving us general ideas like: size, creation date, modified date, writable, filetype, etc.

For our purposes, we probably need just a minimum of: name, size, modified time, and created-at-version.

@josephmturner
Copy link
Contributor

We decided that this is not worth the added complexity.

@RangerMauve
Copy link
Owner Author

We still want this for cases where doing parallel requests is slow.

I would be happy with something like this:

  • figure out which fields are useful across platforms (mtime, isDirectory, size)
  • settle on minimal json format or better yet use an existing one
  • use an existing json based mime type or invent our own (e.g. application/directory+json)
  • publish spec on thisformat and get it into other protocol handlers

@josephmturner
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants