mirror of
https://github.com/caronc/apprise.git
synced 2025-03-04 18:12:47 +01:00
Created Notify_synology_chat (markdown)
parent
89568b806d
commit
542fd94c0a
41
Notify_synology_chat.md
Normal file
41
Notify_synology_chat.md
Normal file
@ -0,0 +1,41 @@
|
||||
## Synology Notifications
|
||||
* **Source**: https://kb.synology.com/en-au/DSM/help/Chat/chat_integration?version=7
|
||||
* **Icon Support**: No
|
||||
* **Message Format**: Text
|
||||
* **Message Limit**: not set
|
||||
|
||||
Bark is an iOS App which allows you to push custom notifications to your iPhone.
|
||||
|
||||
### Syntax
|
||||
Valid syntax is as follows:
|
||||
* `synology://{hostname}}/{token}`
|
||||
* `synology://{hostname}:{port}/{token}`
|
||||
* `synology://{user}:{password}@{hostname}/{token}`
|
||||
* `synology://{user}:{password}@{hostname}:{port}/{token}`
|
||||
|
||||
The secure versions (https):
|
||||
* `synologys://{hostname}/{token}`
|
||||
* `synologys://{hostname}:{port}/{token}`
|
||||
* `synologys://{user}:{password}@{hostname}/{token}`
|
||||
* `synologys://{user}:{password}@{hostname}:{port}/{token}`
|
||||
|
||||
### Parameter Breakdown
|
||||
| Variable | Required | Description
|
||||
| ----------- | -------- | -----------
|
||||
| hostname | Yes | The Web Server's hostname
|
||||
| token | Yes | The Synology Chat Incoming Token generated
|
||||
| port | No | The port our Web server is listening on. By default the port is **80** for **synology://** and **443** for all **synologys://** references.
|
||||
| user | No | If you're system is set up to use HTTP-AUTH, you can provide _username_ for authentication to it.
|
||||
| password | No | If you're system is set up to use HTTP-AUTH, you can provide _password_ for authentication to it.
|
||||
| file_url | No | Synology allows you to directly link to a URL containing an attachment. If you set this on the Apprise URL, it will be passed down to the synology request made under the hood.
|
||||
|
||||
#### Example
|
||||
Send a Synology notification to all devices associated with a project:
|
||||
```bash
|
||||
# Assume:
|
||||
# - our {hostname} is synology.home.arpa
|
||||
# - our {port} is 5000
|
||||
# - our {token} is j300012fl9y0b5AW9g9Nsejb8P
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
synology://synology.home.arpa:5000/j300012fl9y0b5AW9g9Nsejb8P
|
||||
```
|
Loading…
Reference in New Issue
Block a user