メインコンテンツまでスキップ

Check which files already exist in a folder.

POST/api/v1/folders/check-existing-filesfolders:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Needs View Folders, View Folder Contents and View Document Metadata. The bulk uploader's duplicate check: of the items sent, the subset whose file already exists as a document in that same folder, matched by original file name (mode filename) or content hash (mode filehash, the SHA-1 hex byte pairs joined by '-', upper case). Gated on folder access, not on each document: a duplicate you cannot open still counts, and a folder you cannot access is dropped, never reported. Up to 1000 items; changes nothing.

スコープfolders:read
非同期いいえ
MCP ツールcheck_folder_existing_files
Portal の権限view_folders, view_folder_contents, view_document_metadata

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonFolderExistingFilesRequestInput

応答​

ステータス説明本文
200Success.application/json FolderExistingFiles
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

FolderExistingFiles​

フィールド型必須説明
existingFolderFileCandidate の配列必須The items of the request whose file already exists in its folder, in the order sent.

FolderExistingFilesRequestInput​

フィールド型必須説明
itemsFolderFileCandidateInput の配列必須The files to look for, up to 1000.
modestring: filename, filehash必須filename matches the original file name; filehash the content hash.

FolderFileCandidate​

フィールド型必須説明
folder_idstring必須The folder to look in.
valuestring必須The original file name (mode filename) or the content hash (mode filehash).

FolderFileCandidateInput​

フィールド型必須説明
folder_idstring必須The folder to look in.
valuestring必須The original file name (mode filename) or the content hash (mode filehash).