csle_rest_api.resources.users package
Submodules
csle_rest_api.resources.users.routes module
Routes and sub-resources for the /users resource
- csle_rest_api.resources.users.routes.create_user() Tuple[flask.wrappers.Response, int] [source]
The /users/create resource.
- Returns
creates a new user
- csle_rest_api.resources.users.routes.user(user_id: int) Tuple[flask.wrappers.Response, int] [source]
The /users/id resource.
- Parameters
user_id – the id of the user
- Returns
The given user or deletes the user