GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve metadata about NuGet packages for a specific group. It is useful for automating the retrieval of package metadata in CI/CD pipelines or for managing package repositories within GitLab groups. For example, it can be used to fetch NuGet package metadata to verify package versions or to integrate package information into other systems.

Use Case Examples

  1. Fetch NuGet package metadata for a group to automate package version checks.
  2. Integrate GitLab NuGet package metadata retrieval into a CI/CD pipeline for deployment automation.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making 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 to which the API request is sent.
Method The HTTP method used for the API request, default is GET.
Path Parameters Parameters to be included in the API request path, specifically the group ID or full group path to identify the target group for the NuGet packages.

Output

JSON

  • metadata - The metadata information of NuGet packages retrieved from the GitLab group.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID or full group path is correctly specified in the path parameters to avoid 404 errors.
  • Verify that the authentication token or API key has sufficient permissions to access the group's package metadata.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to the requested resource.

Links

Discussion