Swagger file:model.zip states job for TM 42/13642/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:08:21 +0000 (10:38 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 05:08:21 +0000 (10:38 +0530)
Change-Id: I0f1f9df7d3d2dcf53ff55359d4cff555a5e93e89
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
API_docs/training-manager.yaml

index 19defdc..5f6c5bc 100644 (file)
@@ -159,3 +159,39 @@ paths:
               Exception:
                 type: "string"
 
+  /model/{trainingjob_name}/{version}/Model.zip:
+    get:
+      tags:
+        - Training Job
+      summary: "Download model zip file"
+      description: "Returns the model zip file for a specific training job identified by its name and version."
+      parameters:
+        - name: "trainingjob_name"
+          in: "path"
+          required: true
+          type: "string"
+          description: "Name of the training job"
+        - name: "version"
+          in: "path"
+          required: true
+          type: "integer"
+          description: "Version of the training job"
+      responses:
+        200:
+          description: "Successful response with model zip file"
+          schema:
+            type: "file"
+        400:
+          description: "Invalid training job name or version"
+          schema:
+            type: "object"
+            properties:
+              Exception:
+                type: "string"
+        500:
+          description: "Internal server error"
+          schema:
+            type: "object"
+            properties:
+              Exception:
+                type: "string"
\ No newline at end of file