GitLab API
GET /api/v4/projects/{id}/merge_requests/{id}/changes endpoint removal
Deprecated, no dateSubscribe to GitLab APIShare
The endpoint GET /api/v4/projects/{id}/merge_requests/{id}/changes has been deprecated without a shutdown date. GitLab API plans to remove this endpoint in v5 of the API. Once removed, requests to this path will fail.
Calls it hits
GET /api/v4/projects/{id}/merge_requests/{id}/changes
What to use instead of these calls
List the merge request diffs using GET /api/v4/projects/{id}/merge_requests/{iid}/diffs instead.
In GitLab API's words
The changes from a single merge request endpoint will be removed in v5 of the GitLab REST API.
Facts
- API
- GitLab API
gitlab.com - Kind
- Endpoint removal
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against GitLab API's own pages
Questions
When does this change take effect?
GitLab API deprecated GET /api/v4/projects/{id}/merge_requests/{id}/changes without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: GitLab API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from GitLab API 10
-
/api/v4/projects/{id}/managed_licenses*Endpoint removal Stopped working -
GET /api/v4/groups/{id}/dora/metricsParameter removal Stopped working -
GET /api/v4/projects/{id}/dora/metricsParameter removal Stopped working -
POST /api/v4/ci/lintEndpoint removal Stopped working -
POST /api/v4/projects/{id}/merge_requests/{id}/approvalsEndpoint removal Stopped working -
No date
GET /api/v4/namespaces/:namespace_id/subscription_add_on_purchase/:idEndpoint removal Deprecated, no date -
No date
PATCH /api/v4/namespaces/:previous_namespace_id/minutes/move/:target_namespace_idEndpoint removal Deprecated, no date -
No date
POST /api/v4/namespaces/:id/gitlab_subscriptionEndpoint removal Deprecated, no date -
No date
POST /api/v4/namespaces/:namespace_id/minutesEndpoint removal Deprecated, no date -
No date
POST /api/v4/namespaces/:namespace_id/subscription_add_on_purchase/:idEndpoint removal Deprecated, no date
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.