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

Save a graph path.

POST/api/v1/graph/saved-pathscustom_fields:write
注記

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

Saves a chain of relation steps from a start (a register or documents) under a slug (409 already_exists when taken). steps is the Portal's own document (format graph_saved_path_steps): each step names a relation type, a direction, a kind and a register. Relation types and registers must exist (422). Needs Create Graph Saved Paths.

スコープcustom_fields:write
非同期いいえ
MCP ツールcreate_graph_saved_path
Portal の権限create_graph_saved_paths

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonGraphSavedPathCreateInput

応答​

ステータス説明本文
201Success.application/json GraphSavedPath または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_exists, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

GraphSavedPath​

フィールド型必須説明
descriptionstring または null必須
is_activeboolean必須
namestring必須
perspectivestring必須all or executive.
saved_path_idstring必須
slugstring必須
start_custom_field_template_idstring または null必須The register a register_row path starts at.
start_kindstring必須document or register_row.
stepsobject または null必須The steps with their labels (format graph_saved_path_steps): the Portal's own document.

GraphSavedPathCreateInput​

フィールド型必須説明
descriptionstring または null任意Up to 1000 characters.
is_activeboolean または null任意True when left out.
namestring必須Up to 200 characters.
perspectivestring または null任意all (default) or executive.
slugstring必須Lower-case letters, digits and hyphens, starting with a letter; 2 to 64 characters.
start_custom_field_template_idstring または null任意Needed for a register_row path.
start_kindstring または null任意register_row (default) or document.
stepsobject必須The steps (format graph_saved_path_steps): 1 to 4 of {relation_code, direction, kind, template_id}.