summaryrefslogtreecommitdiff
path: root/data/removals
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-09 21:07:34 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-09 21:07:34 +0000
commit6bed1b9c9cc989a19fb2caab5ad61bbfc811f25d (patch)
tree0d19af042fb956493c89875b13b979bde861a13e /data/removals
parent20f6a17ba2d2d5f056bda38dfe85e2a7b2a82d0b (diff)
downloadgitlab-ce-6bed1b9c9cc989a19fb2caab5ad61bbfc811f25d.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'data/removals')
-rw-r--r--data/removals/16_0/source_code-approvals-endpoint.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/removals/16_0/source_code-approvals-endpoint.yml b/data/removals/16_0/source_code-approvals-endpoint.yml
new file mode 100644
index 00000000000..e754c1cfebf
--- /dev/null
+++ b/data/removals/16_0/source_code-approvals-endpoint.yml
@@ -0,0 +1,20 @@
+- name: "Changing merge request approvals with the `/approvals` API endpoint"
+ announcement_milestone: "12.3"
+ announcement_date: "2019-09-22"
+ removal_milestone: "16.0"
+ removal_date: "2023-03-22"
+ breaking_change: true
+ reporter: tlinz
+ stage: Create
+ issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/353097
+ body: | # (required) Do not modify this line, instead modify the lines below.
+ To change the approvals required for a merge request, you should no longer use the `/approvals` API endpoint, which was deprecated in GitLab 12.3.
+
+ Instead, use the [`/approval_rules` endpoint](https://docs.gitlab.com/ee/api/merge_request_approvals.html#merge-request-level-mr-approvals) to [create](https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-merge-request-level-rule) or [update](https://docs.gitlab.com/ee/api/merge_request_approvals.html#update-merge-request-level-rule) the approval rules for a merge request.
+#
+# OPTIONAL FIELDS
+#
+ tiers: Premium
+ documentation_url: https://docs.gitlab.com/ee/api/merge_request_approvals.html
+ image_url: # (optional) This is a link to a thumbnail image depicting the feature
+ video_url: # (optional) Use the youtube thumbnail URL with the structure of https://img.youtube.com/vi/UNIQUEID/hqdefault.jpg