Read Place Type
This example request illustrates how to get a place type. A place type is a type of place, such as a cemetery, city, state, etc.
JSON
Request
GET /platform/places/types/186
Accept: application/ld+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/ld+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{
"id" : "186",
"@id" : "https://api.familysearch.org/platform/places/types/186",
"labels" : [ {
"@language" : "en",
"@value" : "Place Type 186 Title"
} ],
"descriptions" : [ {
"@language" : "en",
"@value" : "Place Type 186 Description"
} ],
"@context" : {
"id" : {
"@id" : "http://purl.org/dc/terms/identifier"
},
"subclassOf" : {
"@id" : "http://www.w3.org/2000/01/rdf-schema#subClassOf",
"@type" : "@id"
},
"references" : {
"@id" : "http://purl.org/dc/terms/references",
"@type" : "@id"
},
"type" : {
"@id" : "http://purl.org/dc/terms/type",
"@type" : "@id"
},
"labels" : {
"@id" : "http://www.w3.org/2000/01/rdf-schema#label"
},
"descriptions" : {
"@id" : "http://www.w3.org/2000/01/rdf-schema#comment"
}
}
}
XML
Request
GET /platform/places/types/186
Accept: application/rdf+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/rdf+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'?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:dc="http://purl.org/dc/terms/" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<Description about="https://api.familysearch.org/platform/places/types/186">
<dc:identifier>186</dc:identifier>
<rdfs:label xml:lang="en">Place Type 186 Title</rdfs:label>
<rdfs:comment xml:lang="en">Place Type 186 Description</rdfs:comment>
</Description>
</RDF>
Updated 5 days ago