From 0045970352e8729b2797591beb88a7df884d84f4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 16 May 2023 12:09:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/packages/npm.md | 17 +++++++++++++++++ doc/api/users.md | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'doc/api') diff --git a/doc/api/packages/npm.md b/doc/api/packages/npm.md index bf48fbc8f65..664737e317a 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,22 @@ 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. + +FLAG: +On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag](../../administration/feature_flags.md) named `npm_group_level_endpoints`. +The feature is not ready for production use. + +```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. diff --git a/doc/api/users.md b/doc/api/users.md index a2293090209..4d6bdb26020 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -6,7 +6,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w # Users API **(FREE)** -This documentation has information on API calls, parameters and responses for the Users API. +This documentation has information on API calls, parameters and responses for the Users API. For information on user activities that update the user event timestamps, see [get user activities](#get-user-activities). @@ -875,7 +875,7 @@ Parameters: | :------------------------------- | :------- | :--------------------------------------------------------------------------- | | `view_diffs_file_by_file` | Yes | Flag indicating the user sees only one file diff per page. | | `show_whitespace_in_diffs` | Yes | Flag indicating the user sees whitespace changes in diffs. | -| `pass_user_identities_to_ci_jwt` | Yes | Flag indicating the user passes their external identities as CI information. This attribute does not contain enough information to identify or authorize the user in an external system. The attribute is internal to GitLab, and must not be passed to third-party services. | +| `pass_user_identities_to_ci_jwt` | Yes | Flag indicating the user passes their external identities as CI information. This attribute does not contain enough information to identify or authorize the user in an external system. The attribute is internal to GitLab, and must not be passed to third-party services. For more information and examples, see [Token Payload](../ci/secrets/id_token_authentication.md#token-payload). | ## User follow -- cgit v1.2.3