A REST-Service which provides some basic endpoints to send Rocket.Chat-Messages.
294
A REST-Service which provides some basic endpoints to send Rocket.Chat-Messages to a user or a room. It use the realtime-api from rocket.chat. Therefore it needs a valid rocket.chat-user.
Docker:
docker run -p 8080:8080 \
-e "CHAT_HOST=<chat-host>" \
-e "CHAT_USERNAME=<chat-username>" \
-e "CHAT_PASSWORD=<chat-user-password>" \
rainu/rocketchat-user-proxy
You have to replace <chat-host>, <chat-username>, <chat-user-password> with your own values.
Send a message to the user rainu
curl -X POST -v localhost:8080/api/v1/send/u/rainu --data 'Hello rainu!'
Send a message to the room public
curl -X POST -v localhost:8080/api/v1/send/r/public --data 'Hello public World!'
For more information see repository: https://github.com/rainu/rocketchat-user-proxy
Content type
Image
Digest
Size
5.1 MB
Last updated
over 7 years ago
docker pull rainu/rocketchat-user-proxy