Updating a connector manager, Deleting a connector manager – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 26

Advertising
background image

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

26

<entry>

<id>http://gsa:8000/feeds/connectorManager/ConnectorManagerTwo</id>
<updated>2009-03-22T06:31:15.357Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/connectorManager’/>

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

href=’http://gsa:8000/feeds/connectorManager’/>

<gsa:content name=’entryID’>ConnectorManagerTwo</gsa:content>
<gsa:content name=’status’>Disconnected</gsa:content>
<gsa:content name=’description’>

Connector Manager Two Description

</gsa:content>
<gsa:content name=’url’>http://example2.com:port/</gsa:content>

</entry>

</feed>

To retrieve an individual connector manager, send an authenticated GET request to the following URL:

http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name

The following example shows a sample result:

<?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/connectorManager/ConnectorManagerOne</id>
<updated>2009-03-22T06:33:26.140Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/connectorManager/ConnectorManagerOne’/>

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

href=’http://gsa:8000/feeds/connectorManager/ConnectorManagerOne’/>

<gsa:content name=’entryID’>ConnectorManagerOne</gsa:content>
<gsa:content name=’status’>Disconnected</gsa:content>
<gsa:content name=’description’>Connector Manager One Description</gsa:content>
<gsa:content name=’url’>http://example.com:port/</gsa:content>

</entry>

Updating a Connector Manager

To update the description and url in a connector manager, send an authenticated PUT request to the
following URL:

http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name

The following example request body shows the result:

<?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=’description’>new description</gsa:content>
<gsa:content name=’url’>#new URL</gsa:content>

</entry>

Deleting a Connector Manager

To delete a connector manager, send an authenticated DELETE request to the following URL:

http://Search_Appliance:8000/feeds/connectorManager/ConnectorManager_Name

Advertising