-
Notifications
You must be signed in to change notification settings - Fork 789
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
#3042 listed a few new API endpoints that would be useful to have. This tracks the addition of the /list
endpoint for getting directory listing.
Describe the solution you'd like
Return JSON array of objects:
- name
- type (file/directory)
- date
- size
- number of lines
- LOC
- title (if any - for the case when history cache is used)
reflecting listing of directory. It may support getting just a single object if a file is specified.
Describe alternatives you've considered
The original suggestion was to get object information for a single file with siblings (files in the same directory) however I think the above is more generic and enables directory traversal.