Skip to main content
GET
/
combined-data
/
git-api
/
repoContributors
/
forRepo
/
:repoDataId
Get Repository Contributors for Repository
curl --request GET \
  --url https://www.api.baselink.tech/combined-data/git-api/repoContributors/forRepo/:repoDataId \
  --header 'bearer: <api-key>'
{
  "contributors": [
    {}
  ],
  "contributors[].login": "<string>",
  "contributors[].name": "<string>",
  "contributors[].email": "<string>",
  "contributors[].avatar_url": "<string>",
  "contributors[].commits": 123,
  "contributors[].additions": 123,
  "contributors[].deletions": 123,
  "contributors[].firstCommit": "<string>",
  "contributors[].lastCommit": "<string>",
  "contributors[].weeklyCommits": [
    {}
  ],
  "contributors[].weeklyCommits[].week": "<string>",
  "contributors[].weeklyCommits[].commits": 123,
  "contributors[].weeklyCommits[].additions": 123,
  "contributors[].weeklyCommits[].deletions": 123,
  "repositoryInfo": {},
  "repositoryInfo.repoId": "<string>",
  "repositoryInfo.repoName": "<string>",
  "repositoryInfo.repoURL": "<string>",
  "repositoryInfo.totalContributors": 123,
  "repositoryInfo.totalCommits": 123,
  "repositoryInfo.totalAdditions": 123,
  "repositoryInfo.totalDeletions": 123
}
Retrieve contributor data for a specific repository.
contributors
array
Array of contributor data for the repository.
contributors[].login
string
The GitHub username of the contributor.
contributors[].name
string
The display name of the contributor.
contributors[].email
string
The email address of the contributor.
contributors[].avatar_url
string
The URL of the contributor’s avatar.
contributors[].commits
number
The number of commits by this contributor.
contributors[].additions
number
The number of lines added by this contributor.
contributors[].deletions
number
The number of lines deleted by this contributor.
contributors[].firstCommit
string
The timestamp of the first commit by this contributor.
contributors[].lastCommit
string
The timestamp of the last commit by this contributor.
contributors[].weeklyCommits
array
Array of weekly commit data for this contributor.
contributors[].weeklyCommits[].week
string
The week identifier (ISO format).
contributors[].weeklyCommits[].commits
number
The number of commits in that week.
contributors[].weeklyCommits[].additions
number
The number of lines added in that week.
contributors[].weeklyCommits[].deletions
number
The number of lines deleted in that week.
repositoryInfo
object
Information about the repository.
repositoryInfo.repoId
string
The ID of the repository.
repositoryInfo.repoName
string
The name of the repository.
repositoryInfo.repoURL
string
The URL of the repository.
repositoryInfo.totalContributors
number
The total number of contributors to the repository.
repositoryInfo.totalCommits
number
The total number of commits in the repository.
repositoryInfo.totalAdditions
number
The total number of lines added to the repository.
repositoryInfo.totalDeletions
number
The total number of lines deleted from the repository.