GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the NuGet package index for a specific group in GitLab using the GitLab API v4. It is useful for scenarios where you need to access or manage NuGet packages associated with a GitLab group, such as automating package retrieval or integration in CI/CD pipelines.

Use Case Examples

  1. Fetching the NuGet package index for a group to list available packages.
  2. Automating the retrieval of NuGet package metadata for deployment or analysis.

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.
Path Parameters Parameters to specify the group ID or full group path for which to retrieve the NuGet package index.

Output

JSON

  • id - The group ID or full group path used in the request path parameter.
  • packages - The list of NuGet packages retrieved from the group's package index.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID or full group path is correctly specified in the path parameters to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the group's packages.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct and accessible.

Links

Discussion