beautypg.com

Adding a member to a group – Google Search Appliance Policy ACL API Developers Guide User Manual

Page 21

background image

Google Search Appliance: Policy ACL API Developer’s Guide

Policy ACL API Developer’s Guide

21

The XML code that follows shows a sample API response for a request to retrieve all groups for a
domain. Because the emailPermission and description properties are not supported by the search
appliance, the values are specified as an empty string ("").


xmlns:apps="http://schemas.google.com/apps/2006"
xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
http://gsa.example.com:8000/a/feeds/group/2.0/domain
2008-12-03T16:33:05.260Z

type="application/atom+xml" rel="http://schemas.google.com/g/2005#feed">

atom:link>

type="application/atom+xml" rel="http://schemas.google.com/g/2005#post">

atom:link>

type="application/atom+xml" rel="self">

1

http://gsa.example.com:8000/a/feeds/group/2.0/domain/us-sales%40domain

id>

2008-12-03T16:33:05.261Z
sales%40domain"

type="application/atom+xml" rel="self">

sales%40domain"

type="application/atom+xml" rel="edit">





http://gsa.example.com:8000/a/feeds/group/2.0/domain/Staff-

2435%40domain

2008-12-03T16:33:05.260Z
2435%40domain"

type="application/atom+xml" rel="self">

2435%40domain"

type="application/atom+xml" rel="edit">






...

Adding a Member to a Group

To add a member to a group, use the following POST request:

POST http://Search_Appliance:8000/a/feeds/group/2.0/domain/groupId/member