GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to update the Bamboo service configuration for a GitLab project via a PUT request to the endpoint `/api/v4/projects/{id}/services/bamboo`. It is useful for automating the management of Bamboo CI/CD service settings within GitLab projects, such as enabling or configuring Bamboo integration programmatically.

Use Case Examples

  1. Updating Bamboo service settings for a specific GitLab project by providing the project ID and the desired configuration in the request body.
  2. Automating the enabling or disabling of Bamboo CI/CD integration across multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, default is false (authentication required).
Authentication Type of authentication used, default is GitLab API key authentication.
baseUrl Base URL for 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 Bamboo service configuration 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 (GitLab API key) are correctly configured and have sufficient permissions to update project services.
  • Check the request body schema to ensure it matches the expected structure for the Bamboo service configuration.
  • Common error messages may include 401 Unauthorized (authentication issues), 404 Not Found (invalid project ID), or 400 Bad Request (invalid request body).

Links

Discussion