-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[NEW] Rest API endpoints to list, get, and run commands #8531
Conversation
@rodrigok status update on this? We talked about this pull request two Fridays ago but I've yet to hear anything regarding this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We need to merge this one guys. |
Looks solid to me. Not going to break anything and works as intended will help out mobile guys. Merging 👍 |
@RocketChat/core do we also have a Real-Time method to get the changes? |
@cardoso by changes you mean like new commands? since there is no way to add new commands at run time (at least before rocket.chat apps go live), there is no need for such real-time updates. |
@cardoso now that rocket.chat apps is merged there is a real time listener to listen for updates of commands, although that only is enabled if the rocket.chat apps system is enabled. |
Also, includes a nice client utility to use the rest api.
RocketChat.API.v1.get('info').then((result) => console.log(result));