-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadata and optimize list files (#4)
* Support all file metadata and implement fileExists Add support for the missing metadata from the `getFile()` method: uploadTimestamp, action and bucketId. Optimize file list retrieval (`listFiles()`) to avoid fetching information about _all_ the files to get information about a single one. `listFiles` now support an optional parameter, `FileName`, which will only retrieve information about that file if it exists. This speeds up the call to `getFileIdFromBucketAndFileName`. * Code style fix * Add metadata to example response test as well
- Loading branch information
Showing
3 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters