-
Notifications
You must be signed in to change notification settings - Fork 1
REST interface
dmonsch edited this page Nov 9, 2019
·
9 revisions
-
Heartbeat:
GET /rest/ping
-
Get State:
GET /rest/state
-
Clear Simulation Data:
GET /rest/clear
-
Prepare Simulation:
GET /rest/prepare
In the following {id} stands for the ID of the prepared simulation. This ID is obtained by calling the end point for "Prepare Simulation".
-
Get State:
GET /rest/{id}/state
-
Clear Simulation Data:
GET /rest/{id}/clear
-
Get Simulation Results:
GET /rest/{id}/results
-
Start Simulation:
GET /rest/{id}/start
-
Add Model to the Simulation:
POST /rest/{id}/set/{type}
-
Set Simulation Configuration:
POST /rest/{id}/set/config
- Heartbeat
- Prepare Simulation
- Add Model to the Simulation
- Set Simulation Configuration
- Start Simulation
- Get State (until Simulation is marked as "finished")
- Get Simulation Results