diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart index 65f81926e3..a3d928b0d8 100644 --- a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart +++ b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart @@ -20,7 +20,7 @@ class AssetBulkUploadCheckItem { /// Base64 or hex encoded SHA1 hash String checksum; - /// Asset ID + /// Client-side identifier echoed in the response to match results to inputs (e.g. filename) String id; @override diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 88c0412b67..529237b836 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -16965,7 +16965,7 @@ "type": "string" }, "id": { - "description": "Asset ID", + "description": "Client-side identifier echoed in the response to match results to inputs (e.g. filename)", "type": "string" } }, diff --git a/packages/sdk/src/fetch-client.ts b/packages/sdk/src/fetch-client.ts index ecec1dad23..1c7270fd13 100644 --- a/packages/sdk/src/fetch-client.ts +++ b/packages/sdk/src/fetch-client.ts @@ -696,7 +696,7 @@ export type AssetBulkUpdateDto = { export type AssetBulkUploadCheckItem = { /** Base64 or hex encoded SHA1 hash */ checksum: string; - /** Asset ID */ + /** Client-side identifier echoed in the response to match results to inputs (e.g. filename) */ id: string; }; export type AssetBulkUploadCheckDto = { diff --git a/server/src/dtos/asset-media.dto.ts b/server/src/dtos/asset-media.dto.ts index 596273eddb..c378a7c74d 100644 --- a/server/src/dtos/asset-media.dto.ts +++ b/server/src/dtos/asset-media.dto.ts @@ -58,7 +58,7 @@ const AssetMediaCreateSchema = AssetMediaBaseSchema.extend({ const AssetBulkUploadCheckItemSchema = z .object({ - id: z.string().describe('Asset ID'), + id: z.string().describe('Client-side identifier echoed in the response to match results to inputs (e.g. filename)'), checksum: z.string().describe('Base64 or hex encoded SHA1 hash'), }) .meta({ id: 'AssetBulkUploadCheckItem' });