From: Swaraj Kumar Date: Fri, 18 Oct 2024 05:16:19 +0000 (+0530) Subject: Swagger file:training job latest for TM X-Git-Tag: 3.0.0~76 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=e324f86d77a7ae10828e227503f327760e82fbf9;p=aiml-fw%2Fawmf%2Ftm.git Swagger file:training job latest for TM Change-Id: Ibd49c33a125fd74c119d90d217223b46a7379e4a Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index c0c8be6..ba2166c 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -313,3 +313,34 @@ paths: properties: Exception: type: "string" + + /trainingjobs/latest: + get: + tags: + - Training Job + summary: "Get overall status and latest version of all training jobs" + description: "Fetches the overall status and the latest version of all existing training jobs." + responses: + 200: + description: "Successful response with training job status and version details" + schema: + type: "object" + properties: + trainingjobs: + type: "array" + items: + type: "object" + properties: + trainingjob_name: + type: "string" + version: + type: "integer" + overall_status: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string"