GitLab API

GitlabTool

Actions1000

Overview

This node operation interacts with the GitLab API to retrieve NuGet packages for a specific group identified by its ID or full group path. It is useful for automating the retrieval of package information from GitLab groups, which can be beneficial in CI/CD pipelines, package management, or auditing package usage within groups.

Use Case Examples

  1. Retrieve all NuGet packages for a GitLab group by specifying the group ID or path.
  2. Automate package data collection for reporting or integration with other tools.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication to use for the API request, hidden unless Skip Authentication is false.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to be included in the request path, specifically the group ID or full group path to identify the group whose NuGet packages are being retrieved.

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 specified GitLab group.

Dependencies

  • GitLab API authentication token or credentials

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 credentials are valid and have 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