Feeds trusted ip addresses – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 16

Advertising
background image

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

16

Destroying a Data Source Feed

To destroy a data source feed from a search appliance, send an authenticated DELETE request to the
feed feed URL:

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

Note: You can only destroy a data source feed after you delete the feed.

Feeds Trusted IP Addresses

Retrieve and update the trusted IP addresses for feeds for a search appliance using the feedTrustedIP
entry of the config feed.

Retrieving Feeds Trusted IP Addresses

To get the feeds trusted IP address information for a search appliance, send an authenticated GET
request to the config feed URL:

http://Search_Appliance:8000/feeds/config/feedTrustedIP

The result is an entry that includes current feeds trusted IP values for the search appliance:

<?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/config/feedTrustedIP</id>
<updated>2008-12-12T09:17:20.830Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/config/feedTrustedIP’/>

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

href=’http://gsa:8000/feeds/config/feedTrustedIP’/>

<gsa:content name=’entryID’>feedTrustedIP</gsa:content>
<gsa:content name=’trustedIPs’>all</gsa:content>

</entry>

Updating Feeds Trusted IP Addresses

To update feeds trusted IP information for a search appliance, send an authenticated PUT request to the
config feed URL:

http://Search_Appliance:8000/feeds/config/feedTrustedIP

Property

Description

trustedIPs

Trusted IP addresses: Either a list of IP addresses or all, which means trust
all IP addresses. Separate multiple IP addresses with white space.

Advertising