Release notes added for 3.4.6
[cps.git] / docs / api / swagger / ncmp / openapi-inventory.yaml
index ebe3101..ff9f4ba 100644 (file)
@@ -32,16 +32,6 @@ paths:
               schema:
                 $ref: '#/components/schemas/ErrorMessage'
           description: Bad Request
-        "401":
-          content:
-            application/json:
-              example:
-                status: 401
-                message: Unauthorized error message
-                details: Unauthorized error details
-              schema:
-                $ref: '#/components/schemas/ErrorMessage'
-          description: Unauthorized
         "403":
           content:
             application/json:
@@ -115,16 +105,6 @@ paths:
                   type: string
                 type: array
           description: OK
-        "401":
-          content:
-            application/json:
-              example:
-                status: 401
-                message: Unauthorized error message
-                details: Unauthorized error details
-              schema:
-                $ref: '#/components/schemas/ErrorMessage'
-          description: Unauthorized
         "403":
           content:
             application/json:
@@ -169,16 +149,6 @@ paths:
                   type: string
                 type: array
           description: OK
-        "401":
-          content:
-            application/json:
-              example:
-                status: 401
-                message: Unauthorized error message
-                details: Unauthorized error details
-              schema:
-                $ref: '#/components/schemas/ErrorMessage'
-          description: Unauthorized
         "403":
           content:
             application/json:
@@ -226,16 +196,6 @@ components:
           schema:
             $ref: '#/components/schemas/ErrorMessage'
       description: Bad Request
-    Unauthorized:
-      content:
-        application/json:
-          example:
-            status: 401
-            message: Unauthorized error message
-            details: Unauthorized error details
-          schema:
-            $ref: '#/components/schemas/ErrorMessage'
-      description: Unauthorized
     Forbidden:
       content:
         application/json:
@@ -261,30 +221,38 @@ components:
       example:
         updatedCmHandles:
         - cmHandle: my-cm-handle
+          alternateId: my-alternate-id
           publicCmHandleProperties:
             key: my-property
           cmHandleProperties:
             key: my-property
           moduleSetTag: my-module-set-tag
+          trustLevel: COMPLETE
         - cmHandle: my-cm-handle
+          alternateId: my-alternate-id
           publicCmHandleProperties:
             key: my-property
           cmHandleProperties:
             key: my-property
           moduleSetTag: my-module-set-tag
+          trustLevel: COMPLETE
         createdCmHandles:
         - cmHandle: my-cm-handle
+          alternateId: my-alternate-id
           publicCmHandleProperties:
             key: my-property
           cmHandleProperties:
             key: my-property
           moduleSetTag: my-module-set-tag
+          trustLevel: COMPLETE
         - cmHandle: my-cm-handle
+          alternateId: my-alternate-id
           publicCmHandleProperties:
             key: my-property
           cmHandleProperties:
             key: my-property
           moduleSetTag: my-module-set-tag
+          trustLevel: COMPLETE
         dmiPlugin: my-dmi-plugin
         dmiModelPlugin: my-dmi-model-plugin
         upgradedCmHandles:
@@ -333,11 +301,13 @@ components:
     RestInputCmHandle:
       example:
         cmHandle: my-cm-handle
+        alternateId: my-alternate-id
         publicCmHandleProperties:
           key: my-property
         cmHandleProperties:
           key: my-property
         moduleSetTag: my-module-set-tag
+        trustLevel: COMPLETE
       properties:
         cmHandle:
           example: my-cm-handle
@@ -355,6 +325,15 @@ components:
         moduleSetTag:
           example: my-module-set-tag
           type: string
+        trustLevel:
+          enum:
+          - COMPLETE
+          - NONE
+          example: COMPLETE
+          type: string
+        alternateId:
+          example: my-alternate-id
+          type: string
       required:
       - cmHandle
       type: object
@@ -380,6 +359,7 @@ components:
             type: string
           type: array
         moduleSetTag:
+          default: ""
           example: my-module-set-tag
           type: string
       required: