Tests (aggregated)
GET
/v1/data/tests/aggregated
Returns a list of all test for a given module aggregated by interval.
Authorizations
Buildnote-Api-Key
TypeAPI Key (header: Buildnote-Api-Key)
Parameters
Query Parameters
fromTs
Unix timestamp (in milliseconds) defining beginning of time range.
Typeinteger
Format
"int64"toTs
Unix timestamp (in milliseconds) defining end of time range.
Typeinteger
Format
"int64"interval
Interval of aggregation bucket (in milliseconds).
Typeinteger
Format
"int64"org*
Organisation name
Typestring
Requiredproject*
Project name
Typestring
Requiredmodule*
Module name
Typestring
Requiredstatus
Filter for event status
Typearray
Responses
OK
application/json
JSON
{
"tests": [
{
"timestamp": 1733220930000,
"name": "Some test name",
"testId": "example-statistic-id",
"successfulCount": 0,
"failedCount": 0,
"skippedCount": 0,
"cancelledCount": 0,
"runningCount": 0,
"unknownCount": 0,
"totalCount": 0,
"durationMin": 0,
"durationMax": 0,
"durationAvg": 0,
"durationP25": 0,
"durationP50": 0,
"durationP75": 0,
"durationP95": 0,
"durationP99": 0
}
]
}