GitLab API icon

GitLab API

Gitlab

Actions1062

Pypi_packages → getApiV4GroupsIdPackagesPypiFilesSha256*fileIdentifier

AI-generated

Summary

Retrieve detailed information about a specific PyPi package file associated with a GitLab group by its SHA256 checksum and file identifier.

Inputs

  • id (required) — The ID or full path of the GitLab group to which the PyPi package belongs.
  • sha256 (required) — The SHA256 checksum of the PyPi package file to identify the exact file version.
  • file_identifier (required) — The specific file identifier (e.g., filename) of the PyPi package file to retrieve.
  • skipAuthentication — Optionally skip authentication (default is false, which requires authentication with GitLab API credentials).
  • baseUrl — Optional base URL for the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET to fetch the file information.

Output shape

a single record containing metadata and details about the specified PyPi package file.

The operation requires path parameters 'id' and 'sha256', and a query parameter 'file_identifier'. Authentication is required unless explicitly skipped. The response follows the GitLab API format for PyPi package file details.

Examples

Example 1: Retrieve PyPi package file info

Set 'id' to the group ID or full group path, provide the SHA256 checksum of the desired package file in 'sha256', and specify the filename or identifier in 'file_identifier'. Use the default GET method and ensure GitLab API credentials are configured for authentication.

Links

Discussion