GitLab API icon

GitLab API

Gitlab

Actions1062

Debian_distribution → postApiV4ProjectsIdDebianDistributions

AI-generated

Summary

Create a new Debian distribution for a specified GitLab project by making a POST request to the GitLab API's Debian distributions endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to which the Debian distribution will be added.
  • postApiV4ProjectsIdDebianDistributions (required) — The request body containing the details of the Debian distribution to create, following the GitLab API schema for Debian distributions.

Output shape

a JSON object representing the newly created Debian distribution.

The API request uses the POST method to the path /api/v4/projects/{id}/debian_distributions. The response includes the created Debian distribution data as returned by the GitLab API. Authentication with GitLab API credentials is required unless authentication is explicitly skipped via the 'Skip Authentication' option.

Links

Discussion