beautypg.com

Gsa:content, Xml request formats – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 10

background image

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

10

gsa:content

Definition

The tag specifies properties of the search appliance Admin Console settings. The
must contain at least one . The attribute name specifies the name of property
and the value for the property should be put in content.

Example

http://yourdomain.com/

Parent Element

atom:entry

Content Format

Complex

XML Request Formats

For API requests to create or update information (HTTP POST and PUT requests), the body of a request
must be an XML document that provides the data necessary to complete a request.

For API requests to retrieve or delete information (HTTP GET and DELETE requests), the URL and HTTP
request type specify all of the information that the search appliance needs to fulfill the request. Put all
necessary information in the XML tag.

The following example updates the crawl URLs in a search appliance:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://ent1:8000/feeds/config/crawlURLs
http://yourdomain.com/
http://yourdomain.com/

http://yourdomain.com/not_allow