ComparisonApi

Functions

Link copied to clipboard
@GET(value = "api/comparison/inputs")
abstract suspend fun getComparisonInputs(@Query(value = "buildIdA") buildIdA: String, @Query(value = "buildIdB") buildIdB: String, @Query(value = "workUnitPath") workUnitPath: List<String>? = null, @Query(value = "cacheability") cacheability: String? = null, @Query(value = "className") className: String? = null, @Query(value = "offset") offset: Int? = 0, @Query(value = "limit") limit: Int? = 20): ComparisonInputsResponse

GET api/comparison/inputs Get work unit input differences between two builds. <mark>Beta:</mark> Returns work unit input comparison data with full detail for each work unit. Each work unit includes identity, difference types, build metadata, and all change details (value input changes, file input changes with recursive file tree, output changes, and action changes). Optional filters narrow which work units are returned: - `workUnitPath`: filter by specific work unit path(s). For Gradle, this is the task path (e.g. `:app:compileJava`). For Maven, this is the full goal execution coordinates (e.g. `groupId:artifactId:goalName:executionId`). - `cacheability`: filter by cacheability status (e.g. `CACHEABLE`). - `className`: filter by work unit implementation class name (e.g. `org.gradle.api.tasks.compile.JavaCompile`). Responses:

Link copied to clipboard
@GET(value = "api/comparison/summary")
abstract suspend fun getComparisonSummary(@Query(value = "buildIdA") buildIdA: String, @Query(value = "buildIdB") buildIdB: String): ComparisonSummary

GET api/comparison/summary Get a summary of differences between two builds. <mark>Beta:</mark> Returns a summary of which comparison dimensions have differences between two builds. Both builds must use the same build tool (both Gradle or both Maven). Responses: