GitLab API icon

GitLab API

Gitlab

Actions917

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 programmatically access package details stored in GitLab's package registry, such as version information or package metadata, to automate package management or integration workflows.

Use Case Examples

  1. Fetch metadata for a NuGet package named 'MyNuGetPkg' version '1.0.0' in a specific GitLab group identified by its ID or full path.
  2. Use this operation to verify package details before deployment or integration in CI/CD pipelines.

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 HTTP method to use for the request, default is GET.
Query Parameters Parameters to specify the NuGet package name and version to retrieve metadata for.
Path Parameters Parameters to specify the GitLab group ID or full group path.

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 - Additional metadata details about the NuGet package version.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID or full group path is correct and accessible with the provided authentication.
  • Verify that the package name and version exist in the specified group.
  • Check network connectivity and GitLab instance availability.
  • Authentication errors may occur if the API key is invalid or lacks necessary permissions.

Links

Discussion