Skip to main content
GET

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-GitHits-Client-Name
string

Optional client attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.

X-GitHits-Client-Version
string

Optional client-version attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.

X-GitHits-Agent
string

Optional agent attribution: trimmed printable ASCII, at most 160 bytes. Invalid optional values are dropped.

X-GitHits-Session-ID
string

Optional session attribution: trimmed printable ASCII, at most 128 bytes. Invalid optional values are dropped; no session is created.

Query Parameters

registry
enum<string>

Canonical lowercase registry, required together with name and mutually exclusive with repo_url. Same registry set as package inspection.

Available options:
npm,
pypi,
hex,
crates,
vcpkg,
zig,
nuget,
maven,
packagist,
rubygems,
go,
swift
name
string

Registry package name, preserved exactly and limited to 255 UTF-8 bytes without control characters. Required with registry, forbidden with repo_url.

repo_url
string

Full HTTP(S) repository URL; mutually exclusive with registry/name. The source owns supported repository hosts and canonicalization.

git_ref
string

Optional repository file branch/tag lookup context; trimmed, blank is absent. Not a version bound or resolved commit assertion.

from_version
string

Normalized lower range bound, exclusive for released versions; enables complete-range mode and forbids limit. With from_version=1.0.0&to_version=1.2.0, releases are newer than 1.0.0 through 1.2.0 inclusive. Blank is absent; Go numeric versions gain lowercase v and existing lowercase v is accepted (uppercase V is rejected), Swift allows v/V, other modes reject numeric v/V-prefixed tags. Special unreleased entries follow source-specific handling.

to_version
string

Optional normalized upper bound, inclusive for released versions; special unreleased entries follow source-specific handling. Omitted or latest resolves the latest package version; repository mode remains uncapped. Alone this keeps latest-count mode.

limit
integer
default:10

Latest-mode positive integer count, default 10, minimum 1, maximum 50. Forbidden with nonblank from_version. Range results have no count cap or pagination.

Required range: 1 <= x <= 50
fields
string
default:entries,entries.body

Response groups to include: entries, entries.body, or the entries.* bundle. Defaults to entries,entries.body. Explicit selection replaces defaults; entries.body includes entry metadata. Select entries alone for a timeline without release-note bodies. This reduces transfer size, but the changelog is still retrieved.

Use the case-sensitive selectors in the catalogue. Order and duplicate selectors do not affect the result. ASCII whitespace around selectors is ignored. The decoded value is limited to 2048 UTF-8 bytes. Empty or unknown selectors and repeated fields query parameters return 400 VALIDATION_ERROR. A group does not include nested groups unless the catalogue says so; only listed wildcard bundles are supported.

Response

Available changelog entries, newest first

One complete latest or range changelog result; no pagination.

entries
object[]
required

All entries returned by the source, newest first. Empty means an available source matched no entries; range results are never truncated by the gateway.

mode
enum<string>
required

Effective mode, determined by the presence of from_version.

Available options:
latest,
range
package
object
required

Required resolved addressing and effective query bounds from the source.

requested_git_ref
string

Requested git ref after trimming; request context, not a verified resolved commit or source provenance.

source
string

Top-level source (usually releases, changelog_file or hexdocs), omitted for registry-only timelines. Does not describe each entry's body availability or attest a resolved git ref.