Exporting a configuration, Import a configuration – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 71

background image

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

71

Common query parameters for all requests:

The importExport entry properties:

Exporting a Configuration

To export a search appliance configuration, send an authenticated GET request to the importExport
entry of the config feed:

http://Search_Appliance:8000/feeds/config/importExport?password=12345678

An importExport entry returns:

xmlns:gsa=’http://schemas.google.com/gsa/2007’>

http://gsa:8000/feeds/config/importExport
2009-03-26T05:56:23.092Z

2009-03-26T05:56:23.092Z


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

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

importExport

**********configuration content***********
<

Import a Configuration

To import a search appliance configuration, send an authenticated PUT request to the importExport
entry of the config feed:

http://Search_Appliance:8000/feeds/config/importExport

The following example shows an importExport entry with content:

xmlns:gsa=’http://schemas.google.com/gsa/2007’>

12345678

**********configuration content***********

Parameter

Description

password

The password of the exported configuration

Property

Description

xmlData

The content of exported configuration

password

The password for generating configuration file