botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 83 forks source link

is there a http restful API for the channel ? #431

Closed Running-He closed 5 years ago

Running-He commented 5 years ago

as titled, understand there's a webchat, seems it's using websocket ? is there one for typical http restful API

epaminond commented 5 years ago

@Running-He , there's a POC Google Assistant integration that uses something like you described, but that's only a POC and it limits botpress-functionality (like proactive-messaging).

dmk23 commented 5 years ago

I created a module that provides a public API (+ page/file server) for Botpress. Have not had a chance to clean up and contribute it, but hopefully will soon

This basically is done by exposing a few new routes with authentication turned off... But still need to add implementation of API keys to secure it for true public use

pankajdata4u commented 5 years ago

@dmk23 can you please share that api module so we can also look into it.

dmk23 commented 5 years ago

@dmk23 can you please share that api module so we can also look into it.

not sure when I might get around to packaging/releasing it. such requests always take a greater priority if there is a paying client...

Running-He commented 5 years ago

@dmk23 cool, API keys or jwt to secure it would be much helpful, thanks!

epaminond commented 5 years ago

Closing this since it duplicates: https://github.com/botpress/v12/issues/400 and https://github.com/botpress/v12/issues/367.