GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific resource group from a GitLab project using the GitLab API v4. It is useful for users who want to access detailed information about a particular resource group within a project they own or have access to. For example, a DevOps engineer might use this node to fetch resource group details to monitor or manage project resources programmatically.

Use Case Examples

  1. Fetch resource group details by providing the project ID and resource group key to automate resource management workflows.
  2. Integrate with CI/CD pipelines to dynamically retrieve resource group information for deployment processes.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request, useful for public or unauthenticated endpoints.
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 HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID and resource group key for the API request.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • key - The key of the resource group.
  • name - The name of the resource group.
  • description - Description of the resource group.
  • created_at - Timestamp when the resource group was created.
  • updated_at - Timestamp when the resource group was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and resource group key are correctly specified and URL-encoded if necessary.
  • Verify that the GitLab API key has sufficient permissions to access the project and resource group.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the project or resource group does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion