Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-04 00:08:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-04 00:08:18 +0300
commit692f4b734f1976b690dccb5458c198b5205c51b5 (patch)
treec6af56b7127850615b9dc5626cefbe665fd96ea9 /doc/api/groups.md
parent592223823c8ebf6e32d98e4b12620ba8ff043cca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/groups.md')
-rw-r--r--doc/api/groups.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index f2dd9ab81b6..c1556fb8e79 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -1170,10 +1170,14 @@ DELETE /groups/:id/share/:group_id
## Push Rules **(STARTER)**
+> Introduced in [GitLab Starter](https://about.gitlab.com/pricing/) 13.4.
+
### Get group push rules **(STARTER)**
Get the [push rules](../user/group/index.md#group-push-rules-starter) of a group.
+Only available to group owners and administrators.
+
```plaintext
GET /groups/:id/push_rule
```
@@ -1215,6 +1219,8 @@ the `commit_committer_check` and `reject_unsigned_commits` parameters:
Adds [push rules](../user/group/index.md#group-push-rules-starter) to the specified group.
+Only available to group owners and administrators.
+
```plaintext
POST /groups/:id/push_rule
```
@@ -1260,6 +1266,8 @@ Response:
Edit push rules for a specified group.
+Only available to group owners and administrators.
+
```plaintext
PUT /groups/:id/push_rule
```
@@ -1300,3 +1308,17 @@ Response:
"max_file_size": 100
}
```
+
+### Delete group push rule **(STARTER)**
+
+Deletes the [push rules](../user/group/index.md#group-push-rules-starter) of a group.
+
+Only available to group owners and administrators.
+
+```plaintext
+DELETE /groups/:id/push_rule
+```
+
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) |