Open main menu

Difference between revisions of "Cloud Storages API comparison"

Added Comparison Table section
(Created page with "== Overview == ScummVM would be using open REST API of such cloud storage providers as Dropbox, Google Drive and OneDrive due to cloud integration project. These API allow us...")
 
(Added Comparison Table section)
 
Line 235: Line 235:
<move, copy, view thumbnail, share>
<move, copy, view thumbnail, share>
</pre>
</pre>
== Comparison Table ==
{| class="wikitable" style="width: 100%;"
! API calls \ Services
! Dropbox
! Google Drive
! OneDrive
|-
! style="text-align: left;"| list directory
| style="background-color: lime;"| OK
| style="background-color: yellow;"| ID needed *
| style="background-color: lime;"| OK
|-
! style="text-align: left;"| upload (in one API call)
| style="background-color: lime;"| 150 MB max
| style="background-color: yellow;"| ID needed *, no limit
| style="background-color: lime;"| 100 MB max
|-
! style="text-align: left;"| upload (session, multipart/resumable)
| style="background-color: lime;"| 150 MB max per request
| style="background-color: yellow;"| ID needed *, no limit
| style="background-color: lime;"| 60 MB max per request
|-
! style="text-align: left;"| download
| style="background-color: lime;"| OK
| style="background-color: yellow;"| ID needed *
| style="background-color: lime;"| OK
|-
! style="text-align: left;"| delete
| style="background-color: lime;"| OK
| style="background-color: yellow;"| ID needed *
| style="background-color: lime;"| OK
|-
! style="text-align: left;"| create directory
| style="background-color: lime;"| OK
| style="background-color: yellow;"| ID needed *
| style="background-color: lime;"| OK
|-
! style="text-align: left;"| touch
| style="background-color: orange;"| use /move **
| style="background-color: yellow;"| ID needed *
| style="background-color: lime;"| OK
|-
! style="text-align: left;"| get service info
| style="background-color: lime;"| OK
| style="background-color: lime;"| OK
| style="background-color: lime;"| OK
|}
{| class="wikitable" style="width: 100%;"
! style="text-align: left;"| Legend
| style="background-color: lime;"| Supported
| style="background-color: yellow;"| Supported, but requires some workaround
| style="background-color: orange;"| Not supported
|}
<nowiki>*</nowiki> Google Drive has no path access to files, so in order to specify a file within some subdirectory we would have to list these directories and determine its ID (should be done recursively for whole directory before syncing or downloading it).
<nowiki>**</nowiki> there is no method in Dropbox to change file's metadata. May be modification date might be changed without reuploading file using simple /move call.
34

edits