GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves details of a specific resource group within a GitLab project using the GitLab API v4. It is useful for scenarios where you need to access or manage resource groups associated with a project, such as fetching configuration or usage information for automation or reporting purposes.

Use Case Examples

  1. Fetch resource group details for a project to monitor resource allocation.
  2. Retrieve specific resource group information to integrate with CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Select the authentication method, defaulting to GitLab API key authentication.
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 specify the project ID or URL-encoded path and the resource group key to identify the resource group to retrieve.

Output

JSON

  • id - The ID or URL-encoded path of the project
  • key - The key of the resource group
  • resourceGroupDetails - Details of the resource group retrieved from the GitLab API

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and resource group key are correctly specified to avoid 404 Not Found errors.
  • If authentication is required, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct.

Links

Discussion