Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Document List API - Get Collection or Item by its path?

I'm currently developing a google drive client. This documentation describes how to access collections or items by their ID. But how is it possible to get an item by its path?

For example, I want to get a file /documents/pictures/sunshine.png. How can I get this file withouth knowing its ID?

like image 528
Van Coding Avatar asked Oct 23 '22 00:10

Van Coding


1 Answers

Alian, I have the same feeling with Van Coding. I my application I just use google doc as a document database.

I do not want to expose google doc UI to my customer. If user want to edit a file, what I did is download that file with html format and display it in a html editor.

I most time I just know a file name (beacuse it is more sensitive for a user than a resouceID) and need find this file in google doc. So if I could access a file via a path would be much convenience.

like image 104
user1335794 Avatar answered Nov 17 '22 10:11

user1335794