Try a normaliser on values.
POST/api/v1/graph/normalisers/testcustom_fields:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Runs a recipe over values and answers each value's key with the per-step trace, and the groups of values that now share a key. Name the recipe by steps (a draft), by slug (a stored one) or by builtin (with pattern for regex); name the values by values or by sample_from, the latest distinct values a register field holds, read through the caller's row access. stop_list and missing_markers_list name lookup lists. Writes nothing. Needs Test Graph Normalisers, and View Graph Normalisers to name a stored recipe by slug.
| スコープ | custom_fields:read |
| 非同期 | いいえ |
| MCP ツール | test_graph_normalisers |
| Portal の権限 | test_graph_normalisers |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | GraphNormaliserTestInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json GraphNormaliserTestResult |
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 |
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 のコードです。各コードからそのページに移動できます。
スキーマ
GraphNormaliserTestInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
builtin | string または null | 任意 | A built-in normaliser. |
missing_markers_list | string または null | 任意 | The lookup list of values that count as missing. |
pattern | string または null | 任意 | The pattern of the regex built-in. |
sample_from | GraphSampleFromInput または null | 任意 | Take the values from a register field instead. |
slug | string または null | 任意 | A stored recipe. |
steps | object または null | 任意 | A draft recipe (format graph_normaliser_steps). |
stop_list | string または null | 任意 | The lookup list of stop words. |
values | string の配列 | 任意 | The values to try, up to 200. |
GraphNormaliserTestResult
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
name | string | 必須 | The recipe's name. |
result | object | 必須 | Each value's key with the per-step trace, and the groups of values that now share a key (format graph_normaliser_test): the Portal's own document. |
version | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
was_sampled | boolean | 必須 | The values were read from sample_from. |
GraphSampleFromInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_id | string | 必須 | |
custom_field_template_id | string | 必須 | |
limit | integer または null | 任意 | 1 to 100; 20 when left out. |