A list of units at a site in GeoJSON format

GET /maps/sites/{site}

As a potential donor I want to see that real work is being done, and seeing all the units that have been planted at a site makes the project seem transparent and real.

Path parameters

  • site string(uuid) Required

    Unique identifier given to a site.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
  • 404 application/problem+json

    Site not found.

    Hide response attributes Show response attributes object
GET /maps/sites/{site}
curl \
 -X GET https://hostname/maps/sites/61f423e5-3cac-4e82-a520-b233730637bb
Response examples (200)
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type2": "Point",
        "coordinates": [
          -1.9381,
          51.87766
        ]
      },
      "properties": {
        "name": "Lower Hampen Farm"
      }
    }
  ]
}