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

Make a bulk download public or private (JSON Merge Patch).

PATCH/api/v1/bulk-downloads/{bulk_download_id}documents:write
注記

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

is_public true gives the entry a public link anyone can download from without signing in; false closes it (the old link then answers 404). Making a public entry public again keeps its link. Only your own entries. Needs Edit Bulk Download Bundles, with Share Bulk Download Bundles and Share Documents Externally to make an entry public and Revoke Bulk Download Shares to close a public one. The entry is shown with View Bulk Download Bundles, otherwise the answer is the write receipt.

スコープdocuments:write
非同期いいえ
MCP ツールupdate_bulk_download
Portal の権限edit_bulk_download_bundles

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonBulkDownloadPatchInput
application/merge-patch+jsonBulkDownloadPatchInput

応答​

ステータス説明本文
200Success.application/json BulkDownload または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

BulkDownload​

フィールド型必須説明
bulk_download_idstring必須
can_downloadboolean必須Whether the file is finished and in storage: GET its download-url.
created_atstring (date-time) または null必須
descriptionstring または null必須
errorstring または null必須
filenamestring または null必須The name the file is saved under.
is_publicboolean必須Whether anyone with public_link can download the file without signing in.
public_linkstring または null必須The absolute public link while is_public is true; null otherwise.
size_bytesstring または null必須The stored file's size; null until the file exists.
statestring必須in_progress, completed or failed (open).
statusstring必須The Download Manager's own status text: Retrieving data, Generating Files, Creating Zip File, Uploading File, Completed, Failed, No rows to export (open).
updated_atstring (date-time) または null必須

BulkDownloadPatchInput​

フィールド型必須説明
bulk_download_idstring または null任意
can_downloadboolean または null任意
created_atstring (date-time) または null任意
descriptionstring または null任意
errorstring または null任意
filenamestring または null任意
is_publicboolean または null任意true makes the file downloadable by anyone with public_link (a new link is made); false closes the link.
public_linkstring または null任意
size_bytesstring または null任意
statestring または null任意
statusstring または null任意
updated_atstring (date-time) または null任意