From a6c374c3372a8b1723557f1c0d266d7af65a29b0 Mon Sep 17 00:00:00 2001 From: geeseven <2334728+geeseven@users.noreply.github.com> Date: Thu, 12 Dec 2019 19:55:55 +0000 Subject: [PATCH] Updated Notify_nextcloud (markdown) --- Notify_nextcloud.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Notify_nextcloud.md b/Notify_nextcloud.md index bb2c692..2b1f7ac 100644 --- a/Notify_nextcloud.md +++ b/Notify_nextcloud.md @@ -5,7 +5,7 @@ * **Message Limit**: 4000 Characters per message ### Account Setup -TODO +The official [Notifications app](https://github.com/nextcloud/notifications) will need to be installed. An 'app password' (also referred to as 'device-specific' password/token) of the admin-user will need to be created, see the [documentation](https://docs.nextcloud.com/server/stable/user_manual/session_management.html#managing-devices) for more information. Don't forget to disable file system access for this password. ### Syntax Secure connections (via https) should be referenced using **nclouds://** where as insecure connections (via http) should be referenced via **ncloud://**. @@ -39,8 +39,8 @@ Send a secure nextcloud notification to the user _chucknorris_: ```bash # Assuming our {host} is localhost # Assuming our {admin_user} is admin -# Assuming our (admin) {password} is secret: -apprise nclouds://admin:secret@localhost/chucknorris +# Assuming our (admin) {password} is 12345-67890-12345-67890-12345: +apprise nclouds://admin:12345-67890-12345-67890-12345@localhost/chucknorris ``` ### Header Manipulation @@ -52,9 +52,9 @@ Some users may require special HTTP headers to be present when they post their d # We want to send an insecure connection (we'll use ncloud://) # Assuming our {host} is localhost # Assuming our {admin_user} is admin -# Assuming our (admin) {password} is secret: +# Assuming our (admin) {password} is 12345-67890-12345-67890-12345: # We want to notify arnold -apprise ncloud://admin:secret@localhost/arnold?-X-Token=abcdefg +apprise ncloud://admin:12345-67890-12345-67890-12345@localhost/arnold?-X-Token=abcdefg # Multiple headers just require more entries defined with a hyphen in front: # Below would set the headers: @@ -65,5 +65,5 @@ apprise ncloud://admin:secret@localhost/arnold?-X-Token=abcdefg # Assuming our {admin_user} is admin # Assuming our (admin) {password} is secret: # We want to notify arnold -apprise ncloud://admin:secret@localhost/arnold?-X-Token=abcdefg&-X-Apprise=is%20great +apprise ncloud://admin:12345-67890-12345-67890-12345@localhost/arnold?-X-Token=abcdefg&-X-Apprise=is%20great ``` \ No newline at end of file