API call to return profile managers returns wrong results in some cases

Started by Randy Stebbing on Thursday, April 26, 2012
Problem with this page?

Participants:

Related Projects:

Showing all 9 posts

This profile should have 328 managers but the API is only returning 1.

Louis II the Stammerer, king of the West Franks

The tail end of the web address api call that I'm using is formatted like this:
........./api/profile-1693391?fields=managers

Here is a second profile with the same issue. It should return 100 managers but it only is returning one.

Berchtold I, Margrave in the Bavarian Nordgau

The tail end of the web address api call that I'm using is formatted like this:
.................api/profile-103442407?fields=managers

Other profiles work as expected and return the expected number of managers.

--Randy

they are both locked profiles thats why probbaly

Jason,

Good catch. I've verified that that is indeed the issue. Hopefully the programmers can get that fixed as I don't think that a curator lock on a profile should selectively disable API queries.

I'm getting tired of manually maintaining the index for the http://www.geni.com/projects/Mega-Merge/10927 project so I wrote up a script that will create the wiki markup based on whatever profiles are included in the project. The script works but is unusable because of this bug.

It's not a bug, we suppress the managers list when a master profile is locked (because the managers are of no help -- they can't edit or merge it any more than anyone else who's not a curator)

Mike Stangel Thanks for the reply. If this decision could be changed it would sure help me. Also if a viewer visits a locked profile they can see a list of all managers so why suppress the same list via the API?

My mistake, I didn't realize we were talking about a discrepancy between the API and the web site. I'll talk to the API engineers about it.

Louis II "the Stammerer" of France my 32nd great grandfather.

Berthold I (~915~980) Markgraf im bayerischen Nordgau is my 28th great grandfather.

BUMP: Managers are still not listed on locked profiles.
https://www.geni.com/api/profile-g2430192?fields=name,id,managers

Showing all 9 posts

Create a free account or login to participate in this discussion