Reply   |   Start a new discussion topic
Developer Forum » Profile ID in User Query
Started by Private User on 10/16/2012
Displaying all 4 messages
Private User
10/16/2012 at 8:48
Was looking for the authenticated user's profile id, to know where to start my profile api calls. I expected to get from the User query.
https://www.geni.com/api/user

I was able to find it here. It made sense that profile without an id would default to the authenticated user, but I didn't see documented in the API docs.
https://www.geni.com/api/profile

Seems like the profile id should be added as a return field for the User query.
Private User
10/17/2012 at 14:12
https://www.geni.com/api/profile?fields=id returns the authenticated user's profile id.

The api/user record itself is almost empty, and are only used as a prefix for other values.
Private User
9/8/2019 at 18:01
Tahnks!
Private User
9/8/2019 at 18:01
OOPS! Thanks!
rails-1a-011