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

Replace a SharePoint site's library configurations.

POST/api/v1/sharepoint-sites/{sharepoint_site_id}/libraries/replaceconnectors:write
注記

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

The body is the full set. A listed library keeps the stored value of any field left out; a configured library left out is removed; the * automatic policy is not touched. An empty set is refused while the site has configured libraries.

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールreplace_sharepoint_site_libraries
Portal の権限edit_sharepoint_library_mappings

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonSharePointLibrarySetRequestInput

応答​

ステータス説明本文
200Success.application/json SharePointLibrarySet または 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 のコードです。各コードからそのページに移動できます。

スキーマ​

SharePointLibraryConfig​

フィールド型必須説明
edit_group_idsstring の配列必須
edit_user_idsstring の配列必須
folder_idstring または null必須
is_enabledboolean必須
librarystring必須The SharePoint library GUID; * is the automatic policy for libraries without their own configuration.
library_titlestring または null必須
number_prefixstring または null必須
read_group_idsstring の配列必須
read_user_idsstring の配列必須
sharepoint_site_idstring必須

SharePointLibraryInputInput​

フィールド型必須説明
edit_group_idsstring の配列任意
edit_user_idsstring の配列任意
folder_idstring または null任意The Docwize folder the library's documents go to; null or 0 for none.
is_enabledboolean または null任意
librarystring必須The SharePoint library GUID. * is reserved for the automatic policy.
library_titlestring必須
number_prefixstring または null任意Default SP.
read_group_idsstring の配列任意
read_user_idsstring の配列任意

SharePointLibrarySet​

フィールド型必須説明
countinteger必須≥ -2147483648; ≤ 2147483647
itemsSharePointLibraryConfig の配列必須
sharepoint_site_idstring必須

SharePointLibrarySetRequestInput​

フィールド型必須説明
itemsSharePointLibraryInputInput の配列任意