GET
/
totals
Get client totals
curl --request GET \
  --url https://use-tusk.uc.r.appspot.com/api/v1/analytics/totals \
  --header 'x-api-key: <api-key>'
{
  "clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "totalUniquePrs": 123,
  "uniquePrsWithCreatedTests": 123,
  "uniquePrsWithPartiallyIncorporatedTests": 123,
  "uniquePrsWithFullyIncorporatedTests": 123,
  "uniquePrsWithAnyIncorporatedTests": 123,
  "numTestsIncorporated": 123,
  "numFailedTestsIncorporated": 123,
  "totalViews": 123,
  "numCoverbotPrs": 123,
  "numMergedCoverbotPrs": 123,
  "numCoverbotTestsCreated": 123,
  "numCoverbotTestsIncorporated": 123,
  "numCoverbotPotentialFailingTests": 123
}

Authorizations

x-api-key
string
header
required

Query Parameters

startDate
string

Start date to filter by (inclusive)

endDate
string

End date to filter by (inclusive)

repoIds
number[]

Repo IDs to filter by

usernames
string[]

GitHub/GitLab usernames to filter by

Response

200 - application/json

Success

The response is of type object.