Google Search Appliance Policy ACL API Developers Guide User Manual
Page 24

Google Search Appliance: Policy ACL API Developer’s Guide
Policy ACL API Developer’s Guide
24
The XML code that follows shows a sample API response for a request to retrieve all members of a
group.
<?xml version="1.0" encoding="UTF-8"?>
<atom:feed xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:apps="http://schemas.google.com/apps/2006"
xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
<atom:id>http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member</atom:id>
<atom:link rel="http://schemas.google.com/g/2005#feed" type="application/
atom+xml"
href="http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member"/>
<openSearch:startIndex>1</openSearch:startIndex>
<atom:entry>
<atom:id>http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/suejones%40example.com</atom:id>
<atom:link rel="self" type="application/atom+xml"
href="http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/suejones%40example.com"/>
<atom:link rel="edit" type="application/atom+xml"
href="http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/suejones%40example.com"/>
<apps:property name="memberId" value="[email protected]"/>
<apps:property name="memberType" value="User"/>
<apps:property name="directMember" value="true"/>
</atom:entry>
<atom:entry>
<atom:id>http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/ca-sales%40example.com</atom:id>
<atom:link rel="self" type="application/atom+xml
href="http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/ca-sales%40example.com"/>
<atom:link rel="edit" type="application/atom+xml
href="http://gsa.example.com:8000/a/feeds/group/2.0/example.com/us-sales/
member/ca-sales%40example.com"/>
<apps:property name="memberId" value="[email protected]"/>
<apps:property name="memberType" value="Group"/>
<apps:property name="directMember" value="true"/>
</atom:entry>
<atom:entry>
...more entries...
</atom:entry>
</atom:feed>