Get all people in an account

Martin Pilkington's Avatar

Martin Pilkington

23 Mar, 2008 11:51 AM

Hey guys, I've just noticed a big omission from the API that's preventing me from doing something. I need to be able to get the users associated with an account. Is it possible to have an XML version of the /members page? At the moment all the user APIs assume knowledge of the user's ID.

  1. 1 Posted by Michael Latta on 04 Jul, 2008 02:02 AM

    Michael Latta's Avatar

    I would like to see this also. There are definitely missing bootstrap type methods in the API.

  2. 2 Posted by Martin Pilkingt... on 11 Jul, 2008 01:27 PM

    Martin Pilkington's Avatar

    Michael, this was added in LH 2.0. You want to go to /projects/{projid}/memberships.xml

  3. 3 Posted by Michael Latta on 19 Jul, 2008 06:52 PM

    Michael Latta's Avatar

    Thanks for the pointer. The docs still need updating it would appear. Is there a change document anywhere?

  4. 4 Posted by Michael Latta on 19 Jul, 2008 07:48 PM

    Michael Latta's Avatar

    Ok. I can get the list of memberships, but not the user details in a batch. Also the memberships do not appear to work for the expected list operations like getting a specific membership, or presumably adding/removing a membership?

  5. 5 Posted by Martin Pilkingt... on 20 Jul, 2008 02:39 PM

    Martin Pilkington's Avatar

    Nope, you can currently only get a list of memberships, and then you need to get the user details from that. AFAIK you can't add or remove memberships via the API.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac