GitLab API icon

GitLab API

Gitlab

Actions1062

Nuget_packages → getApiV4ProjectsIdPackagesNugetMetadata*packageNameIndex

AI-generated

Summary

Retrieve metadata for a NuGet package in a specific GitLab project using a GET request.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project to query.
  • Package_name (required) — The NuGet package name whose metadata you want to retrieve.
  • Skip Authentication — Optionally skip authentication when making the API request (default is false).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a JSON object containing the NuGet package metadata as returned by the GitLab API endpoint.

The operation performs a GET request to /api/v4/projects/{id}/packages/nuget/metadata/*package_name/index, where {id} and *package_name are replaced with the respective path and query parameters. Authentication is used by default unless skipped. No pagination applies as this returns metadata for a single package.

Examples

Example 1: Retrieve metadata for the NuGet package 'MyNuGetPkg' in project with ID '12345'.

Set 'Id' to '12345', 'Package_name' to 'MyNuGetPkg', and use default baseUrl and authentication settings.

Links

Discussion