GET
/sites/{site_uuid}
curl \
--request GET 'https://api.protect.earth/sites/{site_uuid}'
Response examples (200)
{
"id": "string",
"name": "Bourton on the Water",
"location": "Cheltenham, England",
"description": "A mixed habitat restoration site.",
"images": [
"https://example.com"
],
"species": [
{
"id": "string",
"name": "Wild Cherry"
}
],
"work": [
{
"name": "Ancient Woodland Restoration",
"units": 350,
"label": "square meters"
}
],
"funding": [
{
"name": "Ancient Woodland Restoration",
"label": "trees",
"allocatedUnits": 120,
"unallocatedUnits": 30
}
],
"coordinates": {
"latitude": 42.0,
"longitude": 42.0
},
"links": {
"self": "https://example.com",
"all": "https://example.com",
"map": "https://example.com"
}
}
Response examples (404)
{
"type": "https://protect.earth/probs/something-went-wrong",
"title": "You do not have enough credit.",
"status": 400,
"detail": "Your current balance is 30, but that costs 50.",
"instance": "/account/12345/msgs/abc"
}