I was trying to find the answer to the for quite some time, but no success so far. Slack API allows to query user status (on-line/away) using http query. It comes back with JSON response.
Is there a way to incorporate the JSO response into Wiki page in Confluence other than JSON table macro?
I would like to have an option what actually is displayed.
The ides behind is to see who from the team X is available on-line at given time when other team is following escalation procedure written in Wiki.
Any ideas?
Thanks!
Marcin
Welcome to the community @Marcin Wawrzonek!
What you described seems like a good use-case for creating a new User Macro. While it is a little more involved than using an existing table macro, you should be able to add javascript to fire the XHR requests to slack, as well as render the online-status as you wish to.
If you want to distribute your user macro as a plugin, you can refer to the developer's guide to the User Macro plugin module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.