NuGet · Schema

SearchResponse

The response from a package search query.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
totalHits integer The total number of matches, disregarding skip and take.
data array The search results matched by the request, grouped by package ID.
View JSON Schema on GitHub

JSON Schema

nuget-searchresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchResponse",
  "title": "SearchResponse",
  "type": "object",
  "description": "The response from a package search query.",
  "required": [
    "totalHits",
    "data"
  ],
  "properties": {
    "totalHits": {
      "type": "integer",
      "description": "The total number of matches, disregarding skip and take."
    },
    "data": {
      "type": "array",
      "description": "The search results matched by the request, grouped by package ID.",
      "items": {
        "$ref": "#/components/schemas/SearchResult"
      }
    }
  }
}