GitLab API icon

GitLab API

Gitlab

Actions880

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, such as enabling or modifying mock CI settings programmatically.

Use Case Examples

  1. Updating the Mock CI integration for a GitLab group to enable or change its configuration without manual intervention in the GitLab UI.
  2. Automating group integration settings as part of a CI/CD pipeline setup.

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 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 group ID to identify which group's integration to update.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correct and have sufficient permissions to update group integrations.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include 401 Unauthorized (authentication issues), 404 Not Found (invalid group ID or integration endpoint), and 400 Bad Request (invalid request body or parameters).

Discussion