API


Authentication

All API calls except for /api/login require authentication. Some are restricted to administrators only.


Pagination

Most GET queries are paginated. You can include the page and per_page parameters to specify which page to get and how many results should be returned.


/api/status

Returns information about the server including disk usage, memory, usage, OS type and version, etc.


/api/tcp/start

Starts the TCP CoT streaming server.


/api/tcp/stop

Stops the TCP CoT streaming server.


/api/ssl/start

Starts the SSL CoT streaming server


/api/ssl/stop

Stops the TCP SSL streaming server


/api/certificate

Downloads a certificate data package for the specified callsign


/api/certificate

Creates a certificate data package for an EUD


/api/me

Returns user account details


/api/data_packages

Uploads a data package


/api/data_packages

Deletes a data package


/api/data_packages

Returns info about data packages


/api/data_packages/download

Downloads a data package


/api/cot

Searches for CoTs stored in the database


/api/alerts

Searches for alerts stored in the database


/api/point

Searches for points stored in the database


/api/casevac

Searches for CasEvacs that are stored in the database


/api/markers

Searches for markers stored in the database


/api/markers

Adds a new marker or updates an existing one


/api/markers

Deletes a marker


/api/casevac

Searches for CasEvacs in the database


/api/casevac

Add or update a CasEvac