Get Monitoring Sites
Gets a page of the monitoring sites the platform currently serves, optionally narrowed by provider, catchment number or the provider's own site number, with each site's provider facts, the statuses it states for the current date and the next, and the age of each row. A retired site is absent from the page and still resolves by id.
Gets a page of the monitoring sites the platform currently serves, optionally narrowed by provider, catchment number or the provider's own site number, with each site's provider facts, the statuses it states for the current date and the next, and the age of each row. A retired site is absent from the page and still resolves by id.
Query Parameters
^-?(?:0|[1-9]\d*)$int321^-?(?:0|[1-9]\d*)$int3210Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/monitoring-sites"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "providerKey": "string", "providerName": null, "siteNumber": "string", "name": "string", "statedNames": { "property1": "string", "property2": "string" }, "waterway": null, "longitude": null, "latitude": null, "catchmentNumber": null, "catchmentName": null, "restrictionType": null, "isActive": null, "asAt": null, "freshness": "current", "freshnessReasons": null, "currentStatus": null, "nextStatus": null } ], "pageNumber": 0, "pageSize": 0, "totalCount": 0, "totalPages": 0, "hasPreviousPage": true, "hasNextPage": true}Get Monitoring Site Readings GET
Gets a page of one monitoring site's readings, newest observed first, optionally narrowed to a span. A reading older than its source's maximum age is reported as stale with no value, so a suppressed reading is distinguishable from one the provider did not state.
Get Organisation GET
Get an organisation by its ID.