mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
implement list(s) reload api
This commit is contained in:
parent
cda06f0811
commit
96b9646c8c
4 changed files with 68 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue