Swagger file:download model for mme 62/13662/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 06:14:30 +0000 (11:44 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 06:14:30 +0000 (11:44 +0530)
Change-Id: Idceb2af2e0993ac0b707f53542aef37ee7e6a3b1
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
API_docs/mme.yaml

index a3c8a10..cb5e070 100644 (file)
@@ -173,3 +173,26 @@ paths:
                     example: "Model uploaded successfully."
         '500':
           description: Internal Server Error
+
+  /downloadModel/{modelName}/model.zip:
+    get:
+      tags:
+        - Model Management
+      summary: Download a specific model version as a ZIP file
+      operationId: downloadModel
+      parameters:
+        - name: modelName
+          in: path
+          required: true
+          schema:
+            type: string
+      responses:
+        '200':
+          description: Model downloaded successfully
+          content:
+            application/octet-stream:
+              schema:
+                type: string
+                format: binary
+        '500':
+          description: Internal Server Error
\ No newline at end of file