Welcome to Water Restrictions, your go-to source for up-to-date information on water restrictions in your area.Water Restrictions LogoWater Restrictions
EndpointsMonitoring sites

Get Monitoring Site Restriction States

Gets the current restriction state of the served monitoring sites inside the given bounding box, carrying each site's identifier and the bands the publisher states for its current date with each band's allocation and allocation wording. The bounds are taken exactly as given and are not buffered, so a caller that wants the tile's buffered edge inflates its own bounds. A site in the bounds that is served but states no current status answers with an empty band list, which is distinct from a site that is absent because it is not served or not in the bounds. The response is never cached.

GET
/v1/monitoring-sites/restriction-states

Gets the current restriction state of the served monitoring sites inside the given bounding box, carrying each site's identifier and the bands the publisher states for its current date with each band's allocation and allocation wording. The bounds are taken exactly as given and are not buffered, so a caller that wants the tile's buffered edge inflates its own bounds. A site in the bounds that is served but states no current status answers with an empty band list, which is distinct from a site that is absent because it is not served or not in the bounds. The response is never cached.

Query Parameters

west*|
Match^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
Formatdouble
south*|
Match^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
Formatdouble
east*|
Match^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
Formatdouble
north*|
Match^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
Formatdouble

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/monitoring-sites/restriction-states?west=0&south=0&east=0&north=0"
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "bands": [        {          "allocation": null,          "allocationWording": null        }      ]    }  ]}