Read Place Description Children
This example request illustrates how to get the children of a place description. Using this resource to search for children of a place (/description/1/children), will return the same results as searching for everything with the parentId of place "1" (/search?q=+parentId:1).
JSON
Request
GET /platform/places/description/1/children
Accept: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-fs-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-transform, must-revalidate, max-age=86400
Transfer-encoding: chunked{
"places" : [ {
"id" : "351",
"links" : {
"description" : {
"href" : "https://api.familysearch.org/platform/places/description/351?flag=fsh"
}
},
"names" : [ {
"lang" : "en",
"value" : "Alabama"
}, {
"lang" : "zh-Kana",
"value" : "アラバマ州"
} ]
}, {
"id" : "350",
"links" : {
"description" : {
"href" : "https://api.familysearch.org/platform/places/description/350?flag=fsh"
}
},
"names" : [ {
"lang" : "en",
"value" : "Alaska"
}, {
"lang" : "zh-Kana",
"value" : "アラスカ州"
} ]
}, {
"id" : "326",
"links" : {
"description" : {
"href" : "https://api.familysearch.org/platform/places/description/326?flag=fsh"
}
},
"names" : [ {
"lang" : "en",
"value" : "Arizona"
}, {
"lang" : "zh-Kana",
"value" : "アリゾナ州"
} ]
}, {
"id" : "367",
"links" : {
"description" : {
"href" : "https://api.familysearch.org/platform/places/description/367?flag=fsh"
}
},
"names" : [ {
"lang" : "en",
"value" : "Arkansas"
}, {
"lang" : "zh-Kana",
"value" : "アーカンソー州"
} ]
} ]
}
XML
Request
GET /platform/places/description/1/children
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-fs-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-transform, must-revalidate, max-age=86400
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fs:familysearch xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
<place id="351">
<link rel="description" href="https://api.familysearch.org/platform/places/description/351?flag=fsh"/>
<name xml:lang="en">Alabama</name>
<name xml:lang="zh-Kana">アラバマ州</name>
</place>
<place id="350">
<link rel="description" href="https://api.familysearch.org/platform/places/description/350?flag=fsh"/>
<name xml:lang="en">Alaska</name>
<name xml:lang="zh-Kana">アラスカ州</name>
</place>
<place id="326">
<link rel="description" href="https://api.familysearch.org/platform/places/description/326?flag=fsh"/>
<name xml:lang="en">Arizona</name>
<name xml:lang="zh-Kana">アリゾナ州</name>
</place>
<place id="367">
<link rel="description" href="https://api.familysearch.org/platform/places/description/367?flag=fsh"/>
<name xml:lang="en">Arkansas</name>
<name xml:lang="zh-Kana">アーカンソー州</name>
</place>
</fs:familysearch>
Updated 5 days ago