Users Manual
(continued from previous page)
},
{
"component": "string",
"level": "string",
"message": "string",
"timestamp": 0
}
],
"name": "string",
"size": 0
}
Log objects are used in the following requests:
• GET /logs/{log}
LogEntry: Representation of a single log entry in a log file.
An object of type LogEntry has the following properties:
• component (string) - component name that created this entry
• level (string) - log level (one of DEBUG, INFO, WARN, ERROR, FATAL)
• message (string) - actual log message
• timestamp (float) - Unix time of log entry
Template object
{
"component": "string",
"level": "string",
"message": "string",
"timestamp": 0
}
LogEntry objects are nested in Log.
LogInfo: Information about a specific log file.
An object of type LogInfo has the following properties:
• date (float) - UNIX time when log was last modified
• name (string) - name of log file
• size (integer) - size of log file in bytes
Template object
{
"date": 0,
"name": "string",
"size": 0
}
LogInfo objects are used in the following requests:
• GET /logs
NodeInfo: Description of a computational node running on sensor.
An object of type NodeInfo has the following properties:
• name (string) - name of the node
• parameters (array of string) - list of the node’s run-time parameters
8.2. REST-API interface 152