geyrix57 / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Google Docs CRUD #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which API and version (e.g. Google Calendar Data API version 2)?
Document List API - 3

What format (e.g. JSON, Atom)?
Atom

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
Android

Java environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?
Android 2.2

External references, such as API reference guide?

Please provide any additional information below.

I have tried for a couple days to post a request to the document list api with 
this library without success. I can read list feeds and update existing notes, 
but all attempts to create new notes return in 400 bad request errors. I have 
followed the form of several other examples that are posted for creating new 
entries, but this one seems to be unique. I've done this successfully in the 
past by forming my own requests, but I really would like to use this library 
for a project and I just need to know how this is done. My current method is to 
create an AtomContent object, set the entry to be my new Entry object that 
simply has a new title and I've tried posting to 
https://docs.google.com/feeds/default/private/full as well as to some folders. 
Thank you.

Original issue reported on code.google.com by dcgraham7 on 31 Dec 2010 at 6:07

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 31 Dec 2010 at 7:30