stats
installs_count (all)
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/count.json
Path parameters
user_idstring required
The user this repo belongs to.
repostring required
The name of this repository.
Query parameters
distrostring
The name of the distribution to filter repository installs by (i.e. ubuntu)
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
CountValue JSON object containing the value of the result.
Example response
{
"value": 12312
}