GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates the email integration settings for pipeline notifications in a specific GitLab project. It is useful for automating the configuration of pipeline email notifications within GitLab projects, such as setting or modifying the email address that receives pipeline status updates.

Use Case Examples

  1. Automatically update the pipeline email integration for a project when a new project is created.
  2. Modify the email notification settings for pipeline integrations as part of a CI/CD workflow automation.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the request, default is GET but PUT is used for this operation.
Path Parameters Parameters included in the request path, specifically the project ID for this operation.

Output

JSON

  • response - The JSON response from the GitLab API after updating the pipeline email integration.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and exists in GitLab.
  • Verify that the API key used for authentication has sufficient permissions to update project integrations.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 401 Unauthorized (authentication issues), 404 Not Found (invalid project ID or integration endpoint), and 400 Bad Request (invalid request body). Resolving these involves verifying credentials, project ID, and request payload format.

Links

Discussion