GET /api/v1/live/{slug}/water-level
Live alias for PEGELONLINE water level
Mirrors the existing PEGELONLINE endpoint under the live category. Same envelope contract as /api/v1/cities/{slug}/water-level, same handler. The old path remains as an alias and is marked deprecated.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/live/hamburg/water-level"const res = await fetch("https://infranode.dev/api/v1/live/hamburg/water-level");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/hamburg/water-level")
res.raise_for_status()
print(res.json()) Try it
No live console is available for this endpoint. It is an operational or demo operation (for example a forced error or key mint) and is only documented here. Use the code samples above to call it directly.