Swagger file:get model info for mme 59/13659/1
authorSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 06:10:52 +0000 (11:40 +0530)
committerSwaraj Kumar <swaraj.kumar@samsung.com>
Fri, 18 Oct 2024 06:10:52 +0000 (11:40 +0530)
Change-Id: Iff381a8189a32b2844aebc3334e00c93e78f929a
Signed-off-by: Swaraj Kumar <swaraj.kumar@samsung.com>
API_docs/mme.yaml

index fc9ec58..2c34ebf 100644 (file)
@@ -36,3 +36,36 @@ paths:
           description: Invalid request, bad input data
         '500':
           description: Internal Server Error
+
+  /getModelInfo:
+    get:
+      tags:
+        - Model Management
+      summary: Get a list of models or search by modelName and modelVersion
+      operationId: getModelInfo
+      parameters:
+        - name: modelName
+          in: query
+          description: Model name to search
+          required: false
+          schema:
+            type: string
+        - name: modelVersion
+          in: query
+          description: Model version to search
+          required: false
+          schema:
+            type: string
+      responses:
+        '200':
+          description: A list of models or filtered search results
+          content:
+            application/json:
+              schema:
+                type: array
+                items:
+                  $ref: '#/components/schemas/ModelInfo'
+        '400':
+          description: Invalid query parameters
+        '500':
+          description: Internal Server Error