Problem/Motivation

Attempting to use the GitBlur app make requests to the merge requests endpoint in order to display open merge requests.

See:
https://docs.gitlab.com/ee/api/merge_requests.html

Also possibly worth considering:
https://docs.gitlab.com/ee/api/merge_request_approvals.html
https://docs.gitlab.com/ee/api/merge_request_context_commits.html
https://docs.gitlab.com/ee/api/merge_trains.html

Steps to reproduce

Already documented in GitLab documentation

Proposed resolution

Allow the merge request related endpoint for both GET and PUT requests.

Remaining tasks

Modify CDN access rules

Comments

cmlara created an issue. See original summary.

cmlara’s picture

Issue tags: +GitLab API

Adding a tag to track requests related to the GitLab API

drumm’s picture

Assigned: Unassigned » drumm
Status: Active » Fixed

We are no longer stripping authentication headers for GET & HEAD requests to GitLab’s REST API, so authenticated reads are generally supported.

Paths under /api/v4/projects/[id]/merge_requests had already been allowed for PUT requests, so that is now allowed as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.