summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-02-07 09:21:17 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-02-07 09:21:17 +0100
commit2cce501f452e84d9fe8c27bd0291e4984c12bc4c (patch)
tree5b98215be26330c0db4b39e2f5f39720f0c63f2c /doc/api
parentadb6dd067037a3df1951b5dacae37a06541ec286 (diff)
parent4457cf9d178dc9912fd9c16427ad81b389179d00 (diff)
downloadgitlab-ce-2cce501f452e84d9fe8c27bd0291e4984c12bc4c.tar.gz
Merge commit '4457cf9d178dc9912fd9c16427ad81b389179d00' into fix/gb/fix-redundant-pipeline-stagesfix/gb/fix-redundant-pipeline-stages
* commit '4457cf9d178dc9912fd9c16427ad81b389179d00': (76 commits) Conflicts: spec/services/ci/retry_build_service_spec.rb
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/users.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index 1da6fcf297d..2082e45756a 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -51,6 +51,11 @@ GET /users?blocked=true
GET /users
```
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `order_by` | string | no | Return projects ordered by `id`, `name`, `username`, `created_at`, or `updated_at` fields. Default is `id` |
+| `sort` | string | no | Return projects sorted in `asc` or `desc` order. Default is `desc` |
+
```json
[
{