GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve Composer package information for a specific group by its ID or URL-encoded path and a Composer package name. It is useful for developers or DevOps engineers who need to programmatically access package details within a GitLab group, such as fetching metadata or verifying package existence.

Use Case Examples

  1. Fetch Composer package details for a group in GitLab to automate dependency management.
  2. Integrate GitLab package data retrieval into CI/CD pipelines to validate package versions.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Query parameters for the request, specifically the Composer package name to fetch.
Path Parameters Path parameters for the request, specifically the group ID or URL-encoded path.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab group.
  • package_name - The Composer package name requested.
  • package_details - Details of the Composer package retrieved from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID or URL-encoded path is correct and accessible.
  • Verify the Composer package name is accurate and exists in the specified group.
  • Check that the GitLab API key credential is valid and has sufficient permissions.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the package data.

Links

Discussion