csle_rest_api.resources.simulation_traces package

Submodules

csle_rest_api.resources.simulation_traces.routes module

Routes and sub-resources for the /simulation-traces resource

csle_rest_api.resources.simulation_traces.routes.simulation_trace(trace_id: int) Tuple[flask.wrappers.Response, int][source]

The /simulation-traces/id resource.

Parameters

trace_id – the id of the trace

Returns

The given trace or delets the trace

csle_rest_api.resources.simulation_traces.routes.simulation_traces() Tuple[flask.wrappers.Response, int][source]

The /simulation-traces resource.

Returns

A list of simulation traces or a list of ids of the traces or deletes the traces

csle_rest_api.resources.simulation_traces.routes.simulation_traces_ids() Tuple[flask.wrappers.Response, int][source]
Returns

An HTTP response with all simulation ids

Module contents