Read the graph ontology.
GET/api/v1/graph/ontologycustom_fields:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The ontology the Portal's Ontology screen draws from the builder's data: templates, document types, edges, the resolution order and the lint findings. include_counts adds the instance counts per relation and the rows per template, counted under the caller's row and document access (cached for two minutes per user). The body is the Portal's own document (format graph_ontology). Needs View Graph Ontology.
| スコープ | custom_fields:read |
| 非同期 | いいえ |
| MCP ツール | get_graph_ontology |
| Portal の権限 | view_graph_ontology |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
include_counts | query | boolean または null | 任意 | Add the instance counts per relation and the rows per template, counted under the caller's access. |
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 GraphDocument |
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 | 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 のコードです。各コードからそのページに移動できます。
スキーマ
GraphDocument
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
document | object | 必須 | The Portal's own document; its format says which. |