GitLab API icon

GitLab API

Gitlab

Actions1062

Pypi_packages → getApiV4GroupsIdPackagesPypiSimple*packageName

AI-generated

Summary

Send an HTTP request to fetch metadata for a specific PyPi package in a GitLab group using the group's ID or full path and the package name.

Inputs

  • id (required) — The ID or full path of the GitLab group whose PyPi package metadata you want to retrieve.
  • package_name (required) — The name of the PyPi package within the group to fetch metadata for.
  • method — HTTP method to use; defaults to GET, which is appropriate for retrieving package data.
  • skipAuthentication — Optionally skip authentication; by default the node uses GitLab API credentials for authenticated access.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a single HTTP response representing the PyPi package metadata in simple repository format

The response shape depends on the GitLab API's /api/v4/groups/{id}/-/packages/pypi/simple/*package_name endpoint. The operation returns raw data suitable for PyPi package info retrieval. Authentication is used unless skipped. The request path and query parameter 'package_name' must be set accordingly.

Examples

Example 1: Retrieve PyPi package metadata for group 1234 and package 'my.pypi.package'.

Set 'id' to '1234', 'package_name' to 'my.pypi.package', use default GET method and authentication.

Links

Discussion