我们需要最小化Cypher NEO4J REST API中的数据答案。
可以设置REST Cypher查询只返回数据,而不是paged_traverse,outgoing_relationships,traverse或property和soo ......?
谢谢。
更新
我的结果是这样的:
"paged_traverse": "http://localhost:7474/db/data/node/99568/paged/traverse/{returnType}{?pageSize,leaseTime}",
"outgoing_relationships": "http://localhost:7474/db/data/node/99568/relationships/out",
"outgoing_typed_relationships": "http://localhost:7474/db/data/node/99568/relationships/out/{-list|&|types}",
"labels": "http://localhost:7474/db/data/node/99568/labels",
"create_relationship": "http://localhost:7474/db/data/node/99568/relationships",
"traverse": "http://localhost:7474/db/data/node/99568/traverse/{returnType}",
"all_relationships": "http://localhost:7474/db/data/node/99568/relationships/all",
"all_typed_relationships": "http://localhost:7474/db/data/node/99568/relationships/all/{-list|&|types}",
"property": "http://localhost:7474/db/data/node/99568/properties/{key}",
"self": "http://localhost:7474/db/data/node/99568",
"incoming_relationships": "http://localhost:7474/db/data/node/99568/relationships/in",
"properties": "http://localhost:7474/db/data/node/99568/properties",
"incoming_typed_relationships": "http://localhost:7474/db/data/node/99568/relationships/in/{-list|&|types}",
"data": {
"station": 1,
"distance": 0,
"arrtime": 1438747560,
"line": "XL121",
"deptime": 1438747560,
"rid": 128453,
"type": "train",
"id": 104088
我只需要“数据”部分。有可能吗?
答案 0 :(得分:0)
您可以尝试使用标头:accept:application/json;compact=true
某些端点支持该标头。