Replies: 2 comments 5 replies
-
This endpoint doesn't support pagination. You can use searchMetadata to achieve the same thing and have pagination support. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@projek01 i have pushed it here, lets see if at EDO i add a read me with instructions |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, before anything else, great job on the app. It's amazing.
One thing that I'm miss from google photos is the "smart" albums, where I used to have an album with my wife where it automatically add the pictures of our daughter.
as that is currently unavailable, I have built a Python script that runs every day at 1AM that queries the person's assets(in this case, my daughter) and adds them to a shared album.
the main issue that I have is that currently, the endpoint getPersonAssets only returns a maximum of 1000 items, and I don't see a way to do any type of skip/paging, so, when I do the initial run, as I have around 1.5k assets for her, the album only receives the latest 1000.
Is there any way to do a paging query that I'm missing?
The endpoint that I'm currently using for grabbing the person assets: https://immich.app/docs/api/get-person-assets
Beta Was this translation helpful? Give feedback.
All reactions