GitLab API icon

GitLab API

Gitlab

Actions880

Overview

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

Use Case Examples

  1. Updating the Debian distribution 'sid' for project with ID '123' to change its properties via the GitLab API.
  2. Modifying Debian distribution settings for a project to reflect new package versions or distribution metadata.

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.
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 for the API path including the project ID and Debian codename to identify the distribution to update.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified to avoid 404 Not Found errors.
  • Verify that the API key has sufficient permissions to update Debian distributions in the project.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include authentication failures, invalid parameters, or permission denied errors. Verify credentials and input parameters accordingly.

Links

Discussion