Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7e55e35e
Commit
7e55e35e
authored
Aug 28, 2019
by
Patrick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: Fix type of users and groups params
parent
c1a416ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
doc/api/merge_request_approvals.md
doc/api/merge_request_approvals.md
+8
-8
No files found.
doc/api/merge_request_approvals.md
View file @
7e55e35e
...
...
@@ -152,8 +152,8 @@ POST /projects/:id/approval_rules
|
`id`
| integer | yes | The ID of a project |
|
`name`
| string | yes | The name of the approval rule |
|
`approvals_required`
| integer | yes | The number of required approvals for this rule |
|
`users`
|
integer
| no | The ids of users as approvers |
|
`groups`
|
integer
| no | The ids of groups as approvers |
|
`users`
|
Array
| no | The ids of users as approvers |
|
`groups`
|
Array
| no | The ids of groups as approvers |
```
json
{
...
...
@@ -231,8 +231,8 @@ PUT /projects/:id/approval_rules/:approval_rule_id
|
`approval_rule_id`
| integer | yes | The ID of a approval rule |
|
`name`
| string | yes | The name of the approval rule |
|
`approvals_required`
| integer | yes | The number of required approvals for this rule |
|
`users`
|
integer
| no | The ids of users as approvers |
|
`groups`
|
integer
| no | The ids of groups as approvers |
|
`users`
|
Array
| no | The ids of users as approvers |
|
`groups`
|
Array
| no | The ids of groups as approvers |
```
json
{
...
...
@@ -701,8 +701,8 @@ POST /projects/:id/merge_requests/:merge_request_iid/approval_rules
|
`name`
| string | yes | The name of the approval rule |
|
`approvals_required`
| integer | yes | The number of required approvals for this rule |
|
`approval_project_rule_id`
| integer | no | The ID of a project-level approval rule |
|
`users`
|
integer
| no | The ids of users as approvers |
|
`groups`
|
integer
| no | The ids of groups as approvers |
|
`users`
|
Array
| no | The ids of users as approvers |
|
`groups`
|
Array
| no | The ids of groups as approvers |
**Important:**
When
`approval_project_rule_id`
is set, the
`name`
,
`users`
and
`groups`
of project-level rule will be copied. The
`approvals_required`
specified
...
...
@@ -789,8 +789,8 @@ These are system generated rules.
|
`approval_rule_id`
| integer | yes | The ID of a approval rule |
|
`name`
| string | yes | The name of the approval rule |
|
`approvals_required`
| integer | yes | The number of required approvals for this rule |
|
`users`
|
integer
| no | The ids of users as approvers |
|
`groups`
|
integer
| no | The ids of groups as approvers |
|
`users`
|
Array
| no | The ids of users as approvers |
|
`groups`
|
Array
| no | The ids of groups as approvers |
```
json
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment