Patch installs for an app over a window.
Returns patch installs for the app over a time window — summed over hourly counts — as a current/previous envelope: current covers the effective window, previous the equal-length window immediately preceding it (powers period-over-period deltas and overlays). With granularity set, each window also carries a time_series at that resolution; with group_by=release set, current carries a breakdown with one entry per release (each with its own time_series when a granularity is also requested). previous never carries a breakdown. The window defaults to the last 28 days and starts no earlier than 2025-04-01, when counting began; every bound clamps and the effective range is echoed in each window's range, which clients must treat as authoritative.
Request
- Base URLhttps://api.shorebird.dev/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Window start (UTC, inclusive). Defaults to end minus 28 days.
Window end (UTC, exclusive). Defaults to now. A window "ending now" must omit this parameter rather than send a client-computed timestamp — clock skew would silently turn the request into a historical query.
The bucket resolution of a metrics time series.
Bucket resolution for the time series. Omitted ⇒ no time_series (one summed value per window); set ⇒ one point per bucket at this resolution. When set, the window length is rounded down to a whole multiple of the bucket size (echoed in range), which guarantees current and previous have equal bucket counts.
Dimension to break the total down by. Omitted ⇒ no breakdown. App scope breaks down by release.
Response
The patch-installs metric for the app.
Changes
No recorded changes to this operation across all 1 revision of this API.