Requesting Hazard Categories
Returns the full set of hazard category reference values (e.g. EVENT, NATURAL).
Authorizations
AuthorizationstringRequired
JWT access token obtained from POST /authorize. Tokens expire after
15 minutes.
Responses
200
Array of hazard categories.
application/json
category_idstringOptionalExample:
Unique category identifier.
EVENTcategory_namestringOptionalExample:
Human-readable category name.
Event403
Forbidden -- invalid or expired token.
text/plain
get/hazards/categories
GET /hazards/categories HTTP/1.1
Host: api-v2.disasteraware.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"category_id": "EVENT",
"category_name": "Event"
}
]Properties
Definitions
Categories
Shapes
Last updated
