Test statistics
GET
/v1/data/tests/statistics
Returns a list of overall test statistics by build for a given module.
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"
org*
Organisation name
Typestring
Requiredproject*
Project name
Typestring
Requiredmodule*
Module name
Typestring
RequiredResponses
OK
application/json
JSON
{
"tests": [
{
"timestamp": 1733220930000,
"build": "example-build-id",
"ref": "refs/heads/main",
"successfulCount": 123,
"successfulDuration": 2355,
"failedCount": 1,
"failedDuration": 345,
"skippedCount": 0,
"skippedDuration": 0,
"totalCount": 124,
"totalDuration": 2700
}
]
}