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초 후에 다시 시도하십시오.