GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves custom attributes for a specific project in GitLab using the GitLab API v4. It is useful for scenarios where you need to access or manage project-specific metadata stored as custom attributes, such as in project management or automation workflows.

Use Case Examples

  1. Fetching custom attributes of a project to display or process them in an automation pipeline.
  2. Integrating GitLab project metadata into a reporting or monitoring system.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
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 be included in the request path, specifically the project ID for this operation.

Output

JSON

  • customAttributes - The list of custom attributes retrieved for the specified project

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID is correctly provided in the path parameters; missing or incorrect ID will cause request failure.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project custom attributes.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to the requested resource.

Links

Discussion