Read Notes
This example request illustrates how to read the list of notes on a person.
JSON
Request
GET /platform/tree/persons/P12-3456/notes
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/P12-3456/notes
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
"persons" : [ {
"id" : "P12-3456",
"links" : {
"person" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-3456?flag=fsh"
}
},
"notes" : [ {
"id" : "1234",
"subject" : "note 0",
"attribution" : {
"contributor" : {
"resource" : "https://api.familysearch.org/platform/users/agents/JNYR-KJP",
"resourceId" : "JNYR-KJP"
}
},
"links" : {
"note" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-3456/notes/1234?flag=fsh"
}
}
}, {
"id" : "1234",
"subject" : "note 1",
"attribution" : {
"contributor" : {
"resource" : "https://api.familysearch.org/platform/users/agents/JNYR-KJP",
"resourceId" : "JNYR-KJP"
}
},
"links" : {
"note" : {
"href" : "https://api.familysearch.org/platform/tree/persons/P12-3456/notes/1234?flag=fsh"
}
}
} ]
} ]
}
XML
Request
GET /platform/tree/persons/P12-3456/notes
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/P12-3456/notes
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: 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="P12-3456">
<link rel="person" href="https://api.familysearch.org/platform/tree/persons/P12-3456?flag=fsh"/>
<note id="1234">
<link rel="note" href="https://api.familysearch.org/platform/tree/persons/P12-3456/notes/1234?flag=fsh"/>
<subject>note 0</subject>
<attribution>
<contributor resource="https://api.familysearch.org/platform/users/agents/JNYR-KJP" resourceId="JNYR-KJP"/>
</attribution>
</note>
<note id="1234">
<link rel="note" href="https://api.familysearch.org/platform/tree/persons/P12-3456/notes/1234?flag=fsh"/>
<subject>note 1</subject>
<attribution>
<contributor resource="https://api.familysearch.org/platform/users/agents/JNYR-KJP" resourceId="JNYR-KJP"/>
</attribution>
</note>
</person>
</gedcomx>
Updated 5 days ago