GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves details of a specific integration service for a given project in GitLab using the GitLab API v4. It is useful for scenarios where you need to fetch configuration or status information about a particular integration (such as Slack, Jira, or Jenkins) associated with a GitLab project. For example, you might use this to check if a Slack integration is enabled for a project or to get details about a Jira integration setup.

Use Case Examples

  1. Fetch the Slack integration details for a project with ID 12345.
  2. Retrieve the Jenkins service configuration for a project to verify its setup.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication Type of authentication used for the API request, 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 API request, default is GET.
Slug The name of the integration service to retrieve, e.g., slack, jira, or jenkins.
Id The ID of the GitLab project for which the integration service details are requested.

Output

JSON

  • id - The project ID for which the integration service details are retrieved.
  • slug - The slug name of the integration service.
  • service_details - Details and configuration of the requested integration service.

Dependencies

  • GitLab API key credential or equivalent authentication token

Troubleshooting

  • Ensure the project ID and slug are correctly specified and exist in the GitLab instance.
  • Authentication errors may occur if the API key is missing, invalid, or lacks necessary permissions; verify credentials.
  • HTTP method should be GET for this operation; using other methods may cause errors.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion