Retrieve MR approval settings for a project
GET
/api/v4/projects/{id}/merge_request_approval_setting
Retrieves the merge request approval settings for a specified project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
Media typeapplication/json
object
allow_author_approval
boolean
allow_committer_approval
boolean
allow_overrides_to_approver_list_per_merge_request
boolean
retain_approvals_on_push
boolean
selective_code_owner_removals
boolean
require_password_to_approve
boolean
require_reauthentication_to_approve
boolean
Example
{ "allow_author_approval": true, "allow_committer_approval": true, "allow_overrides_to_approver_list_per_merge_request": true, "retain_approvals_on_push": true, "selective_code_owner_removals": true, "require_password_to_approve": true, "require_reauthentication_to_approve": true}Bad Request
Forbidden
Not Found