Updated Notify_nextcloud (markdown)

geeseven 2019-12-12 19:55:55 +00:00
parent 3a5a4e0eef
commit a6c374c337

@ -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
```