GitLab API

GitlabTool

Actions1000

Overview

This node operation updates the Confluence integration settings for a specific GitLab project. It is useful for managing project integrations programmatically, such as enabling or configuring Confluence integration via the GitLab API. For example, a user can update the Confluence integration settings by specifying the project ID and providing the necessary configuration in the request body.

Use Case Examples

  1. Updating Confluence integration settings for a GitLab project by specifying the project ID and configuration parameters.
  2. Automating the management of project integrations in GitLab through API calls.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, hidden unless Skip Authentication is false.
baseUrl The base URL for the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET with options including GET, POST, PUT, DELETE, HEAD, PATCH.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

  • id - The project ID specified in the path parameters.
  • putApiV4ProjectsIdIntegrationsConfluence - The response body containing the updated Confluence integration settings for the project.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID is correctly specified and exists in GitLab to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to update project integrations.
  • Check the request body schema matches the expected format for the Confluence integration settings to prevent validation errors.

Links

Discussion