Swagger file:data extrac notif for TM 44/13644/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:12:16 +0000 (10:42 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:12:16 +0000 (10:42 +0530)
Change-Id: I0cdd231d16073dc99ab4cfea2b2881a3fc482e98
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
API_docs/training-manager.yaml

index 687c0fd..b00f0fe 100644 (file)
@@ -232,3 +232,42 @@ paths:
             properties:
               Exception:
                 type: "string"
+
+  /trainingjob/dataExtractionNotification:
+    post:
+      tags:
+        - Training Job
+      summary: "Handle data extraction notification"
+      description: "Handles the notification that data extraction is finished and invokes further training steps."
+      parameters:
+        - name: "body"
+          in: "body"
+          required: true
+          schema:
+            type: "object"
+            properties:
+              trainingjob_name:
+                type: "string"
+          description: "JSON object containing the name of the training job"
+      responses:
+        200:
+          description: "Pipeline is scheduled successfully"
+          schema:
+            type: "object"
+            properties:
+              result:
+                type: "string"
+        400:
+          description: "Invalid training job name or request"
+          schema:
+            type: "object"
+            properties:
+              Exception:
+                type: "string"
+        500:
+          description: "Internal server error"
+          schema:
+            type: "object"
+            properties:
+              Exception:
+                type: "string"