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

Page 59

Advertising
background image

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

59

The following is a returned search report entry that contains log content (if the content is ready):

<?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/aaa%40default_collection</id>
<updated>2009-03-26T07:14:56.343Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>

2009-03-26T07:14:56.343Z

</app:edited>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/searchReport/aaa%40default_collection’/>

<link rel=’edit’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/searchReport/aaa%40default_collection’/>

<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=’reportContent’>******Report Content******</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>

Updating a Search Report

Update the search report status and get search report content by sending an authenticated PUT request
to a search report entry of the searchReport feed. There are no properties for this feed.

http://Search_Appliance:8000/feeds/searchReport/bbb@default_collection

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’>

</entry>

Advertising