v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-167122208.0 KB
stats

installs_series (by distro)

Retrieve a time series of all the repository installs that match a particular criteria for a give time period. This is specific to a single repository.

Default date range is 7 days ago. See response headers for pagination information.

Everyone for public repositories, Owners & Collaborators for private repositories.

Example request:

/api/v1/repos/julio/test_repo/stats/installs/series/weekly.json
get/api/v1/repos/{user_id}/{repo}/stats/installs/{distro}/series/{interval}.json

Path parameters

user_idstring required

The user this repo belongs to.

repostring required

The name of this repository.

distrostring required

The name of the distribution to filter repository installs by (i.e. ubuntu)

intervalstring required

The version name of the distribution to filter repository installs by (i.e. precise)

Query parameters

end_datestring

ISO8601 ending date, like 20160231Z.

master_tokenstring

The master_token name or id to filter repository installs by.

start_datestring

ISO8601 starting date, like 20160231Z.

user_agentstring

The user_agent to filter repository installs by.

versionstring

The version name of the distribution to filter repository installs by (i.e. precise)

Response

RepositoryInstalls JSON object containing the details of repository installs.

valueobject required

Map from ISO8601 date-hour strings to the count for that window.