Head Person
This example request illustrates how to read the headers for a person. This is useful, for example, to determine whether you have the latest version of the person.
JSON
Request
HEAD /platform/tree/persons/PPPJ-MYZ
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Allow: OPTIONS, HEAD, GET, POST, DELETE
XML
Request
HEAD /platform/tree/persons/PPPJ-MYZ
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Last-modified: Sat, 01 Dec 2018 04:59:53 CET
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Etag: "1543638712000"
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Allow: OPTIONS, HEAD, GET, POST, DELETE
Updated 5 days ago