getMavenResourceUsage

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

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

  • 200: The resource usage of a Maven 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

MavenResourceUsage

Parameters

id

The Build Scan ID.

availabilityWaitTimeoutSecs

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