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

[
    {
        "category_id": "EVENT",
        "category_name": "Event"
    },
    {
        "category_id": "EXERCISE",
        "category_name": "Exercise"
    },
    {
        "category_id": "OTHER",
        "category_name": "Other"
    },
    {
        "category_id": "RESPONSE",
        "category_name": "Response"
    }
]

See Authorizing Requests page to get your accessToken.

curl --location --request GET \
  'https://api.disasteraware.com/hazards/categories' \
  --header 'Authorization: Bearer your_accessToken'

This request will return an array that contains all of the hazard severities. Each element in the array will have two properties:

The following shapes are associated with each hazard category:

Last updated