Retrieve contributors metrics
GET
/api/v4/projects/{id}/repository/contributors
Retrieves a list of contributors to a specified repository.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20 ref
string
The name of a repository branch or tag, if not given the default branch is used
Example
main order_by
string
Return contributors ordered by name or email or commits
sort
string
Sort by asc (ascending) or desc (descending)
Responses
Section titled “ Responses ”OK
Media type application/json
object
name
string
email
string
commits
integer
additions
integer
deletions
integer
Example
{ "name": "John Doe", "email": "johndoe@example.com", "commits": 117, "additions": 3, "deletions": 5}Bad Request
Not Found