-
-
Notifications
You must be signed in to change notification settings - Fork 528
Notify_rocketchat
Chris Caron edited this page May 11, 2019
·
12 revisions
- Source: https://rocket.chat/
- Icon Support: No
- Message Format: Text
- Message Limit: 32768 Characters per Message
Valid syntaxes are as follows:
- rocket://{user}:{password}@{hostname}/#{channel}
- rocket://{user}:{password}@{hostname}:{port}/#{channel}
- rocket://{user}:{password}@{hostname}/{room_id}
- rocket://{user}:{password}@{hostname}:{port}/{room_id}
- rockets://{user}:{password}@{hostname}/#{channel}
- rockets://{user}:{password}@{hostname}:{port}/#{channel}
- rockets://{user}:{password}@{hostname}/{room_id}
- rockets://{user}:{password}@{hostname}:{port}/{room_id}
You can also form any combination of the above and perform updates from one url:
- rocket://{user}:{password}@{hostname}/#{channel_id}/{room_id}
If neither a {room_id} or #{channel} is specified then this notification will fail.
Secure connections (via https) should be referenced using rockets:// where as insecure connections (via http) should be referenced via rocket://.
| Variable | Required | Description |
|---|---|---|
| user | Yes | The user identifier you've associated with your Rocket.Chat server. |
| password | Yes | The password identifier you've associated with your Rocket.Chat server. |
| hostname | Yes | The Rocket.Chat server you're sending your notification to. |
| port | No | The port the Rocket.Chat server is listening on. By default the port is 80 for rocket:// and 443 for all rockets:// references. |
| room_id | No | A room identifier. |
| channel | No | Channels must be prefixed with a hash (#) or they will be interpreted as a room_id. Channels must be registered with your Rocket.Chat server to work. |
Send a Rocket.Chat notification to the channel #nuxref:
# Assuming our {user} is l2g
# Assuming our {password} is awes0m3!
# Assuming our {hostname} is rocket.server.local
apprise rocket://l2g:awes0m3!@rocket.server.local/#nuxref