GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves metadata for a specific NuGet package version within a GitLab group. It is useful for developers or DevOps engineers who need to access detailed information about NuGet packages hosted in GitLab groups, such as package version details, for automation or integration purposes.

Use Case Examples

  1. Fetching metadata for a NuGet package version '1.0.0' named 'MyNuGetPkg' in a GitLab group with ID '12345'.
  2. Automating the retrieval of NuGet package metadata to verify package versions before deployment.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, default is GET.
Query Parameters Parameters sent in the query string to specify the NuGet package name and version.
Path Parameters Parameters sent in the URL path to specify the GitLab group.

Output

JSON

  • id - The unique identifier of the NuGet package metadata.
  • name - The name of the NuGet package.
  • version - The version of the NuGet package.
  • metadata - Detailed metadata information about the NuGet package version.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID or full group path is correct to avoid 404 errors.
  • Verify that the package name and version are correctly specified and exist in the GitLab group.
  • Check that the authentication token has sufficient permissions to access the group's package metadata.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to package metadata.

Links

Discussion