Browse API

Release channel discovery

Read version-2 channel discovery with the canonical project key.

GET/api/v0/projects/<key>/releases/products/<product>/channels?version=2

Request

GET https://repopack.com/api/v0/projects/<key>/releases/products/<product>/channels?version=2
GET https://repopack.com/api/v0/projects/<key>/releases/products/<product>/channels?version=3

Scroll horizontally to read the full request URL.

Release channel discovery is a read-only programmatic endpoint. It identifies channels available to this viewer for one product; it does not grant access to a Job, change a channel, or publish a version. This page documents the current version-2 response, not an entire Release API catalog. See Release distribution for the lifecycle and publish a Release for guarded writes through the CLI.

For an authenticated inventory of configured channels, including empty and project-only channels, use configured Release channels. An empty discovery list does not prove the channel has never been created.

Identity and access

Identity Meaning
<key> The project's permanent key, not its editable name or old short ID.
<product> Names a product in that project.
Anonymous An eligible public product's discovery is anonymously readable.
API token A valid API token with release.read may also see project-visible eligible channels. A token that is invalid or expired fails rather than silently falling back to anonymous access.

Availability and errors

Status When
404 A missing product, inactive project or product without public channels returns a no-store 404 to anonymous clients; a product with public channels may still yield an empty eligible list.
400 An unsupported requested version returns 400.

Response and selection

Fields and returned URLs

  • The JSON object has schema: "repopack.release.channels", version: 2, key, product, default_channel and channels.
  • Each listed channel has a durable numeric id, current name, kind (release or rolling), plain-text description, default, and a canonical relative url.
  • Opt-in version 3 returns version: 3 and /channels/<number> URLs for both immutable Release and rolling channels. Each channel has a numeric key instead of id; default_channel refers to that product-local key. It omits the legacy project_ref and identity_required_after fields. Rolling manifests also use channel.key, and their Runs and artifacts are children of /channels/<number>/runs/<run>. Append /rss to a numeric channel URL for its RSS feed.
  • Version 2 and unversioned discovery retain the older URL format: /channels/id-<number> for Release channels and /channels/id-<number>/rolling/<number> for rolling channels. Use the returned same-origin URL rather than constructing one from the name alone.

Choosing a channel

default_channel is the numeric ID of an eligible entry in channels, or null. If it is null, do not choose the first channel or infer stable. An absent requested channel is unavailable; never switch to a different channel silently. Keep the numeric ID as the durable selection when a channel is renamed. Discovery is not authorization for future downloads: identity, visibility, Run eligibility and artifact integrity are rechecked for each request. Rolling Runs are temporary and do not receive the retention hold of an immutable Release.

Compatibility and caching

The response also currently includes project_ref for temporary old-client compatibility. New clients use key; the mutable project display name is not a URL identity. Public responses may be revalidated with an evidence ETag; authorized responses use private, no-store caching. Browser /project/<key>/releases/… pages are session routes, not this API.