-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken REST API #8999
Comments
The issue should now be fixed, however consider the following, if you want ALL the alerts, you need to add the status filter to the query, otherwise only the "important" alerts are displayed.
|
lua/rest/v2/get/alert/top.lua
Fails when invoked, instead of returning an error code, it returns rubbish
curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "0"}' http://localhost:3000/lua/rest/v2/get/alert/top.lua
/ntopng/scripts/lua/modules/alert_store/alert_store.lua:1814: bad argument #1 to 'for iterator' (table expected, got string)
The text was updated successfully, but these errors were encountered: