packages_nuget

The NuGet Search Service

This feature was introduced in GitLab 12.8

get/api/v4/groups/{id}/-/packages/nuget/query

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idinteger required

The group ID or full group path.

Query parameters

qstring

The search term

skipinteger

The number of results to skip

takeinteger

The number of results to return

prereleaseboolean

Include prerelease versions

Response

The NuGet Search Service

totalHitsinteger required

Example response

{
  "totalHits": 1,
  "data": [
    {
      "@type": "Package",
      "id": "MyNuGetPkg",
      "title": "MyNuGetPkg",
      "totalDownloads": 1,
      "version": "1.3.0.17",
      "versions": {
        "@id": "https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json",
        "version": "1.3.0.17",
        "downloads": 1
      },
      "tags": "tag#1 tag#2",
      "authors": "Authors",
      "description": "Description",
      "summary": "Description",
      "projectUrl": "http://sandbox.com/project",
      "licenseUrl": "http://sandbox.com/license",
      "iconUrl": "http://sandbox.com/icon"
    }
  ]
}

Changes

No recorded changes to this operation across all 5 revisions of this API.