GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows updating the GitHub service integration settings for a specific project in GitLab via the GitLab API. It is useful for automating the configuration of GitHub service hooks or settings within GitLab projects, such as enabling or modifying GitHub integration features programmatically.

Use Case Examples

  1. Automatically update GitHub service settings for a project when a new project is created.
  2. Modify GitHub integration parameters for multiple projects in bulk via workflow automation.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to be 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 GitHub service integration for the specified project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the GitLab API key credential has sufficient permissions to update project service integrations.
  • Check the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab server.
  • Common errors include authentication failures, invalid project ID, or insufficient permissions, which can be resolved by verifying credentials and access rights.

Links

Discussion