Run module install or upgrade (Admin)
POST
/bridge-payment/admin/plugins/{module_id}/run
Executes SQL for each planned component, updates module_hub_registry, and appends module_hub_events. Same request body as dry-run.
Success: { data, user_context, meta } with data.result containing installed, upgraded, repaired, skipped, failed, duration_ms, plus run_id.
- HTTP 200 when all operations succeed.
- HTTP 207 when some components failed but others succeeded (partial result).
409: INSTALL_LOCKED if a concurrent install lock is held.
409: MODULE_DEPENDENCY_ERROR with missing array when dependencies are absent.
Authorizations
SessionAuth
Session ID from Flowless authentication
TypeAPI Key (header: X-Session-ID)
Parameters
Path Parameters
module_id*
Typestring
RequiredPattern
"^[a-z0-9][a-z0-9-]*$"Request Body
application/json
JSON
{
"target": "core",
"components": [
"string"
],
"runtime_scope": "flowless-core",
"skip_existing": true,
"repair_missing": false,
"verify_checksum": true,
"verbose": false
}
Responses
Install completed with no failures