v1
latestOpenAPI 3.0.32026-07-171140286.6 KBApi\MeasurementController
api/sensors/flashlog POST data from BEEP base fw 1.5.0+ FLASH log (with timestamp), interpret data and store in InlfuxDB (overwriting existing data). BEEP base BLE cmd: when the response is 200 OK and erase_mx_flash > -1, provide the ERASE_MX_FLASH BLE command (0x21) to the BEEP base with the last byte being the HEX value of the erase_mx_flash value (0 = 0x00, 1 = 0x01, i.e.0x2100, or 0x2101, i.e. erase_type:"fatfs", or erase_type:"full")
post/api/sensors/flashlog
Query parameters
showinteger
1 for displaying info in result JSON, 0 for not displaying (default).
Example:3
1 for displaying info in result JSON, 0 for not displaying (default).
saveinteger
1 for saving the data to a file (default), 0 for not save log file.
Example:1
1 for saving the data to a file (default), 0 for not save log file.
fillinteger
1 for filling data gaps in the database, 0 for not filling gaps (default).
Example:17
1 for filling data gaps in the database, 0 for not filling gaps (default).
log_size_bytesinteger
0x22 decimal result of log size requested from BEEP base.
Example:19
0x22 decimal result of log size requested from BEEP base.
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"id": 6,
"hardware_id": "exercitationem",
"key": "et",
"data": "fugit",
"file": "qui",
"save": true,
"log_size_bytes": 8
}