GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the TeamCity integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/teamcity`. It is useful for automating the configuration of TeamCity CI/CD integration within GitLab groups, enabling seamless continuous integration workflows.

Use Case Examples

  1. Updating TeamCity integration settings for a GitLab group to enable or modify CI/CD pipelines automatically.
  2. Automating the management of TeamCity integration configurations 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 for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters The path parameters for the API request, specifically the group ID (`id`) to identify which group's TeamCity integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the TeamCity integration settings.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID (`id`) path parameter is correctly set and corresponds to an existing GitLab group.
  • Verify that the API key used for authentication has sufficient permissions to update group integrations.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated requests for this endpoint, which is uncommon.

Links

Discussion