Browse API

Verify a downloaded Release

Match a file digest and size to visible immutable publication evidence.

GET/api/v0/downloads/verify/<sha256>?size=<bytes>

Request

GET https://repopack.com/api/v0/downloads/verify/<sha256>?size=<bytes>

Hash the entire file locally with SHA-256 and supply its exact nonnegative byte count. No bearer token is required to check public immutable Release evidence; Authorization: Bearer <token> can additionally find Releases visible to that account. Presenting an invalid or expired token fails (401 or the token-expiry response) rather than falling back to anonymous. An invalid 64-character hexadecimal digest or size returns 400 invalid_digest; a bounded lookup that is too broad returns 503 lookup_too_broad instead of claiming no match.

The response is schema:"repopack.download.verification", version:1, outcome (unknown, match, or multiple), sha256, size, observed_at, matches, truncated and scope:"immutable_releases_only". At most 20 matches are returned. Each visible match records exact project/product/version and artifact-or-attachment name, digest, size, source SHA, publication time, lifecycle (normal, deprecated, revoked) and access (public, formerly_public, project). A unique match establishes Repopack publication identity, not software safety or reproducibility; unknown and multiple matches are distinct outcomes. Temporary Job Run and rolling channel bytes are outside this contract. rp verify hashes a local file and checks this route for you.