It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to determine token stats via ssh?

Is there a command to run via ssh'ing into the HipChat local server that will tell me stats on a token. Such as rate limit, what the current limit its, what the current rate usage is, etc ?

1 answer

1 vote
jayb Atlassian Team Oct 14, 2016

I know this is slightly off from the question, but it might help. There is rate limit information returned in the headers of v2 API requests. https://developer.atlassian.com/hipchat/guide/hipchat-rest-api/api-rate-limits

If you know the token, you could make a call view the group like

 

curl -X "GET" -H "Authorization: Bearer API_TOKEN" "https://chat.example.com/v2/group/1"

 

and check the value of the headers for that token.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,184 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you