Main endpoint for Historic Places.
There is GET, POST, PUT, DELETE.
Requires Oauth while GET.
All HTML is in the description field, consumer may parse out each section. each section as shown on main website is delimited by image tag {{..}}. The first section before image tag is encountered is the main section, then section 1.2.n.
Soundcloud embed is the first html tag encountered in main section which is clear markup in the json response.
For references that is marked up with the template, which is the last content found at the end of the description. There is a html tag with the identifier "footnotes".
Resource URI
/HistoricPlaces/
Resource Properties
Parameter | Format | Description | Allows Null |
acctID |
long |
Unique identifier for Historic Place |
No
|
description |
string |
includes html for soundcloud, image template decorators, footnotes, written content |
No
|
city |
string |
City of Historic Place |
No
|
complete |
bool |
Completed with information |
No |
eraEvents |
string |
List of timeframes or eras of when historic place was active |
No |
latlon |
string |
Lat and lon of historic placeĀ |
No |
location |
string |
General location of historic place |
No |
organization
|
string |
Oranization associated with historic place |
No |
state |
string |
State where historic place is located |
No |
street |
string |
Street Historic Place is located |
No |
themes |
string |
Themes associated with historic place |
No |
trailID |
long |
Trail ID associated with Historic PLace |
No |
zipcode |
long |
Zipcode of Historic Place |
No |
Error Responses
HTTP GET
Get details of historic place
JSON Request:
/HistoricPlaces/11892405
JSON Response:
{
"acctID": 11892405,
"city": "Somewhere",
"complete": true,
"eraEvents": "1850-1900, 1900-1950, 1950-2000,2000-Present,Test2",
"latlon": "-77.033696, 38.887476",
"location": "Heritage Site;Historical Marker;Historical Society;Interpretive Signage;In Use;Momument",
"state": "AK",
"street": "203 Test Address somewhere",
"themes": "Arts, Entertainment & Sports;Disability;Economy & Work",
"trailID": 0,
"zipcode": 12345
}
XML Request:
XML Response:
HTTP POST
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
HTTP PUT
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
HTTP DELETE
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
REST API: HistoricPlaces Set
Resource URI
Set Filters
Parameter | Format | Description | Allows Null |
xxx |
xxx |
xxx |
xxx |
HTTP GET
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
HTTP POST
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
HTTP PUT
n/a
JSON Request:
JSON Response:
XML Request:
XML Response:
HTTP DELETE
n/a
JSON Request:
JSON Response:
XML Request:
XML Response: