From 42e268977045c04bdeab1b4719fdc4993e9a3716 Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Wed, 3 Jul 2019 16:33:58 +0900 Subject: Expand json examples for EE api docs Make json examples easier to follow by including the brackets and a few sample parameters --- doc/api/projects.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/api/projects.md') 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. -- cgit v1.2.1