GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Harbor integration settings for a specific project in GitLab. It is useful for automating the configuration of Harbor container registry integration within GitLab projects, enabling seamless management of container images and security scanning.

Use Case Examples

  1. Automatically update Harbor integration settings for a project when project details change.
  2. Configure Harbor integration for multiple projects in bulk via workflow automation.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is PUT for this operation.
Path Parameters Parameters included in the request path, specifically the project ID to identify which project's Harbor integration to update.

Output

JSON

  • statusCode - HTTP status code of the API response.
  • body - The response body containing the updated Harbor integration details or error information.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the authentication credentials are correctly configured and have sufficient permissions to update project integrations.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages include 401 Unauthorized (authentication failure), 404 Not Found (invalid project ID), and 400 Bad Request (invalid request body). Resolving these involves correcting credentials, project ID, or request data format.

Links

Discussion