GET Alerts

Returns all alert notifications.

Request Information

https://511ga.org/api/v2/get/alerts

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
Message

The alert details.

string
Notes

Additional alert details.

string
StartTime

The start time of the alert in Unix time. More information

integer
EndTime

The end time of the alert in Unix time. More information

integer
Regions

A list of regions affected.

list
HighImportance

Whether the alert is flagged as high importance.

boolean
SendNotification

Whether the alert is disseminated over communication channels (SMS, Email, IVR).

boolean

Response Formats

JSON

Sample:
[
  {
    "Id":2001,
    "Message":"All I-16 Eastbound AND Westbound lanes have reopened! Expect delays in this area as it opens up.",
    "Notes":"Check http://511ga.org for travel info and times.",
    "StartTime": "1515646800",
    "EndTime": "1517634000",
    "Regions":[
      "Southeast"  
    ],
	"HighImportance": true,
	"SendNotification": true
  },
  {
    "Id":2143,
    "Message":"WORLD SERIES CHAMPS! The Atlanta Braves have won their first title since 1995.",
    "Notes":"",
    "StartTime": "1514346800",
    "EndTime": "1517143000",
    "Regions":[
      "Georgia Statewide"
    ],
	"HighImportance": false,
	"SendNotification": false
  }
]

XML

Sample:
<AlertsList>
  <Alerts>
    <Id>2001</Id>
    <Message>
      All I-16 Eastbound AND Westbound lanes have reopened! Expect delays in this area as it opens up.
    </Message>
    <Notes>Check http://511ga.org for travel info and times.</Notes>
    <StartTime>1515646800</StartTime>
    <EndTime>1517634000</EndTime>
    <Regions>Southeast</Regions>
    <HighImportance>true</HighImportance>
    <SendNotification>true</SendNotification>
  </Alerts>
  <Alerts>
    <Id>2143</Id>
    <Message>
      WORLD SERIES CHAMPS! The Atlanta Braves have won their first title since 1995.
    </Message>
    <Notes/>   
    <StartTime>1514346800</StartTime>
    <EndTime>1517143000</EndTime>
    <Regions>Georgia Statewide</Regions>
    <HighImportance>false</HighImportance>
    <SendNotification>false</SendNotification>
  </Alerts>
</AlertsList>