diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-06-19 10:46:24 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-06-19 10:46:24 +0000 |
commit | 57a2ac1869de943f86aa3465caa37e8f1ced0099 (patch) | |
tree | 3baf4a90299e7bb01e58841cb500767863a52cd7 /doc | |
parent | 74cecce55a166bb56064c6d45a7ddc11f57af991 (diff) | |
parent | 24865a4e17917fcf79d83508d18f683c5623ded8 (diff) | |
download | gitlab-ce-57a2ac1869de943f86aa3465caa37e8f1ced0099.tar.gz |
Merge branch 'more-group-api-sorting-options' into 'master'
Fix group pagination and add sort by id to groups and subgroups
Closes #47409
See merge request gitlab-org/gitlab-ce!19665
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/groups.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md index 96842ef330f..a48905f2f15 100644 --- a/doc/api/groups.md +++ b/doc/api/groups.md @@ -12,7 +12,7 @@ Parameters: | `skip_groups` | array of integers | no | Skip the group IDs passed | | `all_available` | boolean | no | Show all the groups you have access to (defaults to `false` for authenticated users, `true` for admin) | | `search` | string | no | Return the list of authorized groups matching the search criteria | -| `order_by` | string | no | Order groups by `name` or `path`. Default is `name` | +| `order_by` | string | no | Order groups by `name`, `path` or `id`. Default is `name` | | `sort` | string | no | Order groups in `asc` or `desc` order. Default is `asc` | | `statistics` | boolean | no | Include group statistics (admins only) | | `with_custom_attributes` | boolean | no | Include [custom attributes](custom_attributes.md) in response (admins only) | @@ -96,7 +96,7 @@ Parameters: | `skip_groups` | array of integers | no | Skip the group IDs passed | | `all_available` | boolean | no | Show all the groups you have access to (defaults to `false` for authenticated users, `true` for admin) | | `search` | string | no | Return the list of authorized groups matching the search criteria | -| `order_by` | string | no | Order groups by `name` or `path`. Default is `name` | +| `order_by` | string | no | Order groups by `name`, `path` or `id`. Default is `name` | | `sort` | string | no | Order groups in `asc` or `desc` order. Default is `asc` | | `statistics` | boolean | no | Include group statistics (admins only) | | `with_custom_attributes` | boolean | no | Include [custom attributes](custom_attributes.md) in response (admins only) | |