beautypg.com

Updating remove urls and relative oneboxes, Inserting remove urls and relative oneboxes – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 45

background image

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

45

The following result is an entry that includes current individual front end values for a search appliance:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/frontend/default_frontend
2008-12-15T16:21:26.012Z

href=’http://gsa:8000/feeds/frontend/default_frontend’/>

href=’http://gsa:8000/feeds/frontend/default_frontend’/>

default_frontend
oneboxone,oneboxtwo
http://www.example.com/

Updating Remove URLs and Relative OneBoxes

To update the remove URLs and relative OneBoxes that are associated with a front end for a search
appliance, send an authenticated PUT request to the frontend feed URL:

http://Search_Appliance:8000/feeds/frontend/Front_End

The following example updates the values for remove URLs and relative OneBox modules for a front
end:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/frontend/default_frontend
default_frontend
oneboxtwo
http://www.example2.com/

Inserting Remove URLs and Relative OneBoxes

To insert a front end and remove URLs for a search appliance, send an authenticated POST request to
the frontend feed URL:

http://Search_Appliance:8000/feeds/frontend

The following example specifies a URL pattern to remove from an index for the frontend_one front
end:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/frontend/frontend_one
frontend_one
http://www.example3.com/

Note: When inserting a new front end, the frontendOnebox property is not supported.