blob: 5782a9c80c3a1b35eeae03a2020925a07e64e96d [file] [log] [blame]
Renu Kumari3aea57e2021-10-12 13:41:01 -04001openapi: 3.0.1
2info:
Renu Kumari3aea57e2021-10-12 13:41:01 -04003 description: Adds Data Model Inventory Registry capability for ONAP
leventecsanyi8db6a302024-04-02 14:37:57 +02004 title: NCMP DMI Plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -04005 version: 1.0.0
6servers:
leventecsanyi8db6a302024-04-02 14:37:57 +02007 - url: /dmi
Renu Kumari3aea57e2021-10-12 13:41:01 -04008tags:
leventecsanyi8db6a302024-04-02 14:37:57 +02009 - description: DMI plugin internal rest apis
10 name: dmi-plugin-internal
11 - description: DMI plugin rest apis
12 name: dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -040013paths:
14 /v1/ch/{cmHandle}/modules:
15 post:
Renu Kumari3aea57e2021-10-12 13:41:01 -040016 description: Get all modules for given cm handle
17 operationId: getModuleReferences
18 parameters:
leventecsanyi8db6a302024-04-02 14:37:57 +020019 - description: "The identifier for a network function, network element, subnetwork,\
20 \ or any other cm object by managed Network CM Proxy"
21 in: path
22 name: cmHandle
23 required: true
24 schema:
25 example: my-cm-handle
26 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040027 requestBody:
Renu Kumari3aea57e2021-10-12 13:41:01 -040028 content:
29 application/json:
30 schema:
31 $ref: '#/components/schemas/ModuleReferencesRequest'
leventecsanyi8db6a302024-04-02 14:37:57 +020032 description: Operational body
Renu Kumari3aea57e2021-10-12 13:41:01 -040033 responses:
34 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040035 content:
36 application/json:
37 schema:
38 $ref: '#/components/schemas/ModuleSet'
leventecsanyi8db6a302024-04-02 14:37:57 +020039 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000040 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040041 content:
42 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000043 example:
44 status: 404
45 message: Resource Not Found
46 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040047 schema:
48 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +020049 description: The specified resource was not found
50 "500":
51 content:
52 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000053 example:
54 status: 500
55 message: Internal Server Error
56 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +020057 schema:
58 $ref: '#/components/schemas/ErrorMessage'
59 description: Internal Server Error
60 summary: Get all modules for cm handle
61 tags:
62 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -040063 /v1/ch/{cmHandle}/moduleResources:
64 post:
Renu Kumari3aea57e2021-10-12 13:41:01 -040065 description: Retrieve module resources for one or more modules
66 operationId: retrieveModuleResources
67 parameters:
leventecsanyi8db6a302024-04-02 14:37:57 +020068 - description: "The identifier for a network function, network element, subnetwork,\
69 \ or any other cm object by managed Network CM Proxy"
70 in: path
71 name: cmHandle
72 required: true
73 schema:
74 example: my-cm-handle
75 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -040076 requestBody:
77 content:
78 application/json:
79 schema:
80 $ref: '#/components/schemas/ModuleResourcesReadRequest'
81 required: true
82 responses:
83 "200":
Renu Kumari3aea57e2021-10-12 13:41:01 -040084 content:
85 application/json:
86 schema:
87 $ref: '#/components/schemas/YangResources'
leventecsanyi8db6a302024-04-02 14:37:57 +020088 description: OK
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000089 "404":
Renu Kumari3aea57e2021-10-12 13:41:01 -040090 content:
91 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +000092 example:
93 status: 404
94 message: Resource Not Found
95 details: The requested resource is not found
Renu Kumari3aea57e2021-10-12 13:41:01 -040096 schema:
97 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +020098 description: The specified resource was not found
99 "500":
100 content:
101 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000102 example:
103 status: 500
104 message: Internal Server Error
105 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200106 schema:
107 $ref: '#/components/schemas/ErrorMessage'
108 description: Internal Server Error
109 summary: Retrieve module resources
110 tags:
111 - dmi-plugin
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000112 /v1/inventory/cmHandles:
113 post:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000114 description: register given list of cm handles (internal use only)
115 operationId: registerCmHandles
116 requestBody:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000117 content:
118 application/json:
119 schema:
120 $ref: '#/components/schemas/CmHandles'
leventecsanyi8db6a302024-04-02 14:37:57 +0200121 description: list of cm handles
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000122 required: true
123 responses:
124 "201":
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000125 content:
126 text/plain:
127 schema:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000128 example: cm-handle registered successfully
Renu Kumari3aea57e2021-10-12 13:41:01 -0400129 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200130 description: Created
Renu Kumari3aea57e2021-10-12 13:41:01 -0400131 "400":
Renu Kumari3aea57e2021-10-12 13:41:01 -0400132 content:
133 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000134 example:
135 status: 400
136 message: Bad Request
137 details: The provided request is not valid
Renu Kumari3aea57e2021-10-12 13:41:01 -0400138 schema:
139 $ref: '#/components/schemas/ErrorMessage'
leventecsanyi8db6a302024-04-02 14:37:57 +0200140 description: Bad Request
141 "500":
142 content:
143 application/json:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000144 example:
145 status: 500
146 message: Internal Server Error
147 details: Internal Server Error occured
leventecsanyi8db6a302024-04-02 14:37:57 +0200148 schema:
149 $ref: '#/components/schemas/ErrorMessage'
150 description: Internal Server Error
151 summary: register given list of cm handles (internal use only)
152 tags:
153 - dmi-plugin-internal
154 x-api-audience: component-internal
155 /v1/ch/{cmHandle}/data/ds/{datastore-name}:
156 post:
157 description: Get resource data from passthrough operational or running for a
158 cm handle
159 operationId: dataAccessPassthrough
160 parameters:
161 - description: The type of the requested data
162 in: path
163 name: datastore-name
164 required: true
165 schema:
166 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
167 type: string
168 - description: "The identifier for a network function, network element, subnetwork,\
169 \ or any other cm object by managed Network CM Proxy"
170 in: path
171 name: cmHandle
172 required: true
173 schema:
174 example: my-cm-handle
175 type: string
176 - allowReserved: true
177 description: Resource identifier to get/set the resource data
178 in: query
179 name: resourceIdentifier
180 required: true
181 schema:
182 example: my-schema:my-node
183 type: string
184 - allowReserved: true
185 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
186 \ in parenthesis'()'."
187 examples:
188 sample1:
189 value:
190 options: "(key1=value1,key2=value2)"
191 sample2:
192 value:
193 options: "(key1=value1,key2=value1/value2)"
194 sample3:
195 value:
196 options: "(key1=10,key2=value2,key3=val31,val32)"
197 in: query
198 name: options
199 required: false
200 schema:
201 type: string
202 - allowReserved: true
203 description: topic name passed from client(NCMP).
204 examples:
205 sample1:
206 value: my-topic-name
207 in: query
208 name: topic
209 required: false
210 schema:
211 type: string
david.mcweeney184b6812024-05-02 15:14:52 +0100212 - name: moduleSetTag
213 description: Module set tag of the given cm handle.
214 in: query
215 examples:
216 sample1:
217 value: module-set-tag1
218 required: false
219 schema:
220 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200221 requestBody:
222 content:
223 application/json:
224 schema:
225 $ref: '#/components/schemas/DataAccessRequest'
226 description: Contains collection of cm handles with it's private properties
227 and requestId
228 responses:
229 "200":
230 content:
231 application/json:
232 schema:
233 example:
234 - yangSource: my-yang-source
235 moduleName: my-module-name
236 revision: my-revision
237 type: object
238 description: OK
239 "400":
240 content:
241 application/json:
242 example:
243 status: 400
244 message: Bad Request
245 details: The provided request is not valid
246 schema:
247 $ref: '#/components/schemas/ErrorMessage'
248 description: Bad Request
249 "500":
250 content:
251 application/json:
252 example:
253 status: 500
254 message: Internal Server Error
255 details: Internal Server Error occured
256 schema:
257 $ref: '#/components/schemas/ErrorMessage'
258 description: Internal Server Error
259 summary: Get resource data from passthrough operational or running for a cm
260 handle
261 tags:
262 - dmi-plugin
263 /v1/data:
264 post:
265 description: Execute a data operation for group of cm handle ids by supplied
266 operation details
267 operationId: getResourceDataForCmHandleDataOperation
268 parameters:
269 - allowReserved: true
270 description: mandatory topic name passed from client(NCMP).
271 examples:
272 sample1:
273 value:
274 topic: my-topic-name
275 in: query
276 name: topic
277 required: true
278 schema:
279 type: string
280 - allowReserved: true
281 description: request Id generated by NCMP and sent as an acknowledgement for
282 the client request the same including here.
283 examples:
284 sample1:
285 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
286 in: query
287 name: requestId
288 required: true
289 schema:
290 type: string
291 requestBody:
292 content:
293 application/json:
294 schema:
295 $ref: '#/components/schemas/ResourceDataOperationRequests'
296 description: list of operation details
297 responses:
298 "202":
299 description: Accepted
300 "400":
301 content:
302 application/json:
303 example:
304 status: 400
305 message: Bad Request
306 details: The provided request is not valid
307 schema:
308 $ref: '#/components/schemas/ErrorMessage'
309 description: Bad Request
310 "500":
311 content:
312 application/json:
313 example:
314 status: 500
315 message: Internal Server Error
316 details: Internal Server Error occured
317 schema:
318 $ref: '#/components/schemas/ErrorMessage'
319 description: Internal Server Error
320 "501":
321 content:
322 application/json:
323 example:
324 status: 501
325 message: Not Implemented
326 details: Method Not Implemented
327 schema:
328 $ref: '#/components/schemas/ErrorMessage'
329 description: Not Implemented
330 summary: Execute a data operation for group of cm handle ids.
331 tags:
332 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -0400333components:
leventecsanyi8db6a302024-04-02 14:37:57 +0200334 parameters:
335 cmHandleInPath:
336 description: "The identifier for a network function, network element, subnetwork,\
337 \ or any other cm object by managed Network CM Proxy"
338 in: path
339 name: cmHandle
340 required: true
341 schema:
342 example: my-cm-handle
343 type: string
344 datastoreName:
345 description: The type of the requested data
346 in: path
347 name: datastore-name
348 required: true
349 schema:
350 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
351 type: string
352 resourceIdentifierInQuery:
353 allowReserved: true
354 description: Resource identifier to get/set the resource data
355 in: query
356 name: resourceIdentifier
357 required: true
358 schema:
359 example: my-schema:my-node
360 type: string
361 optionsParamInQuery:
362 allowReserved: true
363 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
364 \ in parenthesis'()'."
365 examples:
366 sample1:
367 value:
368 options: "(key1=value1,key2=value2)"
369 sample2:
370 value:
371 options: "(key1=value1,key2=value1/value2)"
372 sample3:
373 value:
374 options: "(key1=10,key2=value2,key3=val31,val32)"
375 in: query
376 name: options
377 required: false
378 schema:
379 type: string
380 topicParamInQuery:
381 allowReserved: true
382 description: topic name passed from client(NCMP).
383 examples:
384 sample1:
385 value: my-topic-name
386 in: query
387 name: topic
388 required: false
389 schema:
390 type: string
david.mcweeney184b6812024-05-02 15:14:52 +0100391 moduleSetTagParamInQuery:
392 name: moduleSetTag
393 in: query
394 description: Module set tag of the given cm handle.
395 required: false
396 schema:
397 type: string
398 examples:
399 sample1:
400 value: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200401 requiredTopicParamInQuery:
402 allowReserved: true
403 description: mandatory topic name passed from client(NCMP).
404 examples:
405 sample1:
406 value:
407 topic: my-topic-name
408 in: query
409 name: topic
410 required: true
411 schema:
412 type: string
413 requiredRequestIdParamInQuery:
414 allowReserved: true
415 description: request Id generated by NCMP and sent as an acknowledgement for
416 the client request the same including here.
417 examples:
418 sample1:
419 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
420 in: query
421 name: requestId
422 required: true
423 schema:
424 type: string
425 responses:
426 NotFound:
427 content:
428 application/json:
429 example:
430 status: 404
431 message: Resource Not Found
432 details: The requested resource is not found
433 schema:
434 $ref: '#/components/schemas/ErrorMessage'
435 description: The specified resource was not found
436 ServerError:
437 content:
438 application/json:
439 example:
440 status: 500
441 message: Internal Server Error
442 details: Internal Server Error occured
443 schema:
444 $ref: '#/components/schemas/ErrorMessage'
445 description: Internal Server Error
446 BadRequest:
447 content:
448 application/json:
449 example:
450 status: 400
451 message: Bad Request
452 details: The provided request is not valid
453 schema:
454 $ref: '#/components/schemas/ErrorMessage'
455 description: Bad Request
456 NotImplemented:
457 content:
458 application/json:
459 example:
460 status: 501
461 message: Not Implemented
462 details: Method Not Implemented
463 schema:
464 $ref: '#/components/schemas/ErrorMessage'
465 description: Not Implemented
Renu Kumari3aea57e2021-10-12 13:41:01 -0400466 schemas:
467 ModuleReferencesRequest:
leventecsanyi8db6a302024-04-02 14:37:57 +0200468 example:
469 moduleSetTag: moduleSetTag
Renu Kumari3aea57e2021-10-12 13:41:01 -0400470 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200471 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
472 properties:
473 moduleSetTag:
474 type: string
475 cmHandleProperties:
476 additionalProperties:
477 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
478 type: string
479 nullable: true
480 type: object
481 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400482 cmHandleProperties:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400483 additionalProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200484 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400485 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200486 nullable: true
Renu Kumari3aea57e2021-10-12 13:41:01 -0400487 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200488 ModuleSet:
489 example:
490 schemas:
491 - moduleName: my-module-name
492 namespace: my-namespace
493 revision: my-revision
494 - moduleName: my-module-name
495 namespace: my-namespace
496 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400497 properties:
498 schemas:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400499 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200500 $ref: '#/components/schemas/ModuleSet_schemas_inner'
501 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400502 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200503 ErrorMessage:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400504 properties:
505 status:
506 type: string
507 message:
508 type: string
509 details:
510 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200511 title: Error
Renu Kumari3aea57e2021-10-12 13:41:01 -0400512 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200513 ModuleResourcesReadRequest:
514 example:
david.mcweeneyee0c3be2024-04-30 10:24:41 +0100515 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200516 data:
517 modules:
518 - name: my-name
519 revision: my-revision
520 - name: my-name
521 revision: my-revision
522 cmHandleProperties:
523 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400524 properties:
525 data:
526 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
527 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200528 additionalProperties:
529 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
530 type: string
531 nullable: true
532 type: object
533 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400534 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400535 items:
536 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200537 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400538 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200539 example:
540 yangSource: my-yang-source
541 moduleName: my-module-name
542 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400543 properties:
544 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000545 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200546 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400547 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000548 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000549 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200550 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000551 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200552 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000553 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200554 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000555 cmHandles:
Bruno Sakotoe830dce2022-03-15 11:57:45 -0400556 - cmHandleId1
557 - cmHandleId2
558 - cmHandleId3
leventecsanyi8db6a302024-04-02 14:37:57 +0200559 properties:
560 cmHandles:
561 example:
562 - cmHandleId1
563 - cmHandleId2
564 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000565 items:
566 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200567 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400568 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200569 DataAccessRequest:
570 example:
571 data: my-data
572 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
573 dataType: my-data-type
574 cmHandleProperties:
575 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
576 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400577 properties:
578 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400579 enum:
leventecsanyi8db6a302024-04-02 14:37:57 +0200580 - read
581 - create
582 - update
583 - patch
584 - delete
585 example: read
586 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400587 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000588 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200589 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400590 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000591 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530592 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200593 cmHandleProperties:
594 additionalProperties:
595 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
596 type: string
597 nullable: true
598 type: object
599 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100600 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200601 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400602 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200603 ResourceDataOperationRequests:
604 items:
605 $ref: '#/components/schemas/DataOperationRequest'
606 type: array
607 cmHandle:
608 example:
609 id: cmHandle123
610 cmHandleProperties:
611 myProp: some value
612 otherProp: other value
613 properties:
614 id:
615 type: string
616 cmHandleProperties:
617 additionalProperties:
618 type: string
619 type: object
620 title: cmHandle
621 type: object
622 ModuleSet_schemas_inner:
623 example:
624 moduleName: my-module-name
625 namespace: my-namespace
626 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400627 properties:
628 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000629 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200630 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400631 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000632 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400633 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200634 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000635 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200636 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400637 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200638 ModuleResourcesReadRequest_data_modules_inner:
639 example:
640 name: my-name
641 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400642 properties:
643 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000644 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000645 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200646 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000647 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200648 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400649 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200650 ModuleResourcesReadRequest_data:
651 example:
652 modules:
653 - name: my-name
654 revision: my-revision
655 - name: my-name
656 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400657 properties:
658 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400659 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200660 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
661 type: array
662 type: object
663 DataOperationRequest:
664 example:
665 resourceIdentifier: some resource identifier
666 datastore: ncmp-datastore:passthrough-operational
667 options: some option
668 operationId: "12"
669 cmHandles:
670 - id: cmHandle123
671 cmHandleProperties:
672 myProp: some value
673 otherProp: other value
674 - id: cmHandle123
675 cmHandleProperties:
676 myProp: some value
677 otherProp: other value
678 operation: read
679 properties:
680 operation:
681 example: read
682 type: string
683 operationId:
684 description: it is recommended that the operationId is unique within the
685 scope of the request
686 example: "12"
687 type: string
688 datastore:
689 example: ncmp-datastore:passthrough-operational
690 type: string
691 options:
692 example: some option
693 type: string
694 resourceIdentifier:
695 example: some resource identifier
696 type: string
697 cmHandles:
698 items:
699 $ref: '#/components/schemas/cmHandle'
700 type: array
701 required:
702 - cmHandles
703 - datastore
704 - operation
705 - operationId
706 title: DataOperationRequest
707 type: object