getGradleProjects

@GET(value = "api/builds/{id}/gradle-projects")
abstract suspend fun getGradleProjects(@Path(value = "id") id: String, @Query(value = "availabilityWaitTimeoutSecs") availabilityWaitTimeoutSecs: Int? = null): List<GradleProject>

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

  • 200: The projects 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

kotlin.collections.List

Parameters

id

The Build Scan ID.

availabilityWaitTimeoutSecs

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