What users are authorized to use the REST API in Crowd?

I'm trying to use the Crowd REST API for the first time. When I access this URL, I am given a basic authentication window by my browser, but the username/password combo that I use to administer Crowd from the web interface does not work.

https://hostname:8444/crowd/rest/usermanagement/latest/user?username=adminuser

(Host and user name changed for privacy)

How does Crowd determine who has REST API access?

2 answers

Looks like the authentication is based on the application list. I created a custom "Generic Application" for my REST API queries. The basic authentication process expects the application name/key as the user name and the application password as the password. This is unclear in the documentation.

0 votes

Hi Ethan,

I'm happy to hear that you solved the problem. The authentication is explained in the second paragraph of the Introduction to Crowd REST APIs. We are always open to suggestions on how to improve the documentation, please don't hesitate to share your feedback.

I missed that sentence. The page that confused me was the one named Using the Crowd REST APIs in its "Authentication" section. Part of my confusion, I believe, stemmed from the fact that the articles covering REST-related documation in Crowd are poorly named:

  1. Overview of the Crowd REST APIs
  2. Crowd REST APIs
  3. Crowd REST Resources
  4. Using the Crowd REST APIs

Along with a couple other pages with more specific names, these represent the whole set of docs. All four of these names seem to refer to the same general idea, so even when I have all four open in tabs in my browser, it's tough to figure out which one has which content.

 

Thank you, that's good feedback.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,277 views 21 17
View question

Atlassian User Groups

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!

Find my local user group

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

Groups near you