GitLab API icon

GitLab API

Gitlab

Actions880

Overview

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

Use Case Examples

  1. Updating Squash TM service settings for a project with ID 12345 to enable or change integration options.
  2. Automating the management of project service integrations in GitLab via API calls.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use for the request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters Parameters to be included in the request path, specifically the project ID for identifying the target project.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Squash TM service integration for the specified project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correctly configured and have sufficient permissions to update project service integrations.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, confirm that the endpoint supports unauthenticated requests, otherwise the request will fail.

Links

Discussion