GitLab API

GitlabTool

Actions1095

Nuget_packages → getApiV4GroupsIdPackagesNugetV2

AI-generated

Summary

Retrieve NuGet v2 package information from a specified GitLab group using its ID or full path.

Inputs

  • id (required) — The ID or full path of the GitLab group whose NuGet packages you want to fetch.
  • skipAuthentication — Optionally disable authentication for this request (default is false).
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).
  • method — HTTP method to perform on the endpoint (default: GET).

Output shape

a JSON response containing the NuGet v2 package(s) data for the specified group.

The operation always calls the endpoint /api/v4/groups/{id}/-/packages/nuget/v2 using the specified HTTP method (default GET). Authentication is enabled by default and uses the configured GitLab API credentials unless 'Skip Authentication' is set to true.

Examples

Example 1: Fetching NuGet packages for a group with ID 123

Set 'id' parameter to '123' and use the default GET method and authentication to retrieve the NuGet v2 packages from the GitLab group.

Links

Discussion