Using GSA Admin API to make database sync

7 views
Skip to first unread message

P@k

unread,
Nov 9, 2009, 12:36:57 PM11/9/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi,

I'm want to know if there is a way to sync a database using the admin
API? I can't see any entry in the API Protocol definition.

Thanks.

JMarkham

unread,
Nov 9, 2009, 2:08:49 PM11/9/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi,

If you have something that already performs API functions, then you
just need to add a new function for database sync. The link for sync
is http://yourGSA.address:8000/EnterpriseController?actionType=syncDatabase&entryName=<yourDBEntryName>.

For submissions to the API, you only need the two parameters
indicated, actionType and entryName, once you're logged in, that is.

Jeff

P@k

unread,
Nov 9, 2009, 3:48:50 PM11/9/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Thanks a lot Jeff. I will try to modify the existing Java API, because
I just downloaded it and read the documentation:

http://code.google.com/apis/searchappliance/documentation/60/gdata/acapi_protocol.html

http://code.google.com/apis/searchappliance/documentation/60/gdata/acapi_java.html

And I didn't see all the urls to fetch send / fetch content but I will
try to make the calls directly to the EnterpriseController using atom.

Thanks a lot for your help and have a great day.

P@k

On Nov 9, 1:08 pm, JMarkham <jeff.mark...@capella.edu> wrote:
> Hi,
>
> If you have something that already performs API functions, then you
> just need to add a new function for database sync.  The link for sync
> ishttp://yourGSA.address:8000/EnterpriseController?actionType=syncDatab...<yourDBEntryName>.

JMarkham

unread,
Nov 9, 2009, 4:54:41 PM11/9/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
You don't have to send different requests to different links, didn't
mean to give you that impression. I was merely meaning to illustrate
that you can find the arguments necessary from inspecting the links.
You will, in fact, still send the requests to the same API location,
just with different parameters defined. :)

Jeff

Andor

unread,
Nov 25, 2009, 1:59:14 PM11/25/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Sync database is not in admin API yet.

brianb

unread,
Nov 27, 2009, 12:01:33 AM11/27/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Reply all
Reply to author
Forward
0 new messages