1. Given a profile, is there an API that returns all of the projects associated with that profile?
something like: api/profile-123?fields=projects or api/profile-123/projects
2. Given a profile and a project, is there an API that adds that profile to the project?
something like: api/profile-123/add-to-project/project-456 or api/project-456/add-profile/profile-123
1. No, - you can only get the list for your self, - but a traffic inspection of the invite to project popup might reveal how to do that for others since all projects followed by the user is listed.
2. Thanks not!!!
It was terrible in the beginning with projects when you could add anyone without a request - somehow people thought it was ok to add me to every project they created and I had to remove my self from a lot of projects, - and I am still removing profiles prom projects which as no relevance to the profile.
Awesome! :) Jan, here is an example
geni.com/api/profile-4299907?fields=name,project_ids
I'll have to work that into HistoryLink soon (maybe next month) so I can get rid of maintaining a database of the profiles in these historical / popular projects. As Dan stated, now I can just maintain a list of the projects and check to see if the profile is in them based on the Geni query, so it's always up to date.
Mike Stangel, Private User is there a way to query multiple projects to get, for example, the name?
https://www.geni.com/platform/developer/help/api?path=project&v...
The project documentation suggests that you could use "?ids=", but the example given is for /profile, not /project. I tried /project?ids= but it didn't seem to work.
Test URL: https://www.geni.com/api/project?ids=34720,25470&fields=name
Kun jij mij in eenvoudig Nederlands de reikwijdte van deze discussie uitleggen. Ik heb het gevoel dat die voor mij van belang is, maar het begint er al mee dat ik de afkorting API niet ken. Geeft het de kans om profielen die IN een projectpagina gemonteerd zijn te herkennen, zonder dat ze AAN de profjectpagina zijn gelinked? Of begrijp ik dat verkeerd? Alvast dank, jMVu.