20.17. Traversals

[Warning]Warning

The Traversal REST Endpoint executes arbitrary Javascript code under the hood as part of the evaluators definitions. In hosted and open environments, this can constitute a security risk. In these case, consider using declarative approaches like Cypher Query Language or write your own server side plugin executing the interesting traversals with the Java API ( see Section 31.3, “Server Plugins” ) or secure your server, see Chapter 27, Security.

Traversals are performed from a start node. The traversal is controlled by the URI and the body sent with the request.

returnType

The kind of objects in the response is determined by traverse/{returnType} in the URL. returnType can have one of these values:

  • node
  • relationship
  • path: contains full representations of start and end node, the rest are URIs.
  • fullpath: contains full representations of all nodes and relationships.

To decide how the graph should be traversed you can use these parameters in the request body:

order

Decides in which order to visit nodes. Possible values:

relationships

Decides which relationship types and directions should be followed. The direction can be one of:

  • all
  • in
  • out
uniqueness

Decides how uniqueness should be calculated. For details on different uniqueness values see the Java API on Uniqueness. Possible values:

  • node_global
  • none
  • relationship_global
  • node_path
  • relationship_path
prune_evaluator
Decides whether the traverser should continue down that path or if it should be pruned so that the traverser won’t continue down that path. You can write your own prune evaluator as (see the section called “Traversal using a return filter” or use the built-in none prune evaluator.
return_filter

Decides whether the current position should be included in the result. You can provide your own code for this (see the section called “Traversal using a return filter”), or use one of the built-in filters:

  • all
  • all_but_start_node
max_depth
Is a short-hand way of specifying a prune evaluator which prunes after a certain depth. If not specified a max depth of 1 is used and if a prune_evaluator is specified instead of a max_depth, no max depth limit is set.

The position object in the body of the return_filter and prune_evaluator is a Path object representing the path from the start node to the current traversal position.

Out of the box, the REST API supports JavaScript code in filters and evaluators. The script body will be executed in a Java context which has access to the full Neo4j Java API. See the examples for the exact syntax of the request.

Traversal using a return filter

In this example, the none prune evaluator is used and a return filter is supplied in order to return all names containing "t". The result is to be returned as nodes and the max depth is set to 3.

Figure 20.68. Final Graph

Example request

  • POST http://localhost:7474/db/data/node/77/traverse/node
  • Accept: application/json; charset=UTF-8
  • Content-Type: application/json
{
  "relationships" : [ {
    "type" : "knows",
    "direction" : "all"
  }, {
    "type" : "loves",
    "direction" : "all"
  } ],
  "return_filter" : {
    "language" : "javascript",
    "body" : "position.endNode().getProperty('name').toLowerCase().contains('t')"
  },
  "uniqueness" : "node_global",
  "max_depth" : 3,
  "order" : "breadth_first",
  "prune_evaluator" : {
    "language" : "javascript",
    "body" : "position.length() > 10"
  }
}

Example response

  • 200: OK
  • Content-Type: application/json; charset=UTF-8
[ {
  "metadata" : {
    "id" : 77,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Root"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/77/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/77/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/77/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/77/relationships",
  "labels" : "http://localhost:7474/db/data/node/77/labels",
  "traverse" : "http://localhost:7474/db/data/node/77/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/77/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/77/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/77/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/77",
  "incoming_relationships" : "http://localhost:7474/db/data/node/77/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/77/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/77/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 80,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Mattias"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/80/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/80/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/80/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/80/relationships",
  "labels" : "http://localhost:7474/db/data/node/80/labels",
  "traverse" : "http://localhost:7474/db/data/node/80/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/80/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/80/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/80/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/80",
  "incoming_relationships" : "http://localhost:7474/db/data/node/80/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/80/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/80/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 78,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Tobias"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/78/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/78/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/78/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/78/relationships",
  "labels" : "http://localhost:7474/db/data/node/78/labels",
  "traverse" : "http://localhost:7474/db/data/node/78/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/78/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/78/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/78/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/78",
  "incoming_relationships" : "http://localhost:7474/db/data/node/78/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/78/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/78/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 83,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Peter"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/83/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/83/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/83/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/83/relationships",
  "labels" : "http://localhost:7474/db/data/node/83/labels",
  "traverse" : "http://localhost:7474/db/data/node/83/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/83/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/83/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/83/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/83",
  "incoming_relationships" : "http://localhost:7474/db/data/node/83/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/83/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/83/relationships/in/{-list|&|types}"
} ]

Return relationships from a traversal

Figure 20.69. Final Graph

Example request

  • POST http://localhost:7474/db/data/node/73/traverse/relationship
  • Accept: application/json; charset=UTF-8
  • Content-Type: application/json
{
  "order" : "breadth_first",
  "uniqueness" : "none",
  "return_filter" : {
    "language" : "builtin",
    "name" : "all"
  }
}

Example response

  • 200: OK
  • Content-Type: application/json; charset=UTF-8
[ {
  "extensions" : { },
  "metadata" : {
    "id" : 60,
    "type" : "own"
  },
  "data" : { },
  "start" : "http://localhost:7474/db/data/node/73",
  "property" : "http://localhost:7474/db/data/relationship/60/properties/{key}",
  "self" : "http://localhost:7474/db/data/relationship/60",
  "end" : "http://localhost:7474/db/data/node/72",
  "type" : "own",
  "properties" : "http://localhost:7474/db/data/relationship/60/properties"
}, {
  "extensions" : { },
  "metadata" : {
    "id" : 59,
    "type" : "know"
  },
  "data" : { },
  "start" : "http://localhost:7474/db/data/node/73",
  "property" : "http://localhost:7474/db/data/relationship/59/properties/{key}",
  "self" : "http://localhost:7474/db/data/relationship/59",
  "end" : "http://localhost:7474/db/data/node/74",
  "type" : "know",
  "properties" : "http://localhost:7474/db/data/relationship/59/properties"
} ]

Return paths from a traversal

Figure 20.70. Final Graph

Example request

  • POST http://localhost:7474/db/data/node/63/traverse/path
  • Accept: application/json; charset=UTF-8
  • Content-Type: application/json
{
  "order" : "breadth_first",
  "uniqueness" : "none",
  "return_filter" : {
    "language" : "builtin",
    "name" : "all"
  }
}

Example response

  • 200: OK
  • Content-Type: application/json; charset=UTF-8
[ {
  "relationships" : [ ],
  "nodes" : [ "http://localhost:7474/db/data/node/63" ],
  "directions" : [ ],
  "start" : "http://localhost:7474/db/data/node/63",
  "length" : 0,
  "end" : "http://localhost:7474/db/data/node/63"
}, {
  "relationships" : [ "http://localhost:7474/db/data/relationship/52" ],
  "nodes" : [ "http://localhost:7474/db/data/node/63", "http://localhost:7474/db/data/node/62" ],
  "directions" : [ "->" ],
  "start" : "http://localhost:7474/db/data/node/63",
  "length" : 1,
  "end" : "http://localhost:7474/db/data/node/62"
}, {
  "relationships" : [ "http://localhost:7474/db/data/relationship/51" ],
  "nodes" : [ "http://localhost:7474/db/data/node/63", "http://localhost:7474/db/data/node/64" ],
  "directions" : [ "->" ],
  "start" : "http://localhost:7474/db/data/node/63",
  "length" : 1,
  "end" : "http://localhost:7474/db/data/node/64"
} ]

Traversal returning nodes below a certain depth

Here, all nodes at a traversal depth below 3 are returned.

Figure 20.71. Final Graph

Example request

  • POST http://localhost:7474/db/data/node/65/traverse/node
  • Accept: application/json; charset=UTF-8
  • Content-Type: application/json
{
  "return_filter" : {
    "language" : "javascript",
    "body" : "position.length()<3;"
  },
  "prune_evaluator" : {
    "name" : "none",
    "language" : "builtin"
  }
}

Example response

  • 200: OK
  • Content-Type: application/json; charset=UTF-8
[ {
  "metadata" : {
    "id" : 65,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Root"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/65/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/65/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/65/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/65/relationships",
  "labels" : "http://localhost:7474/db/data/node/65/labels",
  "traverse" : "http://localhost:7474/db/data/node/65/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/65/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/65/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/65/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/65",
  "incoming_relationships" : "http://localhost:7474/db/data/node/65/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/65/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/65/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 68,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Mattias"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/68/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/68/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/68/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/68/relationships",
  "labels" : "http://localhost:7474/db/data/node/68/labels",
  "traverse" : "http://localhost:7474/db/data/node/68/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/68/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/68/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/68/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/68",
  "incoming_relationships" : "http://localhost:7474/db/data/node/68/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/68/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/68/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 67,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Johan"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/67/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/67/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/67/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/67/relationships",
  "labels" : "http://localhost:7474/db/data/node/67/labels",
  "traverse" : "http://localhost:7474/db/data/node/67/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/67/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/67/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/67/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/67",
  "incoming_relationships" : "http://localhost:7474/db/data/node/67/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/67/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/67/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 69,
    "labels" : [ ]
  },
  "data" : {
    "name" : "Emil"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/69/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/69/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/69/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/69/relationships",
  "labels" : "http://localhost:7474/db/data/node/69/labels",
  "traverse" : "http://localhost:7474/db/data/node/69/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/69/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/69/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/69/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/69",
  "incoming_relationships" : "http://localhost:7474/db/data/node/69/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/69/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/69/relationships/in/{-list|&|types}"
} ]

Creating a paged traverser

Paged traversers are created by POST-ing a traversal description to the link identified by the paged_traverser key in a node representation. When creating a paged traverser, the same options apply as for a regular traverser, meaning that node, path, or fullpath, can be targeted.

Example request

  • POST http://localhost:7474/db/data/node/297/paged/traverse/node
  • Accept: application/json; charset=UTF-8
  • Content-Type: application/json
{
  "prune_evaluator" : {
    "language" : "builtin",
    "name" : "none"
  },
  "return_filter" : {
    "language" : "javascript",
    "body" : "position.endNode().getProperty('name').contains('1');"
  },
  "order" : "depth_first",
  "relationships" : {
    "type" : "NEXT",
    "direction" : "out"
  }
}

Example response

  • 201: Created
  • Content-Type: application/json; charset=UTF-8
  • Location: http://localhost:7474/db/data/node/297/paged/traverse/node/16f39c7320214527a5fa1d48f37442a2
[ {
  "metadata" : {
    "id" : 298,
    "labels" : [ ]
  },
  "data" : {
    "name" : "1"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/298/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/298/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/298/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/298/relationships",
  "labels" : "http://localhost:7474/db/data/node/298/labels",
  "traverse" : "http://localhost:7474/db/data/node/298/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/298/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/298/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/298/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/298",
  "incoming_relationships" : "http://localhost:7474/db/data/node/298/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/298/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/298/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 307,
    "labels" : [ ]
  },
  "data" : {
    "name" : "10"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/307/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/307/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/307/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/307/relationships",
  "labels" : "http://localhost:7474/db/data/node/307/labels",
  "traverse" : "http://localhost:7474/db/data/node/307/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/307/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/307/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/307/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/307",
  "incoming_relationships" : "http://localhost:7474/db/data/node/307/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/307/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/307/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 308,
    "labels" : [ ]
  },
  "data" : {
    "name" : "11"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/308/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/308/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/308/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/308/relationships",
  "labels" : "http://localhost:7474/db/data/node/308/labels",
  "traverse" : "http://localhost:7474/db/data/node/308/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/308/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/308/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/308/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/308",
  "incoming_relationships" : "http://localhost:7474/db/data/node/308/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/308/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/308/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 309,
    "labels" : [ ]
  },
  "data" : {
    "name" : "12"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/309/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/309/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/309/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/309/relationships",
  "labels" : "http://localhost:7474/db/data/node/309/labels",
  "traverse" : "http://localhost:7474/db/data/node/309/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/309/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/309/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/309/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/309",
  "incoming_relationships" : "http://localhost:7474/db/data/node/309/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/309/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/309/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 310,
    "labels" : [ ]
  },
  "data" : {
    "name" : "13"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/310/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/310/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/310/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/310/relationships",
  "labels" : "http://localhost:7474/db/data/node/310/labels",
  "traverse" : "http://localhost:7474/db/data/node/310/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/310/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/310/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/310/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/310",
  "incoming_relationships" : "http://localhost:7474/db/data/node/310/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/310/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/310/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 311,
    "labels" : [ ]
  },
  "data" : {
    "name" : "14"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/311/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/311/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/311/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/311/relationships",
  "labels" : "http://localhost:7474/db/data/node/311/labels",
  "traverse" : "http://localhost:7474/db/data/node/311/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/311/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/311/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/311/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/311",
  "incoming_relationships" : "http://localhost:7474/db/data/node/311/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/311/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/311/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 312,
    "labels" : [ ]
  },
  "data" : {
    "name" : "15"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/312/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/312/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/312/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/312/relationships",
  "labels" : "http://localhost:7474/db/data/node/312/labels",
  "traverse" : "http://localhost:7474/db/data/node/312/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/312/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/312/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/312/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/312",
  "incoming_relationships" : "http://localhost:7474/db/data/node/312/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/312/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/312/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 313,
    "labels" : [ ]
  },
  "data" : {
    "name" : "16"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/313/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/313/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/313/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/313/relationships",
  "labels" : "http://localhost:7474/db/data/node/313/labels",
  "traverse" : "http://localhost:7474/db/data/node/313/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/313/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/313/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/313/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/313",
  "incoming_relationships" : "http://localhost:7474/db/data/node/313/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/313/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/313/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 314,
    "labels" : [ ]
  },
  "data" : {
    "name" : "17"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/314/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/314/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/314/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/314/relationships",
  "labels" : "http://localhost:7474/db/data/node/314/labels",
  "traverse" : "http://localhost:7474/db/data/node/314/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/314/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/314/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/314/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/314",
  "incoming_relationships" : "http://localhost:7474/db/data/node/314/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/314/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/314/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 315,
    "labels" : [ ]
  },
  "data" : {
    "name" : "18"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/315/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/315/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/315/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/315/relationships",
  "labels" : "http://localhost:7474/db/data/node/315/labels",
  "traverse" : "http://localhost:7474/db/data/node/315/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/315/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/315/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/315/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/315",
  "incoming_relationships" : "http://localhost:7474/db/data/node/315/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/315/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/315/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 316,
    "labels" : [ ]
  },
  "data" : {
    "name" : "19"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/316/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/316/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/316/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/316/relationships",
  "labels" : "http://localhost:7474/db/data/node/316/labels",
  "traverse" : "http://localhost:7474/db/data/node/316/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/316/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/316/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/316/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/316",
  "incoming_relationships" : "http://localhost:7474/db/data/node/316/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/316/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/316/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 318,
    "labels" : [ ]
  },
  "data" : {
    "name" : "21"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/318/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/318/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/318/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/318/relationships",
  "labels" : "http://localhost:7474/db/data/node/318/labels",
  "traverse" : "http://localhost:7474/db/data/node/318/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/318/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/318/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/318/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/318",
  "incoming_relationships" : "http://localhost:7474/db/data/node/318/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/318/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/318/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 328,
    "labels" : [ ]
  },
  "data" : {
    "name" : "31"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/328/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/328/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/328/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/328/relationships",
  "labels" : "http://localhost:7474/db/data/node/328/labels",
  "traverse" : "http://localhost:7474/db/data/node/328/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/328/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/328/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/328/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/328",
  "incoming_relationships" : "http://localhost:7474/db/data/node/328/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/328/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/328/relationships/in/{-list|&|types}"
} ]

Paging through the results of a paged traverser

Paged traversers holdstate on the server, and allow clients to page through the results of a traversal. To progress to the next page of traversal results, the client issues a HTTP GET request on the paged traversal URI which causes the traversal to fill the next page (or partially fill it if insufficient results are available).

Note that if a traverser expires through inactivity it will cause a 404 response on the next GET request. Traversers' leases are renewed on every successful access for the same amount of time as originally specified.

When the paged traverser reaches the end of its results, the client can expect a 404 response as the traverser is disposed by the server.

Example request

  • GET http://localhost:7474/db/data/node/330/paged/traverse/node/8c5a500919c54a04bdd873ab341d5fb9
  • Accept: application/json

Example response

  • 200: OK
  • Content-Type: application/json; charset=UTF-8
[ {
  "metadata" : {
    "id" : 661,
    "labels" : [ ]
  },
  "data" : {
    "name" : "331"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/661/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/661/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/661/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/661/relationships",
  "labels" : "http://localhost:7474/db/data/node/661/labels",
  "traverse" : "http://localhost:7474/db/data/node/661/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/661/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/661/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/661/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/661",
  "incoming_relationships" : "http://localhost:7474/db/data/node/661/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/661/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/661/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 671,
    "labels" : [ ]
  },
  "data" : {
    "name" : "341"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/671/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/671/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/671/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/671/relationships",
  "labels" : "http://localhost:7474/db/data/node/671/labels",
  "traverse" : "http://localhost:7474/db/data/node/671/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/671/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/671/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/671/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/671",
  "incoming_relationships" : "http://localhost:7474/db/data/node/671/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/671/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/671/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 681,
    "labels" : [ ]
  },
  "data" : {
    "name" : "351"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/681/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/681/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/681/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/681/relationships",
  "labels" : "http://localhost:7474/db/data/node/681/labels",
  "traverse" : "http://localhost:7474/db/data/node/681/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/681/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/681/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/681/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/681",
  "incoming_relationships" : "http://localhost:7474/db/data/node/681/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/681/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/681/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 691,
    "labels" : [ ]
  },
  "data" : {
    "name" : "361"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/691/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/691/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/691/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/691/relationships",
  "labels" : "http://localhost:7474/db/data/node/691/labels",
  "traverse" : "http://localhost:7474/db/data/node/691/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/691/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/691/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/691/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/691",
  "incoming_relationships" : "http://localhost:7474/db/data/node/691/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/691/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/691/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 701,
    "labels" : [ ]
  },
  "data" : {
    "name" : "371"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/701/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/701/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/701/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/701/relationships",
  "labels" : "http://localhost:7474/db/data/node/701/labels",
  "traverse" : "http://localhost:7474/db/data/node/701/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/701/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/701/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/701/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/701",
  "incoming_relationships" : "http://localhost:7474/db/data/node/701/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/701/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/701/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 711,
    "labels" : [ ]
  },
  "data" : {
    "name" : "381"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/711/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/711/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/711/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/711/relationships",
  "labels" : "http://localhost:7474/db/data/node/711/labels",
  "traverse" : "http://localhost:7474/db/data/node/711/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/711/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/711/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/711/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/711",
  "incoming_relationships" : "http://localhost:7474/db/data/node/711/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/711/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/711/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 721,
    "labels" : [ ]
  },
  "data" : {
    "name" : "391"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/721/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/721/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/721/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/721/relationships",
  "labels" : "http://localhost:7474/db/data/node/721/labels",
  "traverse" : "http://localhost:7474/db/data/node/721/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/721/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/721/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/721/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/721",
  "incoming_relationships" : "http://localhost:7474/db/data/node/721/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/721/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/721/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 731,
    "labels" : [ ]
  },
  "data" : {
    "name" : "401"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/731/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/731/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/731/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/731/relationships",
  "labels" : "http://localhost:7474/db/data/node/731/labels",
  "traverse" : "http://localhost:7474/db/data/node/731/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/731/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/731/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/731/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/731",
  "incoming_relationships" : "http://localhost:7474/db/data/node/731/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/731/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/731/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 740,
    "labels" : [ ]
  },
  "data" : {
    "name" : "410"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/740/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/740/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/740/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/740/relationships",
  "labels" : "http://localhost:7474/db/data/node/740/labels",
  "traverse" : "http://localhost:7474/db/data/node/740/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/740/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/740/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/740/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/740",
  "incoming_relationships" : "http://localhost:7474/db/data/node/740/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/740/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/740/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 741,
    "labels" : [ ]
  },
  "data" : {
    "name" : "411"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/741/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/741/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/741/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/741/relationships",
  "labels" : "http://localhost:7474/db/data/node/741/labels",
  "traverse" : "http://localhost:7474/db/data/node/741/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/741/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/741/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/741/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/741",
  "incoming_relationships" : "http://localhost:7474/db/data/node/741/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/741/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/741/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 742,
    "labels" : [ ]
  },
  "data" : {
    "name" : "412"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/742/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/742/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/742/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/742/relationships",
  "labels" : "http://localhost:7474/db/data/node/742/labels",
  "traverse" : "http://localhost:7474/db/data/node/742/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/742/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/742/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/742/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/742",
  "incoming_relationships" : "http://localhost:7474/db/data/node/742/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/742/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/742/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 743,
    "labels" : [ ]
  },
  "data" : {
    "name" : "413"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/743/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/743/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/743/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/743/relationships",
  "labels" : "http://localhost:7474/db/data/node/743/labels",
  "traverse" : "http://localhost:7474/db/data/node/743/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/743/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/743/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/743/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/743",
  "incoming_relationships" : "http://localhost:7474/db/data/node/743/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/743/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/743/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 744,
    "labels" : [ ]
  },
  "data" : {
    "name" : "414"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/744/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/744/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/744/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/744/relationships",
  "labels" : "http://localhost:7474/db/data/node/744/labels",
  "traverse" : "http://localhost:7474/db/data/node/744/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/744/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/744/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/744/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/744",
  "incoming_relationships" : "http://localhost:7474/db/data/node/744/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/744/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/744/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 745,
    "labels" : [ ]
  },
  "data" : {
    "name" : "415"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/745/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/745/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/745/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/745/relationships",
  "labels" : "http://localhost:7474/db/data/node/745/labels",
  "traverse" : "http://localhost:7474/db/data/node/745/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/745/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/745/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/745/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/745",
  "incoming_relationships" : "http://localhost:7474/db/data/node/745/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/745/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/745/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 746,
    "labels" : [ ]
  },
  "data" : {
    "name" : "416"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/746/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/746/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/746/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/746/relationships",
  "labels" : "http://localhost:7474/db/data/node/746/labels",
  "traverse" : "http://localhost:7474/db/data/node/746/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/746/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/746/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/746/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/746",
  "incoming_relationships" : "http://localhost:7474/db/data/node/746/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/746/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/746/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 747,
    "labels" : [ ]
  },
  "data" : {
    "name" : "417"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/747/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/747/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/747/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/747/relationships",
  "labels" : "http://localhost:7474/db/data/node/747/labels",
  "traverse" : "http://localhost:7474/db/data/node/747/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/747/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/747/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/747/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/747",
  "incoming_relationships" : "http://localhost:7474/db/data/node/747/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/747/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/747/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 748,
    "labels" : [ ]
  },
  "data" : {
    "name" : "418"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/748/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/748/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/748/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/748/relationships",
  "labels" : "http://localhost:7474/db/data/node/748/labels",
  "traverse" : "http://localhost:7474/db/data/node/748/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/748/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/748/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/748/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/748",
  "incoming_relationships" : "http://localhost:7474/db/data/node/748/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/748/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/748/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 749,
    "labels" : [ ]
  },
  "data" : {
    "name" : "419"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/749/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/749/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/749/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/749/relationships",
  "labels" : "http://localhost:7474/db/data/node/749/labels",
  "traverse" : "http://localhost:7474/db/data/node/749/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/749/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/749/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/749/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/749",
  "incoming_relationships" : "http://localhost:7474/db/data/node/749/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/749/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/749/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 751,
    "labels" : [ ]
  },
  "data" : {
    "name" : "421"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/751/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/751/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/751/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/751/relationships",
  "labels" : "http://localhost:7474/db/data/node/751/labels",
  "traverse" : "http://localhost:7474/db/data/node/751/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/751/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/751/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/751/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/751",
  "incoming_relationships" : "http://localhost:7474/db/data/node/751/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/751/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/751/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 761,
    "labels" : [ ]
  },
  "data" : {
    "name" : "431"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/761/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/761/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/761/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/761/relationships",
  "labels" : "http://localhost:7474/db/data/node/761/labels",
  "traverse" : "http://localhost:7474/db/data/node/761/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/761/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/761/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/761/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/761",
  "incoming_relationships" : "http://localhost:7474/db/data/node/761/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/761/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/761/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 771,
    "labels" : [ ]
  },
  "data" : {
    "name" : "441"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/771/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/771/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/771/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/771/relationships",
  "labels" : "http://localhost:7474/db/data/node/771/labels",
  "traverse" : "http://localhost:7474/db/data/node/771/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/771/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/771/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/771/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/771",
  "incoming_relationships" : "http://localhost:7474/db/data/node/771/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/771/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/771/relationships/in/{-list|&|types}"
} ]

Paged traverser page size

The default page size is 50 items, but depending on the application larger or smaller pages sizes might be appropriate. This can be set by adding a pageSize query parameter.

Example request

  • POST http://localhost:7474/db/data/node/33/paged/traverse/node?pageSize=1
  • Accept: application/json
  • Content-Type: application/json
{
  "prune_evaluator" : {
    "language" : "builtin",
    "name" : "none"
  },
  "return_filter" : {
    "language" : "javascript",
    "body" : "position.endNode().getProperty('name').contains('1');"
  },
  "order" : "depth_first",
  "relationships" : {
    "type" : "NEXT",
    "direction" : "out"
  }
}

Example response

  • 201: Created
  • Content-Type: application/json; charset=UTF-8
  • Location: http://localhost:7474/db/data/node/33/paged/traverse/node/6aa38a0b1c28407ea2449e8aede23e9f
[ {
  "metadata" : {
    "id" : 34,
    "labels" : [ ]
  },
  "data" : {
    "name" : "1"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/34/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/34/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/34/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/34/relationships",
  "labels" : "http://localhost:7474/db/data/node/34/labels",
  "traverse" : "http://localhost:7474/db/data/node/34/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/34/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/34/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/34/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/34",
  "incoming_relationships" : "http://localhost:7474/db/data/node/34/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/34/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/34/relationships/in/{-list|&|types}"
} ]

Paged traverser timeout

The default timeout for a paged traverser is 60 seconds, but depending on the application larger or smaller timeouts might be appropriate. This can be set by adding a leaseTime query parameter with the number of seconds the paged traverser should last.

Example request

  • POST http://localhost:7474/db/data/node/807/paged/traverse/node?leaseTime=10
  • Accept: application/json
  • Content-Type: application/json
{
  "prune_evaluator" : {
    "language" : "builtin",
    "name" : "none"
  },
  "return_filter" : {
    "language" : "javascript",
    "body" : "position.endNode().getProperty('name').contains('1');"
  },
  "order" : "depth_first",
  "relationships" : {
    "type" : "NEXT",
    "direction" : "out"
  }
}

Example response

  • 201: Created
  • Content-Type: application/json; charset=UTF-8
  • Location: http://localhost:7474/db/data/node/807/paged/traverse/node/ce690c781d7741269af837d11814d10c
[ {
  "metadata" : {
    "id" : 808,
    "labels" : [ ]
  },
  "data" : {
    "name" : "1"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/808/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/808/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/808/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/808/relationships",
  "labels" : "http://localhost:7474/db/data/node/808/labels",
  "traverse" : "http://localhost:7474/db/data/node/808/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/808/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/808/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/808/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/808",
  "incoming_relationships" : "http://localhost:7474/db/data/node/808/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/808/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/808/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 817,
    "labels" : [ ]
  },
  "data" : {
    "name" : "10"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/817/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/817/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/817/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/817/relationships",
  "labels" : "http://localhost:7474/db/data/node/817/labels",
  "traverse" : "http://localhost:7474/db/data/node/817/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/817/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/817/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/817/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/817",
  "incoming_relationships" : "http://localhost:7474/db/data/node/817/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/817/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/817/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 818,
    "labels" : [ ]
  },
  "data" : {
    "name" : "11"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/818/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/818/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/818/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/818/relationships",
  "labels" : "http://localhost:7474/db/data/node/818/labels",
  "traverse" : "http://localhost:7474/db/data/node/818/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/818/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/818/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/818/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/818",
  "incoming_relationships" : "http://localhost:7474/db/data/node/818/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/818/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/818/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 819,
    "labels" : [ ]
  },
  "data" : {
    "name" : "12"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/819/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/819/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/819/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/819/relationships",
  "labels" : "http://localhost:7474/db/data/node/819/labels",
  "traverse" : "http://localhost:7474/db/data/node/819/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/819/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/819/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/819/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/819",
  "incoming_relationships" : "http://localhost:7474/db/data/node/819/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/819/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/819/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 820,
    "labels" : [ ]
  },
  "data" : {
    "name" : "13"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/820/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/820/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/820/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/820/relationships",
  "labels" : "http://localhost:7474/db/data/node/820/labels",
  "traverse" : "http://localhost:7474/db/data/node/820/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/820/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/820/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/820/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/820",
  "incoming_relationships" : "http://localhost:7474/db/data/node/820/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/820/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/820/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 821,
    "labels" : [ ]
  },
  "data" : {
    "name" : "14"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/821/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/821/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/821/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/821/relationships",
  "labels" : "http://localhost:7474/db/data/node/821/labels",
  "traverse" : "http://localhost:7474/db/data/node/821/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/821/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/821/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/821/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/821",
  "incoming_relationships" : "http://localhost:7474/db/data/node/821/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/821/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/821/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 822,
    "labels" : [ ]
  },
  "data" : {
    "name" : "15"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/822/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/822/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/822/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/822/relationships",
  "labels" : "http://localhost:7474/db/data/node/822/labels",
  "traverse" : "http://localhost:7474/db/data/node/822/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/822/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/822/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/822/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/822",
  "incoming_relationships" : "http://localhost:7474/db/data/node/822/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/822/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/822/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 823,
    "labels" : [ ]
  },
  "data" : {
    "name" : "16"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/823/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/823/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/823/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/823/relationships",
  "labels" : "http://localhost:7474/db/data/node/823/labels",
  "traverse" : "http://localhost:7474/db/data/node/823/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/823/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/823/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/823/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/823",
  "incoming_relationships" : "http://localhost:7474/db/data/node/823/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/823/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/823/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 824,
    "labels" : [ ]
  },
  "data" : {
    "name" : "17"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/824/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/824/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/824/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/824/relationships",
  "labels" : "http://localhost:7474/db/data/node/824/labels",
  "traverse" : "http://localhost:7474/db/data/node/824/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/824/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/824/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/824/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/824",
  "incoming_relationships" : "http://localhost:7474/db/data/node/824/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/824/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/824/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 825,
    "labels" : [ ]
  },
  "data" : {
    "name" : "18"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/825/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/825/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/825/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/825/relationships",
  "labels" : "http://localhost:7474/db/data/node/825/labels",
  "traverse" : "http://localhost:7474/db/data/node/825/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/825/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/825/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/825/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/825",
  "incoming_relationships" : "http://localhost:7474/db/data/node/825/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/825/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/825/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 826,
    "labels" : [ ]
  },
  "data" : {
    "name" : "19"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/826/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/826/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/826/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/826/relationships",
  "labels" : "http://localhost:7474/db/data/node/826/labels",
  "traverse" : "http://localhost:7474/db/data/node/826/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/826/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/826/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/826/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/826",
  "incoming_relationships" : "http://localhost:7474/db/data/node/826/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/826/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/826/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 828,
    "labels" : [ ]
  },
  "data" : {
    "name" : "21"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/828/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/828/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/828/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/828/relationships",
  "labels" : "http://localhost:7474/db/data/node/828/labels",
  "traverse" : "http://localhost:7474/db/data/node/828/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/828/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/828/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/828/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/828",
  "incoming_relationships" : "http://localhost:7474/db/data/node/828/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/828/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/828/relationships/in/{-list|&|types}"
}, {
  "metadata" : {
    "id" : 838,
    "labels" : [ ]
  },
  "data" : {
    "name" : "31"
  },
  "paged_traverse" : "http://localhost:7474/db/data/node/838/paged/traverse/{returnType}{?pageSize,leaseTime}",
  "outgoing_relationships" : "http://localhost:7474/db/data/node/838/relationships/out",
  "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/838/relationships/out/{-list|&|types}",
  "create_relationship" : "http://localhost:7474/db/data/node/838/relationships",
  "labels" : "http://localhost:7474/db/data/node/838/labels",
  "traverse" : "http://localhost:7474/db/data/node/838/traverse/{returnType}",
  "extensions" : { },
  "all_relationships" : "http://localhost:7474/db/data/node/838/relationships/all",
  "all_typed_relationships" : "http://localhost:7474/db/data/node/838/relationships/all/{-list|&|types}",
  "property" : "http://localhost:7474/db/data/node/838/properties/{key}",
  "self" : "http://localhost:7474/db/data/node/838",
  "incoming_relationships" : "http://localhost:7474/db/data/node/838/relationships/in",
  "properties" : "http://localhost:7474/db/data/node/838/properties",
  "incoming_typed_relationships" : "http://localhost:7474/db/data/node/838/relationships/in/{-list|&|types}"
} ]