Skip to content

Public project-level approval rule API

Mark Chao requested to merge 11877-public-approval-api into master

The port to CE is here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31455

What does this MR do?

Add new public project-level approval rule API. The following endpoints have been added:

  • GET /projects/:id/approval_rules
  • POST /projects/:id/approval_rules
  • PUT /projects/:id/approval_rules/:approval_rule_id
  • DELETE /projects/:id/approval_rules/:approval_rule_id

The private API isn't changed and still behaves the same way. Deprecate old approval APIs.

Related to #11877 (closed)

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Patrick Bajao

Merge request reports