diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-09-09 17:39:53 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-09-15 11:54:49 +0200 |
commit | b99b2e60d587143dcb5a18e3682fa49e3a735ab1 (patch) | |
tree | b496fe79b2d270b0f25f0fb3e965ee51f2cec254 /doc | |
parent | 09b23228dfa2242e4123e10091f8a0194ecdc3de (diff) | |
download | gitlab-ce-b99b2e60d587143dcb5a18e3682fa49e3a735ab1.tar.gz |
Ordering and sorting for MR in api.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/merge_requests.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 3616e29ef7c..14884e53915 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -14,6 +14,8 @@ Parameters: - `id` (required) - The ID of a project - `state` (optional) - Return `all` requests or just those that are `merged`, `opened` or `closed` +- `order_by` (optional) - Return requests ordered by `created_at` or `updated_at` fields +- `sort` (optional) - Return requests sorted in `asc` or `desc` order ```json [ |