docs(server): clarify AssetBulkUploadCheckItem.id is a correlation token (#29141)

This commit is contained in:
Timon 2026-06-16 16:07:36 +02:00 committed by GitHub
parent 1fa034125c
commit ce59cc9241
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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"
}
},

View file

@ -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 = {

View file

@ -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' });