What are the extra characters "/fybqsagk" that are found on the
mediaLink that are not found in the docId?

For example:

# browser link:     
http://docs.google.com/a/nealwalters.com/Doc?docid=0ATwdKGQ8JJkGZGRqanp2ZHBfMTIyZ3RwdHY2aHA&hl=en

# GetEditMediaLink:
http://docs.google.com/feeds/media/private/full/document%3A0ATwdKGQ8JJkGZGRqanp2ZHBfMTI2YzY0Zjk1dnE/fybqsagk

The "/fybqsagk" doesn't seem to be a constant, i.e. it is different
for every doc I create.

So in other words, if I know just the docId, can I build a URL for an
append?

I was attempting this (in Python):

argDocId = "0ATwdKGQ8JJkGZGRqanp2ZHBfMTIyZ3RwdHY2aHA"
docURL = "http://docs.google.com/feeds/media/private/full/document%3A";
+ argDocId
argDocContent = "<h2>My New Text To Append</h2>  This is my new
text<br/>"
ms = gdata.MediaSource(file_handle=StringIO.StringIO(argDocContent),
content_type='text/html', content_length=len(argDocContent))
updated_entry = argClient.Put(ms, docURL + '?append=true')


but getting 400 bad request.

Thanks,
Neal Walters




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to