GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the 'Emails on Push' integration settings for a specific project in GitLab. It is useful for automating the configuration of email notifications triggered by push events in GitLab projects. For example, a user can programmatically enable or modify email notifications for project pushes without manually adjusting settings in the GitLab UI.

Use Case Examples

  1. Automatically update email notification settings for a GitLab project when a new project is created.
  2. Integrate with CI/CD pipelines to ensure email notifications are configured consistently across multiple projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use for the API request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters included in the API request path, specifically the project ID to identify which project's integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Emails on Push integration settings.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and the user has permission to update the project's integrations.
  • Verify that the authentication credentials are correctly configured unless Skip Authentication is enabled.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion