GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves NuGet packages for a specific group from the GitLab API (version 4). It is useful for automating the management and retrieval of NuGet packages within GitLab groups, such as fetching package details for CI/CD pipelines or package auditing.

Use Case Examples

  1. Fetch all NuGet packages for a given GitLab group by specifying the group ID or full group path.
  2. Integrate with GitLab to automate package retrieval in a DevOps workflow.

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 the API endpoint.

Output

JSON

  • response - The JSON response containing the NuGet packages data for the specified GitLab group.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

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.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.

Links

Discussion