GitLab API

GitlabTool

Actions1095

Npm_packages → putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag

AI-generated

Summary

Update or create a dist-tag for a specific npm package within a GitLab group to manage package versions using a given tag.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group where the npm package is located.
  • tag (required) — The dist-tag name to update or create for the npm package.
  • skipAuthentication — Whether to skip authentication (defaults to false).
  • baseUrl — Optional override of the GitLab server base URL (defaults to https://gitlab.com).
  • putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag (required) — A JSON object containing the body parameters for updating/creating the dist-tag of the npm package, according to the GitLab API schema.

Output shape

A JSON object representing the updated dist-tag entry for the specified npm package.

The operation returns the updated dist-tag data as per the GitLab API response under the given group ID, package name, and tag. Authentication is required unless 'Skip Authentication' is set. The 'package_name' path parameter is a wildcard and must be specified in the node configuration but is not explicitly modeled in the UI properties shown here.

Links

Discussion