From 213da19cda5309148952ab770e2a9e122fe32e22 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 10 May 2023 06:09:43 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/api/graphql/reference/index.md | 15 +++++++++++++++ doc/api/rest/deprecations.md | 12 ++++++++++++ doc/api/vulnerability_exports.md | 5 ----- 3 files changed, 27 insertions(+), 5 deletions(-) (limited to 'doc/api') diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 560f1a4c60a..18e44336223 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -22944,6 +22944,7 @@ Represents vulnerability letter grades with associated projects. | `author` **{warning-solid}** | [`UserCore`](#usercore) | **Introduced** in 15.9. This feature is an Experiment. It can be changed or removed at any time. User that created the work item. | | `closedAt` | [`Time`](#time) | Timestamp of when the work item was closed. | | `confidential` | [`Boolean!`](#boolean) | Indicates the work item is confidential. | +| `createNoteEmail` | [`String`](#string) | User specific email address for the work item. | | `createdAt` | [`Time!`](#time) | Timestamp of when the work item was created. | | `description` | [`String`](#string) | Description of the work item. | | `descriptionHtml` | [`String`](#string) | GitLab Flavored Markdown rendering of `description`. | @@ -22961,6 +22962,20 @@ Represents vulnerability letter grades with associated projects. | `widgets` | [`[WorkItemWidget!]`](#workitemwidget) | Collection of widgets that belong to the work item. | | `workItemType` | [`WorkItemType!`](#workitemtype) | Type assigned to the work item. | +#### Fields with arguments + +##### `WorkItem.reference` + +Internal reference of the work item. Returned in shortened format by default. + +Returns [`String!`](#string). + +###### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `full` | [`Boolean`](#boolean) | Boolean option specifying whether the reference should be returned in full. | + ### `WorkItemPermissions` Check permissions for the current user on a work item. diff --git a/doc/api/rest/deprecations.md b/doc/api/rest/deprecations.md index bf248487cf6..295f869720c 100644 --- a/doc/api/rest/deprecations.md +++ b/doc/api/rest/deprecations.md @@ -49,6 +49,18 @@ API users are encouraged to switch to the new diffs endpoint instead. The `changes from a single merge request` endpoint will be removed in v5 of the GitLab REST API. +## Managed Licenses API endpoint + +Breaking change. [Related issue](https://gitlab.com/gitlab-org/gitlab/-/issues/397067). + +The endpoint to get +[all managed licenses for a given project](../managed_licenses.md) +has been deprecated in favor the +[License Approval policy](../../user/compliance/license_approval_policies.md) feature. +Users who wish to continue to enforce approvals based on detected licenses are encouraged to create a new [License Approval policy](../../user/compliance/license_approval_policies.md) instead. + +The `managed licenses` endpoint will be removed in v5 of the GitLab REST API. + ## Approvers and Approver Group fields in Merge Request Approval API Breaking change. [Related issue](https://gitlab.com/gitlab-org/gitlab/-/issues/353097). diff --git a/doc/api/vulnerability_exports.md b/doc/api/vulnerability_exports.md index 28053eb20b6..c72e4a36929 100644 --- a/doc/api/vulnerability_exports.md +++ b/doc/api/vulnerability_exports.md @@ -8,11 +8,6 @@ info: To determine the technical writer assigned to the Stage/Group associated w > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/197494) in GitLab 12.10. [Updated](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30397) in GitLab 13.0. -WARNING: -This API is in an [Experiment](../policy/alpha-beta-support.md#experiment) and considered unstable. -The response payload may be subject to change or breakage -across GitLab releases. - Every API call to vulnerability exports must be [authenticated](rest/index.md#authentication). ## Create a project-level vulnerability export -- cgit v1.2.3