GitLab API

GitlabTool

Actions1095

Pypi_packages → getApiV4ProjectsIdPackagesPypiSimple*packageName

AI-generated

Summary

Retrieve information about a specific PyPI package within a GitLab project from the GitLab API using the simple package name endpoint.

Inputs

  • id (required) — ID or URL-encoded path of the GitLab project to query.
  • package_name (required) — Name of the PyPI package to retrieve information for.
  • skipAuthentication — Set to true to skip authentication; defaults to false and uses GitLab API credentials.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use for the request; defaults to GET.

Output shape

the raw HTTP response body returned by the GitLab API for the specified PyPI package in a project

The response shape corresponds to the GitLab API's /api/v4/projects/{id}/packages/pypi/simple/*package_name endpoint. Authentication is used by default unless 'skipAuthentication' is set. Only the specified 'id' path parameter and 'package_name' query parameter are used to identify the resource.

Examples

Example 1: Retrieve PyPI package info

Set 'id' to your project ID or path, provide the 'package_name' of the PyPI package, and execute the GET request to receive package metadata.

Links

Discussion