Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP api #13

Open
mtbentley opened this issue Feb 16, 2016 · 2 comments
Open

HTTP api #13

mtbentley opened this issue Feb 16, 2016 · 2 comments

Comments

@mtbentley
Copy link
Member

This would allow users of the api to add features w/out editing Go code, and instead communicate with the bot over an http api.

@mtbentley
Copy link
Member Author

Example slacksoc api (after 5 minutes of thought):

  1. @slacksoc: pm me a key, slacksoc pms an api key and token, saves those to the db w/ the username of the person who requested it
  2. There's an endpoint to post a message (which supports many of the same options that the slack api supports)
  3. There's also an endpoint to add callbacks, which registers a regex and a callback location, and slacksoc makes an http request to that location whenever a message matching that regex is sent (from there either the callback responds with an action, or can do something through 2)

@brenns10
Copy link
Contributor

brenns10 commented May 1, 2017

Somewhat similar in spirit to brenns10/slacksoc#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants