GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → getApiV4ProjectsIdPackagesNpm*packageName

AI-generated

Summary

Retrieve details of a specific npm package from a GitLab project by project ID (or URL-encoded path) and package name using the specified HTTP method (default GET).

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which to fetch the npm package.
  • package_name (required) — The name of the npm package to retrieve within the specified project.
  • method — The HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH). Defaults to GET.
  • baseUrl — The base URL of the GitLab instance. Defaults to https://gitlab.com.
  • skipAuthentication — If true, skips using authentication for the request.

Output shape

a single object representing the npm package details as returned by the GitLab API response

The operation corresponds to the API path /api/v4/projects/{id}/packages/npm/*package_name. It returns the specific npm package data for the given project and package name. The output fields depend on the GitLab API response structure for this endpoint.

Links

Discussion