REST API for bubbles and messages (receive and send)
PlannedHi,
I'd like to integrate a basic bot with Rainbow. The idea is to re-use python code, and use the REST API, otherwise we'd have to rebuild in nodejs...
I've playing around, but it seems the documented REST API is not oriented to SERVICE, but MANAGEMENT.
Can I use the REST API for SERVICE?, if so, can you share some documentation?
Should I trace (using Web Developer tools) WEB API in order to follow all the API calls?
Thanks for your support,
Jorge
-
Official comment
Thanks for sharing !
Comment actions -
Hi Jorge,
The only REST API published as you noticed is the Admin one.
( https://hub.openrainbow.com/#/documentation/doc/rest/Getting_Started )It's not possible to do all actions with REST (you may trace them ...) as lot of them use the bidirectional socket.
I am sorry, for the moment you'll have to work with the Web SDK or Node.jsOn git, there is a bot example: https://github.com/Rainbow-CPaaS/Rainbow-Chatbot
Regards,
Pascal -
Done,
It's just for DEMO purposes, but will probably onboard more people...
https://github.com/jarasanz/rainbow-ov2500
Please sign in to leave a comment.
Comments
8 comments