mirror of https://github.com/caronc/apprise
Updated Notify_nextcloud (markdown)
parent
405542bf3a
commit
6106d70a51
|
@ -33,6 +33,7 @@ You can notify more then one user by simply chaining them at the end of the URL.
|
|||
| password | Yes | The administrator password associated with the **admin_user** for your Nextcloud account.
|
||||
| notify_user | Yes | One or more users you wish to send your notification to.
|
||||
| to | No | This is an alias to the notify_user variable.
|
||||
| version | No | NextCloud changed their API around with v21. By default Apprise uses their latest API spec. If you're using an older version, you can sent this value accordingly and Apprise will accommodate (switching back to the older API).
|
||||
|
||||
#### Example
|
||||
Send a secure nextcloud notification to the user _chucknorris_:
|
||||
|
@ -68,4 +69,9 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
|||
# We want to notify arnold
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
ncloud://admin:12345-67890-12345-67890-12345@localhost/arnold?-X-Token=abcdefg&-X-Apprise=is%20great
|
||||
|
||||
# If we're using an older version of NextCloud (their API changed) we may need
|
||||
# to let Apprise know this (using the version= directive)
|
||||
apprise -t "Title" -b "Body" "ncloud://admin:12345-67890-12345-67890-12345@localhost/arnold??version=20"
|
||||
|
||||
```
|
Loading…
Reference in New Issue