GitLab API icon

GitLab API

Gitlab

Actions1062

Pypi_packages → getApiV4ProjectsIdPackagesPypiFilesSha256*fileIdentifier

AI-generated

Summary

Retrieve a specific PyPi package file from a GitLab project using the project's ID or URL-encoded path, the file's SHA256 checksum, and the PyPi file identifier.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to fetch the PyPi package file from.
  • sha256 (required) — The SHA256 checksum of the PyPi package file to retrieve.
  • file_identifier (required) — The identifier of the PyPi package file (e.g., 'my.pypi.package-0.0.1.tar.gz').
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Whether to skip sending authentication credentials.
  • method — HTTP method to use, defaults to GET.

Output shape

binary file

Returns the raw file content of the specified PyPi package file from the GitLab project. The response is a binary stream matching the requested file.

Links

Discussion