mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix Delete on all alerts page (add missing rest endpoint)
This commit is contained in:
parent
b48c1e73e1
commit
5a0d0c37ae
2 changed files with 43 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ local flow_alert_store = require "flow_alert_store".new()
|
|||
|
||||
--
|
||||
-- Read alerts data
|
||||
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v1/delete/host/alerts.lua
|
||||
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v1/delete/flow/alerts.lua
|
||||
--
|
||||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue