diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-04-05 13:31:15 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-04-10 16:13:48 -0300 |
commit | fd32960e7c94bdc0db9704b5ec7661defdc488e3 (patch) | |
tree | ac5fa5d76ada7a52ae9a0fee23af24f6bdccdc29 /lib/api/users.rb | |
parent | 0b5a8a34e0b7851957b976a8151a7d6acf8b9f69 (diff) | |
download | gitlab-ce-fd32960e7c94bdc0db9704b5ec7661defdc488e3.tar.gz |
Separate CE params on Grape API
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r-- | lib/api/users.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index 6f40f92240a..eedc59f8636 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -37,11 +37,13 @@ module API success Entities::UserBasic end params do + # CE optional :username, type: String, desc: 'Get a single user with a specific username' optional :search, type: String, desc: 'Search for a username' optional :active, type: Boolean, default: false, desc: 'Filters only active users' optional :external, type: Boolean, default: false, desc: 'Filters only external users' optional :blocked, type: Boolean, default: false, desc: 'Filters only blocked users' + use :pagination end get do |