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 |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 5 | version: "1.0" |
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: |
29 | status: 400 BAD_REQUEST | ||||
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: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 134 | description: "Query and get CMHandleIds for additional properties, public properties\ |
135 | \ and registered DMI plugin (DMI plugin, DMI data plugin, DMI model plugin)." | ||||
136 | operationId: searchCmHandleIds | ||||
137 | requestBody: | ||||
138 | content: | ||||
139 | application/json: | ||||
140 | schema: | ||||
141 | $ref: '#/components/schemas/CmHandleQueryParameters' | ||||
bmiklos | 96d54ef | 2022-09-07 16:11:57 +0200 | [diff] [blame] | 142 | required: true |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 143 | responses: |
144 | "200": | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 145 | content: |
146 | application/json: | ||||
147 | schema: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 148 | items: |
149 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 150 | type: array |
151 | description: OK | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 152 | "403": |
153 | content: | ||||
154 | application/json: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 155 | example: |
156 | status: 403 | ||||
157 | message: Forbidden error message | ||||
158 | details: Forbidden error details | ||||
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 159 | schema: |
160 | $ref: '#/components/schemas/ErrorMessage' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 161 | description: Forbidden |
162 | "500": | ||||
163 | content: | ||||
164 | application/json: | ||||
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 165 | example: |
166 | status: 500 | ||||
167 | message: Internal Server Error | ||||
168 | details: Internal Server Error occurred | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 169 | schema: |
170 | $ref: '#/components/schemas/ErrorMessage' | ||||
171 | description: Internal Server Error | ||||
172 | summary: Query for CM Handle IDs | ||||
173 | tags: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 174 | - network-cm-proxy-inventory |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 175 | components: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 176 | parameters: |
177 | dmiPluginIdentifierInQuery: | ||||
178 | description: dmi-plugin-identifier | ||||
179 | in: query | ||||
180 | name: dmi-plugin-identifier | ||||
181 | required: true | ||||
182 | schema: | ||||
183 | example: my-dmi-plugin | ||||
184 | type: string | ||||
185 | responses: | ||||
186 | NoContent: | ||||
187 | content: {} | ||||
188 | description: No Content | ||||
189 | BadRequest: | ||||
190 | content: | ||||
191 | application/json: | ||||
192 | example: | ||||
193 | status: 400 BAD_REQUEST | ||||
194 | message: Bad request error message | ||||
195 | details: Bad request error details | ||||
196 | schema: | ||||
197 | $ref: '#/components/schemas/ErrorMessage' | ||||
198 | description: Bad Request | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 199 | Forbidden: |
200 | content: | ||||
201 | application/json: | ||||
202 | example: | ||||
203 | status: 403 | ||||
204 | message: Forbidden error message | ||||
205 | details: Forbidden error details | ||||
206 | schema: | ||||
207 | $ref: '#/components/schemas/ErrorMessage' | ||||
208 | description: Forbidden | ||||
209 | InternalServerError: | ||||
210 | content: | ||||
211 | application/json: | ||||
212 | example: | ||||
213 | status: 500 | ||||
214 | message: Internal Server Error | ||||
215 | details: Internal Server Error occurred | ||||
216 | schema: | ||||
217 | $ref: '#/components/schemas/ErrorMessage' | ||||
218 | description: Internal Server Error | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 219 | schemas: |
220 | RestDmiPluginRegistration: | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 221 | example: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 222 | updatedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 223 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 224 | alternateId: my-alternate-id |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 225 | publicCmHandleProperties: |
226 | key: my-property | ||||
227 | cmHandleProperties: | ||||
228 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 229 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 230 | trustLevel: COMPLETE |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 231 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 232 | alternateId: my-alternate-id |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 233 | publicCmHandleProperties: |
234 | key: my-property | ||||
235 | cmHandleProperties: | ||||
236 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 237 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 238 | trustLevel: COMPLETE |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 239 | createdCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 240 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 241 | alternateId: my-alternate-id |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 242 | publicCmHandleProperties: |
243 | key: my-property | ||||
244 | cmHandleProperties: | ||||
245 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 246 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 247 | trustLevel: COMPLETE |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 248 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 249 | alternateId: my-alternate-id |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 250 | publicCmHandleProperties: |
251 | key: my-property | ||||
252 | cmHandleProperties: | ||||
253 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 254 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 255 | trustLevel: COMPLETE |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 256 | dmiPlugin: my-dmi-plugin |
257 | dmiModelPlugin: my-dmi-model-plugin | ||||
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 258 | upgradedCmHandles: |
259 | cmHandles: | ||||
260 | - my-cm-handle1 | ||||
261 | - my-cm-handle2 | ||||
262 | - my-cm-handle3 | ||||
263 | moduleSetTag: my-module-set-tag | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 264 | dmiDataPlugin: my-dmi-data-plugin |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 265 | removedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 266 | - my-cm-handle1 |
267 | - my-cm-handle2 | ||||
268 | - my-cm-handle3 | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 269 | properties: |
270 | dmiPlugin: | ||||
271 | default: "" | ||||
272 | example: my-dmi-plugin | ||||
273 | type: string | ||||
274 | dmiDataPlugin: | ||||
275 | default: "" | ||||
276 | example: my-dmi-data-plugin | ||||
277 | type: string | ||||
278 | dmiModelPlugin: | ||||
279 | default: "" | ||||
280 | example: my-dmi-model-plugin | ||||
281 | type: string | ||||
282 | createdCmHandles: | ||||
283 | items: | ||||
284 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
285 | type: array | ||||
286 | updatedCmHandles: | ||||
287 | items: | ||||
288 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
289 | type: array | ||||
290 | removedCmHandles: | ||||
291 | example: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 292 | - my-cm-handle1 |
293 | - my-cm-handle2 | ||||
294 | - my-cm-handle3 | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 295 | items: |
296 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 297 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 298 | upgradedCmHandles: |
299 | $ref: '#/components/schemas/UpgradedCmHandles' | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 300 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 301 | RestInputCmHandle: |
302 | example: | ||||
303 | cmHandle: my-cm-handle | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 304 | alternateId: my-alternate-id |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 305 | publicCmHandleProperties: |
306 | key: my-property | ||||
307 | cmHandleProperties: | ||||
308 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 309 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 310 | trustLevel: COMPLETE |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 311 | properties: |
312 | cmHandle: | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 313 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 314 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 315 | cmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 316 | additionalProperties: |
317 | example: my-property | ||||
318 | type: string | ||||
319 | type: object | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 320 | publicCmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 321 | additionalProperties: |
322 | example: my-property | ||||
323 | type: string | ||||
324 | type: object | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 325 | moduleSetTag: |
326 | example: my-module-set-tag | ||||
327 | type: string | ||||
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 328 | trustLevel: |
329 | enum: | ||||
330 | - COMPLETE | ||||
331 | - NONE | ||||
332 | example: COMPLETE | ||||
333 | type: string | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 334 | alternateId: |
335 | example: my-alternate-id | ||||
336 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 337 | required: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 338 | - cmHandle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 339 | type: object |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 340 | RestCmHandleProperties: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 341 | additionalProperties: |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 342 | example: my-property |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 343 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 344 | type: object |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 345 | UpgradedCmHandles: |
346 | example: | ||||
347 | cmHandles: | ||||
348 | - my-cm-handle1 | ||||
349 | - my-cm-handle2 | ||||
350 | - my-cm-handle3 | ||||
351 | moduleSetTag: my-module-set-tag | ||||
352 | properties: | ||||
353 | cmHandles: | ||||
354 | example: | ||||
355 | - my-cm-handle1 | ||||
356 | - my-cm-handle2 | ||||
357 | - my-cm-handle3 | ||||
358 | items: | ||||
359 | type: string | ||||
360 | type: array | ||||
361 | moduleSetTag: | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 362 | default: "" |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 363 | example: my-module-set-tag |
364 | type: string | ||||
365 | required: | ||||
366 | - cmHandles | ||||
367 | type: object | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 368 | ErrorMessage: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 369 | properties: |
370 | status: | ||||
371 | type: string | ||||
372 | message: | ||||
373 | type: string | ||||
374 | details: | ||||
375 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 376 | title: Error |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 377 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 378 | DmiPluginRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 379 | properties: |
380 | failedCreatedCmHandles: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 381 | items: |
382 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 383 | type: array |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 384 | failedUpdatedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 385 | items: |
386 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 387 | type: array |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 388 | failedRemovedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 389 | items: |
390 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 391 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 392 | failedUpgradeCmHandles: |
393 | items: | ||||
394 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
395 | type: array | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 396 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 397 | CmHandlerRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 398 | properties: |
399 | cmHandle: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 400 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 401 | type: string |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 402 | errorCode: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 403 | example: "00" |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 404 | type: string |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 405 | errorText: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 406 | example: Unknown error. <error-details> |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 407 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 408 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 409 | CmHandleQueryParameters: |
410 | example: | ||||
411 | cmHandleQueryParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 412 | - conditionParameters: |
413 | - key: conditionParameters | ||||
414 | - key: conditionParameters | ||||
415 | conditionName: conditionName | ||||
416 | - conditionParameters: | ||||
417 | - key: conditionParameters | ||||
418 | - key: conditionParameters | ||||
419 | conditionName: conditionName | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 420 | conditions: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 421 | - name: name |
422 | conditionParameters: | ||||
423 | - moduleName: my-module | ||||
424 | - moduleName: my-module | ||||
425 | - name: name | ||||
426 | conditionParameters: | ||||
427 | - moduleName: my-module | ||||
428 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 429 | properties: |
430 | cmHandleQueryParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 431 | items: |
432 | $ref: '#/components/schemas/ConditionProperties' | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 433 | type: array |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 434 | conditions: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 435 | deprecated: true |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 436 | description: "not necessary, it is just for backward compatibility" |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 437 | items: |
438 | $ref: '#/components/schemas/OldConditionProperties' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 439 | type: array |
440 | title: Cm Handle query parameters for executing cm handle search | ||||
441 | type: object | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 442 | ConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 443 | example: |
444 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 445 | - key: conditionParameters |
446 | - key: conditionParameters | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 447 | conditionName: conditionName |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 448 | properties: |
449 | conditionName: | ||||
450 | type: string | ||||
451 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 452 | items: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 453 | additionalProperties: |
454 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 455 | type: object |
456 | type: array | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 457 | OldConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 458 | deprecated: true |
459 | example: | ||||
460 | name: name | ||||
461 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 462 | - moduleName: my-module |
463 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 464 | properties: |
465 | name: | ||||
466 | type: string | ||||
467 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 468 | items: |
469 | $ref: '#/components/schemas/ModuleNameAsJsonObject' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 470 | type: array |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 471 | ModuleNameAsJsonObject: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 472 | example: |
473 | moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 474 | properties: |
475 | moduleName: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 476 | example: my-module |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 477 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 478 | securitySchemes: |
479 | basicAuth: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 480 | scheme: basic |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 481 | type: http |