The NuGet Search Service
GET
/api/v4/groups/{id}/-/packages/nuget/query
This feature was introduced in GitLab 12.8
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”q
string
The search term
Example
MyNuGetskip
integer
The number of results to skip
Example
1take
integer
The number of results to return
Example
1prerelease
boolean
Include prerelease versions
Responses
Section titled “Responses”OK
Media typeapplication/json
object
totalHits
integer
data
Array<object>
object
@type
string
id
string
title
string
totalDownloads
integer
verified
boolean
version
string
versions
object
@id
string
version
string
downloads
integer
tags
string
authors
string
description
string
summary
string
projectUrl
string
licenseUrl
string
iconUrl
string
Example
{ "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" } ]}Bad Request
Unauthorized
Forbidden
Not Found