GitLab API

GitlabTool

Actions1000

Overview

This node operation updates a Debian distribution for a specific project in GitLab using the PUT HTTP method. 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 a project with ID '123' to change its configuration or metadata.
  2. Modifying Debian distribution settings for a GitLab project to reflect new package versions or distribution parameters.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the request, default is GET but for this operation it is PUT.
Path Parameters Parameters required in the URL path to identify the project and Debian distribution to update.

Output

JSON

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

Dependencies

  • GitLab API authentication credentials

Troubleshooting

  • Ensure the project ID and Debian codename are correctly specified; incorrect values will cause the API request to fail.
  • Authentication errors may occur if the GitLab API credentials are missing or invalid; verify the credentials are correctly configured.
  • Network or base URL issues can cause connection failures; confirm the base URL is correct and accessible.

Links

Discussion