Get Emergencies
Retrieve all active emergency alerts.Authentication
This endpoint requires HTTP Basic Authentication.Response
Array of emergency objects
Response Example
Create Emergency Alert
Create and broadcast a new emergency alert to all connected clients.Authentication
This endpoint requires HTTP Basic Authentication.Request Body
Type of emergency. Valid values:
911 Alert- General emergency alertRing The Bell- Urgent attention requiredGeo-fence Breached- Location boundary violationIn Contact- Contact with hostile forces
Latitude coordinate of the emergency location
Longitude coordinate of the emergency location
Callsign or name of the emergency source
Additional details about the emergency
Response
The UID of the created emergency event
Response Example
Delete Emergency Alert
Cancel an active emergency alert and notify all clients.Authentication
This endpoint requires HTTP Basic Authentication.Request Body
The UID of the emergency alert to cancel
Response
The UID of the cancelled emergency
Response Example
Emergency Types
FreeTAKServer supports the following emergency types:| Type | CoT Type Code | Description |
|---|---|---|
| 911 Alert | b-a-o-tbl | General emergency alert |
| Ring The Bell | b-a-o-pan | Urgent attention required |
| Geo-fence Breached | b-a-g | Location boundary violation |
| In Contact | b-a-o-opn | Contact with hostile forces |
Emergency Broadcasting
When an emergency is created or deleted:- The event is serialized to CoT format
- Broadcast to all clients on TCP CoT service
- Broadcast to all clients on SSL CoT service
- Stored in emergency persistence for retrieval