From f20ca04ec67a2fdee882ac09ed553e2c36df2376 Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 10:52:04 +0530 Subject: [PATCH] Swagger file:experiments for TM Change-Id: I1e2934c1fc80a4e4082949639302865cdee2b3fc Signed-off-by: Swaraj Kumar --- API_docs/training-manager.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index 5b32fbf..a58cefc 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -437,3 +437,25 @@ paths: Exception: type: "string" + /experiments: + get: + summary: "Get all experiment names" + description: "Fetches all the names of experiments available." + responses: + 200: + description: "Successful response with all experiment names" + schema: + type: "object" + properties: + experiment_names: + type: "array" + items: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" + -- 2.16.6