We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d99e4 commit 62b683dCopy full SHA for 62b683d
src/jbi/router.py
@@ -93,17 +93,6 @@ def get_whiteboard_tag(
93
return actions
94
95
96
-@api_router.get("/actions/")
97
-def get_actions_by_type(action_type: Optional[str] = None):
98
- """API for viewing actions within the config; `action_type` matched on end of action identifier"""
99
- actions = configuration.get_actions_dict()
100
- if action_type:
101
- return [
102
- a["action"] for a in actions.values() if a["action"].endswith(action_type)
103
- ]
104
- return [a["action"] for a in actions.values()]
105
-
106
107
@api_router.get("/powered_by_jbi", response_class=HTMLResponse)
108
def powered_by_jbi(request: Request, enabled: Optional[bool] = None):
109
"""API for `Powered By` endpoint"""
0 commit comments