-
Notifications
You must be signed in to change notification settings - Fork 2
Changes from v0.3 to v0.4 ‐ InProgress
Chase Redmon edited this page Sep 21, 2023
·
1 revision
- Renamed
CatBoxClient.UploadMultipleImagestoCatBoxClient.UploadFiles- Renamed
CatBoxClient.UploadImagetoCatBoxClient.UploadFilesAsStream- Renamed
CatBoxClient.UploadMultipleUrlstoCatBoxClient.UploadFilesAsUrl
- Changed method parameter type on
CatBoxClient.UploadFilesAsStreamfromStreamUploadRequesttoIEnumerable<StreamUploadRequest>- Changed method parameter type on
CatBoxClient.CreateAlbumfromCreateAlbumRequesttoRemoteCreateAlbumRequest- Changed method parameter type on
CatBoxClient.ModifyAlbumfromAlbumRequesttoModifyAlbumImagesRequest
- Addition of CatBox Album API under the
Catboxclass.
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.Filesproperty to check and skip null URIs. - Added a null-check guard in the
CatBoxClient.CreateAlbum(RemoteCreateAlbumRequest)method, on theRemoteCreateAlbumRequest.Filesproperty to check for null links, to prevent NullReferenceExceptions.
- The
EditAlbumRequestclass has anObsoleteattribute 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.