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

Change a graph view.

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

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

A merge patch. A shared view needs Edit Shared Graph Views; a private one needs Edit Private Graph Views and is its owner's (with the licence). Only the owner can make a shared view private.

スコープanalytics:write
非同期いいえ
MCP ツールupdate_graph_view

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

GraphView​

フィールド型必須説明
definitionobject または null必須The saved query (format graph_view_definition): the Portal's own document.
descriptionstring または null必須
graph_view_idstring必須
is_activeboolean必須
is_ownerboolean必須The caller owns the view.
is_questionboolean必須The Atlas offers the view as a question.
last_opened_atstring または null必須The caller's last visit, as the Portal records it; null when never opened or in a list.
namestring必須
owner_user_idstring または null必須
parametersobject または null必須The declared parameters (format graph_view_parameters).
slugstring必須
visibilitystring必須private (its owner's) or shared.

GraphViewPatchInput​

フィールド型必須説明
definitionobject または null任意
descriptionstring または null任意
graph_view_idstring または null任意
is_activeboolean または null任意
is_ownerboolean または null任意
is_questionboolean または null任意
last_opened_atstring または null任意
namestring または null任意
owner_user_idstring または null任意
parametersobject または null任意
slugstring または null任意
visibilitystring または null任意