GitLab API

GitlabTool

Actions1095

Nuget_packages → getApiV4ProjectsIdPackagesNugetQuery

AI-generated

Summary

Query NuGet packages for a specific GitLab project using GET or other HTTP methods with customizable query parameters to filter and paginate results.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to query NuGet packages from.
  • method (required) — HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH). Defaults to GET.
  • q — Search term to filter NuGet packages by name.
  • skip — Number of results to skip for pagination. Defaults to 0.
  • take — Number of results to return. Defaults to 20.
  • prerelease — Boolean flag to include prerelease versions in results. Defaults to true.
  • skipAuthentication — Boolean to skip authentication if true; otherwise uses GitLab API credentials.
  • baseUrl — Base URL of the GitLab instance. Default is https://gitlab.com.

Output shape

a JSON list of NuGet packages matching the query parameters for the specified project

Supports pagination via 'skip' and 'take' query parameters; search filtering via 'q'; inclusion of prerelease packages controlled by 'prerelease'; uses the GitLab API version 4 endpoint /api/v4/projects/{id}/packages/nuget/query with path parameter 'id' and query parameters as specified. Authentication is used by default unless skipped. Returned data shape depends on GitLab API response for NuGet package queries.

Links

Discussion