GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve information about a specific integration for a given project by its ID and integration slug. It is useful for scenarios where you need to programmatically access details of project integrations such as Slack, Jira, or other supported integrations within GitLab projects.

Use Case Examples

  1. Retrieve the Slack integration details for a specific GitLab project by providing the project ID and the integration slug 'slack'.
  2. Fetch the Jira integration configuration for a project to automate project management workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET.
Parameter Schema Defines the path parameters required for the API request, including the integration slug and project ID. The slug must be one of the predefined integration names such as slack, jira, or github.
Request Body Schema Schema for the request body if applicable, null for this operation.
Request Path The API endpoint path template used for the request, /api/v4/projects/{id}/integrations/{slug}.
Path Parameters Collection of path parameters including 'slug' (integration name) and 'id' (project ID) used to construct the API request URL.

Output

JSON

  • id - The project ID for which the integration information is retrieved.
  • slug - The integration slug identifying the specific integration.
  • integrationDetails - The detailed information about the integration returned by the GitLab API, including configuration and status.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and integration slug are correctly provided and valid; otherwise, the API may return a 404 Not Found error.
  • If authentication is skipped, the API request may fail due to lack of permissions.
  • Verify the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Check that the HTTP method is set to GET for this operation to retrieve integration details.

Links

Discussion