GitLab API

GitlabTool

Actions1000

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 a new project is created.
  2. Modify integration parameters in bulk for multiple projects via workflow automation.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is PUT for this operation.
Path Parameters Parameters included in the API request path, specifically the project ID for this operation.

Output

JSON

  • id - The ID of the project for which the Squash TM integration is updated.
  • integrationStatus - The status or result of the Squash TM integration update operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to update project integrations.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion