From 865719ddc3903354e669e7ad4087c0cf6b986d81 Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 11:02:46 +0530 Subject: [PATCH] Swagger file:feature group name for TM Change-Id: Ifbbef3ec7529c8ce5c2675c9ffa4205bdc25c271 Signed-off-by: Swaraj Kumar --- API_docs/training-manager.yaml | 76 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index a767422..55c0138 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -897,3 +897,79 @@ paths: Exception: type: "string" + /featureGroup/{featuregroup_name}: + get: + tags: + - Feature Group + summary: "Get feature group by name" + description: "Fetches details of the specified feature group." + parameters: + - name: "featuregroup_name" + in: "path" + required: true + type: "string" + description: "Name of the feature group" + responses: + 200: + description: "Successful response with feature group details" + schema: + type: "object" + properties: + featuregroup: + type: "array" + items: + type: "object" + properties: + featuregroup_name: + type: "string" + features: + type: "string" + datalake: + type: "string" + host: + type: "string" + port: + type: "string" + bucket: + type: "string" + token: + type: "string" + db_org: + type: "string" + measurement: + type: "string" + dme: + type: "boolean" + measured_obj_class: + type: "string" + dme_port: + type: "string" + source_name: + type: "string" + 400: + description: "Invalid feature group name" + schema: + type: "object" + properties: + Exception: + type: "string" + 404: + description: "Feature group not found" + schema: + type: "object" + properties: + Exception: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" +definitions: + ErrorResponse: + type: "object" + properties: + Exception: + type: "string" -- 2.16.6