Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to determine token stats via ssh?

Jonathan Turwy October 13, 2016

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
AUG Leaders

Atlassian Community Events