Started fixing rest Documentation and postman collection creation (#8987)

This commit is contained in:
GabrieleDeri 2025-02-24 11:46:44 +01:00 committed by GitHub
parent 4c611cf661
commit fe18eff11d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 147 additions and 44 deletions

View file

@ -16,7 +16,7 @@ local auth = require "auth"
--
-- Read alerts count by time
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v2/get/host/alert/ts.lua
-- Example: curl -u admin:admin -H "Content-Type: application/json" -d '{"ifid": "1"}' http://localhost:3000/lua/rest/v2/get/all/alert/ts.lua
--
-- NOTE: in case of invalid login, no error is returned but redirected to login
--