GUID to API ID mapping?

Started by Tobias Lukas Jungen on Thursday, December 16, 2010


Related Projects:

Showing all 18 posts
12/16/2010 at 1:12 PM

It's unclear how to go from a Geni GUID (e.g. for my profile it's "4526932894380070385") to an API ID (for my profile it's "profile-11308584"). The API doesn't have a search functionality either, as far as I can tell.

12/16/2010 at 1:58 PM

You can pass GUIDs to the api by prefixing them with a 'g'.

For example /api/profile-g4526932894380070385 would return your profile.

12/16/2010 at 3:37 PM

We added documentation for this 'feature'

Private User
12/16/2010 at 4:31 PM

Awesome, thanks guys.

12/16/2010 at 7:30 PM

Awesome, thanks!

Private User
4/7/2011 at 1:56 PM

Do you have an option to go the other way?

I am working on a desktop app and want to fire up my browser for a specific profile using the id profile-1294997 to open Private User

I know I can load the profile first to get the guid.

4/7/2011 at 8:01 PM

Not at this time. Sorry.

Private User
11/8/2012 at 4:44 AM

A minor update:
The API profile record does now include a profile_url value pointing to the Geni web profile.

Private User
11/8/2012 at 4:58 AM

Using<node-ID> does also work now, i.e

Private User
3/14/2013 at 9:38 AM

Scott Steadman, what is the user_id and how do I get it? I know my GUID, which is 5685693775440034593, and I know my profile id, which is profile-16675621, but apparently, I also have a user_id which is 1771709. The user_id is used in the Actions menu for Revisions and the Histogram. How do I get this user_id number from the API?

Also, is there any way to identify a user is a curator via the API?

3/14/2013 at 12:38 PM

Private User The user_id is an internal id that we're not exposing through the API at this time.

Private User
3/14/2013 at 1:05 PM

Scott Steadman - Thanks, - if I remember correctly you once said that the api/user-xxx references in the Api should be replaced by profile-Id's?

BTW: I get randomly Internal server errors (500) when trying to process: - probably because of timeouts when the description parts are large.

Private User
3/18/2013 at 7:02 AM

Scott, Mike, if you have a reply to that deleted post, PM me on it.

3/18/2013 at 5:01 PM

Jeff, the page you asked about is not accessible via the API and wasn't designed to perform with the frequency that an automated process would likely demand.

Private User
3/18/2013 at 5:28 PM

The frequency that I was thinking wouldn't be any more than once an hour.

3/18/2013 at 5:35 PM

I doubt we have the time to put this in the API, but you can fetch the data directly by calling the same URL with "_data" at the end of the action, i.e. "...ogram_data?user_id=nnnn"

Private User
3/18/2013 at 6:03 PM

Ya, that's what I'm currently doing. Problem is.. it requires the browser cookie and stuff. I'm having difficulty doing it from a python query on a hosted web server.

Private User
3/19/2013 at 12:06 AM

Private User aware of the fact that more and more and more COOKIE-stuff will enter in all your efforts to read, write or copy & paste European-orientated URL's, for readers, authors, photographers & other artistical creators & their galleries & publishers -and their money-makers- make a big V -not with their fist, but their most important teaching instrument, the 'wijs-vinger' to unite world-wide to be aware their creations are used ONLY for peace... warm greeting from a 'dike-worker', Jeannette.

Showing all 18 posts

Create a free account or login to participate in this discussion