GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves integration details for a specific project in GitLab using the GitLab API. It is useful for scenarios where you need to fetch information about integrations configured on a GitLab project, such as CI/CD integrations, webhooks, or other connected services. For example, a user might use this node to programmatically check which integrations are active on a project before performing further automation or reporting.

Use Case Examples

  1. Fetch integration details for a GitLab project by providing the project ID.
  2. Use the node to automate monitoring of project integrations in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to be included in the request path, specifically the project ID under the 'id' parameter.

Output

JSON

  • id - The project ID used in the request path parameter.
  • integrations - The integration details retrieved from the GitLab API for the specified project.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID ('id' path parameter) is provided and valid; missing or incorrect IDs will cause request failures.
  • If authentication is enabled, verify that the GitLab API credentials are correctly configured and have sufficient permissions to access project integrations.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct and accessible.
  • Common error messages may include 401 Unauthorized (authentication issues), 404 Not Found (invalid project ID or integrations not found), and 500 Internal Server Error (server issues).

Links

Discussion