GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves custom attributes for a specific GitLab group by making an API call to the GitLab REST API endpoint `/api/v4/groups/{id}/custom_attributes`. It is useful for scenarios where you need to access or manage metadata associated with GitLab groups, such as fetching custom fields defined for a group.

Use Case Examples

  1. Fetch custom attributes of a GitLab group to display or process group metadata in an automation workflow.
  2. Use the retrieved custom attributes to synchronize group metadata with another system or database.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request, useful for public or unauthenticated endpoints.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters to be included in the API request path, specifically the group ID to identify which group's custom attributes to retrieve.

Output

JSON

  • custom_attributes - Array of custom attribute objects associated with the specified GitLab group.

Dependencies

  • GitLab API authentication credentials

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and the group exists in the GitLab instance.
  • Verify that the API credentials have sufficient permissions to access group custom attributes.
  • If skipping authentication, confirm that the endpoint supports unauthenticated access, otherwise the request will fail with an authentication error.

Links

Discussion