jaimetur
jaimetur
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
BTW, I will paste here the repository to the tool that I am developing (not sure if this is the place to post it, feel free to delete if not or move to a more appropriate place). The tool is still in alpha release, so, so you can expect bugs or some functionalities still not complete but may be useful for some of you
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Thank you. I finally manage to do it from my Script
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
I am using this header on my request but it does not work: HEADERS = { "Authorization": f"Bearer {SESSION_TOKEN}", "Content-Type": "application/json" }
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
I guess that I should include this on the header: --header 'Content-Type: application/json' \ --header "Authorization: Bearer $accessToken" \
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
library_id=$(curl -s --location --request POST "http://127.0.0.1:2283/api/libraries" \ --header 'Content-Type: application/json' \ --header "Authorization: Bearer $accessToken" \ --data-raw "{ "ownerId": "$user_id", \ "importPaths": ["$local_mount_path"], "name": "Existing Media" }")
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
I have found on the install-wizard.sh this piece of code that give me a clue on how to insert the bearer token in the API request header
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Interesting project. Thanks
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
API key is more difficult to understand for not experienced users, that’s why I would prefer to let users authenticate with their own mail/pass
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Sure, you can follow my project on GitHub (https://github.com/jaimetur/OrganizeTakeoutPhotos)
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Yes I saw this API doc, but it doesn’t show how to pass the bearer token
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
Yes, if I manage to make Immich API work, the intention is to do all the migration process between Google Photos to Synology Photos or Immich and also from Synology Photos to Immich
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
My request is simple. A simple payload with the album name but I don’t know which header should I pass to use my bearer token
32 replies
IImmich
Created by jaimetur on 1/25/2025 in #help-desk-support
API request
I know that I can do it with Immich-go, but I would like to integrate it on my script that aims to automate the whole process of migration from Google Photos into Synology Photos or Immich in just one click (for Synology the process is finished and working properly but for Immich I need to investigate a bit more on the use of the API)
32 replies