GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates a Debian distribution for a specific group in GitLab using the GitLab API. It is useful for managing Debian package repositories within GitLab groups, allowing users to modify distribution details by specifying the group ID and Debian codename.

Use Case Examples

  1. Updating the Debian distribution 'sid' for a GitLab group with ID '12345' to change its configuration or metadata.
  2. Modifying Debian distribution settings for a group to reflect new repository information or access controls.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be set to PUT for this operation.
Path Parameters Parameters required in the URL path for the API call, including the group ID and Debian codename.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Debian distribution.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and Debian codename are correctly specified and URL-encoded if necessary.
  • Verify that the API key has sufficient permissions to update Debian distributions in the specified group.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common errors include authentication failures, 404 not found if the group or codename does not exist, and validation errors if the request body schema is incorrect.

Links

Discussion