summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-07-03 16:33:58 +0900
committerMarcel Amirault <mamirault@gitlab.com>2019-07-03 16:33:58 +0900
commit42e268977045c04bdeab1b4719fdc4993e9a3716 (patch)
tree7788667a37ee522424fdd9a7aca3dfa506607f9d /doc/api/projects.md
parentc68cf9e5e9fd2a6767e7913668ad88a29a0cfbff (diff)
downloadgitlab-ce-docs-api-merge-new-2.tar.gz
Expand json examples for EE api docsdocs-api-merge-new-2
Make json examples easier to follow by including the brackets and a few sample parameters
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 7c3a30e62eb..b8ccf25581e 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -260,7 +260,14 @@ Users on GitLab [Starter, Bronze, or higher](https://about.gitlab.com/pricing/)
the `approvals_before_merge` parameter:
```json
+[
+ {
+ "id": 4,
+ "description": null,
"approvals_before_merge": 0,
+ ...
+ }
+]
```
You can filter by [custom attributes](custom_attributes.md) with:
@@ -590,7 +597,12 @@ Users on GitLab [Starter, Bronze, or higher](https://about.gitlab.com/pricing/)
the `approvals_before_merge` parameter:
```json
+{
+ "id": 3,
+ "description": null,
"approvals_before_merge": 0,
+ ...
+}
```
**Note**: The `web_url` and `avatar_url` attributes on `namespace` were [introduced][ce-27427] in GitLab 11.11.