Read Genealogies Not Modified Person

This example request illustrates how to read a person that hasn't been modified since your last read. Note the presence of the If-None-Match header, which makes the request for the person conditional upon whether you have the latest version of the person. In other words, only read if the person doesn't match the version in the request.

JSON

Request

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

Response

HTTP/1.1 304 Not Modified
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
                
              

XML

Request

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

Response

HTTP/1.1 304 Not Modified
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
                
              

變更語言

意見回饋

傳送中……

意見回饋已傳送。

無法傳送意見回饋。5秒鐘後重試。