GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves Debian distributions associated with a specific GitLab group by making an API call to the GitLab server. It is useful for users who want to fetch detailed information about Debian package distributions managed within a GitLab group, such as for package management or automation workflows involving Debian repositories.

Use Case Examples

  1. Fetch Debian distributions for a GitLab group to automate package deployment workflows.
  2. Retrieve Debian distribution metadata for auditing or reporting purposes within a DevOps pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance to send the API request to.
Method HTTP method to use for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters to filter or paginate the Debian distributions data.

Output

JSON

  • id - The ID or URL-encoded path of the GitLab group.
  • page - Current page number of the results.
  • per_page - Number of items per page in the results.
  • codename - Debian Codename of the distribution.
  • suite - Debian Suite of the distribution.
  • origin - Debian Origin of the distribution.
  • label - Debian Label of the distribution.
  • version - Debian Version of the distribution.
  • description - Description of the Debian distribution.
  • valid_time_duration_seconds - Duration before the Release file is considered expired.
  • components - List of Components in the distribution.
  • architectures - List of Architectures supported by the distribution.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have the necessary permissions to access group Debian distributions.
  • Verify the group ID or URL-encoded path is correct and accessible.
  • Check the base URL is correctly set to the GitLab instance you are querying.
  • If pagination parameters are used, ensure they are valid integers and within allowed ranges.
  • Common error messages may include authentication failures, 404 not found if the group does not exist, or 400 bad request if query parameters are invalid.

Links

Discussion