GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates a Debian distribution codename for a specific group in GitLab via the GitLab API. It is useful for managing Debian package repositories associated with GitLab groups, allowing users to modify distribution details programmatically. For example, it can be used to update the codename of a Debian distribution to reflect changes in the repository structure or naming conventions.

Use Case Examples

  1. Updating the Debian codename 'sid' for a GitLab group with ID '12345' to manage package distribution settings.
  2. Automating Debian distribution updates in CI/CD pipelines for GitLab groups.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, defaulting to GET but set to PUT for this operation.
Parameter Schema Defines the required path parameters and request body schema for the operation, including group ID, Debian codename, and the request body with update details.
Request Body Schema Schema for the request body containing the update details for the Debian distribution codename.
Request Path API endpoint path for the operation, including placeholders for group ID and Debian codename.
Path Parameters Collection of path parameters including 'id' (group ID or URL-encoded path) and 'codename' (Debian codename) required for the API request.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Debian distribution codename, containing details of the updated distribution.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and Debian codename path parameters are correctly provided and URL-encoded if necessary.
  • Verify that the API key credential has sufficient permissions to update Debian distributions in the specified GitLab group.
  • Check the base URL to ensure it points to the correct GitLab instance if using a self-hosted GitLab server.
  • Common error messages may include authentication failures, permission denied errors, or invalid parameter errors. Verify credentials and parameter correctness to resolve these.

Links

Discussion