Endpoint for the image details of a historic place. Uses GET to return the information.
Resource URI
/HistoricPlaces/Photos/11892405
Resource Properties
Parameter | Format | Description | Allows Null |
caption |
string |
caption for historic place |
no |
imageID |
number |
image id for historic place |
no |
title |
string |
title for historic place |
no |
uploadDate |
string |
upload date for historic place |
no |
Error Responses
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:
REST API: HistoricPlaces/Images Set
Resource URI
Set Filters
Parameter | Format | Description | Allows Null |
xxx |
xxx |
xxx |
xxx |
HTTP GET
GET returns a list of a historic place's images. Includes caption, image ID, title, and upload date.
JSON Request:
JSON Response:
[
{
"caption": "Cardboard cat fort",
"imageID": 184887,
"title": "Newest test pic",
"uploadDate": "06/23/2021 10:12:23 AM"
},
{
"caption": "TestPicturePleaseIgnore",
"imageID": 184787,
"title": "Credit Test",
"uploadDate": "05/03/2021 3:22:12 PM"
},
{
"caption": "What does a really long caption look like? Want to make sure it doesn't get compressed badly",
"imageID": 184788,
"title": "The Next Test",
"uploadDate": "05/03/2021 3:25:11 PM"
},
{
"caption": "test",
"imageID": 184727,
"title": "test",
"uploadDate": "02/09/2021 1:13:40 PM"
},
{
"caption": "a test",
"imageID": 184808,
"title": "testphoto",
"uploadDate": "05/12/2021 5:15:37 PM"
}
]
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: