Builds
Develocity

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.

get/api/builds/{id}/npm-network-activity

Request

Response

The network activity of an npm build.

networkRequestCountinteger required

This represents the total count of network requests made during dependency resolution.

serialNetworkRequestTimeinteger required

The duration in milliseconds representing the sum of times for potentially parallel network requests. It does not reflect wall clock time but offers a rough estimation of network activity.

wallClockNetworkRequestTimeinteger required

The estimate in milliseconds representing the wall clock time spent on network requests during the current build.

fileDownloadSizeinteger required

The total number of bytes downloaded for dependencies. It accounts only for the bytes of the files (e.g. TGZs, pakuments) downloaded and not the total network transfer.

fileDownloadCountinteger required

The total number of successfully downloaded files.

methodsobject

A breakdown of the network activity by HTTP method, when available.

registriesobject

A breakdown of the network activity by registry URL. This is empty when no registries were captured.

registryMethodsobject

A breakdown of the network activity by HTTP method and registry, when available.

Changes

No recorded changes to this operation across all 1 revision of this API.