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
Content-type: application/atom+xml
Last-modified: Tue, 15 Apr 2014 17:28:26 GMT
Etag: "vjfje78v34"
X-processing-time: 2

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<atom:feed xmlns:gx="http://gedcomx.org/v1/" xmlns:fs="http://familysearch.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
    <atom:id>uuid:8c416a62-ff9a-40e2-bb02-3b9e3e6f20e2</atom:id>
    <atom:link rel="next" href="https://familysearch.org/platform/tree/persons/P12-345/changes?count=10&from=1397582906959" title="Person Change History"/>
    <atom:link rel="person" href="https://familysearch.org/platform/tree/persons/P12-345" title="Person"/>
    <atom:link rel="self" href="https://familysearch.org/platform/tree/persons/P12-345/changes?count=10" title="Person Change History"/>
    <atom:title>Change History for Person P12-345</atom:title>
    <atom:updated>2014-04-15T17:28:26.959Z</atom:updated>
    <atom:entry>
        <fs:changeInfo objectType="http://gedcomx.org/Person" operation="http://familysearch.org/v1/Create" reason="because it was necessary"/>
        <atom:contributor>
            <atom:name>Mr. Contributor</atom:name>
        </atom:contributor>
        <atom:id>1397582906959</atom:id>
        <atom:link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <atom:link rel="restore" href="https://familysearch.org/platform/tree/changes/544061/restore" title="Restore Change"/>
        <atom:title>Person Created</atom:title>
        <atom:updated>2014-04-15T17:28:26.959Z</atom:updated>
    </atom:entry>
    <atom:entry>
        <fs:changeInfo objectModifier="http://gedcomx.org/Person" objectType="http://gedcomx.org/Birth" operation="http://familysearch.org/v1/Create" reason="because it was necessary"/>
        <atom:contributor>
            <atom:name>Mr. Contributor</atom:name>
        </atom:contributor>
        <atom:id>1397582906959</atom:id>
        <atom:link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <atom:link rel="restore" href="https://familysearch.org/platform/tree/changes/639423/restore" title="Restore Change"/>
        <atom:title>Birth Added</atom:title>
        <atom:updated>2014-04-15T17:28:26.959Z</atom:updated>
    </atom:entry>
    <atom:entry>
        <fs:changeInfo objectType="http://gedcomx.org/Person" operation="http://familysearch.org/v1/Delete" reason="because it was necessary"/>
        <atom:contributor>
            <atom:name>Mr. Contributor</atom:name>
        </atom:contributor>
        <atom:id>1397582906959</atom:id>
        <atom:link rel="agent" href="https://familysearch.org/platform/users/agents/UKMGTY"/>
        <atom:link rel="restore" href="https://familysearch.org/platform/tree/changes/937639/restore" title="Restore Change"/>
        <atom:title>Person Removed</atom:title>
        <atom:updated>2014-04-15T17:28:26.959Z</atom:updated>
    </atom:entry>
</atom: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
Content-type: application/x-gedcomx-atom+json
Last-modified: Tue, 15 Apr 2014 17:28:28 GMT
Etag: "vjfje78v34"
X-processing-time: 2

{
  "id" : "uuid:304b1128-38a3-4f64-be51-07c2c632465d",
  "links" : {
    "person" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345",
      "title" : "Person"
    },
    "next" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345/changes?count=10&from=1397582908369",
      "title" : "Person Change History"
    },
    "self" : {
      "href" : "https://familysearch.org/platform/tree/persons/P12-345/changes?count=10",
      "title" : "Person Change History"
    }
  },
  "title" : "Change History for Person P12-345",
  "updated" : 1397582908369,
  "entries" : [ {
    "contributors" : [ {
      "name" : "Mr. Contributor"
    } ],
    "id" : "1397582908369",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/136801/restore",
        "title" : "Restore Change"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Person Created",
    "updated" : 1397582908369,
    "changeInfo" : [ {
      "operation" : "http://familysearch.org/v1/Create",
      "objectType" : "http://gedcomx.org/Person",
      "reason" : "because it was necessary"
    } ]
  }, {
    "contributors" : [ {
      "name" : "Mr. Contributor"
    } ],
    "id" : "1397582908369",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/126041/restore",
        "title" : "Restore Change"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Birth Added",
    "updated" : 1397582908369,
    "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" : "1397582908369",
    "links" : {
      "restore" : {
        "href" : "https://familysearch.org/platform/tree/changes/102266/restore",
        "title" : "Restore Change"
      },
      "agent" : {
        "href" : "https://familysearch.org/platform/users/agents/UKMGTY"
      }
    },
    "title" : "Person Removed",
    "updated" : 1397582908369,
    "changeInfo" : [ {
      "operation" : "http://familysearch.org/v1/Delete",
      "objectType" : "http://gedcomx.org/Person",
      "reason" : "because it was necessary"
    } ]
  } ]
}