GitLab API icon

GitLab API

Gitlab

Actions880

Overview

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

Use Case Examples

  1. Fetch all Composer packages for a GitLab group by providing the group's ID or path.
  2. Automate monitoring of Composer packages in a GitLab group to trigger downstream workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used 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 URL-encoded path.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab group used to fetch Composer packages
  • packages - List of Composer packages retrieved from the specified GitLab group

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the group ID or path is correctly URL-encoded and valid to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API credentials are correct and have sufficient permissions to access group packages.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.

Links

Discussion