About

Here you can find all published messages.

GET /api/version/2/messages.{ext}

Parameters

{ext} The suffix specifying which mediatype to use. See mediatypes for more information.

CAP description

This is the most important objects you can find in every alert element.

Element with example Description
<version>1</version>
The current version of this message. The version is increased each time the message is updated with new information.
<time_stamp>2017-01-22T14:45:04+01:00</time_stamp>
The date and time of the latest update. This timestamp is set each time the message is updated with new information.
<id>smhi-b-1485092638542</id>
Each message is given a unique id.
<text>Ett l├ągtryck passerar [...]</text>
The actual message text.
<onset>2017-01-22T14:45:04+01:00</onset>
The initial date and time when this message was created.

Examples

Example request and response for the /api/version/2/messages level in different mediatypes. This response in not complete for the sake of readability.

GET /api/version/2/messages

or

GET /api/version/2/messages.xml
...

GET /api/version/2/messages.json
...