From 6106d70a51fdaffe91e238b4f404c17d1af093af Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 4 Mar 2022 17:00:03 -0500 Subject: [PATCH] Updated Notify_nextcloud (markdown) --- Notify_nextcloud.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Notify_nextcloud.md b/Notify_nextcloud.md index 6a59374..8c586b7 100644 --- a/Notify_nextcloud.md +++ b/Notify_nextcloud.md @@ -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" + ``` \ No newline at end of file