I have created some test accounts/rooms/messages on a test HipChat server.
Most things work as expected. However, I ran into a problem getting a list of all rooms as an admin.
the calls I am using look like this:
As an Admin using the V2 API how should I get a list of rooms that include private rooms created by regular users?
You can access private rooms created by regular users if you use an addon token (if addon is global and has scopes view_group) instead of a personal token.
You can find more info about addon in the documentation: https://www.hipchat.com/docs/apiv2
And here's a link to a sample addon https://bitbucket.org/pstreule/hipchat-echo-addon
However, do you find it odd that the personal admin token can actually see the private room history? It just can't get a list of the room numbers. Since the room numbers appear to be simple identity that increments by one I suppose I could just get a list of all rooms including archived rooms and then the missing numbers would be the private rooms.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs