Inspect product state
GET https://repopack.com/api/v0/projects/<key>/releases/products/<product>
Authorization: Bearer <token>
Requires release.read; missing product is 404. Returns product presentation, default_channel (name or null), channel_revision, channel_history, and versions in publication order. No product-level visibility switch exists. An anonymous viewer must use public discovery, not this authenticated private view.
Choose an installable default
PATCH /api/v0/projects/<key>/releases/products/<product>/default-channel with Content-Type: application/json, bearer token and exactly one of {"channel":"<name>"} or {"clear":true} requires release.manage. A proposed channel must exist and be publicly installable; an ineligible channel returns 409 release_default_channel_ineligible. A real change is human-confirmed against the previous choice and channel_revision; changed state returns 409 release_default_channel_stale or release_default_channel_conflict. The confirmed response has the updated product, default_channel and public channel number. Selecting the already-current value returns immediately without confirmation. When default_channel is null, clients must not invent a fallback channel.