Actions
User story #21082
closedUser story #21083: Provide a page to list the different hooks of a Rudder server
List of hooks API
Status:
Released
Priority:
N/A
Assignee:
Category:
Architecture - Dependencies
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
Description
Add an API to get all hooks in order to create hook's page
The format should look like :
{
"action": "listHooks",
"result": "success",
"data": {
"root": "/opt/rudder/etc/hooks.d",
"events": {
"node-inventory-received-accepted": [],
"node-inventory-received-pending": [],
"node-post-acceptance": [],
"node-post-deletion": [],
"node-pre-deletion": [],
"policy-generation-failed": [],
"policy-generation-finished": [],
"policy-generation-node-finished": [],
"policy-generation-node-ready": [],
"policy-generation-started": [],
}
}
}
Actions