diff options
Diffstat (limited to 'doc/api/packages/npm.md')
-rw-r--r-- | doc/api/packages/npm.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/packages/npm.md b/doc/api/packages/npm.md index bf48fbc8f65..6f4d8446dbf 100644 --- a/doc/api/packages/npm.md +++ b/doc/api/packages/npm.md @@ -124,6 +124,7 @@ different scopes: - Use the instance-level prefix to make requests in the scope of the entire instance. - Use the project-level prefix to make requests in a single project's scope. +- Use the group-level prefix to make requests in a group’s scope. The examples in this document all use the project-level prefix. @@ -147,6 +148,19 @@ The examples in this document all use the project-level prefix. | --------- | ------ | -------- | ----------- | | `id` | string | yes | The project ID or full project path. | +### Group-level + +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299834) in GitLab 16.0 [with a flag](../../administration/feature_flags.md) named `npm_group_level_endpoints`. Disabled by default. +> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121837) in GitLab 16.1. Feature flag `npm_group_level_endpoints` removed. + +```plaintext + /groups/:id/-/packages/npm` +``` + +| Attribute | Type | Required | Description | +| --------- | ------ | -------- | ----------- | +| `id` | string | yes | The group ID or full group path. | + ## Metadata Returns the metadata for a given package. |