Registry API
Packages
Draft, publish, read and change the visibility of package versions.
`wl push --draft --registry-url` creates a draft through this API, and `wl visibility --package` flips a published version between private (the default) and public. Writes need the admin role.
Operations
| Request | What it does |
|---|---|
| GET /v1/packages | List published packagesin spec |
| POST /v1/packages/drafts | Create draft packagein spec |
| POST /v1/packages/versions | Publish package versionin spec |
| GET /v1/packages/{name}/versions/{version} | Get package by name and versionin spec |
| PATCH /v1/packages/{name}/versions/{version}/visibility | Set a package version public or private |
Operations are the routes the server registers; this site checks its list against the route definitions. Operations marked “in spec” are also described in the committed OpenAPI file (apps/api/openapi.json), which does not yet cover every route. Only the public catalog and the health check work without a token.