Sign inSign up

rainu/rocketchat-user-proxy

By rainu

Updated over 7 years ago

A REST-Service which provides some basic endpoints to send Rocket.Chat-Messages.

Image
0

294

rainu/rocketchat-user-proxy repository overview

rocket.chat User Proxy

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.

Installation

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 &lt;chat-host&gt;, &lt;chat-username&gt;, &lt;chat-user-password&gt; with your own values.

Usage example

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

Tag summary

Content type

Image

Digest

Size

5.1 MB

Last updated

over 7 years ago

docker pull rainu/rocketchat-user-proxy