NuGet · Schema

AutocompleteResponse

The response from a package ID autocomplete query.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

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

JSON Schema

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