Registry API
Moderation
Work the moderation queue and take packages down or restore them.
The moderation queue lists package versions with a moderation flag. Approve-moderation clears the flag; it is not the same as approving a package version. A takedown is an admin’s forced removal with a recorded reason and can be undone with restore.
Operations
| Request | What it does |
|---|---|
| GET /api/admin/moderation-queue | List the moderation queue |
| POST /api/admin/packages/{name}/takedown | Take down an unscoped package |
| POST /api/admin/packages/{name}/restore | Restore an unscoped package |
| POST /api/admin/packages/{name}/approve-moderation | Clear an unscoped package’s moderation flag |
| POST /api/admin/packages/{scope}/{name}/takedown | Take down a scoped package |
| POST /api/admin/packages/{scope}/{name}/restore | Restore a scoped package |
| POST /api/admin/packages/{scope}/{name}/approve-moderation | Clear a scoped package’s moderation flag |
Operations are exactly those in the committed OpenAPI document (packages/workloom-api/openapi.json), which matches the route definitions; this site checks its list against both. Paths are under the API host. Public, approved packages and profiles can be read without a token; everything else needs one.