#5152 RFE: /git/tags API option to sort by commit date
Opened 2 years ago by dcavalca. Modified 2 years ago

I need a way to find out programmatically what is the latest tag of a project. This doesn't seem possible with the current API (/api/0/<repo>/git/tags), as that returns a name-sorted list of tags. This RFE is for adding an API option (say, "sort_by_commit_date") that would return the list of tags sorted by the commit date, which would make it trivial to extract the latest one.

cc @ngompa who suggested this


Metadata Update from @ngompa:
- Issue tagged with: RFE

2 years ago

Login to comment on this ticket.

Metadata