GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Squash TM integration settings for a specific project in GitLab using a PUT request to the GitLab API. It is useful for automating the configuration of Squash TM integration in GitLab projects, such as enabling or modifying integration parameters programmatically.

Use Case Examples

  1. Automatically update Squash TM integration settings for a project when project details change.
  2. Batch update Squash TM integration configurations across multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
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 project ID for this operation.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the GitLab API key has sufficient permissions to update project integrations.
  • Check the request body schema matches the expected format for Squash TM integration settings to avoid validation errors.
  • If skipping authentication, confirm the endpoint supports unauthenticated requests, otherwise the request will fail.

Links

Discussion