Lune,
Use ‘serviceType’ as the parameter name to filter on service-type. For other parameter names to use in search filter, please refer to SearchFilter.java - ranger-0.5 or master. Hope this helps. Madhan From: Lune Silver <lunescar.ran...@gmail.com> Reply-To: "user@ranger.incubator.apache.org" <user@ranger.incubator.apache.org> Date: Sunday, September 11, 2016 at 5:39 AM To: "user@ranger.incubator.apache.org" <user@ranger.incubator.apache.org> Subject: Ranger REST API - Search Service - Parameter type seems not to work Hello everyone ! I'm currently testing the Ranger REST API with Ranger 0.5 (embedded in HDP2.3.4.7). I'm trying to get the list of services for a specific plugin. It works fine. But when I try the type filter (hdfs, yarn etc...), it does not seem to take this filter into account. Here is the curl command I perform : ### curl -vvv -k -u amb_ranger_admin -X GET https://<RANGER HOST>:<RANGER PORT>/service/public/v2/api/service?pageSize=10&type=hdfs ### As a result I just have the full list of all the services, whatever their types are. I can clearly see in the result that each of this service have the "type" field indicating that they are hdfs, kafka, hbase. But the result is everything. Is it normal ? Best regards. Lune.