Add README for broadcast notifications

This commit is contained in:
Daniel 2023-02-24 14:45:38 +01:00
parent e220fb8c36
commit 287ca2068e
2 changed files with 19 additions and 1 deletions
portmaster
spn

19
portmaster/README.md Normal file
View file

@ -0,0 +1,19 @@
# Portmaster Operational Data
### notifications.yaml
Operational messages, warnings and other information broadcasted to all Portmaster instances.
__Testing__
- Put Portmaster into Dev Mode.
- Run `curl --upload-file notifications.yaml http://127.0.0.1:817/api/v1/broadcasts/simulate`
Other helpful things:
```
# View matching data
curl http://127.0.0.1:817/api/v1/broadcasts/matching-data
# Reset state
curl -X POST http://127.0.0.1:817/api/v1/broadcasts/reset-state
```

View file

@ -8,4 +8,3 @@ __Testing__
- Put Portmaster into Dev Mode.
- Run `curl --upload-file main-intel.yaml http://127.0.0.1:817/api/v1/spn/map/main/intel/update`