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

Change a dataview's display settings (JSON Merge Patch).

PATCH/api/v1/dataviews/{dataview_id}dataviews:write
注記

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

settings is the dataview_settings document GET returns; only the members it sends change, and null clears one to its default. The dataview's SQL, view and access list are never changed. Needs Edit Dataview Settings. embed and edit_allowed set to true need confirm: true.

スコープdataviews:write
非同期いいえ
MCP ツールupdate_dataview
Portal の権限edit_dataview_settings

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

Dataview​

フィールド型必須説明
columnsDataviewColumn の配列必須The columns the dataview returns, in order.
dataview_idstring必須
groupstring必須
healthDataviewHealth必須
namestring必須
settingsobject または null必須format dataview_settings: the dataview's own configuration.

DataviewColumn​

フィールド型必須説明
custom_field_idstring または null必須
keystring必須
namestring必須
typestring必須

DataviewColumnInput​

フィールド型必須説明
custom_field_idstring または null任意
keystring任意
namestring任意
typestring任意

DataviewHealth​

フィールド型必須説明
last_error_atstring (date-time) または null必須

DataviewPatchInput​

フィールド型必須説明
columnsDataviewColumnInput の配列 または null任意
dataview_idstring または null任意
groupstring または null任意
healthobject または null任意
namestring または null任意
settingsobject または null任意