From b99b2e60d587143dcb5a18e3682fa49e3a735ab1 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 9 Sep 2014 17:39:53 +0200 Subject: Ordering and sorting for MR in api. --- doc/api/merge_requests.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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 [ -- cgit v1.2.1