GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_distribution → getApiV4GroupsIdDebianDistributionsCodenameKeyAsc

AI-generated

Summary

Retrieve the ASCII-armored PGP public key for a specified Debian distribution codename within a GitLab group via a GET request to the GitLab API.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group containing the Debian distribution.
  • codename (required) — The Debian distribution codename (e.g., 'sid') whose PGP public key is requested.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Optionally skip authentication; by default authentication is required using GitLab API credentials.

Output shape

a binary response containing the ASCII-armored PGP public key file (.asc) for the specified Debian distribution codename within the group

This operation does not paginate. The response body is the raw key file data. Authentication is required unless skipped explicitly via the 'skipAuthentication' flag.

Examples

Example 1: Fetch the Debian distribution key.asc for group with ID 'my-group' and codename 'sid'

Set 'id' to 'my-group', 'codename' to 'sid', and method to 'GET'. Authenticate using stored GitLab API credentials or choose to skip authentication if applicable.

Links

Discussion