GitLab API icon

GitLab API

Gitlab

Actions1062

Pypi_packages → postApiV4ProjectsIdPackagesPypi

AI-generated

Summary

Publish a PyPI package to a specified GitLab project by making a POST request to the GitLab API's /api/v4/projects/{id}/packages/pypi endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project where the PyPI package will be published.
  • postApiV4ProjectsIdPackagesPypi (required) — The request body containing the PyPI package data structured according to the operation's schema.
  • skipAuthentication — Optionally skip authentication for the request (defaults to false).
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a JSON object representing the response from the GitLab API for the PyPI package upload request

The operation returns the API response object for the POST request. The response shape and content depend on the GitLab API implementation. Authentication is required unless skipped explicitly.

Links

Discussion