csle_rest_api.resources.emulation_statistics package

Submodules

csle_rest_api.resources.emulation_statistics.routes module

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

csle_rest_api.resources.emulation_statistics.routes.emulation_statistic(statistics_id: int) Tuple[flask.wrappers.Response, int][source]

The /emulation-statistics/id resource.

Parameters

statistics_id – the id of the statistic

Returns

The given statistic or deletes the statistic

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

The /emulation-statistics resource.

Returns

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

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

An HTTP response with all emulation statistics ids

Module contents