implement list(s) reload api

This commit is contained in:
yggverse 2026-03-28 06:40:01 +02:00
parent cda06f0811
commit 96b9646c8c
4 changed files with 68 additions and 4 deletions

View file

@ -29,6 +29,8 @@ RUST_LOG=trace psokcs -c=/path/to/config.toml no-auth
* `/api/totals` - blocking summary
* `/api/list/enable/<ID>` - enable all parsed rules of given list ID (`[list.ID]` in your config)
* `/api/list/disable/<ID>` - disable all parsed rules of given list ID (`[list.ID]` in your config)
* `/api/list/reload/<ID>` - reload list rules from its `source` by list ID (`[list.ID]` in your config)
* `/api/list/reload` - reload all lists rules from their `source`
### Allow list example