Skip to content
Workloom
Menu

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

Moderation operations
RequestWhat it does
GET /api/admin/moderation-queueList the moderation queue
POST /api/admin/packages/{name}/takedownTake down an unscoped package
POST /api/admin/packages/{name}/restoreRestore an unscoped package
POST /api/admin/packages/{name}/approve-moderationClear an unscoped package’s moderation flag
POST /api/admin/packages/{scope}/{name}/takedownTake down a scoped package
POST /api/admin/packages/{scope}/{name}/restoreRestore a scoped package
POST /api/admin/packages/{scope}/{name}/approve-moderationClear 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.