Get repository install stats
packagecloud_get_repository_installsHow often a repository was installed (set up on a machine): a count, a time series, or (owners only) the detail of each install, optionally for one distro or distro+version. Default range is the last 7 days; pass start_date=19700101Z for all time. GET /repos/{user}/{repo}/stats/installs[/{distro}[/{version}]]/{count|detail|series/}.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | count = total, series = per interval, detail = one record per install (owners only; includes host names and IP addresses). | count |
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| distro | No | Only installs on this distribution, for example ubuntu. | |
| version | No | Only installs on this distribution version, for example jammy (needs distro). | |
| end_date | No | An ISO 8601 date, for example 20260101Z or 2026-01-01. | |
| interval | No | Series interval, "daily" (default) or "weekly". | daily |
| per_page | No | Results per page (default 30; the server caps it at its own Max-Per-Page). | |
| repository | Yes | The repository as "user/repo" (the fqname returned by packagecloud_list_repositories). | |
| start_date | No | An ISO 8601 date, for example 20260101Z or 2026-01-01. | |
| user_agent | No | Only downloads whose user agent equals this. |