mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
docs(server): clarify AssetBulkUploadCheckItem.id is a correlation token (#29141)
This commit is contained in:
parent
1fa034125c
commit
ce59cc9241
4 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue