Skip to content

Hot-reload a module's frontend bundle without touching its classloader

POST
/api/v1/modules/platform/{moduleId}/frontend/reload

Accepts a zipped frontend bundle (same structure as META-INF/frontend/ inside a module jar) and re-stages it on disk. Publishes MODULE_FRONTEND_RELOADED so the dashboard re-imports the bundle. The platform module’s REST routes, capabilities, and module-data stay live — only the dashboard-facing assets are swapped. Used by prexorctl module dev for fast frontend iteration.

moduleId
required
string

Frontend reloaded; body carries the new contentHash

Missing or malformed frontend bundle

Module not installed

Bundle missing module-frontend.json manifest