Renu Kumari | 139e822 | 2021-10-04 20:59:18 -0400 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2021 Bell Canada |
JosephKeenan | e0873dd | 2022-01-28 11:22:22 +0000 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021-2022 Nordix Foundation |
Renu Kumari | 139e822 | 2021-10-04 20:59:18 -0400 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
| 20 | updateDmiRegistration: |
| 21 | post: |
| 22 | description: Register a DMI Plugin with any new, updated or removed CM Handles. |
| 23 | tags: |
| 24 | - network-cm-proxy-inventory |
| 25 | summary: DMI notifies NCMP of new CM Handles |
| 26 | operationId: updateDmiPluginRegistration |
| 27 | requestBody: |
| 28 | required: true |
| 29 | content: |
| 30 | application/json: |
| 31 | schema: |
| 32 | $ref: 'components.yaml#/components/schemas/RestDmiPluginRegistration' |
| 33 | responses: |
mpriyank | 80dee97 | 2022-02-23 15:17:23 +0530 | [diff] [blame] | 34 | 204: |
| 35 | $ref: 'components.yaml#/components/responses/NoContent' |
Renu Kumari | 139e822 | 2021-10-04 20:59:18 -0400 | [diff] [blame] | 36 | 400: |
| 37 | $ref: 'components.yaml#/components/responses/BadRequest' |
| 38 | 401: |
| 39 | $ref: 'components.yaml#/components/responses/Unauthorized' |
| 40 | 403: |
| 41 | $ref: 'components.yaml#/components/responses/Forbidden' |
JosephKeenan | e0873dd | 2022-01-28 11:22:22 +0000 | [diff] [blame] | 42 | 500: |
| 43 | $ref: 'components.yaml#/components/responses/InternalServerError' |