GitLab API

GitlabTool

Actions1095

Nuget_packages → getApiV4ProjectsIdPackagesNugetV2

AI-generated

Summary

Retrieve NuGet package data from a specific GitLab project using the GitLab API v4 endpoint for NuGet packages.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project from which to fetch NuGet package information.
  • Skip Authentication — Toggle to skip using authentication for the API call; defaults to false (authentication used).
  • Method — The HTTP method to use for the request; defaults to GET.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

a JSON response containing NuGet package data associated with the specified project ID from the GitLab API v4 endpoint

The returned data shape depends on GitLab's API v4 response format for the NuGet packages endpoint. Authentication is applied unless 'Skip Authentication' is true. The operation performs an HTTP GET request by default to the path '/api/v4/projects/{id}/packages/nuget/v2'.

Examples

Example 1: Fetch NuGet packages for a project with ID '12345' on GitLab.com using authenticated API access.

Set 'Id' to '12345', leave 'Skip Authentication' false, and use default 'GET' method and baseUrl.

Links

Discussion