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

Change an analytics view (JSON Merge Patch).

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

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

Only the creator can change a view.

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

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

AnalyticsView​

フィールド型必須説明
analytics_view_idstring必須
chart_configsAnalyticsViewChartConfig の配列必須
custom_field_idsstring の配列必須template:field pairs of the custom-field grid columns the view shows.
descriptionstring または null必須
dynamic_filter_defsAnalyticsViewDynamicFilter の配列必須
is_publicboolean必須
namestring必須
sharesAnalyticsViewShare の配列必須
static_filtersobject または null必須format analytics_view_filters: the fixed filters, or null.

AnalyticsViewChartConfig​

フィールド型必須説明
chart_keystring必須The Workflow Analytics chart this entry shows.
custom_field_idstring または null必須
custom_field_template_idstring または null必須The custom-field grid's template, when the chart groups by a grid column.
group_bystring または null必須
titlestring または null必須

AnalyticsViewChartConfigInput​

フィールド型必須説明
chart_keystring任意The Workflow Analytics chart this entry shows.
custom_field_idstring または null任意
custom_field_template_idstring または null任意The custom-field grid's template, when the chart groups by a grid column.
group_bystring または null任意
titlestring または null任意

AnalyticsViewDynamicFilter​

フィールド型必須説明
additional_fieldsstring の配列必須
fieldstring必須
filter_keystring必須The filter's key within the view.
labelstring必須
operatorstring必須
value_editor_typestring必須text, date, number or select.

AnalyticsViewDynamicFilterInput​

フィールド型必須説明
additional_fieldsstring の配列任意
fieldstring任意
filter_keystring任意The filter's key within the view.
labelstring任意
operatorstring任意
value_editor_typestring任意text, date, number or select.

AnalyticsViewPatchInput​

フィールド型必須説明
analytics_view_idstring または null任意
chart_configsAnalyticsViewChartConfigInput の配列 または null任意
custom_field_idsstring の配列 または null任意
descriptionstring または null任意
dynamic_filter_defsAnalyticsViewDynamicFilterInput の配列 または null任意
is_publicboolean または null任意
namestring または null任意
sharesAnalyticsViewShareInput の配列 または null任意
static_filtersobject または null任意

AnalyticsViewShare​

フィールド型必須説明
group_idstring または null必須The group the view is shared with (share_type group).
share_typestring必須user or group.
user_idstring または null必須The user the view is shared with (share_type user).

AnalyticsViewShareInput​

フィールド型必須説明
group_idstring または null任意The group the view is shared with (share_type group).
share_typestring任意user or group.
user_idstring または null任意The user the view is shared with (share_type user).