-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: API - REST
-
None
-
0
-
1
As per our API documention the only option to get tag information is either using the tag_name or using the API /rest/api/latest/projects/<<project_key>>/repos/<<slug>>/tags which returns all tags in a json format for that repo and not for a specific commit.
This would would require parsing the JSON output to get the relevant tag for a given commit which is not ideal when there are a large number of tags.
It would be helpful to have an API that returns tag information for a particular commit_hash since many customers use this in integrations to display tag on a particular commit.