getBuild

@GET(value = "api/builds/{id}")
abstract suspend fun getBuild(@Path(value = "id") id: String, @Query(value = "models") models: List<BuildModelName>? = null, @Query(value = "availabilityWaitTimeoutSecs") availabilityWaitTimeoutSecs: Int? = null): Build

Get the common attributes of a Build Scan. The contained attributes are build tool agnostic. Responses:

  • 200: The common attributes of a Build Scan.

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

  • 404: The referenced resource either does not exist or the permissions to know about it are missing.

  • 500: The server encountered an unexpected error.

  • 503: The server is not ready to handle the request.

Return

Build

Parameters

id

The Build Scan ID.

models

The list of build models to return in the response for each build. If not provided, no models are returned. (optional)

availabilityWaitTimeoutSecs

The time in seconds the server should wait for ingestion before returning a wait timeout response. (optional)