AI-generated Key Takeaways
-
The floodforecasting.googleapis.com API provides resources to access flood status, gauge models, gauge information, and serialized polygons.
-
The recommended way to call this service is by using Google-provided client libraries.
-
A Discovery Document for this service is available at https://floodforecasting.googleapis.com/$discovery/rest?version=v1.
-
The service endpoint for this API is
https://floodforecasting.googleapis.com. -
You can query the latest flood status by gauge IDs or search by geographical area using the v1.floodStatus resource.
floodforecasting.googleapis.com API.
- REST Resource: v1.floodStatus
- REST Resource: v1.gaugeModels
- REST Resource: v1.gauges
- REST Resource: v1.serializedPolygons
- REST Resource: v1.significantEvents
Service: floodforecasting.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://floodforecasting.googleapis.com
REST Resource: v1.floodStatus
| Methods | |
|---|---|
queryLatestFloodStatusByGaugeIds |
GET /v1/floodStatus:queryLatestFloodStatusByGaugeIds Query latest flood status by gauge ids. |
searchLatestFloodStatusByArea |
POST /v1/floodStatus:searchLatestFloodStatusByArea Search latest flood status by geographical area. |
REST Resource: v1.gaugeModels
| Methods | |
|---|---|
batchGet |
GET /v1/gaugeModels:batchGet Get the current hydrological model metadata for multiple gauges. |
get |
GET /v1/{name=gaugeModels/*} Get the current hydrological model metadata for a given gauge. |
REST Resource: v1.gauges
| Methods | |
|---|---|
batchGet |
GET /v1/gauges:batchGet Get metadata about multiple gauges. |
get |
GET /v1/{name=gauges/*} Get metadata about a gauge. |
queryGaugeForecasts |
GET /v1/gauges:queryGaugeForecasts Query gauge forecasts. |
searchGaugesByArea |
POST /v1/gauges:searchGaugesByArea Search for gauges by geographical area. |
REST Resource: v1.serializedPolygons
| Methods | |
|---|---|
get |
GET /v1/{name=serializedPolygons/*} Get a serialized polygon. |
REST Resource: v1.significantEvents
| Methods | |
|---|---|
search |
POST /v1/significantEvents:search Search for latest significant events. |