GitLab API

GitlabTool

Actions1095

Nuget_packages → getApiV4ProjectsProjectIdPackagesNugetV2Findpackagesbyid\(\)

AI-generated

Summary

Fetch NuGet packages by package name (id) for a specified GitLab project via the GitLab API.

Inputs

  • project_id (required) — The ID or URL-encoded path of the target GitLab project.
  • id (required) — The NuGet package name to search for within the project.
  • skipAuthentication — Optionally skip authentication (default is false).
  • baseUrl — Base URL of the GitLab instance (default is https://gitlab.com).
  • method — HTTP method to use for the request; default is GET.

Output shape

The operation returns data from the GitLab API corresponding to NuGet packages matching the specified package id within the given project. Typically, this is a JSON payload containing package details.

The operation constructs a GET request to the endpoint /api/v4/projects/{project_id}/packages/nuget/v2/FindPackagesById() with required path and query parameters. Authentication is required unless explicitly skipped. No pagination is indicated in the provided metadata.

Links

Discussion