Neo4j REST API - POSOCO/grid_graph GitHub Wiki

Documentation

HTTP Request

URL - http://localhost:7474/db/data/transaction/commit

METHOD - POST

Headers Content-Type: application/json

REQUEST BODY

{
  "statements":[
    {
      "statement":"match(n) return n limit 3",
      "parameters":null,
      "resultDataContents" : [ "row" ]
    }
  ]
}

RESPONSE BODY

{
	"results": [
		{
			"columns": ["n"],
			"data": [
				{
					"row": [
						{
							"mva": 315,
							"id": 2,
							"nor_tap_pos": "9b",
							"pres_tap_pos": "9b"
						}
					],
					"meta": [
						{
							"id": 91,
							"type": "node",
							"deleted": false
						}
					]
				},
				{
					"row": [
						{
							"id": 1
						}
					],
					"meta": [
						{
							"id": 92,
							"type": "node",
							"deleted": false
						}
					]
				},
				{
					"row": [
						{
							"mva": 500,
							"id": 2,
							"nor_tap_pos": "9",
							"pres_tap_pos": "11"
						}
					],
					"meta": [
						{
							"id": 112,
							"type": "node",
							"deleted": false
						}
					]
				}
			]
		}
	],
	"errors": []
}