Read Person Change History First Page

This example request illustrates how to read the first page of the change history for a person.

XML

Request

GET /platform/tree/persons/P12-345/changes?count=10
Accept: application/atom+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Transfer-encoding: chunked
Cache-control: no-transform, must-revalidate, max-age=0
Vary: Accept-Encoding
Vary: Accept, Accept-Language, Accept-Encoding, Expect
Date: Tue, 31 Mar 2015 20:49:35 GMT
Content-type: application/atom+xml
Last-modified: Tue, 31 Mar 2015 20:49:35 GMT
Etag: "vjfje78v34"
X-processing-time: 1

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed xmlns:gx="http://gedcomx.org/v1/" xmlns:fs="http://familysearch.org/v1/" xmlns="http://www.w3.org/2005/Atom">
    <id>uuid:3695a166-ebb4-4cb3-b4d6-8f7e4a865f88</id>
    <link rel="next" href="https://familysearch.org/platform/tree/persons/P12-345/changes?count=10&from=1427834975733"/>
    <link rel="person" href="https://familysearch.org/platform/tree/persons/P12-345"/>
    <link rel="self" href="https://familysearch.org/platform/tree/persons/P12-345/changes?count=10"/>
    <title>Change History for Person P12-345</title>
    <updated>2015-03-31T14:49:35.733-06:00</updated>
    <entry>
        <fs:changeInfo objectType="http://gedcomx.org/Person" operation="http://familysearch.org/v1/Create" reason="because it was necessary"/>
        <contributor>
            <name>Mr. Contributor</name>
        </contributor>
        <id>1427834975733</id>
        <link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <link rel="restore" href="https://familysearch.org/platform/tree/changes/176026/restore"/>
        <title>Person Created</title>
        <updated>2015-03-31T14:49:35.733-06:00</updated>
    </entry>
    <entry>
        <fs:changeInfo objectModifier="http://gedcomx.org/Person" objectType="http://gedcomx.org/Birth" operation="http://familysearch.org/v1/Create" reason="because it was necessary"/>
        <contributor>
            <name>Mr. Contributor</name>
        </contributor>
        <id>1427834975733</id>
        <link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <link rel="restore" href="https://familysearch.org/platform/tree/changes/108809/restore"/>
        <title>Birth Added</title>
        <updated>2015-03-31T14:49:35.733-06:00</updated>
    </entry>
    <entry>
        <fs:changeInfo objectType="http://gedcomx.org/Person" operation="http://familysearch.org/v1/Delete" reason="because it was necessary"/>
        <contributor>
            <name>Mr. Contributor</name>
        </contributor>
        <id>1427834975733</id>
        <link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <link rel="restore" href="https://familysearch.org/platform/tree/changes/175107/restore"/>
        <title>Person Removed</title>
        <updated>2015-03-31T14:49:35.733-06:00</updated>
    </entry>
</feed>

JSON

Request

GET /platform/tree/persons/P12-345/changes?count=10
Accept: application/x-gedcomx-atom+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Transfer-encoding: chunked
Cache-control: no-transform, must-revalidate, max-age=0
Vary: Accept-Encoding
Vary: Accept, Accept-Language, Accept-Encoding, Expect
Date: Tue, 31 Mar 2015 20:49:35 GMT
Content-type: application/x-gedcomx-atom+json
Last-modified: Tue, 31 Mar 2015 20:49:35 GMT
Etag: "vjfje78v34"
X-processing-time: 2

{
  "id" : "uuid:8dc302cf-ce6e-408f-8924-04f57d0a1b05",
  "links" : {
    "person" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345"
    },
    "next" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345/changes?count=10&from=1427834975836"
    },
    "self" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345/changes?count=10"
    }
  },
  "title" : "Change History for Person P12-345",
  "updated" : 1427834975836,
  "entries" : [ {
    "contributors" : [ {
      "name" : "Mr. Contributor"
    } ],
    "id" : "1427834975836",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/201863/restore"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Person Created",
    "updated" : 1427834975836,
    "changeInfo" : [ {
      "operation" : "http://familysearch.org/v1/Create",
      "objectType" : "http://gedcomx.org/Person",
      "reason" : "because it was necessary"
    } ]
  }, {
    "contributors" : [ {
      "name" : "Mr. Contributor"
    } ],
    "id" : "1427834975836",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/121857/restore"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Birth Added",
    "updated" : 1427834975836,
    "changeInfo" : [ {
      "operation" : "http://familysearch.org/v1/Create",
      "objectType" : "http://gedcomx.org/Birth",
      "objectModifier" : "http://gedcomx.org/Person",
      "reason" : "because it was necessary"
    } ]
  }, {
    "contributors" : [ {
      "name" : "Mr. Contributor"
    } ],
    "id" : "1427834975836",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/106753/restore"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Person Removed",
    "updated" : 1427834975836,
    "changeInfo" : [ {
      "operation" : "http://familysearch.org/v1/Delete",
      "objectType" : "http://gedcomx.org/Person",
      "reason" : "because it was necessary"
    } ]
  } ]
}