Skip to main content

Joel Liu's Library tagged Doc   View Popular

05 Jul 09

Developer's Guide: The Protocol - Google Documents List Data API - Google Code

    • To update an existing document, first you retrieve the document you want to update, then you modify it as desired, and then you send a PUT request to either the edit link or the edit-media link, depending on what is to be updated.



      You can update any of the following:


      • The document's metadata
      • The document's contents
      • Both metadata and contents at once (using a MIME multipart request)
  • The new document contents, which form part of the MIME multipart request, must have a content-type for which conversion is supported--for instance, to update a Google Docs document with new content, it could have content-type application/msword, or content-type text/plain, but not content-type application/vnd.ms-excel. When updating a Google Docs spreadsheet, however, content-type application/vnd.ms-excel would be appropriate. Content-types which are not supported by the document type being updated will result in an HTTP 400 Bad Request response.
  • 2 more annotations...
1 - 1 of 1
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo