This function lists the server's script hooks.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_hooks
{- "data": {
- "categories": [
- {
- "category": "RPM::Versions",
- "events": [
- {
- "event": "MariaDB-server",
- "stage_order": [
- "pre",
- "post"
], - "stages": [
- {
- "actions": [ ],
- "attributes": { },
- "description": null,
- "stage": null
}
]
}
]
}
]
}, - "metadata": {
- "command": "list_hooks",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}