GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve metadata for a specific NuGet package within a GitLab group. It is useful for automating the retrieval of package information in CI/CD pipelines or DevOps workflows where package metadata is needed for validation, reporting, or further processing.

Use Case Examples

  1. Retrieve metadata for a NuGet package named 'MyNuGetPkg' in a specific GitLab group identified by its ID or full path.
  2. Automate the monitoring of NuGet package versions and metadata within GitLab groups.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters.package_name The name of the NuGet package to retrieve metadata for.
Path Parameters.id The group ID or full group path in GitLab where the NuGet package is located.

Output

JSON

  • id - The group ID or full group path used in the request path.
  • package_name - The NuGet package name queried in the request.
  • metadata - The metadata information returned for the specified NuGet package.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

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

Links

Discussion