Skip to content

Retrieve the statistics of the last 30 days

GET
/api/v4/projects/{id}/statistics

Retrieves the clone and pull statistics for the last 30 days from a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

OK

Media typeapplication/json
object
fetches
object
total
integer
days
Array<object>
object
count
integer
date
string format: date
Example
{
"fetches": {
"total": 3,
"days": [
{
"count": 3,
"date": "2022-01-01"
}
]
}
}

Bad Request

401 Unauthorized

404 Project Not Found