Get the neighbourhood of one node.
GET/api/v1/graph/neighbourhoodgraph:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The nodes and edges within depth hops of a node. node is a document key (D:<document_id>).
| スコープ | graph:read |
| 非同期 | いいえ |
| MCP ツール | get_graph_neighbourhood |
| Portal の権限 | view_graph_document_links |
| 会社に必要な機能 | graph |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
node | query | string | 必須 | The node key, D:<document_id>. |
direction | query | string | 任意 | out, in or both. |
depth | query | integer | 任意 | Hops from the node, 1 to 3 (default 1). ≥ -2147483648; ≤ 2147483647 |
relations | query | string | 任意 | Relation codes to walk. |
sample | query | integer | 任意 | Nodes per page, 1 to 200 (default 8). ≥ -2147483648; ≤ 2147483647 |
offset | query | integer | 任意 | 0 to 2000. ≥ -2147483648; ≤ 2147483647 |
min_confidence | query | integer または null | 任意 | 0 to 100. |
include_similar | query | boolean | 任意 | |
include_proposals | query | boolean または null | 任意 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | unsupported_for_tenant, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
body | any | 必須 | |
format | string | 必須 | |
format_version | integer | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。