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

index d3254b0..5b32fbf 100644 (file)
@@ -413,3 +413,27 @@ paths:
               Exception:
                 type: "string"
 
+  /pipelines:
+    get:
+      tags:
+        - Pipeline
+      summary: "Get all pipeline names"
+      description: "Fetches all the names of pipelines available."
+      responses:
+        200:
+          description: "Successful response with all pipeline names"
+          schema:
+            type: "object"
+            properties:
+              pipeline_names:
+                type: "array"
+                items:
+                  type: "string"
+        500:
+          description: "Internal server error"
+          schema:
+            type: "object"
+            properties:
+              Exception:
+                type: "string"
+