Read Genealogies Tree

This example request illustrates how to read a tree.

JSON

Request

GET /platform/genealogies/trees/2:2:12345
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
  "sourceDescriptions" : [ {
    "id" : "54321",
    "titles" : [ {
      "value" : "My Tree"
    } ]
  } ]
}

XML

Request

GET /platform/genealogies/trees/2:2:12345
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
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>My Tree</title>
    </sourceDescription>
</gedcomx>