列出类型
GET /ontology/v1/types
Read the node and relation types registered for this organization before writing, so a create names a type the graph accepts. Each entry is one registrant’s registration with its owner, version and definitions. Types cannot be created at runtime; they are registered by the owning service at deploy time, so a type missing here is not available to write.
支持状态: supported
响应
HTTP 200
Every registration in force for this organization, in registration order.
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| data | array<object> | The registrations in force for this organization. |
| data[].owner | string | Service that registered these types, for example file or ticket; it is the registrant a later change to a type is checked against. |
| data[].version | integer | Monotonic version of this owner's registration; a later registration must extend this one without removing or narrowing anything. |
| data[].nodes | array<object> | Node types this owner registers. |
| data[].edges | array<object> | Relation types this owner registers. |
| next_cursor | string | Always null here; the field is present so every list on this face has the same shape. |