GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to create a new Debian distribution for a specified project. It is useful for automating the management of Debian package distributions within GitLab projects, such as adding new distributions programmatically as part of a CI/CD pipeline or project setup.

Use Case Examples

  1. Creating a new Debian distribution for a GitLab project by specifying the project ID and distribution details.
  2. Automating Debian package distribution management in GitLab through workflow automation.

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 of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, defaulting to GET but can be set to POST for this operation.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided API credentials.
  • Verify that the API key has sufficient permissions to create Debian distributions in the specified project.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include authentication failures, permission denied errors, and invalid project ID errors. Resolving these typically involves verifying credentials, permissions, and input parameters.

Links

Discussion