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

Share a finished bulk download with another user.

POST/api/v1/bulk-downloads/{bulk_download_id}/sharedocuments:write
注記

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

Needs Share Bulk Download Bundles. Gives the user an entry of their own for the same stored file (nothing is copied; the entry stays private). Only your own completed entries; sharing with yourself is refused. Sharing again with the same user answers their existing entry.

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

パラメーター​

名前場所型必須説明
bulk_download_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonBulkDownloadShareInput

応答​

ステータス説明本文
200Success.application/json BulkDownloadShared または 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
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

BulkDownloadShareInput​

フィールド型必須説明
user_idstring必須The user who gets an entry of their own for the same stored file.

BulkDownloadShared​

フィールド型必須説明
bulk_download_idstring必須
is_newboolean必須false when the user already had an entry for this file.
shared_bulk_download_idstring必須The other user's own entry; only they can read it.
shared_withUserRef必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須