Google Search Appliance Administrative API Developers Gui Manuel d'utilisateur Page 26

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 77
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 25
Google Search Appliance: Administrative API Developer’s Guide: Protocol 26
<entry>
<id>http://gsa:8000/feeds/connectorManager/ConnectorManagerTwo</id>
<updated>2009-03-22T06:31:15.357Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/connectorManager’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/connectorManager’/>
<gsa:content name=’entryID’>ConnectorManagerTwo</gsa:content>
<gsa:content name=’status’>Disconnected</gsa:content>
<gsa:content name=’description’>
Connector Manager Two Description
</gsa:content>
<gsa:content name=’url’>http://example2.com:port/</gsa:content>
</entry>
</feed>
To retrieve an individual connector manager, send an authenticated
GET
request to the following URL:
http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name
The following example shows a sample result:
<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/connectorManager/ConnectorManagerOne</id>
<updated>2009-03-22T06:33:26.140Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/connectorManager/ConnectorManagerOne’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/connectorManager/ConnectorManagerOne’/>
<gsa:content name=’entryID’>ConnectorManagerOne</gsa:content>
<gsa:content name=’status’>Disconnected</gsa:content>
<gsa:content name=’description’>Connector Manager One Description</gsa:content>
<gsa:content name=’url’>http://example.com:port/</gsa:content>
</entry>
Updating a Connector Manager
To update the
description
and
url
in a connector manager, send an authenticated
PUT
request to the
following URL:
http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name
The following example request body shows the result:
<?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=’description’>new description</gsa:content>
<gsa:content name=’url’>#new URL</gsa:content>
</entry>
Deleting a Connector Manager
To delete a connector manager, send an authenticated
DELETE
request to the following URL:
http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name
Vue de la page 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 76 77

Commentaires sur ces manuels

Pas de commentaire