18.1. Service root

18.1.1. Get service root

18.1.1. Get service root

The service root is your starting point to discover the REST API. It contains the basic starting points for the databse, and some version and extension information. The reference_node entry will only be present if there is a reference node set and exists in the database.

Figure 18.1. Final Graph


Example request

  • GET http://localhost:7474/db/data/
  • Accept: application/json

Example response

  • 200: OK
  • Content-Type: application/json
{
  "cypher" : "http://localhost:7474/db/data/cypher",
  "relationship_index" : "http://localhost:7474/db/data/index/relationship",
  "node" : "http://localhost:7474/db/data/node",
  "relationship_types" : "http://localhost:7474/db/data/relationship/types",
  "neo4j_version" : "1.6",
  "batch" : "http://localhost:7474/db/data/batch",
  "extensions_info" : "http://localhost:7474/db/data/ext",
  "node_index" : "http://localhost:7474/db/data/index/node",
  "reference_node" : "http://localhost:7474/db/data/node/118",
  "extensions" : {
  }
}