Fix example

This commit is contained in:
Alfredo Cardigliano 2025-02-26 14:46:27 +01:00
parent 3e13ef3f06
commit cc71465273
2 changed files with 3 additions and 2 deletions

View file

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