GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve the services (integrations) configured for a specific project identified by its ID. It is useful for users who want to programmatically access the integration settings of their GitLab projects, for example, to audit or manage project services.

Use Case Examples

  1. Retrieve all services configured for a GitLab project with a given project ID to check which integrations are active.
  2. Automate the process of fetching project integration details for reporting or synchronization with other tools.

Properties

Name Meaning
Skip Authentication Option to bypass authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
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, defaulting to GET.
Path Parameters Parameters included in the API request path, specifically the project ID to identify which project's services to retrieve.

Output

JSON

  • services - List of services (integrations) configured for the specified GitLab project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user’s permissions.
  • If authentication is skipped, the API request may fail due to lack of authorization.
  • Verify the baseUrl is correct and points to the intended GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages include 401 Unauthorized (authentication issues), 404 Not Found (invalid project ID), and 403 Forbidden (insufficient permissions). Resolving these involves checking credentials, project ID, and user permissions.

Links

Discussion