info
Retrieve a history of how many samples were scanned
Changed onRetrieve a history of how many samples were scanned.
get/sampleHistory
Request
- Base URLhttp://localhost:8080/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
aggregateinteger
Aggregate this many minutes per value (default 1).
limitinteger
Give a history for the last this many minutes (default infinite).
Response
Returns a JSON Map with each time mapped to the samples scanned from the last time mentioned to that time
Timestamp Map required
Map of timestamps to integer values
Example response
{
"2026-01-21 06:45": 0,
"2026-01-21 07:00": 9165,
"2026-01-21 07:15": 49023,
"2026-01-21 07:30": 61685,
"2026-01-21 07:45": 54932
}Changes
- warning
for the
queryrequest parameteraggregate, the min was set to0.00 - warning
for the
queryrequest parameterlimit, the min was set to0.00
- warning