csle_rest_api.resources.emulation_traces package

Submodules

csle_rest_api.resources.emulation_traces.routes module

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

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

The /emulation-traces/id resource.

Parameters

trace_id – the id of the trace

Returns

The given trace or delets the trace

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

The /emulation-traces resource.

Returns

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

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

An HTTP response with all emulation ids

Module contents