Read Current User's History

This example request illustrates how to query for the current user's history.

JSON

Request

GET /platform/users/cis.user.MMMM-MMM/history
Accept: application/x-gedcomx-atom+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
                
              

Response

HTTP/1.1 200 OK
Content-type: application/x-gedcomx-atom+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
                
                  {
  "entries" : [ {
    "content" : {
      "gedcomx" : {
        "persons" : [ {
          "id" : "KKKK-KK1",
          "links" : {
            "person" : {
              "href" : "https://api.familysearch.org/tree/persons/KKKK-KK1?flag=fsh"
            }
          },
          "display" : {
            "name" : "Name of Person KKKK-KK1",
            "gender" : "Male",
            "lifespan" : "1930 - 2010"
          }
        } ]
      }
    },
    "id" : "KKKK-KK1",
    "links" : {
      "person" : {
        "href" : "https://api.familysearch.org/tree/persons/KKKK-KK1?flag=fsh"
      },
      "self" : {
        "href" : "https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK1?flag=fsh"
      }
    }
  }, {
    "content" : {
      "gedcomx" : {
        "persons" : [ {
          "id" : "KKKK-KK2",
          "links" : {
            "person" : {
              "href" : "https://api.familysearch.org/tree/persons/KKKK-KK2?flag=fsh"
            }
          },
          "display" : {
            "name" : "Name of Person KKKK-KK2",
            "gender" : "Male",
            "lifespan" : "1930 - 2010"
          }
        } ]
      }
    },
    "id" : "KKKK-KK2",
    "links" : {
      "person" : {
        "href" : "https://api.familysearch.org/tree/persons/KKKK-KK2?flag=fsh"
      },
      "self" : {
        "href" : "https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK2?flag=fsh"
      }
    }
  }, {
    "content" : {
      "gedcomx" : {
        "persons" : [ {
          "id" : "KKKK-KK3",
          "links" : {
            "person" : {
              "href" : "https://api.familysearch.org/tree/persons/KKKK-KK3?flag=fsh"
            }
          },
          "display" : {
            "name" : "Name of Person KKKK-KK3",
            "gender" : "Male",
            "lifespan" : "1930 - 2010"
          }
        } ]
      }
    },
    "id" : "KKKK-KK3",
    "links" : {
      "person" : {
        "href" : "https://api.familysearch.org/tree/persons/KKKK-KK3?flag=fsh"
      },
      "self" : {
        "href" : "https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK3?flag=fsh"
      }
    }
  } ]
}
                
              

XML

Request

GET /platform/users/cis.user.MMMM-MMM/history
Accept: application/atom+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
                
              

Response

HTTP/1.1 200 OK
Content-type: application/atom+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
                
                  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed xmlns:fs="http://familysearch.org/v1/" xmlns:gx="http://gedcomx.org/v1/" xmlns="http://www.w3.org/2005/Atom">
    <entry>
        <content type="application/x-gedcomx-v1+xml">
            <gx:gedcomx>
                <gx:person id="KKKK-KK1">
                    <gx:link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK1?flag=fsh"/>
                    <gx:display>
                        <gx:gender>Male</gx:gender>
                        <gx:lifespan>1930 - 2010</gx:lifespan>
                        <gx:name>Name of Person KKKK-KK1</gx:name>
                    </gx:display>
                </gx:person>
            </gx:gedcomx>
        </content>
        <id>KKKK-KK1</id>
        <link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK1?flag=fsh"/>
        <link rel="self" href="https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK1?flag=fsh"/>
    </entry>
    <entry>
        <content type="application/x-gedcomx-v1+xml">
            <gx:gedcomx>
                <gx:person id="KKKK-KK2">
                    <gx:link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK2?flag=fsh"/>
                    <gx:display>
                        <gx:gender>Male</gx:gender>
                        <gx:lifespan>1930 - 2010</gx:lifespan>
                        <gx:name>Name of Person KKKK-KK2</gx:name>
                    </gx:display>
                </gx:person>
            </gx:gedcomx>
        </content>
        <id>KKKK-KK2</id>
        <link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK2?flag=fsh"/>
        <link rel="self" href="https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK2?flag=fsh"/>
    </entry>
    <entry>
        <content type="application/x-gedcomx-v1+xml">
            <gx:gedcomx>
                <gx:person id="KKKK-KK3">
                    <gx:link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK3?flag=fsh"/>
                    <gx:display>
                        <gx:gender>Male</gx:gender>
                        <gx:lifespan>1930 - 2010</gx:lifespan>
                        <gx:name>Name of Person KKKK-KK3</gx:name>
                    </gx:display>
                </gx:person>
            </gx:gedcomx>
        </content>
        <id>KKKK-KK3</id>
        <link rel="person" href="https://api.familysearch.org/tree/persons/KKKK-KK3?flag=fsh"/>
        <link rel="self" href="https://api.familysearch.org/platform/users/cis.user.MMMM-MMM/history/KKKK-KK3?flag=fsh"/>
    </entry>
</feed>
                
              

Change Language

Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.