GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves metadata for a specific NuGet package within a GitLab group using the GitLab API. It is useful for developers or DevOps engineers who need to access package details programmatically, such as version information or package metadata, directly from a GitLab group repository.

Use Case Examples

  1. Fetching metadata for a NuGet package named 'MyNuGetPkg' in a group identified by its ID or full path to automate package management or integration workflows.
  2. Using the node to verify package details before deployment or continuous integration processes.

Properties

Name Meaning
Skip Authentication Determines whether to bypass 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, specifically the NuGet package name to retrieve metadata for.
Path Parameters Parameters included in the URL path, specifically the group ID or full group path to identify the GitLab group.

Output

JSON

  • metadata - The metadata information of the specified NuGet package retrieved from the GitLab API.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID or full group path is correct and accessible with the provided authentication.
  • Verify the NuGet package name is accurate and exists within the specified group.
  • Check that the base URL is correct if using a self-hosted GitLab instance.
  • Authentication errors may occur if the API key is missing, expired, or lacks necessary permissions.

Links

Discussion