Retrieving data source feed information – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 14

Advertising
background image

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

14

Retrieving Data Source Feed Information

To retrieve information about all data source feeds for a search appliance, send an authenticated GET
request to the feed feed URL:

http://Search_Appliance:8000/feeds/feed?query=feedDataSource

The following example result includes current feeds values for the search appliance:

<?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/feed</id>
<updated>2008-12-12T12:57:22.970Z</updated>
<link rel=’http://schemas.example.com/g/2005#feed’

type=’application/atom+xml’
href=’http://gsa:8000/feeds/feed’/>

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

href=’http://gsa:8000/feeds/feed’/>

<generator version=’0.5’ uri=’http://gsa:8000/gsa’>

Google Search Appliance

</generator>
<openSearch:startIndex>1</openSearch:startIndex>

<entry>

<id>http://gsa:8000/feeds/feed/Feed_ID</id>
<updated>2008-12-12T12:57:22.970Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/feed’/>

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

href=’http://gsa:8000/feeds/feed’/>

<gsa:content name=’entryID’>

sample_feed2_20081212_005647_000000_FULL_FEED_0

</gsa:content>
<gsa:content name=’errorRecords’>0</gsa:content>
<gsa:content name=’successRecords’>1</gsa:content>
<gsa:content name=’feedType’>0</gsa:content>
<gsa:content name=’feedDataSource’>sample_feed2</gsa:content>
<gsa:content name=’feedState’>2</gsa:content>
<gsa:content name=’feedTime’>1229072207000</gsa:content>

</entry>

<entry>

<id>http://gsa:8000/feeds/feed/Feed_ID</id>
<updated>2008-12-12T12:57:22.970Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/feed’/>

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

href=’http://gsa:8000/feeds/feed’/>

<gsa:content name=’entryID’>

sample_feed_20081212_005123_000000_FULL_FEED_0

</gsa:content>
<gsa:content name=’errorRecords’>1</gsa:content>
<gsa:content name=’successRecords’>0</gsa:content>
<gsa:content name=’feedType’>0</gsa:content>
<gsa:content name=’feedDataSource’>sample_feed</gsa:content>
<gsa:content name=’feedState’>4</gsa:content>
<gsa:content name=’feedTime’>1229071883000</gsa:content>

</entry>

</feed>

Advertising