Google Search Appliance Administrative API Developers Gui Bedienungsanleitung Seite 32

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 77
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 31
Google Search Appliance: Administrative API Developer’s Guide: Protocol 32
Creating a Collection
To create a new collection, send an authenticated
POST
request to the following URL:
http://Search_Appliance:8000/feeds/collection
To create a new collection with a default setting, use the following entry:
<?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=’collectionName’>new_collection</gsa:content>
<gsa:content name=’insertMethod’>default</gsa:content>
</entry>
To specify the settings for a new collection, send the following entry:
<?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=’collectionName’>new_collection</gsa:content>
<gsa:content name=’insertMethod’>customize</gsa:content>
<gsa:content name=’followURLs’>#url in new collection</gsa:content>
<gsa:content name=’doNotCrawlURLs’># url not in new collection</gsa:content>
</entry>
Retrieving All Collections
To retrieve a list of collections, send an authenticated
GET
request to the following URL:
http://Search_Appliance:8000/feeds/collection
Seitenansicht 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 76 77

Kommentare zu diesen Handbüchern

Keine Kommentare