fix sidecar handling
This commit is contained in:
13
README.md
13
README.md
@@ -182,6 +182,17 @@ In the Immich web UI, go to Settings and find **API Keys** (menu labels can vary
|
||||
* `asset.view` — required for the viewAsset endpoint (thumbnail/preview/fullsize).
|
||||
* `asset.download` — required if you set `size` to `original` (download endpoint).
|
||||
|
||||
#### Finding an Immich user ID
|
||||
|
||||
You can use a user ID to show all assets owned by that user.
|
||||
|
||||
Common ways to find it:
|
||||
* **Admin UI**: In Immich, open the Admin/Users page, click the user, and copy the UUID shown in the user details or URL.
|
||||
* **API (non-admin)**: Call the `users/me` endpoint with the API key and read the `id` field:
|
||||
```
|
||||
curl -H "x-api-key: IMMICH_API_KEY" http://immich.local:2283/api/users/me
|
||||
```
|
||||
|
||||
Example (single source):
|
||||
```
|
||||
{
|
||||
@@ -222,7 +233,7 @@ Example (scheduler entry):
|
||||
Immich settings:
|
||||
* `url`: base Immich server URL (the integration appends `/api` automatically if missing).
|
||||
* `apiKey`: Immich API key (needs `asset.view`, and `asset.download` if `size` is `original`).
|
||||
* `userId`: optional user id to retrieve all assets owned by that user via the assets endpoint.
|
||||
* `userId`: optional user id to retrieve all assets owned by that user via the assets endpoint (see “Finding an Immich user ID” above).
|
||||
* `albumId` or `albumIds`: optional album filters.
|
||||
* `personId` or `personIds`: optional person filters.
|
||||
* `extensions` / `allowedExtensions`: optional list of file extensions to include (for example `["jpg","jpeg","png"]`).
|
||||
|
||||
Reference in New Issue
Block a user