GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves Composer package information from a specific GitLab group using the GitLab API. It is useful for developers or DevOps engineers who need to fetch details about Composer packages hosted within a GitLab group, such as package metadata or version information. For example, it can be used to automate dependency management or to integrate package data into CI/CD pipelines.

Use Case Examples

  1. Fetch Composer package details for a group to verify package versions before deployment.
  2. Automate retrieval of package metadata for auditing or reporting purposes.

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 Collection of query parameters for the request, specifically the Composer package name to retrieve.
Path Parameters Collection of path parameters for the request, specifically the group ID or URL-encoded path.

Output

JSON

  • id - The ID of the Composer package.
  • name - The name of the Composer package.
  • version - The version of the Composer package.
  • description - Description of the Composer package.
  • repository - Repository URL of the Composer package.
  • authors - Authors or maintainers of the Composer package.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and package name are correctly URL-encoded to avoid 404 errors.
  • Verify that the GitLab API key has sufficient permissions to access group packages.
  • Check the base URL if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion