Endpoints
Path parameters
string
required
Volume name. Lowercase alphanumeric and hyphens, 1–128 characters.
string
Scope name for scoped volumes. Omit for scopeless volumes.
Response fields
The response is a collection envelope with anitems array.
object[]
required
Array of version index rows. Each row represents one published version.
Example request and response
Version lifecycle behavior for resolvers
During ordinary dependency resolution, select only
available candidates. Never select yanked, tombstoned, blocked, or unavailable versions during ordinary resolution.
Client rules
-
Prefer highest SemVer. Among eligible stable
availablecandidates that satisfy the applicable constraints, prefer the candidate with the highest SemVer precedence. -
Always fetch exact release metadata before installation. The version index is a candidate discovery input, not an authoritative release record. Call the endpoint in
release.urland verify the result before installing. - Treat index/metadata conflicts as inconsistent registry state. If version index data conflicts with exact release metadata (for example, different lifecycle states or mismatched integrity values), treat this as an inconsistent registry state error rather than silently preferring either representation.
Relationship to search
The version index and the search endpoint serve different purposes:Bibliothecas update the version index promptly when publish, unpublish, yank, tombstone, blocking,
or equivalent version-state changes occur.