diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-12 16:57:20 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-12 16:57:20 +0000 |
commit | 6643d38f9790404eee17034a6e003beebadaf197 (patch) | |
tree | c3f97ac517b4b4ce71e959a7b6e851a00652fbed /doc/api | |
parent | 31bcd04711d448c016506897b8431273e3454faa (diff) | |
parent | ef0cf7b42dbdd7a017450ada45881134524e4997 (diff) | |
download | gitlab-ce-6643d38f9790404eee17034a6e003beebadaf197.tar.gz |
Merge branch 'add_search_option_to_project_api' into 'master'
Add search option to project api
When using Ajax to search for users authorised projects we need to do a search query on the returned list rather than doing a request using `/search/:query` option.
This MR also adds a simple spec for project ordering feature that got added in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/266 but no specs were provided.
See merge request !1385
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/projects.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 22d3c828a4b..027a8ec2e7f 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -13,6 +13,7 @@ Parameters: - `archived` (optional) - if passed, limit by archived status - `order_by` (optional) - Return requests ordered by `id`, `name`, `created_at` or `last_activity_at` fields - `sort` (optional) - Return requests sorted in `asc` or `desc` order +- `search` (optional) - Return list of authorized projects according to a search criteria ```json [ |