Google Search Appliance Policy ACL API Developers Guide Manual de usuario Pagina 19

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 24
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 18
Google Search Appliance: Policy ACL API Developer’s Guide Policy ACL API Developer’s Guide 19
Updating an ACL Rule
To update an attribute in an ACL rule for a URL pattern, send an authenticated
PUT
request to the
following URL:
http://Search_Appliance:8000/feeds/policyAcls/Url_Pattern
The following example entry updates the ACL rule:
<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’ xmlns:gsa=’http://schemas.google.com/
gsa/2007’>
<gsa:content name=’urlPattern’>http://example.com</gsa:content>
<gsa:content name=’acl’>user:john group:eng</gsa:content>
</entry>
Deleting an ACL Rule
To delete an ACL rule from a search appliance, send an authenticated
DELETE
request to the following
URL:
http://Search_Appliance:8000/feeds/policyAcls/Url_Pattern
Group and Member API
The code in the sections that follow specifies which users and groups can access a URL pattern for the
ACL rule.
Creating a Group
To create a group, use the following
POST
request:
POST http://Search_Appliance:8000/a/feeds/group/2.0/domain
Retrieving Groups
To retrieve all groups in a particular domain, use the following
GET
request:
GET http://Search_Appliance:8000/a/feeds/group/2.0/domain[?[start-index=]]
Deleting Members of a Group
To delete members of a group, use the following
DELETE
request:
DELETE http://Search_Appliance:8000/a/feeds/group/2.0/domain/groupId
Take note that this request only deletes members of a group, it does not delete the empty group.
Vista de pagina 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24

Comentarios a estos manuales

Sin comentarios