GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation performs a PUT request to update the Mock CI integration settings for a specific project in GitLab. It is useful for automating the configuration of CI integrations within GitLab projects, especially in DevOps workflows where continuous integration settings need to be programmatically managed.

Use Case Examples

  1. Updating the Mock CI integration for a project with ID 123 to enable or disable certain CI features.
  2. Automating the setup of CI integrations across multiple GitLab projects in a batch process.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, defaulting to PUT for this operation.
Path Parameters The path parameters required for the request, specifically the project ID to identify which project's Mock CI integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Mock CI integration settings.

Dependencies

  • Requires GitLab API authentication credentials unless 'Skip Authentication' is enabled.

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the provided credentials.
  • If authentication is skipped, the request may fail due to lack of permissions.
  • Verify that the baseUrl is correct and points to the intended GitLab instance.
  • Check that the request body schema matches the expected structure for the Mock CI integration update.

Links

Discussion