GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the Release file for a specific Debian distribution within a GitLab group. It is useful for users who want to access Debian package metadata for a given distribution codename or suite in a GitLab group's package registry. For example, it can be used to automate fetching package release information for deployment or auditing purposes.

Use Case Examples

  1. Fetch the Release file for the 'buster' distribution in a specific GitLab group to verify package versions.
  2. Automate retrieval of Debian package metadata for continuous integration workflows.

Properties

Name Meaning
Skip Authentication Whether to skip authentication when making the API request.
Authentication The authentication method to use for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to send the request to, default is https://gitlab.com.
Method The HTTP method to use for the request, default is GET.
Query Parameters Query parameters for the request, specifically the 'distribution' which is the Debian Codename or Suite to fetch the Release file for.
Path Parameters Path parameters for the request, specifically the 'id' which is the group ID or full group path in GitLab.

Output

JSON

  • id - The group ID or full group path used in the request path.
  • distribution - The Debian Codename or Suite specified in the query parameters.
  • releaseFileContent - The content of the Release file retrieved from the Debian distribution in the GitLab group.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID or full group path ('id') is correctly specified and exists in GitLab.
  • Verify the 'distribution' query parameter matches a valid Debian Codename or Suite available in the group's Debian packages.
  • Check that the GitLab API key credential has sufficient permissions to access the group's package registry.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the requested resource.

Links

Discussion