getNpmNetworkActivity

@GET(value = "api/builds/{id}/npm-network-activity")
abstract suspend fun getNpmNetworkActivity(@Path(value = "id") id: String, @Query(value = "availabilityWaitTimeoutSecs") availabilityWaitTimeoutSecs: Int? = null): NpmNetworkActivity

GET api/builds/{id}/npm-network-activity Get the network activity of an npm build. This model is npm specific and cannot be requested for another build tool. This model is only available starting with the Develocity npm agent version 3.0.0. Responses:

  • 200: The network activity of an npm 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

NpmNetworkActivity

Parameters

id

The Build Scan ID.

availabilityWaitTimeoutSecs

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