0.9.0
This release is a result of REST API update to a new version. Read more about it here.
New:
- Using REST API version 0.7.
- Minimum required Swift version is now 5.5.
- Metadata dictionary can be provided for direct, multipart and primary upload methods.
- Metadata dictionary can be provided for Upload from URL method.
fileInfo
method of REST API accepts query string orFileInfoQuery
struct that allows to include additional fields in the response data.fileMetadata
method added to get file's metadata dictionary.fileMetadataValue
method added to get metadata key's value.updateFileMetadata
method added to update/create metadata key's value.deleteFileMetadata
method added to delete metadata key.-
deleteGroup
method to delete a file group by its ID.
- REST API: new methods
executeAWSRecognition
,checkAWSRecognitionStatus
,executeClamav
,checkClamAVStatus
,executeRemoveBG
andcheckRemoveBGStatus
for Add-Ons feature (check Add-Ons docs for more details). File
model:- New property:
metadata
dictionary. - New property:
appData
(Application names and data associated with these applications. Check Add-Ons section of REST API). - New property:
contentInfo
that contains image/video metadata and MIME type.
- New property:
UploadedFile
model:- New property:
done
(Same assize
according API docs). - New property:
contentInfo
that contains image/video metadata and MIME type. - New property:
metadata
dictionary.
- New property:
Changed:
- Fixed: type of
channels
property ofAudioMetadata
model is now Int. File
model:- Updated:
VideoInfo
model's propertiesaudio
andvideo
are arrays now that contains metadata of audio and video tracks of the file.
- Updated:
Removed:
storeGroup
method is unavailable (removed on API side). To store or remove files from a group, query the list of files in it, split the list into chunks of 100 files per chunk and then perform batch file storing or batch file removal for all the chunks.- Removed sorting by size from pagination query for getting list of files (removed on API side).
File
model:- Removed:
imageInfo
andvideoInfo
(replaced with newcontentInfo
property). - Removed:
rekognitionInfo
.
- Removed: