Fix examples and SDK for Immich v2 API compatibility
Some checks failed
Integration Tests / integration-test (push) Failing after 6s
Some checks failed
Integration Tests / integration-test (push) Failing after 6s
- Fix AssetUploadStatus serialization to use snake_case (created/duplicate/rejected) - Fix AssetOrder serialization to use lowercase (asc/desc) - Add file_created_at/file_modified_at to UploadAssetBuilder - Fix AddAssetsBuilder response type to Vec<Value> instead of AlbumResponse - Fix ServerAbout model - version is String not ServerVersion struct - Update upload_photos.rs to handle duplicate responses correctly - Update server_info.rs to display new ServerAbout fields - Update AGENTS.md with new example list
This commit is contained in:
@@ -30,6 +30,11 @@ All examples should be run using the provided wrapper script:
|
||||
./scripts/run-example.sh upload_photos
|
||||
./scripts/run-example.sh download_asset
|
||||
./scripts/run-example.sh thumbnail
|
||||
./scripts/run-example.sh search_metadata
|
||||
./scripts/run-example.sh album_management
|
||||
./scripts/run-example.sh timeline_browsing
|
||||
./scripts/run-example.sh delete_assets
|
||||
./scripts/run-example.sh server_info
|
||||
```
|
||||
|
||||
The wrapper handles everything automatically:
|
||||
|
||||
Reference in New Issue
Block a user