GitLab API · Endpoint removal
POST /api/v4/projects/{}/merge_requests/{}/approvals stops working
Stopped working
Calls to POST /api/v4/projects/{}/merge_requests/{}/approvals on GitLab API stopped working on May 22, 2023.
What to use instead of these calls
Create or update merge request approval rules with /api/v4/projects/{id}/merge_requests/{iid}/approval_rules.
Calls it hits
POST /api/v4/projects/{}/merge_requests/{}/approvals
To change the approvals required for a merge request, you should no longer use the `/approvals` API endpoint, which was deprecated in GitLab 14.0.
Facts
- API
- GitLab API
gitlab.com - Kind
- Endpoint removal
- Announced
- June 22, 2021
- Takes effect
- May 22, 2023
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
More from GitLab API
- /api/v4/projects/{}/managed_licenses stops working Stopped working
- environment_tier on GET /api/v4/groups/{}/dora/metrics stops working Stopped working
- environment_tier on GET /api/v4/projects/{}/dora/metrics stops working Stopped working
- POST /api/v4/ci/lint stops working Stopped working
- GET /api/v4/projects/{}/merge_requests/{}/changes is deprecated Deprecated, no date