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

  • 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 57
Google Search Appliance: Administrative API Developer’s Guide: Protocol 58
An example request with content is:
<?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=’reportName’>bbb</gsa:content>
<gsa:content name=’collectionName’>default_collection</gsa:content>
<gsa:content name=’reportDate’>month_3_2009</gsa:content>
<gsa:content name=’withResults’>true</gsa:content>
<gsa:content name=’topCount’>100</gsa:content>
</entry>
A new search report entry is generated and returned:
<?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/searchReport</id>
<updated>2009-03-26T07:22:25.162Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>
2009-03-26T07:22:25.162Z
</app:edited>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchReport’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/searchReport’/>
<gsa:content name=’entryID’>bbb@default_collection</gsa:content>
<gsa:content name=’diagnosticTerms’></gsa:content>
<gsa:content name=’reportState’>1</gsa:content>
<gsa:content name=’reportCreationDate’>
March 26, 2009 12:22:25 AM PDT
</gsa:content>
<gsa:content name=’reportDate’>month_3_2009</gsa:content>
<gsa:content name=’withResults’>true</gsa:content>
<gsa:content name=’topCount’>100</gsa:content>
<gsa:content name=’isFinal’>false</gsa:content>
</entry>
Retrieving a Search Report
To check search report status and retrieve search log content, send an authenticated
GET
request to a
search report entry of the
searchReport
feed.
http://Search_Appliance:8000/feeds/searchReport/aaa@default_collection
Year
year_year
Date range
range_month_day_year_month_day_year
Purpose Format
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 76 77

Commentaires sur ces manuels

Pas de commentaire