getNpmAttributes

@GET(value = "api/builds/{id}/npm-attributes")
abstract suspend fun getNpmAttributes(@Path(value = "id") id: String, @Query(value = "availabilityWaitTimeoutSecs") availabilityWaitTimeoutSecs: Int? = null): NpmAttributes

Get the attributes of an npm build. This model is npm specific and cannot be requested for another build tool. Responses:

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

NpmAttributes

Parameters

id

The Build Scan ID.

availabilityWaitTimeoutSecs

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