GitLab API

GitlabTool

Actions1095

Npm_packages → getApiV4GroupsIdPackagesNpm*packageName

AI-generated

Summary

Retrieve details of a specific npm package belonging to a GitLab group by providing the group ID or path and the package name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group.
  • package_name (required) — The name of the npm package to retrieve.
  • Skip Authentication — Choose whether to skip authentication (defaults to false).
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • Method — HTTP method for the request; default is GET, but POST, PUT, DELETE, HEAD, and PATCH are available.

Output shape

a single record containing the npm package details as returned by the GitLab API.

Uses the GET method by default to fetch package details at the endpoint /api/v4/groups/{id}/-/packages/npm/*package_name. Authentication is required unless explicitly skipped. The response structure follows the GitLab API's npm package representation.

Links

Discussion