No Apparent Way To Get User ID
There is a circumstance where it is seemingly impossible to get the logged in users ID.
1) Logging in using HTTP Basic Auth, not API key based login
2) No assigned tickets to that user
Unless I'm missing something in the API, if these two scenarios apply it is impossible to figure out the ID for the logged in user. Am I missing something here? If not are there any plans to add this functionality to the API?
Thanks!
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 Nicole on 30 May, 2011 04:47 PM
Kyle -
What are you trying to do here? Are you trying to find tickets for each user or to list all members of the account?
Let us know and we'll continue to troubleshoot.
Thanks,
Nicole
2 Posted by Kyle Richter on 30 May, 2011 04:55 PM
There are a few calls that are userID dependent such as a membership request call. In addition it would be required to display a user a list of tickets assigned to them and guarantee you have the correct information.
3 Posted by Hobson on 01 Jun, 2011 07:15 PM
Hi Kyle,
The URL http://ACCOUNT.lighthouseapp.com/profile.json (or .xml) will return the currently authenticated user.
Hope this helps,
-hobson
4 Posted by Kyle Richter on 01 Jun, 2011 07:17 PM
This is perfect, thanks!
Nicole closed this discussion on 01 Jun, 2011 07:25 PM.