summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2017-03-03 12:00:34 +0100
committerToon Claes <toon@gitlab.com>2017-03-03 13:42:39 +0100
commit6357635686fafb2fc9af5090c1edabfe25649085 (patch)
tree978bb01a0486e2d323ec1a6096140c24794e6bae /doc/api/projects.md
parent06e96907eef49c3be1b3608e77420e42d554943a (diff)
downloadgitlab-ce-6357635686fafb2fc9af5090c1edabfe25649085.tar.gz
Rename query parameter to `membership`28865-filter-by-authorized-projects-in-v4
The query parameter `membership` should be more self-explaining.
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 6805e7d67e9..6062c5ccd71 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -34,10 +34,10 @@ Parameters:
| `visibility` | string | no | Limit by visibility `public`, `internal`, or `private` |
| `order_by` | string | no | Return projects ordered by `id`, `name`, `path`, `created_at`, `updated_at`, or `last_activity_at` fields. Default is `created_at` |
| `sort` | string | no | Return projects sorted in `asc` or `desc` order. Default is `desc` |
-| `search` | string | no | Return list of authorized projects matching the search criteria |
+| `search` | string | no | Return list of projects matching the search criteria |
| `simple` | boolean | no | Return only the ID, URL, name, and path of each project |
| `owned` | boolean | no | Limit by projects owned by the current user |
-| `authorized` | boolean | no | Limit by projects authorized for the current user |
+| `membership` | boolean | no | Limit by projects that the current user is a member of |
| `starred` | boolean | no | Limit by projects starred by the current user |
```json