Swagger file:experiments for TM 50/13650/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:22:04 +0000 (10:52 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:22:04 +0000 (10:52 +0530)
Change-Id: I1e2934c1fc80a4e4082949639302865cdee2b3fc
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
API_docs/training-manager.yaml

index 5b32fbf..a58cefc 100644 (file)
@@ -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"
+