Skip to main content
POST
/
api
/
v1
/
projects
/
analytics
Fetch project analytics
curl --request POST \
  --url http://localhost:8080/api/v1/projects/analytics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_names": [
    "<string>"
  ]
}
'
{
  "total_repos": 123,
  "total_stars": 123,
  "total_forks": 123,
  "total_contributors": 123,
  "repos": [
    {
      "id": 123,
      "name": "<string>",
      "full_name": "<string>",
      "description": "<string>",
      "language": "<string>",
      "languages": [
        "<string>"
      ],
      "owner": {
        "login": "<string>",
        "avatar_url": "<string>"
      },
      "html_url": "<string>",
      "stargazers_count": 123,
      "forks_count": 123,
      "fork": true,
      "size": 123,
      "topics": [
        "<string>"
      ],
      "open_issues_count": 123,
      "open_issues": 123,
      "open_prs": 123,
      "signal": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
repo_names
string[]
required

Response

Campaign analytics

total_repos
integer
total_stars
integer
total_forks
integer
total_contributors
integer
repos
object[]