Rest: hasNext - GraphWalker/graphwalker-project GitHub Wiki

HasNext

The Rest call hasNext queries the service if there are any more elements to fetch. If yes, then the fulfillment of the stop conditions has not yet been reached.

GET Request

http://service-host:8887/graphwalker/hasNext

Response

If the request was successful "result" will be "ok". If there are more elements to get, "hasNext" will be "true".

{
  "result":"ok",
  "hasNext":"true"
}

Example

From a Linux terminal, using curl:

curl http://localhost:8887/graphwalker/hasNext
{"result":"ok","hasNext":"true"}