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

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:
<?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/importExport</id>
<updated>2009-03-26T05:56:23.092Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>
2009-03-26T05:56:23.092Z
</app:edited>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/config/importExport’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/config/importExport’/>
<gsa:content name=’entryID’>importExport</gsa:content>
<gsa:content name=’xmlData’>
**********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:
<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<gsa:content name=’password’>12345678</gsa:content>
<gsa:content name=’xmlData’>
**********configuration content***********
</gsa:content>
</entry>
Parameter
Description
password
The password of the exported configuration
Property
Description
xmlData
The content of exported configuration
password
The password for generating configuration file