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: |
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: | ||||
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: | ||||
danielhanrahan | ad46c25 | 2024-05-01 11:25:36 +0100 | [diff] [blame] | 193 | status: 400 |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 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 |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 225 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 226 | publicCmHandleProperties: |
227 | key: my-property | ||||
228 | cmHandleProperties: | ||||
229 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 230 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 231 | trustLevel: COMPLETE |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 232 | - cmHandle: my-cm-handle |
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 233 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 234 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 235 | publicCmHandleProperties: |
236 | key: my-property | ||||
237 | cmHandleProperties: | ||||
238 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 239 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 240 | trustLevel: COMPLETE |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 241 | createdCmHandles: |
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 | dmiPlugin: my-dmi-plugin |
261 | dmiModelPlugin: my-dmi-model-plugin | ||||
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 262 | upgradedCmHandles: |
263 | cmHandles: | ||||
264 | - my-cm-handle1 | ||||
265 | - my-cm-handle2 | ||||
266 | - my-cm-handle3 | ||||
267 | moduleSetTag: my-module-set-tag | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 268 | dmiDataPlugin: my-dmi-data-plugin |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 269 | removedCmHandles: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 270 | - my-cm-handle1 |
271 | - my-cm-handle2 | ||||
272 | - my-cm-handle3 | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 273 | properties: |
274 | dmiPlugin: | ||||
275 | default: "" | ||||
276 | example: my-dmi-plugin | ||||
277 | type: string | ||||
278 | dmiDataPlugin: | ||||
279 | default: "" | ||||
280 | example: my-dmi-data-plugin | ||||
281 | type: string | ||||
282 | dmiModelPlugin: | ||||
283 | default: "" | ||||
284 | example: my-dmi-model-plugin | ||||
285 | type: string | ||||
286 | createdCmHandles: | ||||
287 | items: | ||||
288 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
289 | type: array | ||||
290 | updatedCmHandles: | ||||
291 | items: | ||||
292 | $ref: '#/components/schemas/RestInputCmHandle' | ||||
293 | type: array | ||||
294 | removedCmHandles: | ||||
295 | example: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 296 | - my-cm-handle1 |
297 | - my-cm-handle2 | ||||
298 | - my-cm-handle3 | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 299 | items: |
300 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 301 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 302 | upgradedCmHandles: |
303 | $ref: '#/components/schemas/UpgradedCmHandles' | ||||
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 304 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 305 | RestInputCmHandle: |
306 | example: | ||||
307 | cmHandle: my-cm-handle | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 308 | alternateId: my-alternate-id |
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 309 | dataProducerIdentifier: my-data-producer-identifier |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 310 | publicCmHandleProperties: |
311 | key: my-property | ||||
312 | cmHandleProperties: | ||||
313 | key: my-property | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 314 | moduleSetTag: my-module-set-tag |
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 315 | trustLevel: COMPLETE |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 316 | properties: |
317 | cmHandle: | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 318 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 319 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 320 | cmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 321 | additionalProperties: |
322 | example: my-property | ||||
323 | type: string | ||||
324 | type: object | ||||
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 325 | publicCmHandleProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 326 | additionalProperties: |
327 | example: my-property | ||||
328 | type: string | ||||
329 | type: object | ||||
danielhanrahan | c3e7b0e | 2023-09-20 15:01:59 +0100 | [diff] [blame] | 330 | moduleSetTag: |
331 | example: my-module-set-tag | ||||
332 | type: string | ||||
mpriyank | d74c2d2 | 2023-11-06 13:25:38 +0000 | [diff] [blame] | 333 | trustLevel: |
334 | enum: | ||||
335 | - COMPLETE | ||||
336 | - NONE | ||||
337 | example: COMPLETE | ||||
338 | type: string | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 339 | alternateId: |
340 | example: my-alternate-id | ||||
341 | type: string | ||||
JvD_Ericsson | e14fe9a | 2024-02-26 13:45:47 +0000 | [diff] [blame] | 342 | dataProducerIdentifier: |
343 | example: my-data-producer-identifier | ||||
344 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 345 | required: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 346 | - cmHandle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 347 | type: object |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 348 | RestCmHandleProperties: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 349 | additionalProperties: |
DylanB95EST | 63132ce | 2021-12-14 16:34:38 +0000 | [diff] [blame] | 350 | example: my-property |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 351 | type: string |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 352 | type: object |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 353 | UpgradedCmHandles: |
354 | example: | ||||
355 | cmHandles: | ||||
356 | - my-cm-handle1 | ||||
357 | - my-cm-handle2 | ||||
358 | - my-cm-handle3 | ||||
359 | moduleSetTag: my-module-set-tag | ||||
360 | properties: | ||||
361 | cmHandles: | ||||
362 | example: | ||||
363 | - my-cm-handle1 | ||||
364 | - my-cm-handle2 | ||||
365 | - my-cm-handle3 | ||||
366 | items: | ||||
367 | type: string | ||||
368 | type: array | ||||
369 | moduleSetTag: | ||||
danielhanrahan | 3e14d39 | 2023-12-20 13:31:07 +0000 | [diff] [blame] | 370 | default: "" |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 371 | example: my-module-set-tag |
372 | type: string | ||||
373 | required: | ||||
374 | - cmHandles | ||||
375 | type: object | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 376 | ErrorMessage: |
niamhcore | c1904c1 | 2021-10-11 16:38:53 +0100 | [diff] [blame] | 377 | properties: |
378 | status: | ||||
379 | type: string | ||||
380 | message: | ||||
381 | type: string | ||||
382 | details: | ||||
383 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 384 | title: Error |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 385 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 386 | DmiPluginRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 387 | properties: |
388 | failedCreatedCmHandles: | ||||
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 |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 392 | failedUpdatedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 393 | items: |
394 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 395 | type: array |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 396 | failedRemovedCmHandles: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 397 | items: |
398 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 399 | type: array |
egernug | fb09b7c | 2023-10-12 13:33:08 +0100 | [diff] [blame] | 400 | failedUpgradeCmHandles: |
401 | items: | ||||
402 | $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse' | ||||
403 | type: array | ||||
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 | CmHandlerRegistrationErrorResponse: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 406 | properties: |
407 | cmHandle: | ||||
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 408 | example: my-cm-handle |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 409 | type: string |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 410 | errorCode: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 411 | example: "00" |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 412 | type: string |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 413 | errorText: |
emaclee | afb1736 | 2022-09-02 14:40:17 +0100 | [diff] [blame] | 414 | example: Unknown error. <error-details> |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 415 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 416 | type: object |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 417 | CmHandleQueryParameters: |
418 | example: | ||||
419 | cmHandleQueryParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 420 | - conditionParameters: |
421 | - key: conditionParameters | ||||
422 | - key: conditionParameters | ||||
423 | conditionName: conditionName | ||||
424 | - conditionParameters: | ||||
425 | - key: conditionParameters | ||||
426 | - key: conditionParameters | ||||
427 | conditionName: conditionName | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 428 | conditions: |
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 429 | - name: name |
430 | conditionParameters: | ||||
431 | - moduleName: my-module | ||||
432 | - moduleName: my-module | ||||
433 | - name: name | ||||
434 | conditionParameters: | ||||
435 | - moduleName: my-module | ||||
436 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 437 | properties: |
438 | cmHandleQueryParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 439 | items: |
440 | $ref: '#/components/schemas/ConditionProperties' | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 441 | type: array |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 442 | conditions: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 443 | deprecated: true |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 444 | description: "not necessary, it is just for backward compatibility" |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 445 | items: |
446 | $ref: '#/components/schemas/OldConditionProperties' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 447 | type: array |
448 | title: Cm Handle query parameters for executing cm handle search | ||||
449 | type: object | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 450 | ConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 451 | example: |
452 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 453 | - key: conditionParameters |
454 | - key: conditionParameters | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 455 | conditionName: conditionName |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 456 | properties: |
457 | conditionName: | ||||
458 | type: string | ||||
459 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 460 | items: |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 461 | additionalProperties: |
462 | type: string | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 463 | type: object |
464 | type: array | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 465 | OldConditionProperties: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 466 | deprecated: true |
467 | example: | ||||
468 | name: name | ||||
469 | conditionParameters: | ||||
mpriyank | 41c7d00 | 2023-08-22 13:17:46 +0100 | [diff] [blame] | 470 | - moduleName: my-module |
471 | - moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 472 | properties: |
473 | name: | ||||
474 | type: string | ||||
475 | conditionParameters: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 476 | items: |
477 | $ref: '#/components/schemas/ModuleNameAsJsonObject' | ||||
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 478 | type: array |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 479 | ModuleNameAsJsonObject: |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 480 | example: |
481 | moduleName: my-module | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 482 | properties: |
483 | moduleName: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 484 | example: my-module |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 485 | type: string |
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 486 | securitySchemes: |
487 | basicAuth: | ||||
seanbeirne | 16e2358 | 2023-01-26 09:21:44 +0000 | [diff] [blame] | 488 | scheme: basic |
mpriyank | 6da9541 | 2023-06-29 16:56:11 +0100 | [diff] [blame] | 489 | type: http |