{"action":"created","issue":{"url":"https://api.github.com/repos/gitterHQ/gitter/issues/989","labels_url":"https://api.github.com/repos/gitterHQ/gitter/issues/989/labels{/name}","comments_url":"https://api.github.com/repos/gitterHQ/gitter/issues/989/comments","events_url":"https://api.github.com/repos/gitterHQ/gitter/issues/989/events","html_url":"https://github.com/gitterHQ/gitter/issues/989","id":118323032,"number":989,"title":"API - Add Command Endpoint or support commands sent via messages","user":{"login":"SaintPeter","id":553494,"avatar_url":"https://avatars.githubusercontent.com/u/553494?v=3","gravatar_id":"","url":"https://api.github.com/users/SaintPeter","html_url":"https://github.com/SaintPeter","followers_url":"https://api.github.com/users/SaintPeter/followers","following_url":"https://api.github.com/users/SaintPeter/following{/other_user}","gists_url":"https://api.github.com/users/SaintPeter/gists{/gist_id}","starred_url":"https://api.github.com/users/SaintPeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaintPeter/subscriptions","organizations_url":"https://api.github.com/users/SaintPeter/orgs","repos_url":"https://api.github.com/users/SaintPeter/repos","events_url":"https://api.github.com/users/SaintPeter/events{/privacy}","received_events_url":"https://api.github.com/users/SaintPeter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitterHQ/gitter/labels/api","name":"api","color":"C6C817"},{"url":"https://api.github.com/repos/gitterHQ/gitter/labels/feature","name":"feature","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T05:40:21Z","updated_at":"2015-12-10T20:44:34Z","closed_at":null,"body":"When a bot sends a slash command via the API the command is simply echoed out as a plain text message, not executed.\r\n\r\nPrimary use case is to enable bots to use the `/ban @username` command, but other commands could potentially be useful, like an `/unban` for a time limited ban, or `/query @username` to have a bot initiate a one on one conversation with a user.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gitterHQ/gitter/issues/comments/163744267","html_url":"https://github.com/gitterHQ/gitter/issues/989#issuecomment-163744267","issue_url":"https://api.github.com/repos/gitterHQ/gitter/issues/989","id":163744267,"user":{"login":"abhisekp","id":1029200,"avatar_url":"https://avatars.githubusercontent.com/u/1029200?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisekp","html_url":"https://github.com/abhisekp","followers_url":"https://api.github.com/users/abhisekp/followers","following_url":"https://api.github.com/users/abhisekp/following{/other_user}","gists_url":"https://api.github.com/users/abhisekp/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisekp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisekp/subscriptions","organizations_url":"https://api.github.com/users/abhisekp/orgs","repos_url":"https://api.github.com/users/abhisekp/repos","events_url":"https://api.github.com/users/abhisekp/events{/privacy}","received_events_url":"https://api.github.com/users/abhisekp/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T20:44:34Z","updated_at":"2015-12-10T20:44:34Z","body":"@MadLittleMods I wonder why they're not in the documentation yet. There are many undocumented command endpoints.\r\n\r\nHere is a small list\r\n> [![](http://i.imgur.com/B5U40Hi.png)](http://i.imgur.com/B5U40Hi.png)"}}