From df1d74e45d7777c949243e39965d491653d757d7 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Fri, 23 May 2025 06:50:16 +0000 Subject: [PATCH] Updating MME.yaml as per latest Download and Upload-Model API Issue-id: AIMLFW-208 Change-Id: Ib55f83ddf0f7bfded11835e1c54700e60a907f04 Signed-off-by: ashishj1729 --- API_docs/mme.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/API_docs/mme.yaml b/API_docs/mme.yaml index 4360549..13463f7 100644 --- a/API_docs/mme.yaml +++ b/API_docs/mme.yaml @@ -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 -- 2.16.6