17 Commits

Author SHA1 Message Date
Joakim Hulthe
17009cae28 Tweak AGENTS.md
Some checks failed
Integration Tests / integration-test (push) Failing after 2s
2026-04-14 20:32:50 +00:00
Joakim Hulthe
c39e0a5058 Fix examples and SDK for Immich v2 API compatibility
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
2026-04-14 20:18:41 +00:00
Joakim Hulthe
2e7db3b35a Add integration testing infrastructure with Podman Compose
- Add docker/podman-compose.yml for Immich server (no ML)
- Add test-data/sample-photos/ with 3 public domain images
- Add scripts/start-immich.sh for container startup + admin/API key creation
- Add scripts/seed-data.sh for uploading test photos and creating albums
- Add scripts/stop-immich.sh for cleanup with volume destruction
- Add scripts/run-example.sh wrapper (fixed env var export)
- Update examples to use IMMICH_URL and IMMICH_API_KEY env vars
- Add .github/workflows/integration-test.yml for CI
- Update assets.list() to use /search/metadata endpoint
- Update AGENTS.md with example running instructions
- Add 5 new examples: search_metadata, album_management, timeline_browsing,
  delete_assets, server_info
2026-04-14 20:13:30 +00:00
Joakim Hulthe
c55d2b9080 Add search/metadata API endpoint
- Add MetadataSearchRequest, SearchResponse, SearchAssetResult,
  SearchAlbumResult, SearchFacet, SearchFacetCount models
- Create SearchApi with SearchMetadataBuilder supporting 35+ filters
- Support filtering by location, dates, camera info, favorites,
  tags, people, albums, text search, and more
- Integrate into Client with client.search().metadata() API
2026-04-14 19:35:06 +00:00
Joakim Hulthe
3284a18dcb Add OpenAPI specification 2026-04-14 15:38:12 +00:00
Joakim Hulthe
6820dd765d Wrap Client internals in Arc for cheap cloning 2026-04-14 15:35:57 +00:00
Joakim Hulthe
0d8042287c cargo fmt 2026-04-14 14:37:17 +00:00
Joakim Hulthe
17c540a7d4 Change TimeBucketAssetResponse::id from Vec<String> to Vec<AssetId> 2026-04-06 08:36:26 +00:00
Joakim Hulthe
e5de095ef8 Add image decoding support with image crate 2026-04-06 08:30:37 +00:00
Joakim Hulthe
037f9a5782 Add ThumbnailResponse struct with content_type and extension helper 2026-04-06 08:20:13 +00:00
Joakim Hulthe
15d67f5667 Add thumbnail endpoint with size options 2026-04-06 08:17:34 +00:00
Joakim Hulthe
1e38963ff6 Add asset download functionality with builder pattern and example 2026-04-06 08:04:39 +00:00
Joakim Hulthe
d04b8b221b Make TimeBucketAssetResponse required fields mandatory 2026-04-06 07:57:01 +00:00
Joakim Hulthe
edc7b4b1f9 Make TimeBucketAssetResponse::id mandatory 2026-04-06 07:52:36 +00:00
Joakim Hulthe
b0fbf2e5f3 Fix: Use correct enum variant names for AssetVisibility 2026-04-05 19:10:12 +00:00
Joakim Hulthe
e395f791cf Fix: Make TimeBucketAssetResponse fields optional to handle null values from API 2026-04-05 18:14:03 +00:00
Joakim Hulthe
5855251f70 Initial commit: immich-sdk v1.137.0 2026-04-05 15:51:10 +00:00