GitLab API icon

GitLab API

Gitlab

Actions880

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 additional information stored as custom attributes on GitLab groups. For example, you might use this to fetch a custom attribute that holds a project code or department name associated with a group.

Use Case Examples

  1. Fetch the custom attribute 'projectCode' for a group with ID 123 to use in automation workflows.
  2. Retrieve a custom attribute to verify group-specific settings before performing further actions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use, 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 group ID and the key of the custom attribute 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.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and custom attribute key are correctly specified; otherwise, the API may return a 404 error if the group or attribute does not exist.
  • If authentication is required and skipped, the request will fail with an authentication error; verify the 'Skip Authentication' setting.
  • Check the base URL if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion