GitLab API

GitlabTool

Actions905

Overview

This node operation updates the External Wiki service settings for a specific project in GitLab using the GitLab API. It is useful for automating the configuration of project services, particularly the external wiki integration, by sending a PUT request to the appropriate GitLab API endpoint with the required project ID and service configuration data.

Use Case Examples

  1. Automatically update the external wiki settings for a GitLab project as part of a CI/CD pipeline.
  2. Manage multiple GitLab projects' external wiki configurations programmatically through n8n workflows.

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 to which the API request is sent.
Method 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

  • response - The JSON response from the GitLab API after updating the external wiki service settings.

Dependencies

  • Requires GitLab API key credentials for authentication.

Troubleshooting

  • Ensure the project ID provided in path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used has sufficient permissions to update project services.
  • Check the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • Common errors include 401 Unauthorized (invalid or missing API key) and 404 Not Found (invalid project ID).

Links

Discussion