docs: format cleanup
This commit is contained in:
parent
630dc98974
commit
97e10df1a2
1 changed files with 7 additions and 7 deletions
|
@ -94,11 +94,11 @@ curl -d '{"body":"new contrib from toto: [44](http://radio.localhost/map/#44)",
|
||||||
These formatters will output custom messages depending on the specific formatter. Generally to set these up, on the remote provider you would create a webhook with `https://your.webhook.domain/?formatter=<formatter columun below>&api_key=<your apikey>`
|
These formatters will output custom messages depending on the specific formatter. Generally to set these up, on the remote provider you would create a webhook with `https://your.webhook.domain/?formatter=<formatter columun below>&api_key=<your apikey>`
|
||||||
|
|
||||||
| formatter | description | key location |
|
| formatter | description | key location |
|
||||||
| - | - | - |
|
| -- | - | - |
|
||||||
| github | for github.com | in github JSON webhook settings as `secret` |
|
| github | for github.com | in github JSON webhook settings as `secret` |
|
||||||
| grafana | for grafana | in URL with api_key=<yourkey> |
|
| grafana | for grafana | in webhook URL with `api_key=<yourkey>` |
|
||||||
| pingdom | for pingdom.com | in webhook URL with api_key=<yourkey> |
|
| pingdom | for pingdom.com | in webhook URL with `api_key=<yourkey>` |
|
||||||
| buildbot | buildbot reporter | in webhook URL with api_key=<yourkey> or in master.cfg credentials header as `api_key` |
|
| buildbot | buildbot reporter | in webhook URL with `api_key=<yourkey>` or in master.cfg credentials header as `api_key` |
|
||||||
| generic | returns raw JSON that was recieved. For developing additional formatter plugins | in URL with api_key=<yourkey> |
|
| generic | returns raw JSON that was recieved. For developing additional formatter plugins | in URL with api_key=<yourkey> |
|
||||||
|
|
||||||
For example, if your matrix-webhook was hosted at https://webhooks.example.com, and you were setting up pingdom and you have an api_key of "123", you would use the following URL for your webhook call from pingdom:
|
For example, if your matrix-webhook was hosted at https://webhooks.example.com, and you were setting up pingdom and you have an api_key of "123", you would use the following URL for your webhook call from pingdom:
|
||||||
|
|
Loading…
Reference in a new issue