Messages
Kismet uses an internal messagebus system (an extension of the event bus) for communicating messages from various components to the UI.
The messagebus is used to pass error, status, and debug messages, as well as notifications to the user about detected devices, alerts, etc.
For real-time messges, see the eventbus. The Kismet UI uses a combination of the messages API to load previous content, and the eventbus to received pushed future messages immediately.
All messages
DESC
Fetch the past 50 messages from the messagebus backlog.
ROLES
readonlyURI
/messagebus/all_messages.json/messagebus/all_messages.ekjson/messagebus/all_messages.prettyjsonMETHODS
GETRecent messages
DESC
Return all messages since
TIMESTAMP.ROLES
readonlyURI
/messagebus/last-time/{TIMESTAMP}/messages.json/messagebus/last-time/{TIMESTAMP}/messages.ekjson/messagebus/last-time/{TIMESTAMP}/messages.prettyjsonMETHODS
GETURI
PARAMETERS
PARAMETERS
TIMESTAMP
number
REQUIREDTimestamps can be absolute (UNIX epochal) timestamps, or they can be relative negativ numbers, indiciating "number of seconds before now".
You can read more about timestamp handling and how to use it here.
RETURN
JSON list of messages since
TIMESTAMP.