GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve Debian package source information from a specific group's Debian distribution component. It is useful for users who want to programmatically access Debian package sources within a GitLab group, such as for automation or integration tasks involving package management.

Use Case Examples

  1. Retrieve source package information for a Debian distribution component in a GitLab group to automate package auditing.
  2. Fetch Debian package sources from a specific group to integrate with a CI/CD pipeline for package deployment.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication to use for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Parameter Schema Defines required path and query parameters for the API request, including group ID, Debian distribution, and component.
Request Body Schema Schema for the request body, if applicable (null for this operation).
Request Path API endpoint path template for the request.
Query Parameters Collection of query parameters, specifically the Debian distribution codename or suite.
Path Parameters Collection of path parameters including group ID and Debian component.

Output

JSON

  • response - The JSON response from the GitLab API containing Debian package source information.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and component parameters are correctly specified to avoid 404 errors.
  • Verify that the authentication token is valid and has sufficient permissions to access the group's package information.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.

Links

Discussion