How can I determine in which folder a spreadsheet is located? I am using JavaScript and Ajax. There is nothing in the Spreadsheets API documentation about this. The Docs API (https://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#GettingDocsAndFiles) states there should be a link in the result feed as such:
<!-- This document is in one collection, detailed here. --> <link rel="http://schemas.google.com/docs/2007#parent" type="application/atom+xml" href="https://docs.google.com/feeds/default/private/full/folder%3A12345" title="ACollectionName"/ This link element is not actually in the returned data, though. I tried using both the Spreadsheets and the Docs queries to no avail. Spreadsheets query I tried: https://spreadsheets.google.com/feeds/spreadsheets/private/full Docs query I tried: https://docs.google.com/feeds/default/private/full
