GitLab API

GitlabTool

Actions1000

Overview

This node operation updates the Zentao integration settings for a specific GitLab project by sending a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/integrations/zentao`. It is useful for automating the configuration of Zentao integration within GitLab projects, such as enabling or modifying integration parameters programmatically.

Use Case Examples

  1. Automatically update Zentao integration settings for a project when a new project is created.
  2. Modify Zentao integration parameters in bulk for multiple GitLab projects via workflow automation.

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 key authentication.
baseUrl The base URL of the GitLab instance, defaulting to 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 Zentao integration.

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.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated requests for this endpoint, which is uncommon.
  • Check the request body schema matches the expected structure for the Zentao integration update to avoid validation errors.

Links

Discussion