Read Genealogies Trees
This example request illustrates how to get the genealogy trees created by the current user.
JSON
Request
GET /platform/genealogies/trees
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Transfer-encoding: chunked{
"sourceDescriptions" : [ {
"id" : "54321",
"titles" : [ {
"value" : "A description of my first tree."
} ]
}, {
"id" : "98765",
"titles" : [ {
"value" : "A description of my second tree."
} ]
} ]
}
XML
Request
GET /platform/genealogies/trees
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gedcomx xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
<sourceDescription id="54321">
<title>A description of my first tree.</title>
</sourceDescription>
<sourceDescription id="98765">
<title>A description of my second tree.</title>
</sourceDescription>
</gedcomx>
Updated 5 days ago