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 (replaces replaceAsset).
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: Rename shared parameter to isShared and add isOwned (boolean) parameter.
POST /shared-links: Move password from query parameter to request body.
POST /assets: Remove deviceId and deviceAssetId from AssetMediaCreateDto.
DTO and Schema Updates
AssetResponseDto:
Remove deviceId, deviceAssetId, and unassignedFaces.
Update duration to be a nullable number (milliseconds).
Update width and height to be integers.
AlbumResponseDto: Remove owner, ownerId, and assets.
ExifResponseDto: Update exifImageWidth, exifImageHeight, iso, and rating to be integers.
*SearchDto: Update page, size, and rating to be integers.
Error Responses: Update response structure to use an errors array and move statusCode and correlationId to the X-Correlation-ID header.
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 (replaces `replaceAsset`).
- `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`: Rename `shared` parameter to `isShared` and add `isOwned` (boolean) parameter.
- `POST /shared-links`: Move `password` from query parameter to request body.
- `POST /assets`: Remove `deviceId` and `deviceAssetId` from `AssetMediaCreateDto`.
## DTO and Schema Updates
- **`AssetResponseDto`**:
- Remove `deviceId`, `deviceAssetId`, and `unassignedFaces`.
- Update `duration` to be a nullable number (milliseconds).
- Update `width` and `height` to be integers.
- **`AlbumResponseDto`**: Remove `owner`, `ownerId`, and `assets`.
- **`ExifResponseDto`**: Update `exifImageWidth`, `exifImageHeight`, `iso`, and `rating` to be integers.
- **`*SearchDto`**: Update `page`, `size`, and `rating` to be integers.
- **Error Responses**: Update response structure to use an `errors` array and move `statusCode` and `correlationId` to the `X-Correlation-ID` header.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.