Creating a search report – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 57

Advertising
background image

Google Search Appliance: Administrative API Developer’s Guide: Protocol

57

<entry>

<id>http://gsa:8000/feeds/searchReport/aaa@default_collection</id>
<updated>2009-03-26T07:26:55.991Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>

2009-03-26T07:26:55.991Z

</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’>aaa@default_collection</gsa:content>
<gsa:content name=’diagnosticTerms’>comments</gsa:content>
<gsa:content name=’reportState’>2</gsa:content>
<gsa:content name=’reportCreationDate’>

March 26, 2009 12:14:14 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>

<entry>

<id>http://gsa:8000/feeds/searchReport/bbb@default_collection</id>
<updated>2009-03-26T07:26:55.991Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>

2009-03-26T07:26:55.991Z

</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’>2</gsa:content>
<gsa:content name=’reportCreationDate’>

March 26, 2009 12:24:16 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>
</feed>

Creating a Search Report

Create a new search report entry by sending an authenticated POST request to the root entry of the
searchReport feed.

http://Search_Appliance:8000/feeds/searchReport/

The possible date formats for reports are as follows.

Purpose

Format

Date

date

_month_day_year

Month

month

_month_year

Advertising