getFailureGroups

@GET(value = "api/failures/groups")
abstract suspend fun getFailureGroups(@Query(value = "failureTypes") failureTypes: List<FailureType>? = arrayListOf(FailureType.build,FailureType.test), @Query(value = "query") query: String, @Query(value = "maxFailureGroups") maxFailureGroups: Int? = 100, @Query(value = "maxBuildIdsPerGroup") maxBuildIdsPerGroup: Int? = 20): FailureGroupsResponse

GET api/failures/groups Get a list of failure groups. <mark>Beta:</mark> Returns the list of failure groups. Responses:

  • 200: A list of failure groups.

  • 400: The request cannot be fulfilled due to a problem.

  • 500: The server encountered an unexpected error.

Return

FailureGroupsResponse

Parameters

failureTypes

Allows restricting the search to failure types. By default all failure types are considered. (optional, default to arrayListOf(FailureType.build,FailureType.test))

query

A query for filtering the builds considered for failure groups, written in the Develocity advanced search query language. The query must contain a restriction on `buildStartTime` to ensure the search is bounded in time. See: https://gradle.com/help/advanced-search

maxFailureGroups

The maximum number of failure groups to return. (optional, default to 100)

maxBuildIdsPerGroup

The maximum number of buildIds to return in a given FailureGroup. (optional, default to 20)