Skip to main content
GET
/
combined-data
/
git-api
/
repoActivity
/
:repoDataId
Get Repository Activity
curl --request GET \
  --url https://www.api.baselink.tech/combined-data/git-api/repoActivity/:repoDataId \
  --header 'bearer: <api-key>'
{
  "activity": {},
  "activity.repoId": "<string>",
  "activity.repoName": "<string>",
  "activity.repoURL": "<string>",
  "activity.totalCommits": 123,
  "activity.totalPushes": 123,
  "activity.totalPullRequests": 123,
  "activity.totalIssues": 123,
  "activity.totalStars": 123,
  "activity.totalForks": 123,
  "activity.totalWatchers": 123,
  "activity.lastActivity": "<string>",
  "activity.weeklyActivity": [
    {}
  ],
  "activity.weeklyActivity[].week": "<string>",
  "activity.weeklyActivity[].commits": 123,
  "activity.weeklyActivity[].pushes": 123,
  "activity.weeklyActivity[].pullRequests": 123,
  "activity.weeklyActivity[].issues": 123,
  "activity.contributors": [
    {}
  ],
  "activity.contributors[].login": "<string>",
  "activity.contributors[].name": "<string>",
  "activity.contributors[].commits": 123,
  "activity.contributors[].additions": 123,
  "activity.contributors[].deletions": 123
}
Retrieve activity data for a specific repository.
activity
object
The repository activity data.
activity.repoId
string
The ID of the repository.
activity.repoName
string
The name of the repository.
activity.repoURL
string
The URL of the repository.
activity.totalCommits
number
The total number of commits in the repository.
activity.totalPushes
number
The total number of pushes to the repository.
activity.totalPullRequests
number
The total number of pull requests in the repository.
activity.totalIssues
number
The total number of issues in the repository.
activity.totalStars
number
The total number of stars for the repository.
activity.totalForks
number
The total number of forks of the repository.
activity.totalWatchers
number
The total number of watchers of the repository.
activity.lastActivity
string
The timestamp of the last activity in the repository.
activity.weeklyActivity
array
Array of weekly activity data.
activity.weeklyActivity[].week
string
The week identifier (ISO format).
activity.weeklyActivity[].commits
number
The number of commits in that week.
activity.weeklyActivity[].pushes
number
The number of pushes in that week.
activity.weeklyActivity[].pullRequests
number
The number of pull requests in that week.
activity.weeklyActivity[].issues
number
The number of issues in that week.
activity.contributors
array
Array of contributor data.
activity.contributors[].login
string
The GitHub username of the contributor.
activity.contributors[].name
string
The display name of the contributor.
activity.contributors[].commits
number
The number of commits by this contributor.
activity.contributors[].additions
number
The number of lines added by this contributor.
activity.contributors[].deletions
number
The number of lines deleted by this contributor.