GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Telegram service integration for a specific GitLab project by sending a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/services/telegram`. It is useful for managing Telegram notifications or settings within a GitLab project.

Use Case Examples

  1. Updating Telegram integration settings for a GitLab project with project ID 12345.
  2. Automating the configuration of Telegram service in multiple GitLab projects via n8n workflows.

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 key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but for this operation it is PUT.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

  • id - The ID of the GitLab project for which the Telegram service integration is updated.
  • service_status - The status or response from the Telegram service update operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the GitLab API key credential has sufficient permissions to update project service integrations.
  • Check the base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages include authentication failures, invalid project ID, or insufficient permissions. Resolving these typically involves verifying credentials, project existence, and user permissions.

Links

Discussion