GitLab API icon

GitLab API

Gitlab

Actions1062

Pypi_packages → postApiV4ProjectsIdPackagesPypiAuthorize

AI-generated

Summary

Authorize with the PyPI package registry for a specific GitLab project by sending a POST request to the project's PyPI authorize endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to authorize with the PyPI package registry.
  • skipAuthentication — Optionally skip GitLab API authentication for this request. Defaults to false.
  • baseUrl — The base URL of the GitLab instance, defaults to 'https://gitlab.com'.

Output shape

a JSON response containing authorization details from the GitLab PyPI package registry endpoint for the specified project

Returns the authorization response from the endpoint POST /api/v4/projects/{id}/packages/pypi/authorize. The operation requires the project ID or path as a path parameter and uses the GitLab API credential for authentication, unless skipped. No pagination or batching applies.

Links

Discussion