From: Swaraj Kumar Date: Fri, 18 Oct 2024 05:08:21 +0000 (+0530) Subject: Swagger file:model.zip states job for TM X-Git-Tag: 3.0.0~80 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=de5a3ab6c69771c9d1fe61a4bcb62310e9d444ac;p=aiml-fw%2Fawmf%2Ftm.git Swagger file:model.zip states job for TM Change-Id: I0f1f9df7d3d2dcf53ff55359d4cff555a5e93e89 Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index 19defdc..5f6c5bc 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -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