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_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
Idempotency-Key | header | string | 任意 | max 255 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | BulkDownloadShareInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json BulkDownloadShared または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict, idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
BulkDownloadShareInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | string | 必須 | The user who gets an entry of their own for the same stored file. |
BulkDownloadShared
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
bulk_download_id | string | 必須 | |
is_new | boolean | 必須 | false when the user already had an entry for this file. |
shared_bulk_download_id | string | 必須 | The other user's own entry; only they can read it. |
shared_with | UserRef | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |