Exception:
type: "string"
+ /featureGroup:
+ delete:
+ tags:
+ - Feature Group
+ summary: "Delete a list of feature groups"
+ description: "Deletes the feature groups specified in the request. If the feature group is associated with DME, the corresponding DME job is also deleted."
+ parameters:
+ - name: "body"
+ in: "body"
+ required: true
+ schema:
+ type: "object"
+ properties:
+ featuregroups_list:
+ type: "array"
+ items:
+ type: "object"
+ properties:
+ featureGroup_name:
+ type: "string"
+ description: "Name of the feature group to be deleted"
+ responses:
+ 200:
+ description: "Deletion results"
+ schema:
+ type: "object"
+ properties:
+ success_count:
+ type: "integer"
+ failure_count:
+ type: "integer"
+ 400:
+ description: "Invalid request or missing data"
+ schema:
+ type: "object"
+ properties:
+ Exception:
+ type: "string"
+ 500:
+ description: "Internal server error"
+ schema:
+ type: "object"
+ properties:
+ Exception:
+ type: "string"
+ post:
+ tags:
+ - Feature Group
+ summary: "Create a feature group"
+ description: "Creates a new feature group with the provided details."
+ parameters:
+ - name: "body"
+ in: "body"
+ required: true
+ schema:
+ type: "object"
+ properties:
+ featureGroupName:
+ type: "string"
+ feature_list:
+ type: "string"
+ datalake:
+ type: "string"
+ bucket:
+ type: "string"
+ host:
+ type: "string"
+ port:
+ type: "string"
+ token:
+ type: "string"
+ db_org:
+ type: "string"
+ measurement:
+ type: "string"
+ enable_Dme:
+ type: "boolean"
+ source_name:
+ type: "string"
+ DmePort:
+ type: "string"
+ measured_obj_class:
+ type: "string"
+ datalake_source:
+ type: "string"
+ responses:
+ 201:
+ description: "Feature group created successfully"
+ schema:
+ type: "object"
+ properties:
+ result:
+ type: "string"
+ 400:
+ description: "Invalid feature group data or feature group already exists"
+ schema:
+ type: "object"
+ properties:
+ Exception:
+ type: "string"
+ 500:
+ description: "Internal server error"
+ schema:
+ type: "object"
+ properties:
+ Exception:
+ type: "string"
+
+ get:
+ tags:
+ - Feature Group
+ summary: "Get all feature groups"
+ description: "Fetches all feature groups available."
+ responses:
+ 200:
+ description: "Successful response with all feature groups"
+ schema:
+ type: "object"
+ properties:
+ featuregroups:
+ type: "array"
+ items:
+ type: "object"
+ properties:
+ featuregroup_name:
+ type: "string"
+ features:
+ type: "string"
+ datalake:
+ type: "string"
+ dme:
+ type: "boolean"
+ 500:
+ description: "Internal server error"
+ schema:
+ type: "object"
+ properties:
+ Exception:
+ type: "string"
+