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
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.
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?
BUMP: Managers are still not listed on locked profiles.
https://www.geni.com/api/profile-g2430192?fields=name,id,managers