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.
Get all people in an account
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
| ? | 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
#1 Posted by Michael Latta on 04 Jul, 2008 02:02 AM
I would like to see this also. There are definitely missing bootstrap type methods in the API.
#2 Posted by Martin Pilkingt... on 11 Jul, 2008 01:27 PM
Michael, this was added in LH 2.0. You want to go to /projects/{projid}/memberships.xml
#3 Posted by Michael Latta on 19 Jul, 2008 06:52 PM
Thanks for the pointer. The docs still need updating it would appear. Is there a change document anywhere?
#4 Posted by Michael Latta on 19 Jul, 2008 07:48 PM
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 Posted by Martin Pilkingt... on 20 Jul, 2008 02:39 PM
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.