Update SDK for Immich v3 Breaking Changes #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Immich v3.0.0-rc.1 release introduces several breaking changes to the API that require updates in this SDK.
Endpoints to Remove
GET /server/theme: Removed.PUT /albums/assets: Removed (assets are now automatically added to shared links upon upload).PUT /albums/{id}/assets: Removed (assets are now automatically added to shared links upon upload).PUT /assets/{id}/original: Removed (replacesreplaceAsset).GET /assets/random: Removed.POST /assets/exists: Removed.GET /assets/device/{deviceId}: Removed.POST /sync/delta-sync: Removed.POST /sync/full-sync: Removed.Endpoints to Refactor
GET /albums: Renamesharedparameter toisSharedand addisOwned(boolean) parameter.POST /shared-links: Movepasswordfrom query parameter to request body.POST /assets: RemovedeviceIdanddeviceAssetIdfromAssetMediaCreateDto.DTO and Schema Updates
AssetResponseDto:deviceId,deviceAssetId, andunassignedFaces.durationto be a nullable number (milliseconds).widthandheightto be integers.AlbumResponseDto: Removeowner,ownerId, andassets.ExifResponseDto: UpdateexifImageWidth,exifImageHeight,iso, andratingto be integers.*SearchDto: Updatepage,size, andratingto be integers.errorsarray and movestatusCodeandcorrelationIdto theX-Correlation-IDheader.