Read Current Tree Person
This example request illustrates how to determine which person in the Tree represents the current user.
JSON
Request
GET /platform/tree/current-person Accept: application/x-gedcomx-v1+json Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 303 See Other Content-type: application/x-gedcomx-v1+json X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0 Location: https://api.familysearch.org/platform/tree/persons/12345 Transfer-encoding: chunked
XML
Request
GET /platform/tree/current-person Accept: application/x-gedcomx-v1+xml Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 303 See Other Content-type: application/x-gedcomx-v1+xml X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0 Location: https://api.familysearch.org/platform/tree/persons/12345 Transfer-encoding: chunked
보내는 중…
피드백이 발송되었습니다.
피드백을 발송할 수 없습니다. 5초 후에 다시 시도하십시오.