GPS
Available GPS drivers
readonly
/gps/drivers.json
/gps/drivers.ekjson
/gps/drivers.prettyjson
GET
List configured GPS devices
readonly
/gps/all_gps.json
/gps/all_gps.ekjson
/gps/all_gps.prettyjson
GET
Add a GPS device
admin
/gps/add_gps.cmd
POST
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
Remove a GPS device
admin
/gps/by-uuid/{UUID}/remove_gps.cmd
POST
PARAMETERS
UUID
string
REQUIREDUUID of GPS device to be removed
Current location
Fetch the current “best” location from all enabled GPS devices. The “best” location is the most recent location with the highest precision.
Most configurations will have a single GPS so the “best” will always be that device.
A more efficient approach is to use the eventbus endpoint subscribed to the GPS event.
readonly
/gps/location.json
/gps/location.ekjson
/gps/location.prettyjson
GET
POST
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
fields
field simplification
OPTIONALKismet can reduce the amount of information being processed and returned by an API by simplifying the fields to only return the data needed by the caller.
You can read more about the field simplification API and how to use it here.
Current location (all GPS devices)
Fetch the current location from all enabled GPS devices.
A more efficient approach is to use the eventbus endpoint subscribed to the GPS event.
readonly
/gps/all_locations.json
/gps/all_locations.ekjson
/gps/all_locations.prettyjson
GET
POST
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
fields
field simplification
OPTIONALKismet can reduce the amount of information being processed and returned by an API by simplifying the fields to only return the data needed by the caller.
You can read more about the field simplification API and how to use it here.
Per-receiver GPS location
Fetch the current location of a specific GPS, identified by UUID.
A more efficient approach is to use the eventbus endpoint subscribed to the GPS event.
readonly
/gps/by-uuid/{UUID}/location.json
/gps/by-uuid/{UUID}/location.ekjson
/gps/by-uuid/{UUID}/location.prettyjson
GET
POST
PARAMETERS
UUID
string
REQUIREDUUID of GPS device
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
fields
field simplification
OPTIONALKismet can reduce the amount of information being processed and returned by an API by simplifying the fields to only return the data needed by the caller.
You can read more about the field simplification API and how to use it here.
Web GPS
admin
WEBGPS
/gps/web/update.cmd
POST
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
lat
number
OPTIONALLatitude in decimal degrees
lon
number
OPTIONALLongitude in decimal degrees
alt
number
OPTIONALAltitude in meters
spd
number
OPTIONALSpeed, in kilometers per hour
Web GPS (websocket)
admin
WEBGPS
/gps/web/update.ws
WEBSOCKET UPGRADE
PARAMETERS
user
string
OPTIONALLogin user ID; most websocket client APIs do not support basic-auth, cookies, or other header-based login methods.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
password
string
OPTIONALPassword associated with the user.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
KISMET
string
OPTIONALAn API key or session token key.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
The Web GPS websocket endpoint accepts continual JSON objects updating the GPS location.
lat
number
REQUIREDLatitude in decimal degrees
lon
number
REQUIREDLongitude in decimal degrees
alt
number
OPTIONALAltitude in meters
spd
number
OPTIONALSpeed in kilometers per hour
Meta GPS
A meta-GPS device is very similar to a web GPS device, but has no defiend backend driver.
A meta-GPS device is linked to a remote capture instance, and is defined by using the
metagps=...
source option.
This endpoint allows a GPS tool running alongside remote cap to update the GPS location for packets from the associated remote.
admin
WEBGPS
/gps/meta/{NAME}/update.cmd
POST
PARAMETERS
NAME
string
REQUIREDMeta GPS device name
PARAMETERS
This endpoint takes additional parameters by using a `POST` request and supplying a
JSON document or json
form variable.
You can find more information about API parameters here.
lat
number
OPTIONALLatitude in decimal degrees
lon
number
OPTIONALLongitude in decimal degrees
alt
number
OPTIONALAltitude in meters
spd
number
OPTIONALSpeed, in kilometers per hour
Meta GPS (websocket)
A meta-GPS device is very similar to a web GPS device, but has no defiend backend driver.
A meta-GPS device is linked to a remote capture instance, and is defined by using the
metagps=...
source option.
This endpoint allows a GPS tool running alongside remote cap to update the GPS location for packets from the associated remote.
admin
WEBGPS
/gps/meta/{NAME}/update.ws
WEBSOCKET UPGRADE
PARAMETERS
NAME
string
REQUIREDMeta GPS device name
user
string
OPTIONALLogin user ID; most websocket client APIs do not support basic-auth, cookies, or other header-based login methods.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
password
string
OPTIONALPassword associated with the user.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
KISMET
string
OPTIONALAn API key or session token key.
You must provide either user
and password
GET variables, or an API token or logins ession token via the
KISMET
GET variable.
The meta-GPS websocket endpoint accepts continual JSON objects updating the GPS location.
lat
number
REQUIREDLatitude in decimal degrees
lon
number
REQUIREDLongitude in decimal degrees
alt
number
OPTIONALAltitude in meters
spd
number
OPTIONALSpeed in kilometers per hour