List all references a commit is pushed to
GET
/api/v4/projects/{id}/repository/commits/{sha}/refs
Lists all references (from branches or tags) a commit is pushed to. The pagination parameters page and per_page can be used to restrict the list of references.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” type
string
Scope
page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20Responses
Section titled “ Responses ”OK
Media type application/json
object
type
string
name
string
Example
{ "type": "tag", "name": "v1.1.0"}Bad Request
Not found