Hello. I'm the author of syno-photo-frame - a slideshow app for Raspberry Pi, which also supports fetching photos from Immich server from an album shared via a share link. I found it troublesome to support Immich v3 considering the getAlbumInfo API no longer returns list of assets in the album.
Previously with v2 I used the getMySharedLink to get album id using the shared link, and then getAlbumInfo to get ids and EXIF of all the assets in the album. I can see that getMySharedLink response contains an assets field but it always comes back empty (is there some extra parameter I should set?)
The recommendation from migration guide to use POST /api/search/metadata doesn't seem to apply to public or password protected share links:
- When the share link is password protected, I need to use sharedLinkLogin with the (obligatory) password in request body. The response sets a cookie, but even with that cookie it doesn't allow access to searchAssets ("forbidden" response).
- When the share link is public (no password), sharedLinkLogin doesn't work because, well, it requires a password in request body - instead I'm using getMySharedLink, but that doesn't set any cookies, so access to searchAssets is also forbidden.
[continued below]
.