-
Notifications
You must be signed in to change notification settings - Fork 116
Rest API overview
Kristian Karl edited this page Mar 4, 2021
·
7 revisions
GraphWalker can be run as a Restful service. This page is an overview of the API used to interact with the service.
The service only handles one session at a time. Models can either be uploaded using the REST load API call, or loaded on command line.
Start GraphWalker REST service on default port 8887 with debug level set to ALL.
java -jar graphwalker-cli-4.3.1.jar --debug all online --service RESTFUL
Start GraphWalker REST service on port 9999 with no debug level.
java -jar graphwalker-cli-4.3.1.jar online --service RESTFUL --port 9999
Start GraphWalker REST using default port with full debug and a graphml model.
java -jar graphwalker-cli-4.3.1.jar -d all online -s RESTFUL -m ShoppingCart.graphml "random(edge_coverage(100))"
See more about command line options here.
There is an example at C Sharp REST Small Model example.