GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → getApiV4GroupsIdPackagesNpmPackage*packageNameDistTags

AI-generated

Summary

Retrieve the distribution tags of a specific NPM package within a GitLab group by group ID and package name.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group containing the NPM package.
  • package_name (required) — The name of the NPM package to fetch distribution tags for.
  • skipAuthentication — Optionally skip authentication for the request.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — The HTTP method to use; defaults to GET.

Output shape

a JSON object representing the distribution tags of the specified NPM package associated with the group.

Returns data as provided by the GitLab API at the endpoint /api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags. The request requires authentication unless skipAuthentication is set to true.

Links

Discussion