Google Search Appliance Administrative API Developers Gui Uživatelský manuál Strana 25

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 77
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 24
Google Search Appliance: Administrative API Developer’s Guide: Protocol 25
The following example inserts a new connector manager:
<?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’>ConnectorManagerOne</gsa:content>
<gsa:content name=’description’>Connector Manager One Description</gsa:content>
<gsa:content name=’url’>http://example.com:port/</gsa:content>
</entry>
Retrieving Connector Managers
To retrieve a list of connector managers, send an authenticated
GET
request to the following URL:
http://Search_Appliance:8000/feeds/connectorManager
The following example shows a sample result:
<?xml version=’1.0’ encoding=’UTF-8’?>
<feed xmlns=’http://www.w3.org/2005/Atom’
xmlns:openSearch=’http://a9.com/-/spec/opensearchrss/1.0/’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/connectorManager</id>
<updated>2009-03-22T06:31:15.357Z</updated>
<link rel=’http://schemas.google.com/g/2005#feed’
type=’application/atom+xml’ href=’http://gsa:8000/feeds/connectorManager’/>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/connectorManager’/>
<generator version=’0.5’ uri=’http://gsa:8000/gsa’>
Google Search Appliance
</generator>
<openSearch:startIndex>1</openSearch:startIndex>
<entry>
<id>http://gsa:8000/feeds/connectorManager/ConnectorManagerOne</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’>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>
Zobrazit stránku 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 76 77

Komentáře k této Příručce

Žádné komentáře