{ "basePath": "/", "swaggerVersion": "1.1", "apiVersion": "0.1", "apis": [ { "operations": [ { "errorResponses": [ { "reason": "If the traversal is fully executed HTTP 200 will be returned.

", "code": "200" }, { "reason": "If the traversal specification is either missing or malformed, the server will respond with HTTP 400.

", "code": "400" }, { "reason": "The server will responded with HTTP 404 if the specified edge collection does not exist, or the specified start vertex cannot be found.

", "code": "404" }, { "reason": "The server will responded with HTTP 500 when an error occurs inside the traversal or if a traversal performs more than maxIterations iterations.

Examples

In the following examples the underlying graph will contain five persons Alice, Bob, Charlie, Dave and Eve. We will have the following directed relations: - Alice knows Bob - Bob knows Charlie - Bob knows Dave - Eve knows Alice - Eve knows Bob

The starting vertex will always be Alice.

Follow only outbound edges:

", "code": "500" } ], "parameters": [ { "dataType": "String", "paramType": "body", "required": "true", "name": "body", "description": "

" } ], "notes": "Starts a traversal starting from a given vertex and following. edges contained in a given edgeCollection. The request must contain the following attributes.

If the Traversal is successfully executed HTTP 200 will be returned. Additionally the result object will be returned by the traversal.

For successful traversals, the returned JSON object has the following properties:

If the traversal specification is either missing or malformed, the server will respond with HTTP 400.

The body of the response will then contain a JSON object with additional error details. The object has the following attributes: