GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Packagist integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/packagist`. It is useful for automating the configuration of Packagist integration within GitLab groups, such as enabling or modifying integration parameters programmatically.

Use Case Examples

  1. Automatically update Packagist integration settings for a GitLab group as part of a CI/CD pipeline.
  2. Manage multiple GitLab groups' Packagist integration configurations from a centralized workflow.

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, defaulting to 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 group ID for this operation.

Output

JSON

  • id - The ID of the GitLab group for which the Packagist integration is updated.
  • integrationStatus - Status or response details of the Packagist integration update operation.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to update group integrations.
  • Check the base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, ensure the endpoint is accessible without authentication, which is uncommon for this API.

Links

Discussion