mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-09 10:09:57 +01:00
Add docu
This commit is contained in:
parent
51b1b3e13e
commit
bf52816c17
53
docu/docs/plugin/http.md
Normal file
53
docu/docs/plugin/http.md
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# <center>Http</center>
|
||||
---
|
||||
|
||||
## Beschreibung
|
||||
Mit diesem Plugin ist es moeglich, Http-Anfragen für Alarmierungen zu senden.
|
||||
Wildcards in den Urls werden automatisch ersetzt.
|
||||
|
||||
## Unterstütze Alarmtypen
|
||||
- Fms
|
||||
- Pocsag
|
||||
- Zvei
|
||||
- Msg
|
||||
|
||||
## Resource
|
||||
`http`
|
||||
|
||||
## Konfiguration
|
||||
|
||||
|Feld|Beschreibung|Default|
|
||||
|----|------------|-------|
|
||||
|fms|Liste mit Urls für Fms-Alarmierung||
|
||||
|pocsag|Liste mit Urls für Pocsag-Alarmierung||
|
||||
|zvei|Liste mit Urls für Zvei-Alarmierung||
|
||||
|msg|Liste mit Urls für Msg-Alarmierung||
|
||||
|
||||
**Beispiel:**
|
||||
```yaml
|
||||
- type: plugin
|
||||
name: HTTP Plugin
|
||||
res: http
|
||||
config:
|
||||
pocsag:
|
||||
- "http://google.com?q={MSG}"
|
||||
- "http://duckduckgo.com?q={MSG}"
|
||||
fms:
|
||||
- "http://duckduckgo.com?q={LOC}"
|
||||
```
|
||||
|
||||
---
|
||||
## Abhängigkeiten
|
||||
|
||||
- asyncio
|
||||
- aiohttp
|
||||
|
||||
---
|
||||
## Paket Modifikationen
|
||||
|
||||
- keine
|
||||
|
||||
---
|
||||
## Zusätzliche Wildcards
|
||||
|
||||
- keine
|
||||
Loading…
Reference in a new issue