From 3c9c37635341e3a2810d7f649e7c78c28d387056 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Wed, 6 May 2026 19:01:02 -0700 Subject: [PATCH] feat: add width and height fields to Asset schema (#13745) Add nullable integer fields 'width' and 'height' to the Asset schema in openapi.yaml. These expose original image dimensions in pixels for clients that need pre-thumbnail size info. Both fields are null for non-image assets or assets ingested before dimension extraction. Co-authored-by: Matt Miller --- openapi.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index bf1ae7422..ec2d48637 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -6364,6 +6364,14 @@ components: type: integer format: int64 description: Size of the asset in bytes + width: + type: integer + nullable: true + description: "Original image width in pixels. Null for non-image assets or assets ingested before dimension extraction." + height: + type: integer + nullable: true + description: "Original image height in pixels. Null for non-image assets or assets ingested before dimension extraction." mime_type: type: string description: MIME type of the asset