water

Zugriff auf die Ressource Water

Changed on

Alle Gewässer

get/waters.json

Request

  • Base URL
    https://www.pegelonline.wsv.de/webservices/rest-api/v2
  • URL
    https://www.pegelonline.wsv.de/webservices/rest-api/v2/waters.json
  • Auth
    none declared

Query parameters

idsstring[]

Beschränkung auf ausgewählte Gewässer IDs

stationsstring

Beschränkung auf ausgewählte Stationen (Pegel)

includeStationsboolean

Stationen mit zurückgeben

includeTimeseriesboolean

Informationen zu den Zeitreihen

includeCurrentMeasurementboolean

Aktuell gemessener Wert

includeCharacteristicValuesboolean

kennzeichnende Wasserstände

Response

OK

shortnamestring datetime

Kurzbezeichnung, maximal 40 Zeichen.

longnamestring

Langbezeichnung, maximal 255 Zeichen.

Example response

{
  "shortname": "RHEIN",
  "longname": "RHEIN"
}

Changes

    • breaking

      the response's body type changed from array to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added