Repository navigation
[Feature] Add fileSizeInByte to top-level AssetResponseDto #32535
Closed
Lemonnik6484
started this conversation in
Feature Request
Replies: 1 comment 2 replies
And adding more fields to the top level response would start slowing down everything that doesn't need them. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Related to #31694, but instead of a new bulk endpoint, the fix is to expose
fileSizeInByteat the top level of the response. CurrentlyfileSizeInByte only lives insideexifInfo, so clients must requestwithExif: truejust to get file sizes for directory listings. This forces downloading the full EXIF payload even when only filename + size are needed. For albums with thousands of assets, this makes paginated loads extremely slowAdding
fileSizeInByteas a top-level field would letwithExif: falsestill return meaningful file sizes, significantly reducing API response size for listing operationsPlatform
All reactions