From: Swaraj Kumar Date: Fri, 18 Oct 2024 05:07:15 +0000 (+0530) Subject: Swagger file:training step states job for TM X-Git-Tag: 3.0.0~81 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=027c9c2d690855e0d8a0db3177a6820c88b22ab1;p=aiml-fw%2Fawmf%2Ftm.git Swagger file:training step states job for TM Change-Id: I2ddee852f5d507ebf716839366d26fbadd3ee630 Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index a577bca..19defdc 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -113,4 +113,49 @@ paths: type: "object" properties: Exception: - type: "string" \ No newline at end of file + type: "string" + + /trainingjobs/{trainingjob_name}/{version}/steps_state: + get: + tags: + - Training Job + summary: "Get steps state information for a training job" + description: "Returns the state of each step in the training job process." + 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 steps state information" + schema: + type: "object" + 400: + description: "Invalid training job name or version" + schema: + type: "object" + properties: + Exception: + type: "string" + 404: + description: "Training job not found" + schema: + type: "object" + properties: + Exception: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" +