Hi Clint,

The URL is the same as with your gmail account i.e.

http://docs.google.com/feeds/documents/private/full

You should specify the service as 'writely' when obtaining the Auth
Token for Document List API. This can be done with the service
parameter in ClientLogin request:
accountType=HOSTED&service=writely

Alternatively, you can use the GData client libraries:
http://code.google.com/apis/documents/code.html

Sample Java Code:

DocsService service = new DocsService("MyApp");
service.setUserCredentials("[email protected]", "password");
DocumentListFeed feed = service.getFeed(new URL("http://
docs.google.com/feeds/documents/private/full"),
        DocumentListFeed.class);
.....

Also, HTTP 500 may be an indication of service unavailibity at that
point of time.

-Anirudh

On Jan 26, 11:54 pm, Clint <[email protected]> wrote:
> We have a domain which we have registered in Google apps (example:
> mydomain.com). What will be the right URL to use in our code when
> accessing docs in our Google Apps?
>
> When I access my docs library using my Gmail account I use the
> following URL to get 
> folders:http://docs.google.com/feeds/documents/private/full/-/folder?showfold...
>
> For some reason the same URL doesn't work when I try to access my
> Google Apps account (I'm getting HTTP 500)
> Should I be using something 
> like:??http://docs.google.com/a/mydomain.com/feeds/documents/private/full/-/...
>
> Thanks,
> Clint
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to