3 description: NCMP Inventory API
4 title: NCMP Inventory API
13 description: "Register a DMI Plugin with any new, updated or removed CM Handles."
14 operationId: updateDmiPluginRegistration
19 $ref: '#/components/schemas/RestDmiPluginRegistration'
24 description: No Content
29 status: 400 BAD_REQUEST
30 message: Bad request error message
31 details: Bad request error details
33 $ref: '#/components/schemas/ErrorMessage'
34 description: Bad Request
40 message: Unauthorized error message
41 details: Unauthorized error details
43 $ref: '#/components/schemas/ErrorMessage'
44 description: Unauthorized
50 message: Forbidden error message
51 details: Forbidden error details
53 $ref: '#/components/schemas/ErrorMessage'
54 description: Forbidden
59 failedCreatedCmHandles:
60 - cmHandle: my-cm-handle-01
62 errorText: Unknown error. <error-details>
63 - cmHandle: my-cm-handle-02
65 errorText: cm-handle already exists
66 - cmHandle: my-cm-handle-03
68 errorText: cm-handle has an invalid character(s) in id
69 failedUpdatedCmHandles:
70 - cmHandle: my-cm-handle-01
72 errorText: Unknown error. <error-details>
73 - cmHandle: my-cm-handle-02
75 errorText: cm-handle does not exist
76 - cmHandle: my-cm-handle-03
78 errorText: cm-handle has an invalid character(s) in id
79 failedRemovedCmHandles:
80 - cmHandle: my-cm-handle-01
82 errorText: Unknown error. <error-details>
83 - cmHandle: my-cm-handle-02
85 errorText: cm-handle does not exists
86 - cmHandle: my-cm-handle-03
88 errorText: cm-handle has an invalid character(s) in id
90 $ref: '#/components/schemas/DmiPluginRegistrationErrorResponse'
91 description: Partial or Complete failure. The error details are provided
92 in the response body and all supported error codes are documented in the
94 summary: DMI notifies NCMP of new CM Handles
96 - network-cm-proxy-inventory
99 description: Get all cm handle IDs for a registered DMI plugin
100 operationId: getAllCmHandleIdsForRegisteredDmi
102 - description: dmi-plugin-identifier
104 name: dmi-plugin-identifier
107 example: my-dmi-plugin
123 message: Unauthorized error message
124 details: Unauthorized error details
126 $ref: '#/components/schemas/ErrorMessage'
127 description: Unauthorized
133 message: Forbidden error message
134 details: Forbidden error details
136 $ref: '#/components/schemas/ErrorMessage'
137 description: Forbidden
143 message: Internal Server Error
144 details: Internal Server Error occurred
146 $ref: '#/components/schemas/ErrorMessage'
147 description: Internal Server Error
148 summary: "Get all cm handle IDs for a registered DMI plugin (DMI plugin, DMI\
149 \ data plugin, DMI model plugin)"
151 - network-cm-proxy-inventory
154 description: "Query and get CMHandleIds for additional properties, public properties\
155 \ and registered DMI plugin (DMI plugin, DMI data plugin, DMI model plugin)."
156 operationId: searchCmHandleIds
161 $ref: '#/components/schemas/CmHandleQueryParameters'
177 message: Unauthorized error message
178 details: Unauthorized error details
180 $ref: '#/components/schemas/ErrorMessage'
181 description: Unauthorized
187 message: Forbidden error message
188 details: Forbidden error details
190 $ref: '#/components/schemas/ErrorMessage'
191 description: Forbidden
197 message: Internal Server Error
198 details: Internal Server Error occurred
200 $ref: '#/components/schemas/ErrorMessage'
201 description: Internal Server Error
202 summary: Query for CM Handle IDs
204 - network-cm-proxy-inventory
207 dmiPluginIdentifierInQuery:
208 description: dmi-plugin-identifier
210 name: dmi-plugin-identifier
213 example: my-dmi-plugin
218 description: No Content
223 status: 400 BAD_REQUEST
224 message: Bad request error message
225 details: Bad request error details
227 $ref: '#/components/schemas/ErrorMessage'
228 description: Bad Request
234 message: Unauthorized error message
235 details: Unauthorized error details
237 $ref: '#/components/schemas/ErrorMessage'
238 description: Unauthorized
244 message: Forbidden error message
245 details: Forbidden error details
247 $ref: '#/components/schemas/ErrorMessage'
248 description: Forbidden
254 message: Internal Server Error
255 details: Internal Server Error occurred
257 $ref: '#/components/schemas/ErrorMessage'
258 description: Internal Server Error
260 RestDmiPluginRegistration:
263 - cmHandle: my-cm-handle
264 publicCmHandleProperties:
268 - cmHandle: my-cm-handle
269 publicCmHandleProperties:
274 - cmHandle: my-cm-handle
275 publicCmHandleProperties:
279 - cmHandle: my-cm-handle
280 publicCmHandleProperties:
284 dmiPlugin: my-dmi-plugin
285 dmiModelPlugin: my-dmi-model-plugin
286 dmiDataPlugin: my-dmi-data-plugin
294 example: my-dmi-plugin
298 example: my-dmi-data-plugin
302 example: my-dmi-model-plugin
306 $ref: '#/components/schemas/RestInputCmHandle'
310 $ref: '#/components/schemas/RestInputCmHandle'
323 cmHandle: my-cm-handle
324 publicCmHandleProperties:
330 example: my-cm-handle
333 additionalProperties:
337 publicCmHandleProperties:
338 additionalProperties:
345 RestCmHandleProperties:
346 additionalProperties:
360 DmiPluginRegistrationErrorResponse:
362 failedCreatedCmHandles:
364 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
366 failedUpdatedCmHandles:
368 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
370 failedRemovedCmHandles:
372 $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
375 CmHandlerRegistrationErrorResponse:
378 example: my-cm-handle
384 example: Unknown error. <error-details>
387 CmHandleQueryParameters:
389 cmHandleQueryParameters:
390 - conditionParameters:
391 - key: conditionParameters
392 - key: conditionParameters
393 conditionName: conditionName
394 - conditionParameters:
395 - key: conditionParameters
396 - key: conditionParameters
397 conditionName: conditionName
401 - moduleName: my-module
402 - moduleName: my-module
405 - moduleName: my-module
406 - moduleName: my-module
408 cmHandleQueryParameters:
410 $ref: '#/components/schemas/ConditionProperties'
414 description: "not necessary, it is just for backward compatibility"
416 $ref: '#/components/schemas/OldConditionProperties'
418 title: Cm Handle query parameters for executing cm handle search
423 - key: conditionParameters
424 - key: conditionParameters
425 conditionName: conditionName
431 additionalProperties:
435 OldConditionProperties:
440 - moduleName: my-module
441 - moduleName: my-module
447 $ref: '#/components/schemas/ModuleNameAsJsonObject'
449 ModuleNameAsJsonObject:
451 moduleName: my-module