Retrieving acl rules – Google Search Appliance Policy ACL API Developers Guide User Manual
Page 18

Google Search Appliance: Policy ACL API Developer’s Guide
Policy ACL API Developer’s Guide
18
To create a new ACL rule with a default setting, use the following entry:
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
Retrieving ACL Rules
To retrieve a list of ACL rules, send an authenticated GET request to the following URL:
http://Search_Appliance:8000/feeds/
policyAcls[?[query=][matchMode=][startLine=][maxLines=]]
The following example shows a sample result:
xmlns:openSearch=’http://a9.com/-/spec/opensearchrss/1.0/’ href=’http://gsa.example.com:8000/feeds/policyAcls’/> href=’http://gsa.example.com:8000/feeds/policyAcls’/> Appliance
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
...
To retrieve an ACL rule for a URL pattern, send an authenticated GET request to the following URL:
http://Search_Appliance:8000/feeds/policyAcls/Url_Pattern
The following example shows a sample result: