-
Notifications
You must be signed in to change notification settings - Fork 1
Changes from v0.3 to v0.4 ‐ InProgress
Chase Redmon edited this page Sep 21, 2023
·
1 revision
- Renamed
CatBoxClient.UploadMultipleImages
toCatBoxClient.UploadFiles
- Renamed
CatBoxClient.UploadImage
toCatBoxClient.UploadFilesAsStream
- Renamed
CatBoxClient.UploadMultipleUrls
toCatBoxClient.UploadFilesAsUrl
- Changed method parameter type on
CatBoxClient.UploadFilesAsStream
fromStreamUploadRequest
toIEnumerable<StreamUploadRequest>
- Changed method parameter type on
CatBoxClient.CreateAlbum
fromCreateAlbumRequest
toRemoteCreateAlbumRequest
- Changed method parameter type on
CatBoxClient.ModifyAlbum
fromAlbumRequest
toModifyAlbumImagesRequest
- Addition of CatBox Album API under the
Catbox
class.
CreateAlbumFromFiles
- Accepts aCreateAlbumRequest
. This represents a request to upload files to the CatBox API and create an album (that does not currently exist). When the album is created, we add those pictures to the album.UploadImagesToAlbum
- Accepts aUploadToAlbumRequest
. This represents a request to upload files to the CatBox API to an album that does already exists.
- Added a null-check guard in the
CatBoxClient.UploadFilesAsUrl(UrlUploadRequest urlUploadRequest)
method, on theUrlUploadRequest.Files
property to check and skip null URIs. - Added a null-check guard in the
CatBoxClient.CreateAlbum(RemoteCreateAlbumRequest)
method, on theRemoteCreateAlbumRequest.Files
property to check for null links, to prevent NullReferenceExceptions.
- The
EditAlbumRequest
class has anObsolete
attribute added in an effort to communicate the severity and danger of using the EditAlbum API, without understanding the implications of how the API functions. Users can easily and irreversibly destroy / overwrite their albums.