Expand description
Admin API endpoints for plugin config CRUD. Mutations rewrite the in-memory gateway config and trigger validation + recompilation of every policy (plugin configs are resolved at compile time), so a breaking edit or a delete-while-referenced is rejected with 400 before anything changes.
Functionsยง
- delete_
plugin_ ๐config DELETE /api/plugin-configs/{name}โ removes the named definition, then revalidates and recompiles. Returns{"status": "deleted"}on success.- get_
plugin_ ๐config GET /api/plugin-configs/{name}โ returns the named definition as JSON.- list_
plugin_ ๐configs GET /api/plugin-configsโ returns all plugin config definitions as a JSON array.- router
- Builds the router for
/api/plugin-configs. - update_
plugin_ ๐config PUT /api/plugin-configs/{name}โ upserts a definition from the JSON body (the path name overrides any name in the body), then revalidates and recompiles all route graphs โ every policy using this plugin config picks up the change atomically. Returns{"status": "updated"}on success.