From: Swaraj Kumar Date: Fri, 18 Oct 2024 06:14:30 +0000 (+0530) Subject: Swagger file:download model for mme X-Git-Tag: 4.0.0~24 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F13662%2F1;p=aiml-fw%2Fawmf%2Fmodelmgmtservice.git Swagger file:download model for mme Change-Id: Idceb2af2e0993ac0b707f53542aef37ee7e6a3b1 Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/mme.yaml b/API_docs/mme.yaml index a3c8a10..cb5e070 100644 --- a/API_docs/mme.yaml +++ b/API_docs/mme.yaml @@ -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