One can say however that everyone offers you to share the file via a public link. They normally use a moving version number.ĭropbox, Google Drive and Sugar Sync know based on the mime type of a ressource that it is an image and provide you with information (width, height, encoding) about it.Įveryone implements permissions but this is highly dependent of the provider. Some kind of versioning is common among the providers (as usual with the exception of One Drive). One Drive and Sugar Sync do not have the notion of a deleted ressource, while the others let you request deleted ressources until they are finaly purged. Some providers expose the hashes, which makes the developers life a bit easier because he can compare hashes instead of timestamps. Box differntiates between actions performed on the content or on the metadata. Google Drive provides alot of information about time related actions (they have to be explicitely included in a metadata request though). File Metadata ProviderĬreatedDate, modifiedDate, modifiedByMeDate, lastViewedByMeDate, markedViewedByMeDate, sharedWithMeDateĬreated_at, modified_at, trashed_at, purged_at, content_created_at, content_modified_atĬreated_time, updated_time, client_updated_timeĭropbox does not provide all the time information that might be interesting. This is a bit unnecessary for Google Drive as we already have the metadata, because we have to create an object in advance. Most of the Providers return the full metadata for the created object. Providerįilename, Parent ID, Timestamps or Filepart (for POST multipart upload)ĭropbox and Google Drive provider methods to upload huge files in partial requests. The APIs differ quite a bit for uploading content.ĭropbox does not use a RESTful url for the uploading part (but otherwise uses the REST approach quite strict). The good news is that everyone uses OAuth 2 nowadays! Provider Google Drive does not even have folders (only a specific folder mime-type), which makes Google Drive difficult to understand at first sight. Children of a Parent ID can usually be requested through the Folder Ressource.ĭropbox is a very good example in keeping the learning curve low by mimicing a filesystem. Hierarchy is established by saving the Parent ID on the File Ressource. The others work with the IDs of files or folder. Only Dropbox and One Drive have an API that comes close to a filesystem.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |