GitLab API

GitlabTool

Actions1000

Overview

This node operation updates the mock monitoring integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/mock-monitoring`. It is useful for automating the configuration of monitoring integrations within GitLab groups, such as enabling or modifying mock monitoring features programmatically.

Use Case Examples

  1. Automatically update mock monitoring settings for a GitLab group as part of a CI/CD pipeline.
  2. Manage group integrations in bulk by updating mock monitoring configurations across multiple groups.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, defaulting to PUT for this operation.
Path Parameters Parameters 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 monitoring integration.

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 base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion