mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 1 | openapi: 3.0.3 |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 2 | info: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 3 | description: NCMP Inventory API |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 4 | title: NCMP Inventory API |
danielhanrahan | 5574043 | 2024-10-17 14:55:49 +0100 | [diff] [blame] | 5 | version: 3.5.4 |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 6 | servers: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 7 | - url: /ncmpInventory |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 8 | security: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 9 | - basicAuth: [] |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 10 | paths: |
11 | /v1/ch: | ||||
12 | post: | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 13 | description: "Register a DMI Plugin with any new, updated or removed CM Handles." |
14 | operationId: updateDmiPluginRegistration | ||||
15 | requestBody: | ||||
16 | content: | ||||
17 | application/json: | ||||
18 | schema: | ||||
19 | $ref: '#/components/schemas/RestDmiPluginRegistration' | ||||
20 | required: true | ||||
21 | responses: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 22 | "200": |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 23 | content: {} |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 24 | description: No Content |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 25 | "400": |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 26 | content: |
27 | application/json: | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 28 | example: |
danielhanrahan | ad46c25 | 2024-05-01 11:25:36 +0100 | [diff] [blame] | 29 | status: 400 |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 30 | message: Bad request error message |
31 | details: Bad request error details | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 32 | schema: |
33 | $ref: '#/components/schemas/ErrorMessage' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 34 | description: Bad Request |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 35 | "403": |
36 | content: | ||||
37 | application/json: | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 38 | example: |
39 | status: 403 | ||||
40 | message: Forbidden error message | ||||
41 | details: Forbidden error details | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 42 | schema: |
43 | $ref: '#/components/schemas/ErrorMessage' | ||||
44 | description: Forbidden | ||||
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 45 | "500": |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 46 | content: |
47 | application/json: | ||||
48 | example: | ||||
49 | failedCreatedCmHandles: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 50 | - cmHandle: my-cm-handle-01 |
51 | errorCode: "00" | ||||
52 | errorText: Unknown error. <error-details> | ||||
53 | - cmHandle: my-cm-handle-02 | ||||
54 | errorCode: "01" | ||||
55 | errorText: cm-handle already exists | ||||
56 | - cmHandle: my-cm-handle-03 | ||||
57 | errorCode: "03" | ||||
58 | errorText: cm-handle has an invalid character(s) in id | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 59 | failedUpdatedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 60 | - cmHandle: my-cm-handle-01 |
61 | errorCode: "00" | ||||
62 | errorText: Unknown error. <error-details> | ||||
63 | - cmHandle: my-cm-handle-02 | ||||
64 | errorCode: "02" | ||||
65 | errorText: cm-handle does not exist | ||||
66 | - cmHandle: my-cm-handle-03 | ||||
67 | errorCode: "03" | ||||
68 | errorText: cm-handle has an invalid character(s) in id | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 69 | failedRemovedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 70 | - cmHandle: my-cm-handle-01 |
71 | errorCode: "00" | ||||
72 | errorText: Unknown error. <error-details> | ||||
73 | - cmHandle: my-cm-handle-02 | ||||
74 | errorCode: "02" | ||||
75 | errorText: cm-handle does not exists | ||||
76 | - cmHandle: my-cm-handle-03 | ||||
77 | errorCode: "03" | ||||
78 | errorText: cm-handle has an invalid character(s) in id | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 79 | schema: |
80 | $ref: '#/components/schemas/DmiPluginRegistrationErrorResponse' | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 81 | description: Partial or Complete failure. The error details are provided |
82 | in the response body and all supported error codes are documented in the | ||||
83 | example. | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 84 | summary: DMI notifies NCMP of new CM Handles |
85 | tags: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 86 | - network-cm-proxy-inventory |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 87 | /v1/ch/cmHandles: |
88 | get: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 89 | description: Get all cm handle IDs for a registered DMI plugin |
90 | operationId: getAllCmHandleIdsForRegisteredDmi | ||||
91 | parameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 92 | - description: dmi-plugin-identifier |
93 | in: query | ||||
94 | name: dmi-plugin-identifier | ||||
95 | required: true | ||||
96 | schema: | ||||
97 | example: my-dmi-plugin | ||||
98 | type: string | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 99 | responses: |
100 | "200": | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 101 | content: |
102 | application/json: | ||||
103 | schema: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 104 | items: |
105 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 106 | type: array |
107 | description: OK | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 108 | "403": |
109 | content: | ||||
110 | application/json: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 111 | example: |
112 | status: 403 | ||||
113 | message: Forbidden error message | ||||
114 | details: Forbidden error details | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 115 | schema: |
116 | $ref: '#/components/schemas/ErrorMessage' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 117 | description: Forbidden |
118 | "500": | ||||
119 | content: | ||||
120 | application/json: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 121 | example: |
122 | status: 500 | ||||
123 | message: Internal Server Error | ||||
124 | details: Internal Server Error occurred | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 125 | schema: |
126 | $ref: '#/components/schemas/ErrorMessage' | ||||
127 | description: Internal Server Error | ||||
128 | summary: "Get all cm handle IDs for a registered DMI plugin (DMI plugin, DMI\ | ||||
129 | \ data plugin, DMI model plugin)" | ||||
130 | tags: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 131 | - network-cm-proxy-inventory |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 132 | /v1/ch/searches: |
133 | post: | ||||
danielhanrahan | 8271b87 | 2024-10-25 16:28:17 +0100 | [diff] [blame] | 134 | description: "Query and get CMHandle references for additional properties, public\ |
135 | \ properties and registered DMI plugin (DMI plugin, DMI data plugin, DMI model\ | ||||
136 | \ plugin)." | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 137 | operationId: searchCmHandleIds |
danielhanrahan | 8271b87 | 2024-10-25 16:28:17 +0100 | [diff] [blame] | 138 | parameters: |
seanbeirne | a1a71f7 | 2024-10-21 16:18:27 +0100 | [diff] [blame] | 139 | - description: Boolean parameter to determine if returned value(s) will be cm |
140 | handle references for a given query | ||||
danielhanrahan | 8271b87 | 2024-10-25 16:28:17 +0100 | [diff] [blame] | 141 | in: query |
142 | name: outputAlternateId | ||||
143 | required: false | ||||
144 | schema: | ||||
145 | default: false | ||||
146 | type: boolean | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 147 | requestBody: |
148 | content: | ||||
149 | application/json: | ||||
150 | schema: | ||||
151 | $ref: '#/components/schemas/CmHandleQueryParameters' | ||||
bmiklos | 96d54ef | 2022-09-07 16:11:57 +0200 | [diff] [blame] | 152 | required: true |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 153 | responses: |
154 | "200": | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 155 | content: |
156 | application/json: | ||||
157 | schema: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 158 | items: |
159 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 160 | type: array |
161 | description: OK | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 162 | "403": |
163 | content: | ||||
164 | application/json: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 165 | example: |
166 | status: 403 | ||||
167 | message: Forbidden error message | ||||
168 | details: Forbidden error details | ||||
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 169 | schema: |
170 | $ref: '#/components/schemas/ErrorMessage' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 171 | description: Forbidden |
172 | "500": | ||||
173 | content: | ||||
174 | application/json: | ||||
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 175 | example: |
176 | status: 500 | ||||
177 | message: Internal Server Error | ||||
178 | details: Internal Server Error occurred | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 179 | schema: |
180 | $ref: '#/components/schemas/ErrorMessage' | ||||
181 | description: Internal Server Error | ||||
182 | summary: Query for CM Handle IDs | ||||
183 | tags: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 184 | - network-cm-proxy-inventory |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 185 | components: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 186 | parameters: |
187 | dmiPluginIdentifierInQuery: | ||||
188 | description: dmi-plugin-identifier | ||||
189 | in: query | ||||
190 | name: dmi-plugin-identifier | ||||
191 | required: true | ||||
192 | schema: | ||||
193 | example: my-dmi-plugin | ||||
194 | type: string | ||||
danielhanrahan | 8271b87 | 2024-10-25 16:28:17 +0100 | [diff] [blame] | 195 | outputAlternateIdOptionInQuery: |
196 | description: Boolean parameter to determine if returned value(s) will be cmHandle | ||||
197 | Ids or Alternate Ids for a given query | ||||
198 | in: query | ||||
199 | name: outputAlternateId | ||||
200 | required: false | ||||
201 | schema: | ||||
202 | default: false | ||||
203 | type: boolean | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 204 | responses: |
205 | NoContent: | ||||
206 | content: {} | ||||
207 | description: No Content | ||||
208 | BadRequest: | ||||
209 | content: | ||||
210 | application/json: | ||||
211 | example: | ||||
danielhanrahan | ad46c25 | 2024-05-01 11:25:36 +0100 | [diff] [blame] | 212 | status: 400 |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 213 | message: Bad request error message |
214 | details: Bad request error details | ||||
215 | schema: | ||||
216 | $ref: '#/components/schemas/ErrorMessage' | ||||
217 | description: Bad Request | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 218 | Forbidden: |
219 | content: | ||||
220 | application/json: | ||||
221 | example: | ||||
222 | status: 403 | ||||
223 | message: Forbidden error message | ||||
224 | details: Forbidden error details | ||||
225 | schema: | ||||
226 | $ref: '#/components/schemas/ErrorMessage' | ||||
227 | description: Forbidden | ||||
228 | InternalServerError: | ||||
229 | content: | ||||
230 | application/json: | ||||
231 | example: | ||||
232 | status: 500 | ||||
233 | message: Internal Server Error | ||||
234 | details: Internal Server Error occurred | ||||
235 | schema: | ||||
236 | $ref: '#/components/schemas/ErrorMessage' | ||||
237 | description: Internal Server Error | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 238 | schemas: |
239 | RestDmiPluginRegistration: | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 240 | example: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 241 | updatedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 242 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 243 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 244 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 245 | publicCmHandleProperties: |
246 | key: my-property | ||||
247 | cmHandleProperties: | ||||
248 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 249 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 250 | trustLevel: COMPLETE |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 251 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 252 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 253 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 254 | publicCmHandleProperties: |
255 | key: my-property | ||||
256 | cmHandleProperties: | ||||
257 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 258 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 259 | trustLevel: COMPLETE |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 260 | createdCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 261 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 262 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 263 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 264 | publicCmHandleProperties: |
265 | key: my-property | ||||
266 | cmHandleProperties: | ||||
267 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 268 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 269 | trustLevel: COMPLETE |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 270 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 271 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 272 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 273 | publicCmHandleProperties: |
274 | key: my-property | ||||
275 | cmHandleProperties: | ||||
276 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 277 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 278 | trustLevel: COMPLETE |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 279 | dmiPlugin: my-dmi-plugin |
280 | dmiModelPlugin: my-dmi-model-plugin | ||||
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 281 | upgradedCmHandles: |
282 | cmHandles: | ||||
283 | - my-cm-handle1 | ||||
284 | - my-cm-handle2 | ||||
285 | - my-cm-handle3 | ||||
286 | moduleSetTag: my-module-set-tag | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 287 | dmiDataPlugin: my-dmi-data-plugin |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 288 | removedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 289 | - my-cm-handle1 |
290 | - my-cm-handle2 | ||||
291 | - my-cm-handle3 | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 292 | properties: |
293 | dmiPlugin: | ||||
294 | default: "" | ||||
295 | example: my-dmi-plugin | ||||
296 | type: string | ||||
297 | dmiDataPlugin: | ||||
298 | default: "" | ||||
299 | example: my-dmi-data-plugin | ||||
300 | type: string | ||||
301 | dmiModelPlugin: | ||||
302 | default: "" | ||||
303 | example: my-dmi-model-plugin | ||||
304 | type: string | ||||
305 | createdCmHandles: | ||||
306 | items: | ||||
307 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
308 | type: array | ||||
309 | updatedCmHandles: | ||||
310 | items: | ||||
311 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
312 | type: array | ||||
313 | removedCmHandles: | ||||
314 | example: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 315 | - my-cm-handle1 |
316 | - my-cm-handle2 | ||||
317 | - my-cm-handle3 | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 318 | items: |
319 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 320 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 321 | upgradedCmHandles: |
322 | $ref: '#/components/schemas/UpgradedCmHandles' | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 323 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 324 | RestInputCmHandle: |
325 | example: | ||||
326 | cmHandle: my-cm-handle | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 327 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 328 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 329 | publicCmHandleProperties: |
330 | key: my-property | ||||
331 | cmHandleProperties: | ||||
332 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 333 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 334 | trustLevel: COMPLETE |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 335 | properties: |
336 | cmHandle: | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 337 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 338 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 339 | cmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 340 | additionalProperties: |
341 | example: my-property | ||||
342 | type: string | ||||
343 | type: object | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 344 | publicCmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 345 | additionalProperties: |
346 | example: my-property | ||||
347 | type: string | ||||
348 | type: object | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 349 | moduleSetTag: |
350 | example: my-module-set-tag | ||||
351 | type: string | ||||
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 352 | trustLevel: |
353 | enum: | ||||
354 | - COMPLETE | ||||
355 | - NONE | ||||
356 | example: COMPLETE | ||||
357 | type: string | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 358 | alternateId: |
359 | example: my-alternate-id | ||||
360 | type: string | ||||
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 361 | dataProducerIdentifier: |
362 | example: my-data-producer-identifier | ||||
363 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 364 | required: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 365 | - cmHandle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 366 | type: object |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 367 | RestCmHandleProperties: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 368 | additionalProperties: |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 369 | example: my-property |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 370 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 371 | type: object |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 372 | UpgradedCmHandles: |
373 | example: | ||||
374 | cmHandles: | ||||
375 | - my-cm-handle1 | ||||
376 | - my-cm-handle2 | ||||
377 | - my-cm-handle3 | ||||
378 | moduleSetTag: my-module-set-tag | ||||
379 | properties: | ||||
380 | cmHandles: | ||||
381 | example: | ||||
382 | - my-cm-handle1 | ||||
383 | - my-cm-handle2 | ||||
384 | - my-cm-handle3 | ||||
385 | items: | ||||
386 | type: string | ||||
387 | type: array | ||||
388 | moduleSetTag: | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 389 | default: "" |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 390 | example: my-module-set-tag |
391 | type: string | ||||
392 | required: | ||||
393 | - cmHandles | ||||
394 | type: object | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 395 | ErrorMessage: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 396 | properties: |
397 | status: | ||||
398 | type: string | ||||
399 | message: | ||||
400 | type: string | ||||
401 | details: | ||||
402 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 403 | title: Error |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 404 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 405 | DmiPluginRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 406 | properties: |
407 | failedCreatedCmHandles: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 408 | items: |
409 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 410 | type: array |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 411 | failedUpdatedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 412 | items: |
413 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 414 | type: array |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 415 | failedRemovedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 416 | items: |
417 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 418 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 419 | failedUpgradeCmHandles: |
420 | items: | ||||
421 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
422 | type: array | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 423 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 424 | CmHandlerRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 425 | properties: |
426 | cmHandle: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 427 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 428 | type: string |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 429 | errorCode: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 430 | example: "00" |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 431 | type: string |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 432 | errorText: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 433 | example: Unknown error. <error-details> |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 434 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 435 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 436 | CmHandleQueryParameters: |
437 | example: | ||||
438 | cmHandleQueryParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 439 | - conditionParameters: |
440 | - key: conditionParameters | ||||
441 | - key: conditionParameters | ||||
442 | conditionName: conditionName | ||||
443 | - conditionParameters: | ||||
444 | - key: conditionParameters | ||||
445 | - key: conditionParameters | ||||
446 | conditionName: conditionName | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 447 | conditions: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 448 | - name: name |
449 | conditionParameters: | ||||
450 | - moduleName: my-module | ||||
451 | - moduleName: my-module | ||||
452 | - name: name | ||||
453 | conditionParameters: | ||||
454 | - moduleName: my-module | ||||
455 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 456 | properties: |
457 | cmHandleQueryParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 458 | items: |
459 | $ref: '#/components/schemas/ConditionProperties' | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 460 | type: array |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 461 | conditions: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 462 | deprecated: true |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 463 | description: "not necessary, it is just for backward compatibility" |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 464 | items: |
465 | $ref: '#/components/schemas/OldConditionProperties' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 466 | type: array |
467 | title: Cm Handle query parameters for executing cm handle search | ||||
468 | type: object | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 469 | ConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 470 | example: |
471 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 472 | - key: conditionParameters |
473 | - key: conditionParameters | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 474 | conditionName: conditionName |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 475 | properties: |
476 | conditionName: | ||||
477 | type: string | ||||
478 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 479 | items: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 480 | additionalProperties: |
481 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 482 | type: object |
483 | type: array | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 484 | OldConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 485 | deprecated: true |
486 | example: | ||||
487 | name: name | ||||
488 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 489 | - moduleName: my-module |
490 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 491 | properties: |
492 | name: | ||||
493 | type: string | ||||
494 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 495 | items: |
496 | $ref: '#/components/schemas/ModuleNameAsJsonObject' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 497 | type: array |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 498 | ModuleNameAsJsonObject: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 499 | example: |
500 | moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 501 | properties: |
502 | moduleName: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 503 | example: my-module |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 504 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 505 | securitySchemes: |
506 | basicAuth: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 507 | scheme: basic |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 508 | type: http |