GitLab API

GitlabTool

Actions1000

Overview

This node operation interacts with the GitLab API to retrieve details 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 integration configurations or statuses within GitLab projects, such as fetching integration settings for automation or monitoring purposes.

Use Case Examples

  1. Fetch the configuration details of the Slack integration for a specific GitLab project.
  2. Retrieve the status and settings of the Jira integration for a project to verify its setup.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request, useful for public or unauthenticated endpoints.
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 to use for the API request, defaulting to GET.
Parameter Schema Defines the path parameters required for the API call, including the integration slug and project ID.
Path Parameters Collection of path parameters including the integration slug and project ID required for the API endpoint.

Output

JSON

  • id - The project ID for which the integration details are retrieved.
  • slug - The slug identifier of the integration being queried.
  • integrationDetails - The detailed information about the specified integration for the project, including configuration and status.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and integration slug are correctly specified and exist in the GitLab instance to avoid 404 errors.
  • If authentication is required and skipped, the request may fail with authorization errors; ensure proper authentication unless explicitly skipping it.
  • Verify the base URL is correct for the GitLab instance being accessed to prevent connection errors.

Links

Discussion