Implemented
1
[Feature] Bulk endpoint to get file sizes for a list of asset IDs
Source: immich-app/immich#31694 · opened by @jake-bybee
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request. • Yes The feature I'd like an endpoint that accepts a list of asset IDs and returns the file size of each individual asset. Use case I'm writing a client that bulk downloads assets with several concurrent requests. To plan batches and show accurate progress, I need to know how big each file is before downloading it. Current situation • POST /download/info returns sizes per archive, not per asset, so I can't see how large each individual file is. • GET /assets/{id} includes exifInfo.fileSizeInByte, but that means one request per asset. For a large library that is thousands of round trips just to read a number. Proposal A single request that takes many IDs and returns ID and size pairs, for example: Request: { "assetIds": ["id1", "id2", ...] } Response: [ { "id": "id1", &…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature] Include album ids (if any) in searchMetadata api
1 vote · 0 comments
[Feature] Allow re-running OCR for a single asset
1 vote · 0 comments
Object storage
48 votes · 0 comments
[Feature] option to disable timezone correction based on geo coordinates
4 votes · 0 comments
[Feature Request]: Bulk unstacking action and filter for stacked assets
1 vote · 0 comments
No comments yet.