Quietsy
Quietsy
IImmich
Created by Quietsy on 9/27/2023 in #help-desk-support
Scan External Libraries from the cli
36 replies
IImmich
Created by Quietsy on 9/27/2023 in #help-desk-support
Scan External Libraries from the cli
For anyone else who needs it, to get the library id replace immich.domain.com and yourapikey in the following and run:
curl -L -X GET 'https://immich.domain.com/api/library' -H 'Accept: application/json' -H 'x-api-key: yourapikey'
curl -L -X GET 'https://immich.domain.com/api/library' -H 'Accept: application/json' -H 'x-api-key: yourapikey'
Then replace libraryid with the library id, immich.domain.com and yourapikey in the following and run:
curl -L -X POST 'https://immich.domain.com/api/library/libraryid/scan' -H 'Content-Type: application/json' --data-raw '{"refreshAllFiles": false, "refreshModifiedFiles": true }' -H 'x-api-key: yourapikey'
curl -L -X POST 'https://immich.domain.com/api/library/libraryid/scan' -H 'Content-Type: application/json' --data-raw '{"refreshAllFiles": false, "refreshModifiedFiles": true }' -H 'x-api-key: yourapikey'
36 replies
IImmich
Created by Quietsy on 9/27/2023 in #help-desk-support
Scan External Libraries from the cli
Awesome, I'll look into it, thanks!
36 replies
IImmich
Created by Quietsy on 9/27/2023 in #help-desk-support
Scan External Libraries from the cli
Yes, from the cli or automatically
36 replies
IImmich
Created by Quietsy on 9/27/2023 in #help-desk-support
Scan External Libraries from the cli
Yes, that works great
36 replies