csle_rest_api.resources.data_collection_jobs package

Submodules

csle_rest_api.resources.data_collection_jobs.routes module

Routes and sub-resources for the /data-collection-jobs resource

csle_rest_api.resources.data_collection_jobs.routes.data_collection_job(job_id: int) Tuple[flask.wrappers.Response, int][source]

The /data-collection-jobs/id resource.

Parameters

job_id – the id of the policy

Returns

The given policy or deletes the policy

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

The /data-collection-jobs resource.

Returns

A list of data-collection-jobs or a list of ids of the jobs or deletes the jobs

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

An HTTP response with all data-collection jobs ids

Module contents