beautypg.com

Inserting a crawler access rule, Retrieving crawler access rules – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 19

background image

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

19

Inserting a Crawler Access Rule

To insert a new crawl access rule, send an authenticated POST request to the following URL:

http://Search_Appliance:8000/feeds/crawlAccessNTLM

The following example inserts a new crawler access rule:


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

#URL pattern for the new crawler access rule


domainone
1
username
password

Retrieving Crawler Access Rules

To retrieve a list of crawl access rules, send an authenticated GET request to the following URL:

http://Search_Appliance:8000/feeds/crawlAccessNTLM

The following example shows a sample result:


xmlns:openSearch=’http://a9.com/-/spec/opensearchrss/1.0/’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/crawlAccessNTLM
2009-03-22T06:33:40.471Z

type=’application/atom+xml’ href=’http://gsa:8000/feeds/crawlAccessNTLM’/>\

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

Google Search Appliance


1

order

The entries in crawler access rules are sequential rules. The order indicates
the sequence. The order is an integer value starting from 1.

password

Password for authentication.

urlPattern

URL pattern that matches files with secure content.

username

User name for authentication.

Property

Description