Index diagnostics, Updating a collection, Deleting a collection – Google Search Appliance Administrative API Developers Guide: Protocol User Manual
Page 34: Document status values

Google Search Appliance: Administrative API Developer’s Guide: Protocol
34
The following example response 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’>
<id>http://gsa:8000/feeds/collection/default_collection</id>
<updated>2008-12-11T08:18:04.372Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/collection/default_collection’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/collection/default_collection’/>
<gsa:content name=’entryID’>default_collection</gsa:content>
<gsa:content name=’followURLs’>/</gsa:content>
<gsa:content name=’doNotCrawlURLs’></gsa:content>
</entry>
Updating a Collection
To update an attribute in a collection, send an authenticated PUT request to the following URL:
http://Search_Appliance:8000/feeds/collection/Collection_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=’followURLs’>#updated urls</gsa:content>
<gsa:content name=’doNotCrawlURLs’></gsa:content>
</entry>
Deleting a Collection
To delete a collection, send an authenticated DELETE request to the following URL:
http://Search_Appliance:8000/feeds/collection/Collection_Name
Index Diagnostics
List crawled documents and retrieve the status of documents in a search appliance using the
diagnostics feed.
Document Status Values
The following tables list document status values.
Note: Use all to indicate any status value.
Successful Crawl:
Value
Description
1
Crawled from remote server
2
Crawled from cache