update api

This commit is contained in:
mertalev
2025-10-12 19:29:11 -04:00
parent 3e6a4f2417
commit 0d3cc89ba0
4 changed files with 27 additions and 23 deletions

View File

@@ -9279,7 +9279,7 @@
"name": "upload-complete",
"in": "header",
"description": "Structured boolean indicating whether this request completes the file. Use Upload-Incomplete instead for version <= 3.",
"required": true,
"required": false,
"schema": {
"type": "string"
}
@@ -9288,7 +9288,7 @@
"name": "upload-draft-interop-version",
"in": "header",
"description": "Indicates the version of the RUFH protocol supported by the client.",
"required": true,
"required": false,
"schema": {
"type": "string"
}

View File

@@ -4439,8 +4439,8 @@ export function startUpload({ contentLength, key, reprDigest, slug, uploadComple
key?: string;
reprDigest: string;
slug?: string;
uploadComplete: string;
uploadDraftInteropVersion: string;
uploadComplete?: string;
uploadDraftInteropVersion?: string;
xImmichAssetData: string;
}, opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{