stats
installs_count (by distro and version)
Retrieve the number of times a particular repository has been installed given a particular criteria. This is specific to a single repository.
Default date range is 7 days ago.
Everyone for public repositories, Owners & Collaborators for private repositories.
Example request:
/api/v1/repos/julio/test_repo/stats/installs/count.json
get/api/v1/repos/{user_id}/{repo}/stats/installs/{distro}/{version}/count.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)
versionstring 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.
Response
CountValue JSON object containing the value of the result.
Example response
{
"value": 12312
}