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

Change a custom normaliser.

PATCH/api/v1/graph/normalisers/{normaliser_id}custom_fields:write
注記

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

A merge patch. Its version goes up when its steps change. The slug can change only while no field names the normaliser (409 conflict otherwise, naming the fields). preview_graph_normaliser shows what a change would do to the keys already written. Needs Edit Graph Normalisers.

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

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

GraphNormaliser​

フィールド型必須説明
descriptionstring または null必須
is_activeboolean必須
namestring必須
normaliser_idstring必須
slugstring必須
stepsobject または null必須The ordered steps (format graph_normaliser_steps): the Portal's own document.
used_byGraphUse の配列必須The fields that name the normaliser.
valuestring必須What a field's graph role names to use it: custom:<slug>.
versioninteger必須Goes up when the steps change. ≥ -2147483648; ≤ 2147483647

GraphNormaliserPatchInput​

フィールド型必須説明
descriptionstring または null任意
is_activeboolean または null任意
namestring または null任意
normaliser_idstring または null任意
slugstring または null任意
stepsobject または null任意
used_byGraphUseInput の配列 または null任意
valuestring または null任意
versioninteger または 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.