Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.42 KB

File metadata and controls

52 lines (31 loc) · 1.42 KB

Compatibility

☁️ Dropbox

No remarks.


☁️ Google Drive

🔑 Authentication

Doesn't support PKCE flow on web, only implicit grant. This means the token cannot be refreshed when it expires and the user needs to re-authenticate.

https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow

📦 File/folder

App Data Folder visibility

The App Data folder is not shown to users. A user can only see the amount of space it takes up by going to the Drive site and navigating to Settings » Manage apps.

Duplication

Files and folders do not need unique names in Google Drive, so there can be duplicates.

Types

Folders in Google Drive are just files, but with the mimetype application/vnd.google-apps.folder.

Paths

Google Drive doesn't have the concept of paths. Instead, every file has a list of "parent file IDs". In the past, there could be multiple, but now every file can have just one parent.

To offer a unified API, CloudBridge still builds a path for Drive files. It will contain the parent file ID and filename. For example, a nested folder could look like /A2vXis2oKtcHO/9xZDTanHiFcgg/ and a file inside a folder could be /9xZDTanHiFcgg/promotion.txt.

Passing in a deeper path on a file (for example /id1/id2/file.txt) has no effect, as only the last part (id2) is set as a parent to the file/folder.


☁️ Microsoft OneDrive

No remarks.