csle_rest_api.resources.mcmc_system_models package

Submodules

csle_rest_api.resources.mcmc_system_models.routes module

Routes and sub-resources for the /mcmc-system-models resource

csle_rest_api.resources.mcmc_system_models.routes.mcmc_system_model(model_id: int) Tuple[flask.wrappers.Response, int][source]

The /system-models/id resource.

Parameters

model_id – the id of the model

Returns

The given model or deletes the model

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

The /mcmc-system-models resource.

Returns

A list of system-models or a list of ids of the models or deletes the models

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

An HTTP response with all system models ids

Module contents