AI-generated Key Takeaways
-
The webpage provides details on retrieving a serialized polygon using a
GET
request. -
The URL structure follows gRPC Transcoding syntax, and the
name
parameter is required for specifying the polygon to retrieve, following the formatserializedPolygons/{polygonId}
. -
The request body for retrieving a serialized polygon must be empty.
-
A successful
GET
request returns an instance ofSerializedPolygon
in the response body.
Get a serialized polygon. IDs for these will appear in other API Responses, and you'll be able to use these IDs here. For example, see InundationMap
in FloodStatus
.
HTTP request
GET https://floodforecasting.googleapis.com/v1/{name=serializedPolygons/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the serialized polygon to retrieve. Name format: serializedPolygons/{polygonId} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SerializedPolygon
.