jaimetur
jaimetur
IImmich
Created by jaimetur on 4/3/2025 in #help-desk-support
How can I get people object within assets object when execute getAlbumInfo API
As per API documentation (https://immich.app/docs/api/get-album-info), when use getAlbumInfo API with any album id, it should response with an object which contains an assets object inside (this is working fine for me), but within this assets object I always get the people object empty. I would like to use this people object in order to filter assets for any particular album using the people info (person_name, person_id, etc...) I know that there is a newest endpoint searchAssets where we can filter assets by person_id, but this will not work for my use case where I need to loop for all my albums and retrieve those assets of each album that contains an specific person, so the people object within the response of getAlbumInfo would fit perfectly for me but it is not working. Do you know how can I force the endpoint to include people object in the response? Thank you so much.
4 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Hello, I’m investigating how to use Immich API to create my own script to upload photos, create albums from folders and so on. For the time being Inwas able to connect to my Immich account using the endpoint /auth/login which provide me a bearer token that I would like to use for my next APO requests as part of the header. But at this point I am not able to do a simple API request to create a new Album with a name “myTestAlbum” and using the bearer token received during login procedure. I would appreciate if someone could help me with this. PS: I am using Python to call those API requests.
32 replies