Updating MME.yaml as per latest Download and Upload-Model API 99/14499/4
authorAshish Jain <jain.ashish@samsung.com>
Fri, 23 May 2025 06:50:16 +0000 (06:50 +0000)
committerAshish Jain <jain.ashish@samsung.com>
Fri, 23 May 2025 11:20:38 +0000 (11:20 +0000)
Issue-id: AIMLFW-208
Change-Id: Ib55f83ddf0f7bfded11835e1c54700e60a907f04
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
API_docs/mme.yaml

index 4360549..13463f7 100644 (file)
@@ -135,7 +135,7 @@ paths:
         '500':
           description: Internal Server Error
 
-  /uploadModel/{modelName}:
+  /uploadModel/{modelName}/{modelVersion}/{artifactVersion}:
     post:
       tags:
         - Model Management
@@ -147,6 +147,16 @@ paths:
           required: true
           schema:
             type: string
+        - name: modelVersion
+          in: path
+          required: true
+          schema:
+            type: string
+        - name: artifactVersion
+          in: path
+          required: true
+          schema:
+            type: string
       requestBody:
         required: true
         content:
@@ -174,7 +184,7 @@ paths:
         '500':
           description: Internal Server Error
 
-  /downloadModel/{modelName}/model.zip:
+  /downloadModel/{modelName}/{modelVersion}/{artifactVersion}/model.zip:
     get:
       tags:
         - Model Management
@@ -186,6 +196,16 @@ paths:
           required: true
           schema:
             type: string
+        - name: modelVersion
+          in: path
+          required: true
+          schema:
+            type: string
+        - name: artifactVersion
+          in: path
+          required: true
+          schema:
+            type: string
       responses:
         '200':
           description: Model downloaded successfully