Requesting Hazard Categories
To request the list of hazard categories configured in the system please use the route defined here:
Get hazard categories
GET
https://api.disasteraware.com/hazards/categories
Headers
Name
Type
Description
Authorization
string
Authorize to access the API.
This request will return an array that contains all of the hazard severities. Each element in the array will have two properties:
Properties
Definitions
category_id
This is like the primary key for the hazard category. This is the value that will be found on the hazard object.
category_name
A human readable value for the category e.g. Event.
Categories
Shapes
EVENT
Circle
RESPONSE
Star
EXERCISE
Triangle
OTHER
Hexagon
Last updated
Was this helpful?