From de5a3ab6c69771c9d1fe61a4bcb62310e9d444ac Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 10:38:21 +0530 Subject: [PATCH] Swagger file:model.zip states job for TM Change-Id: I0f1f9df7d3d2dcf53ff55359d4cff555a5e93e89 Signed-off-by: Swaraj Kumar --- API_docs/training-manager.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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 -- 2.16.6