csle_rest_api.resources.simulations package
Submodules
csle_rest_api.resources.simulations.routes module
Routes and sub-resources for the /simulations resource
- csle_rest_api.resources.simulations.routes.get_simulation(simulation_id: int) Tuple[flask.wrappers.Response, int] [source]
The /simulations/id resource. Gets or deletes a simulation with a given id.
- Parameters
simulation_id – the id of the simulation
- Returns
the simulation or deletes the simulation