csle_rest_api.resources.experiments package

Submodules

csle_rest_api.resources.experiments.routes module

Routes and sub-resources for the /experiments resource

csle_rest_api.resources.experiments.routes.experiment(experiment_id: int) Tuple[flask.wrappers.Response, int][source]

The /experiments/id resource.

Parameters

experiment_id – the id of the experiment

Returns

The given experiment or deletes the experiment

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

The /experiments resource.

Returns

A list of experiments or a list of ids of the experiments or deletes the experiments

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

An HTTP response with all experiments ids

Module contents