GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific custom attribute of a GitLab group by its key. It is useful for scenarios where you need to access metadata or custom data associated with a particular group in GitLab, such as fetching configuration details or custom tags assigned to the group.

Use Case Examples

  1. Fetch the custom attribute 'department' for a group with ID 123 to integrate group metadata into an internal dashboard.
  2. Retrieve a custom attribute key to verify group-specific settings before performing automated deployment tasks.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API calls.
Authentication Type of authentication used for the API call, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to which the API request is sent, default is https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters used in the API request path to specify the group ID and the custom attribute key to retrieve.

Output

JSON

  • id - The ID of the GitLab group.
  • key - The key of the custom attribute.
  • value - The value of the custom attribute associated with the group.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and custom attribute key are correctly specified; incorrect values will result in API errors.
  • If authentication is required and skipped, the request will fail with an authentication error.
  • Verify the base URL is correct for your GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion