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

Change a relation type.

PATCH/api/v1/graph/relation-types/{relation_type_id}custom_fields:write
注記

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

A merge patch: members left out keep their stored value, null clears an optional one. The code does not change. impact_weight and impact_direction are set or cleared together. Needs Edit Graph Relation Types.

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

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

GraphRelationType​

フィールド型必須説明
categorystring または null必須
colorstring または null必須
decision_categorystring または null必須
derivationstring または null必須Set for a relation type the engine derives (it cannot be deleted).
external_codestring または null必須
from_kindsstring の配列必須What the relation can start from: document, register_row.
impact_directionstring または null必須Set with impact_weight.
impact_weightnumber または null必須Above 0 up to 1, for an impact edge; null when the relation is not one.
inverse_labelstring または null必須How the relation reads from the other end; null when it reads the same.
is_activeboolean必須
is_symmetricboolean必須
is_transitiveboolean必須
labelstring必須
navigation_audiencestring または null必須Who sees the relation when navigating: all or analyst.
relation_type_idstring必須The code, 2 to 40 capital letters, digits and underscores.
to_custom_field_template_idstring または null必須The register a relation ends at, when it is fixed.
to_kindsstring の配列必須What the relation can end at: document, register_row.
used_byGraphUse の配列必須The fields and templates configured to use the relation type.

GraphRelationTypePatchInput​

フィールド型必須説明
categorystring または null任意
colorstring または null任意
decision_categorystring または null任意
derivationstring または null任意
external_codestring または null任意
from_kindsstring の配列 または null任意
impact_directionstring または null任意
impact_weightnumber または null任意
inverse_labelstring または null任意
is_activeboolean または null任意
is_symmetricboolean または null任意
is_transitiveboolean または null任意
labelstring または null任意
navigation_audiencestring または null任意
relation_type_idstring または null任意
to_custom_field_template_idstring または null任意
to_kindsstring の配列 または null任意
used_byGraphUseInput の配列 または null任意

GraphUse​

フィールド型必須説明
custom_field_idstring または null必須The field; null for a template-level use.
custom_field_template_idstring または null必須The template; null for a use outside a template.
labelstring必須The template, or the template and field, as the builder names it.
wherestring または null必須For a normaliser: field_role or document_link, or null.

GraphUseInput​

フィールド型必須説明
custom_field_idstring または null任意The field; null for a template-level use.
custom_field_template_idstring または null任意The template; null for a use outside a template.
labelstring任意The template, or the template and field, as the builder names it.
wherestring または null任意For a normaliser: field_role or document_link, or null.