diff --git a/src/controller/asset/instance.py b/src/controller/asset/instance.py index 3cc14f9..929c346 100644 --- a/src/controller/asset/instance.py +++ b/src/controller/asset/instance.py @@ -26,6 +26,7 @@ class InstanceParse: self.request_parse = reqparse.RequestParser() self.request_parse.add_argument("name", required=required, type=str, location='json') self.request_parse.add_argument("class_name", required=False, type=str, location='json') + self.request_parse.add_argument("status", location='json', choices=Instance.STATUS.keys()) self.request_parse.add_argument("server", required=False, type=str, location='json') self.request_parse.add_argument("dependents", required=False, type=list, location='json')