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_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | GraphNormaliserPatchInput |
application/merge-patch+json | GraphNormaliserPatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json GraphNormaliser または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | already_exists, conflict | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
GraphNormaliser
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
description | string または null | 必須 | |
is_active | boolean | 必須 | |
name | string | 必須 | |
normaliser_id | string | 必須 | |
slug | string | 必須 | |
steps | object または null | 必須 | The ordered steps (format graph_normaliser_steps): the Portal's own document. |
used_by | GraphUse の配列 | 必須 | The fields that name the normaliser. |
value | string | 必須 | What a field's graph role names to use it: custom:<slug>. |
version | integer | 必須 | Goes up when the steps change. ≥ -2147483648; ≤ 2147483647 |
GraphNormaliserPatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
description | string または null | 任意 | |
is_active | boolean または null | 任意 | |
name | string または null | 任意 | |
normaliser_id | string または null | 任意 | |
slug | string または null | 任意 | |
steps | object または null | 任意 | |
used_by | GraphUseInput の配列 または null | 任意 | |
value | string または null | 任意 | |
version | integer または null | 任意 |
GraphUse
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_id | string または null | 必須 | The field; null for a template-level use. |
custom_field_template_id | string または null | 必須 | The template; null for a use outside a template. |
label | string | 必須 | The template, or the template and field, as the builder names it. |
where | string または null | 必須 | For a normaliser: field_role or document_link, or null. |
GraphUseInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_id | string または null | 任意 | The field; null for a template-level use. |
custom_field_template_id | string または null | 任意 | The template; null for a use outside a template. |
label | string | 任意 | The template, or the template and field, as the builder names it. |
where | string または null | 任意 | For a normaliser: field_role or document_link, or null. |