Read Genealogies Deleted Person

This example request illustrates what happens during a read of a person that has been deleted. Note the 410 Gone status code.

JSON

Request

GET /platform/genealogies/persons/2:2:PPPJ-MYZ
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 410 Gone
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
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{
  "persons" : [ {
    "id" : "pid",
    "attribution" : {
      "changeMessage" : "wikipedia knows"
    },
    "living" : true,
    "gender" : {
      "type" : "http://gedcomx.org/Female"
    },
    "links" : {
      "change-history" : {
        "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/changes?flag=fsh"
      },
      "restore" : {
        "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/restore?flag=fsh"
      },
      "person" : {
        "href" : "https://api.familysearch.org/platform/genealogies/persons/pid?flag=fsh"
      },
      "merge" : {
        "template" : "https://api.familysearch.org/platform/genealogies/persons/{pid}/merges/{dpid}?flag=fst{&access_token}",
        "type" : "application/json,application/x-fs-v1+json,application/x-fs-v1+xml,application/xml,text/html",
        "allow" : "POST",
        "title" : "Genealogies Person Merge"
      },
      "matches" : {
        "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/matches?flag=fsh"
      }
    },
    "identifiers" : {
      "http://gedcomx.org/Persistent" : [ "https://familysearch.org/ark:/61903/4:1:pid" ]
    },
    "names" : [ {
      "id" : "name-id",
      "attribution" : {
        "contributor" : {
          "resource" : "urn:name-attribution",
          "resourceId" : "KNCV-RMZ"
        }
      },
      "type" : "http://gedcomx.org/BirthName",
      "preferred" : true,
      "links" : {
        "conclusion" : {
          "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/name-id?flag=fsh"
        }
      },
      "nameForms" : [ {
        "fullText" : "Anastasia Aleksandrova",
        "parts" : [ {
          "type" : "http://gedcomx.org/Given",
          "value" : "Anastasia"
        }, {
          "type" : "http://gedcomx.org/Surname",
          "value" : "Aleksandrova"
        } ]
      }, {
        "fullText" : "Анастасия Александрова",
        "parts" : [ {
          "type" : "http://gedcomx.org/Given",
          "value" : "Анастасия"
        }, {
          "type" : "http://gedcomx.org/Surname",
          "value" : "Александрова"
        } ]
      } ]
    } ],
    "facts" : [ {
      "id" : "born",
      "attribution" : {
        "contributor" : {
          "resource" : "urn:fact-attribution",
          "resourceId" : "RMQW-LPK"
        }
      },
      "type" : "http://gedcomx.org/Birth",
      "date" : {
        "original" : "3 Apr 1836",
        "formal" : "+1836"
      },
      "place" : {
        "original" : "Moscow, Russia",
        "normalized" : [ {
          "lang" : "en",
          "value" : "Moscow, Moskva, Russia"
        } ]
      },
      "links" : {
        "conclusion" : {
          "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/born?flag=fsh"
        }
      }
    }, {
      "id" : "res",
      "attribution" : {
        "contributor" : {
          "resource" : "https://api.familysearch.org/platform/users/agents/JNYR-KJP",
          "resourceId" : "JNYR-KJP"
        }
      },
      "type" : "http://gedcomx.org/Residence",
      "date" : {
        "original" : "13 Apr 1836",
        "formal" : "+1836-04-13"
      },
      "place" : {
        "original" : "Moscow, Russia",
        "description" : "#1276974106",
        "normalized" : [ {
          "value" : "Moskva, Moscow, Russia"
        } ]
      },
      "links" : {
        "conclusion" : {
          "href" : "https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/res?flag=fsh"
        }
      }
    } ],
    "display" : {
      "name" : "Anastasia Aleksandrova",
      "gender" : "Female",
      "lifespan" : "3 Apr 1836 - Dead",
      "birthDate" : "3 Apr 1836",
      "birthPlace" : "Moscow, Russia"
    }
  } ],
  "places" : [ {
    "id" : "1276974106",
    "latitude" : 37.613983,
    "longitude" : 55.784296,
    "names" : [ {
      "value" : "Moskva, Moscow, Russia"
    } ]
  } ]
}

XML

Request

GET /platform/genealogies/persons/2:2:PPPJ-MYZ
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 410 Gone
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
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"?>
<gedcomx xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
    <person id="pid">
        <link rel="change-history" href="https://api.familysearch.org/platform/genealogies/persons/pid/changes?flag=fsh"/>
        <link rel="matches" href="https://api.familysearch.org/platform/genealogies/persons/pid/matches?flag=fsh"/>
        <link rel="merge" template="https://api.familysearch.org/platform/genealogies/persons/{pid}/merges/{dpid}?flag=fst{&amp;access_token}" title="Genealogies Person Merge" type="application/json,application/x-fs-v1+json,application/x-fs-v1+xml,application/xml,text/html" allow="POST"/>
        <link rel="person" href="https://api.familysearch.org/platform/genealogies/persons/pid?flag=fsh"/>
        <link rel="restore" href="https://api.familysearch.org/platform/genealogies/persons/pid/restore?flag=fsh"/>
        <attribution>
            <changeMessage>wikipedia knows</changeMessage>
        </attribution>
        <identifier type="http://gedcomx.org/Persistent">https://familysearch.org/ark:/61903/4:1:pid</identifier>
        <living>true</living>
        <gender type="http://gedcomx.org/Female"/>
        <name type="http://gedcomx.org/BirthName" id="name-id">
            <link rel="conclusion" href="https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/name-id?flag=fsh"/>
            <attribution>
                <contributor resource="urn:name-attribution" resourceId="KNCV-RMZ"/>
            </attribution>
            <preferred>true</preferred>
            <nameForm>
                <fullText>Anastasia Aleksandrova</fullText>
                <part type="http://gedcomx.org/Given" value="Anastasia"/>
                <part type="http://gedcomx.org/Surname" value="Aleksandrova"/>
            </nameForm>
            <nameForm>
                <fullText>Анастасия Александрова</fullText>
                <part type="http://gedcomx.org/Given" value="Анастасия"/>
                <part type="http://gedcomx.org/Surname" value="Александрова"/>
            </nameForm>
        </name>
        <fact type="http://gedcomx.org/Birth" id="born">
            <link rel="conclusion" href="https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/born?flag=fsh"/>
            <attribution>
                <contributor resource="urn:fact-attribution" resourceId="RMQW-LPK"/>
            </attribution>
            <date>
                <original>3 Apr 1836</original>
                <formal>+1836</formal>
            </date>
            <place>
                <original>Moscow, Russia</original>
                <normalized xml:lang="en">Moscow, Moskva, Russia</normalized>
            </place>
        </fact>
        <fact type="http://gedcomx.org/Residence" id="res">
            <link rel="conclusion" href="https://api.familysearch.org/platform/genealogies/persons/pid/conclusions/res?flag=fsh"/>
            <attribution>
                <contributor resource="https://api.familysearch.org/platform/users/agents/JNYR-KJP" resourceId="JNYR-KJP"/>
            </attribution>
            <date>
                <original>13 Apr 1836</original>
                <formal>+1836-04-13</formal>
            </date>
            <place description="#1276974106">
                <original>Moscow, Russia</original>
                <normalized>Moskva, Moscow, Russia</normalized>
            </place>
        </fact>
        <display>
            <birthDate>3 Apr 1836</birthDate>
            <birthPlace>Moscow, Russia</birthPlace>
            <gender>Female</gender>
            <lifespan>3 Apr 1836 - Dead</lifespan>
            <name>Anastasia Aleksandrova</name>
        </display>
    </person>
    <place id="1276974106">
        <name>Moskva, Moscow, Russia</name>
        <latitude>37.613983</latitude>
        <longitude>55.784296</longitude>
    </place>
</gedcomx>