GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to create a Debian distribution for a specified group. It is useful for automating the management of Debian package distributions within GitLab groups, enabling DevOps workflows to programmatically add Debian distributions to groups.

Use Case Examples

  1. Creating a new Debian distribution for a GitLab group to automate package management.
  2. Integrating GitLab Debian distribution creation into CI/CD pipelines for streamlined software deployment.

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 key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but can be set to POST for this operation.
Parameter Schema Defines the parameters required for the operation, including the group ID in the path and the request body schema for the Debian distribution creation.
Request Body Schema The schema defining the structure of the request body for creating a Debian distribution.
Request Path The API endpoint path for creating a Debian distribution in a group, with the group ID as a path parameter.
Path Parameters Collection of path parameters, specifically the group ID required to identify the target group for the Debian distribution.

Output

JSON

  • id - The unique identifier of the created Debian distribution.
  • name - The name of the Debian distribution.
  • description - Description of the Debian distribution.
  • components - Components included in the Debian distribution.
  • architectures - Supported architectures for the Debian distribution.
  • codename - Codename of the Debian distribution.
  • suite - Suite name of the Debian distribution.
  • gpg_key - GPG key associated with the Debian distribution.
  • created_at - Timestamp when the Debian distribution was created.
  • updated_at - Timestamp when the Debian distribution was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID path parameter is correctly provided and URL-encoded if necessary.
  • Verify that the authentication credentials (GitLab API key) are valid and have sufficient permissions to create Debian distributions in the target group.
  • Check that the request body conforms to the expected schema for creating a Debian distribution.
  • Common error messages may include authentication failures, invalid group ID, or schema validation errors. Resolving these involves correcting credentials, verifying group existence, and ensuring request body correctness.

Links

Discussion