packages_nuget
The NuGet Search Service
This feature was introduced in GitLab 12.8
get/api/v4/projects/{id}/packages/nuget/query
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
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
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.