Requesting Hazard Severities

To request the list of hazard severities configured in the system please use the route defined here:

Get hazard severities

GET https://api-v2.disasteraware.com/hazards/severities

The severity property indicates the likelihood of the hazard impacting populated areas. This property helps assess the potential risk to human settlements, aiding in the preparation and response efforts to mitigate the hazard's effects.

Headers

Name
Type
Description

Authorization*

string

Authorize to access the API.

[
  {
    "severity_id": "TERMINATION",
    "severity_name": "Termination",
    "severity_icon": "termination.png"
  },
  {
    "severity_id": "INFORMATION",
    "severity_name": "Information",
    "severity_icon": "information.png"
  },
  {
    "severity_id": "ADVISORY",
    "severity_name": "Advisory",
    "severity_icon": "advisory.png"
  },
  {
    "severity_id": "WATCH",
    "severity_name": "Watch",
    "severity_icon": "watch.png"
  },
  {
    "severity_id": "WARNING",
    "severity_name": "Warning",
    "severity_icon": "warning.png"
  }
]
circle-info

See Authorizing Requests page to get your accessToken.

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

Properties
Definitions

severity_id

This is like the primary key for the hazard severity. This is the value that will be found on the hazard object.

severity_name

A human readable value for the severity e.g. Warning.

severity_icon

This is an icon whose value was used in the deprecated version of DAE.

circle-info

In every DAE system the following colors (in RGB format) are associated with each hazard severity:

Hazard Severities
Colors (in RGB format)

TERMINATION

102, 102, 102

INFORMATION

49, 153, 240

ADVISORY

0, 255, 0

WATCH

255, 255, 0

WARNING

255, 0, 0

Last updated