Use the v4 API from the frontend
Resources
FE: @samrose3
We added a new API version, v4. We were unintentionally using this on the frontend: https://gitlab.com/gitlab-org/gitlab-ce/issues/28863
We should review the endpoints in https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.17.1/app/assets/javascripts/api.js#L5-15 for breaking changes, and then update the frontend to use v4.
For instance, projects.json
no longer returns only a user's authorised projects; you need ? membership=true
to make it do that: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9674