Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 20

Advertising
background image

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

20

<entry>

<id>http://gsa:8000/feeds/crawlAccessNTLM/http://example.com/</id>
<updated>2009-03-22T06:33:40.471Z</updated>
<link rel=’self’ type=’application/atom+xml’

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

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

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

<gsa:content name=’entryID’>http://example.com/</gsa:content>
<gsa:content name=’urlPattern’>http://example.com/</gsa:content>
<gsa:content name=’username’>userone</gsa:content>
<gsa:content name=’order’>1</gsa:content>
<gsa:content name=’domain’>domainone</gsa:content>
<gsa:content name=’isPublic’>0</gsa:content>

</entry>

<entry>

<id>http://gsa:8000/feeds/crawlAccessNTLM/http://example2.com/</id>
<updated>2009-03-22T06:33:40.471Z</updated>
<link rel=’self’ type=’application/atom+xml’

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

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

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

<gsa:content name=’entryID’>http://example2.com/</gsa:content>
<gsa:content name=’urlPattern’>http://example2.com/</gsa:content>
<gsa:content name=’username’>usertwo</gsa:content>
<gsa:content name=’order’>2</gsa:content>
<gsa:content name=’domain’></gsa:content>
<gsa:content name=’isPublic’>1</gsa:content>

</entry>

</feed>

To retrieve an individual crawler access rule, send an authenticated GET request to the following URL:

http://Search_Appliance:8000/feeds/crawlAccessNTLM/urlPattern

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/crawlAccessNTLM/http%3A%2F%2Fexample.com%2F</id>
<updated>2009-03-23T10:19:55.045Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/crawlAccessNTLM/http%3A%2F%2Fexample.com%2F’/>

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

href=’http://gsa:8000/feeds/crawlAccessNTLM/http%3A%2F%2Fexample.com%2F’/>

<gsa:content name=’entryID’>http://example.com/</gsa:content>
<gsa:content name=’urlPattern’>http://example.com/</gsa:content>
<gsa:content name=’username’>userone</gsa:content>
<gsa:content name=’order’>1</gsa:content>
<gsa:content name=’domain’>domainone</gsa:content>
<gsa:content name=’isPublic’>0</gsa:content>

</entry>

Note: The password property is not available when retrieving crawler access rules.

Advertising