You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Burak Emre Kabakcı <em...@rakam.io> on 2018/03/28 15:04:43 UTC
Row level filters in RESTFul API
How can I access the row level filters via REST API? When I get a policy
with a row level filter via API (/service/public/api/policy/{id}), the
response doesn’t include anything related with the row level filter.
Best,
Emre
Re: Row level filters in RESTFul API
Posted by Burak Emre Kabakcı <em...@rakam.io>.
Thanks Abhay, it works as expected.
Best,
Emre
On March 28, 2018 at 8:44:57 PM, Abhay Kulkarni (akulkarni@hortonworks.com)
wrote:
Emre,
It appears that you are using an earlier version of REST APIs. Could you
please use v2 version of REST APIs documented here
<https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.6+-+REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management#ApacheRanger0.6-RESTAPIsforServiceDefinition,ServiceandPolicyManagement-GetPolicybyid>
?
Thanks,
-Abhay
From: Burak Emre Kabakcı <em...@rakam.io>
Reply-To: "user@ranger.apache.org" <us...@ranger.apache.org>
Date: Wednesday, March 28, 2018 at 8:04 AM
To: "user@ranger.incubator.apache.org" <us...@ranger.incubator.apache.org>
Subject: Row level filters in RESTFul API
How can I access the row level filters via REST API? When I get a policy
with a row level filter via API (/service/public/api/policy/{id}), the
response doesn’t include anything related with the row level filter.
Best,
Emre
Re: Row level filters in RESTFul API
Posted by Abhay Kulkarni <ak...@hortonworks.com>.
Emre,
It appears that you are using an earlier version of REST APIs. Could you please use v2 version of REST APIs documented here<https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.6+-+REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management#ApacheRanger0.6-RESTAPIsforServiceDefinition,ServiceandPolicyManagement-GetPolicybyid> ?
Thanks,
-Abhay
From: Burak Emre Kabakci <em...@rakam.io>>
Reply-To: "user@ranger.apache.org<ma...@ranger.apache.org>" <us...@ranger.apache.org>>
Date: Wednesday, March 28, 2018 at 8:04 AM
To: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Subject: Row level filters in RESTFul API
How can I access the row level filters via REST API? When I get a policy with a row level filter via API (/service/public/api/policy/{id}), the response doesn't include anything related with the row level filter.
Best,
Emre