GitLab API icon

GitLab API

Gitlab

Actions880

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 fetching additional project details for automation or reporting purposes.

Use Case Examples

  1. Fetch custom attributes of a project by providing the project ID to integrate project metadata into a workflow.
  2. Use the operation to automate the retrieval of project custom attributes for monitoring or auditing project configurations.

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 be included in the request path, specifically the project ID to identify the project whose custom attributes are being retrieved.

Output

JSON

  • customAttributes - List of custom attributes for the specified project

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key credential is correctly configured and has sufficient permissions to access project custom attributes.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct and accessible.

Links

Discussion