GitLab API

GitlabTool

Actions1000

Overview

This node operation performs a PUT request to update the Mock CI integration settings for a specific GitLab group identified by its ID. It is useful for automating the configuration of CI integrations within GitLab groups, enabling users to programmatically manage CI settings without manual intervention in the GitLab UI.

Use Case Examples

  1. Updating the Mock CI integration for a GitLab group to enable or modify CI pipeline triggers.
  2. Automating the setup of CI integrations across multiple GitLab groups in an organization.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters The path parameters for the request, specifically the group ID to identify which group's Mock CI integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Mock CI integration.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and the authenticated user has permission to update integrations for that group.
  • Verify that the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail with an authentication error.

Links

Discussion