Skip to content

list API endpoint #3047

@vladak

Description

@vladak

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions