getGradleResourceUsage

@GET(value = "api/builds/{id}/gradle-resource-usage")
abstract suspend fun getGradleResourceUsage(@Path(value = "id") id: String, @Query(value = "availabilityWaitTimeoutSecs") availabilityWaitTimeoutSecs: Int? = null): GradleResourceUsage

Get the resource usage of a Gradle build. This model is Gradle specific and cannot be requested for another build tool. Responses:

  • 200: The resource usage of a Gradle build.

  • 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

GradleResourceUsage

Parameters

id

The Build Scan ID.

availabilityWaitTimeoutSecs

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