beautypg.com

Deleting a data source feed – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 15

background image

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

15

Note: To get information about all feeds, specify a query to get the feedDataSource value. Alternatively,
you can get all the feeds if you do not supply a query. Whether or not you supply a query, you can get
information about at most five feeds for each feedDataSource value.

To get information about individual feeds from a search appliance, send an authenticated GET request
to the feed feed URL:

http://Search_Appliance:8000/feeds/feed/Feed_File_ID

The result is an entry that includes current values for an individual feed:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/feed/Feed_ID
2008-12-12T13:03:27.434Z

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

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

sample_feed_20081212_005123_000000_FULL_FEED_0


1
1
0

ProcessNode: Not match URL patterns, skipping record with URL:
http://www.sample_feed.com/sample_data.html


0
1
1
sample_feed
4
1229071883000

Note: The feed log of each data source feed can only be retrieved as an individual feed.

Deleting a Data Source Feed

To delete a data source feed from a search appliance, you must delete one of its individual feed files by
sending an authenticated PUT request to the feed feed URL:

http://Search_Appliance:8000/feeds/feed/Feed_File_ID

The Feed_File_ID used in this command corresponds to an entryID, as shown in “Retrieving Data
Source Feed Information.”
To delete a data source, you must delete one of its feed files.

Use the following XML for the PUT request:



delete

Note: You can only delete full or incremental feed types. After deleting, the deleted feed name continues
to exist, but has a feed type of DELETED. To remove a feed from existence use the destroy option.