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

Change a virtual view (JSON Merge Patch).

PATCH/api/v1/virtual-views/{virtual_view_id}analytics:write
注記

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

Changes to configured document-type/data-type sources also require Configure Virtual View Datasources. A view on a foreign data connection can be changed too: its columns are derived again on that connection, which needs Use Foreign Data Connections. foreign_data_connection_id itself never changes (422 read_only).

スコープanalytics:write
非同期いいえ
MCP ツールupdate_virtual_view
Portal の権限edit_virtual_views

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

UserRef​

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

UserRefInput​

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

VirtualView​

フィールド型必須説明
created_byUserRef または null必須
definitionobject または null必須format query_builder: body {json_logic, builder_config, context}; null in list items.
document_type_idsstring の配列必須
foreign_data_connection_idstring または null必須The foreign data connection the view's query runs on; null for a view on the Docwize database, and null without View Foreign Data Connections. Set when the view is created and never changed.
namestring必須
settingsobject または null必須format query_builder_settings: the view's settings with its derived columns; null in list items.
updated_atstring (date-time) または null必須
view_typestring必須The view's data type (grid unless the view says otherwise).
virtual_view_idstring必須

VirtualViewPatchInput​

フィールド型必須説明
created_byUserRefInput または null任意
definitionobject または null任意
document_type_idsstring の配列 または null任意
foreign_data_connection_idstring または null任意
namestring または null任意
settingsobject または null任意
updated_atstring (date-time) または null任意
view_typestring または null任意
virtual_view_idstring または null任意