From: Swaraj Kumar Date: Fri, 18 Oct 2024 05:19:27 +0000 (+0530) Subject: Swagger file:pipeline versions for TM X-Git-Tag: 3.0.0~74 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=2791a1cd075b2e48e151b5c04fe55c0021077b0e;p=aiml-fw%2Fawmf%2Ftm.git Swagger file:pipeline versions for TM Change-Id: I703e2327809d7028b43352145a4f68fad02b6150 Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/training-manager.yaml b/API_docs/training-manager.yaml index f7496a0..d3254b0 100644 --- a/API_docs/training-manager.yaml +++ b/API_docs/training-manager.yaml @@ -382,3 +382,34 @@ paths: properties: Exception: type: "string" + + /pipelines/{pipeline_name}/versions: + get: + tags: + - Pipeline + summary: "Get versions of a pipeline" + description: "Fetches all the versions of a given pipeline." + parameters: + - name: "pipeline_name" + in: "path" + required: true + type: "string" + description: "Name of the pipeline" + responses: + 200: + description: "Successful response with pipeline versions" + schema: + type: "object" + properties: + versions_list: + type: "array" + items: + type: "string" + 500: + description: "Internal server error" + schema: + type: "object" + properties: + Exception: + type: "string" +