Geocontext API v2 endpoint for collection queries. Basic query validation, log query, get data and return results.

GET /api/v2/query?registry=group&key=rainfall_group&x=24.0380859375&y=-29.375038630898835&outformat=json
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "key": "rainfall_group",
    "name": "Rainfall",
    "description": "A collection of raster layers depicting monthly rainfall in South Africa",
    "group_type": "graph",
    "services": [
        {
            "key": "monthly_rainfall_january",
            "value": "28",
            "name": "Monthly Rainfall and its Inter-Annual Variability (January)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_february",
            "value": "43",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (February)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_march",
            "value": "48",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (March)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_april",
            "value": "23",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (April)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_may",
            "value": "7",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (May)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_june",
            "value": "1",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (June)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_july",
            "value": "0",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (July)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_august",
            "value": "0",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (August)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_september",
            "value": "1",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (September)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_october",
            "value": "12",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (October)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_november",
            "value": "19",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (November)",
            "description": null,
            "query_type": "WMS"
        },
        {
            "key": "monthly_rainfall_december",
            "value": "19",
            "name": "Monthly Rainfall and it's Inter-Annual Variability (December)",
            "description": null,
            "query_type": "WMS"
        }
    ]
}