summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-10-04 17:46:08 +0100
committerSean McGivern <sean@gitlab.com>2016-10-04 17:46:08 +0100
commit42cb659726822d500086ce09f712b858228f4caa (patch)
treeaea754187888f682d9bf927242234578627147c1 /doc/api/projects.md
parent355f97f8c321e815b245021488ae4a2a5aa6c2c3 (diff)
downloadgitlab-ce-42cb659726822d500086ce09f712b858228f4caa.tar.gz
Update API docs and specs for /projects/visible
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 409e67ea566..2a1054a5337 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -33,6 +33,7 @@ Parameters:
- `order_by` (optional) - Return requests ordered by `id`, `name`, `path`, `created_at`, `updated_at` or `last_activity_at` fields. Default is `created_at`
- `sort` (optional) - Return requests sorted in `asc` or `desc` order. Default is `desc`
- `search` (optional) - Return list of authorized projects according to a search criteria
+- `simple` (optional) - When set, return only the ID, URL, name, and path of each project
```json
[
@@ -153,7 +154,7 @@ Parameters:
]
```
-Get a list of projects for which the authenticated user can see.
+Get a list of projects which the authenticated user can see.
```
GET /projects/visible
@@ -166,6 +167,7 @@ Parameters:
- `order_by` (optional) - Return requests ordered by `id`, `name`, `path`, `created_at`, `updated_at` or `last_activity_at` fields. Default is `created_at`
- `sort` (optional) - Return requests sorted in `asc` or `desc` order. Default is `desc`
- `search` (optional) - Return list of authorized projects according to a search criteria
+- `simple` (optional) - When set, return only the ID, URL, name, and path of each project
```json
[