2012-04-09 125 views
1

道歉,如果這已經在https://groups.google.com/forum/embed/?place=forum/google-documents-list-api#!forum/google-documents-list-api解決,但我沒有看到那裏的搜索設施,也許是因爲該論壇已關閉。如何按名稱獲取文件夾?

我可能錯過了某些東西,但根據https://developers.google.com/google-apps/documents-list/#getting_a_list_of_documents_and_files,似乎無法將?title = blah或?q = blah與以下任何項結合,並獲得預期結果: - ?showfolders = true - /內容/ - /文件夾 -/- /文件夾

另一種方法是讓所有的文件&文件夾與showfolders = true,然後確定哪些是文件夾:? - 是否有一個元素標識資源作爲文件夾而不是文件?

感謝

回答

0

可以檢查的資源是由檢查,如果它與scheme="http://schemas.google.com/g/2005#kind"term="http://schemas.google.com/docs/2007#folder"類別的文件夾:

例如:

<category scheme="http://schemas.google.com/g/2005#kind" 
    term="http://schemas.google.com/docs/2007#folder"/> 
+0

謝謝您先生,做了工作。 P.S.有沒有辦法對文件夾使用?title = blah或?q = blah方法? – user1318390 2012-04-11 02:46:28

相關問題