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

  • 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 66
Google Search Appliance: Administrative API Developer’s Guide: Protocol 67
The following is an example of a request body:
<?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=’entryID’>S4-JAX9N2PQ4GNAB</gsa:content>
<gsa:content name=’nodeType’>SECONDARY</gsa:content>
<gsa:content name=’federationNetworkIP’>10.0.0.2</gsa:content>
<gsa:content name=’secretToken’>token</gsa:content>
<gsa:content name=’hostname’>host1.domain.com</gsa:content>
<gsa:content name=’scoringBias’>20</gsa:content>
</entry>
Retrieving a Node Configuration
To retrieve the configuration information about a GSA Unification node, send an authenticated
GET
request to the following URL:
http://Search_Appliance:8000/feeds/federation/Appliance_Id
The following example shows a sample result for a secondary node:
<?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/federation/S4-JAX9N2PQ4GNAB</id>
<updated>2008-12-11T08:18:04.372Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/federation/S4-JAX9N2PQ4GNAB’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/federation/S4-JAX9N2PQ4GNAB’/>
<gsa:content name=’entryID’>S4-JAX9N2PQ4GNAB</gsa:content>
<gsa:content name=’nodeType’>SECONDARY</gsa:content>
<gsa:content name=’federationNetworkIP’>10.0.0.2</gsa:content>
<gsa:content name=’secretToken’>token</gsa:content>
<gsa:content name=’hostname’>host1.domain.com</gsa:content>
<gsa:content name=’scoringBias’>20</gsa:content>
<gsa:content name=’remoteFrontend’>remoteFrontend</gsa:content>
<gsa:content name=’slaveTimeout’>100</gsa:content>
</entry>
The following example shows a sample result for a primary node:
<?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/federation/S4-JAX9N2PQ4GNAB</id>
<updated>2008-12-11T08:18:04.372Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/federation/S4-JAX9N2PQ4GNAB’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/federation/S4-JAX9N2PQ4GNAB’/>
<gsa:content name=’entryID’>S4-JAX9N2PQ4GNAB</gsa:content>
<gsa:content name=’nodeType’>PRIMARY</gsa:content>
<gsa:content name=’federationNetworkIP’>10.0.0.2</gsa:content>
<gsa:content name=’secretToken’>token</gsa:content>
<gsa:content name=’hostname’>host1.domain.com</gsa:content>
<gsa:content name=’secondaryNodes’>Appliance_ID1, Appliance_ID2</gsa:content>
</entry>
Vue de la page 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 76 77

Commentaires sur ces manuels

Pas de commentaire