Requesting Alert Geography
Returns the alert geography (affected area polygon) for a specific hazard, including the geometry as WKT and binary representations.
Authorizations
AuthorizationstringRequired
JWT access token obtained from POST /authorize. Tokens expire after
15 minutes.
Path parameters
hazard-idstringRequired
Unique hazard identifier (UUID or numeric ID).
Responses
200
Alert geography for the requested hazard.
application/json
Alert geography (affected-area polygon) for a hazard.
magIdintegerOptionalExample:
Internal geometry record ID.
570048uuidstringOptional
UUID of the alert geography.
titlestringOptional
Title of the alert area.
createDateintegerOptionalExample:
Creation timestamp in epoch milliseconds.
1697222149887magTypestringOptionalExample:
Geometry derivation type.
calculatedcreatorstringOptional
Creator of the geometry.
isActivebooleanOptionalExample:
Whether this geometry is currently active.
trueupdateDateintegerOptionalExample:
Last update timestamp in epoch milliseconds.
1697222149887403
Forbidden -- invalid or expired token.
text/plain
get/hazards/{hazard-id}/alert-geography
GET /hazards/{hazard-id}/alert-geography HTTP/1.1
Host: api-v2.disasteraware.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"magId": 570048,
"uuid": "text",
"title": "text",
"createDate": 1697222149887,
"magType": "calculated",
"creator": "text",
"isActive": true,
"updateDate": 1697222149887,
"wkt": {
"text": "MULTIPOLYGON (((-71.0 -16.0, ...)))",
"binary": "text"
}
}Response Fields
Properties
Definitions
Last updated
