NuGet Package Content API
The NuGet Package Content API, accessed through the PackageBaseAddress resource, allows clients to download package content files (.nupkg) and package manifests (.nuspec) from a NuGet feed. It uses a flat container structure where packages are organized by lowercase package ID and version, providing direct access to the binary package files.
NuGet Package Content API is one of 7 APIs that NuGet publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Package Management, .NET, Package Download, Content, and NuPkg. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 3 operations across 3 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 3.0.0.
Requests are made against a single base URL, https://api.nuget.org/v3/catalog0.
Metadata
The identity and technical contract details declared by the specification.
Paths & Operations 3
Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.
Endpoints for enumerating package versions and downloading package content files (.nupkg) and manifests (.nuspec).
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is VersionIndex (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from NuGet 6
Other APIs NuGet publishes across the network.