Difference between revisions of "Api"

From Wiki

Jump to: navigation, search
(First pass)
 
(Changed to link to the new documentation)
 
(51 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<h1>API Notes</h1>
+
Please see http://www.geni.com/platform/developer/help for detailed API documentation.
<ul>
 
  <li>OAuth authentication.</li>
 
  <li>Can also make calls using web browser once you're logged in</li>
 
  <li>First pass will be read-only</li>
 
</ul>
 
 
 
<h1>Parameters</h1>
 
Formats:  
 
<ul>
 
  <li>json</li>
 
  <li>ged (GEDCOM 5.5)</li>
 
  <li>xml (not-GEDCOM 6)</li>
 
</ul>
 
 
 
Walks:
 
<ul>
 
  <li>ancestors</li>
 
  <li>blood_tree</li>
 
  <li>descendants</li>
 
  <li>forest</li>
 
  <li>immediate_family</li>
 
</ul>
 
 
 
<h1>Profile Access</h1>
 
<table>
 
<tr>
 
  <th align='left'>geni.com/api/v1/profiles/''&lt;id&gt;''.''&lt;format&gt;''</th>
 
  <td>other</td>
 
</tr>
 
<tr>
 
  <th align='left'>geni.com/api/v1/profiles.''&lt;format&gt;''</th>
 
  <td>your immediate family</td>
 
</tr>
 
<tr>
 
  <th align='left'>geni.com/api/v1/profiles.''&lt;format&gt;''?ids=''&lt;id,id,...&gt;''</th>
 
<td>up to 50 other profiles</td>
 
</tr>
 
</table>
 
 
 
<h2>Fields:</h2>
 
Permission required for some.
 
<ul>
 
  <li>First Name</li>
 
  <li>Middle Name</li>
 
  <li>Last Name</li>
 
  <li>Display Name</li>
 
  <li>Birth Date</li>
 
  <li>Death Date</li>
 
  <li>TBD (feel free to add desired fields here)</li>
 
</ul>
 
 
 
<h1>Tree Access</h1>
 
<table>
 
<tr>
 
  <th align='left'>geni.com/api/v1/trees/''&lt;walk&lt;''/''&lt;id&gt;''.''&lt;format&gt;''</th>
 
  <td>walk starting with other profile</td>
 
</tr>
 
</table>
 
 
 
<h2>Fields:</h2>
 
<ul>
 
  <li>Marriage id</li>
 
  <li>Partner ids</li>
 
  <li>Children ids</li>
 
</ul>
 
 
 
<h1>Event Access</h1>
 
TBD
 
 
 
<h1>Media Access</h1>
 
Photos, Videos, Documents, Links, ...
 
TBD
 

Latest revision as of 22:29, 29 November 2011

Please see http://www.geni.com/platform/developer/help for detailed API documentation.

Personal tools