Skip to content

Commit 531a7c4

Browse files
authored
Update ntfy documentation to support auth tokens (#959)
1 parent 5b423e7 commit 531a7c4

File tree

2 files changed

+4
-2
lines changed
  • docs/reference/configuration
  • i18n/en/docusaurus-plugin-content-docs/current/reference/configuration

2 files changed

+4
-2
lines changed

docs/reference/configuration/messaging.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Hier wird der Parameter `uri` mit dem Wert `https://<host>/<topics>` erwartet. D
320320
- `<host>`: Adresse (hostname oder IP Adresse) des ntfy Servers
321321
- `<topics>`: Abonniertes Thema oder abonnierte Themen
322322

323-
Optionale Parameter sind `priority` und `tags`. Alle Parameter werden als Strings übergeben.
323+
Optionale Parameter sind `priority`, `tags` und `authtoken`. Alle Parameter werden als Strings übergeben.
324324

325325
**Beispiel**:
326326

@@ -329,6 +329,7 @@ Optionale Parameter sind `priority` und `tags`. Alle Parameter werden als String
329329
uri: https://ntfy.sh/evcctestalerts
330330
priority: default
331331
tags: electric_plug,blue_car
332+
authtoken: 61RgoYLOsi8S318j6ycU2qEsleC2p9njoyw4890121412JloH7rMPaqQwi5KWTit
332333
```
333334

334335
Weitere Informationen sind in der [ntfy Dokumentation](https://docs.ntfy.sh) zu finden.

i18n/en/docusaurus-plugin-content-docs/current/reference/configuration/messaging.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Here, the parameter `uri` with the value `https://<host>/<topics>` is expected.
321321
- `<host>`: Address (hostname or IP address) of the ntfy server
322322
- `<topics>`: Subscribed topic or topics
323323

324-
Optional parameters are `priority` and `tags`. All parameters are passed as strings.
324+
Optional parameters are `priority`, `tags` and `authtoken`. All parameters are passed as strings.
325325

326326
**For example**:
327327

@@ -330,6 +330,7 @@ Optional parameters are `priority` and `tags`. All parameters are passed as stri
330330
uri: https://ntfy.sh/evcctestalerts
331331
priority: default
332332
tags: electric_plug,blue_car
333+
authtoken: 61RgoYLOsi8S318j6ycU2qEsleC2p9njoyw4890121412JloH7rMPaqQwi5KWTit
333334
```
334335

335336
Further information can be found in the [ntfy documentation](https://docs.ntfy.sh).

0 commit comments

Comments
 (0)