blob: 4e3ae897d31d10fa727be93021ed70b1981e6a8c [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
212 requestBody:
213 content:
214 application/json:
215 schema:
216 $ref: '#/components/schemas/DataAccessRequest'
217 description: Contains collection of cm handles with it's private properties
218 and requestId
219 responses:
220 "200":
221 content:
222 application/json:
223 schema:
224 example:
225 - yangSource: my-yang-source
226 moduleName: my-module-name
227 revision: my-revision
228 type: object
229 description: OK
230 "400":
231 content:
232 application/json:
233 example:
234 status: 400
235 message: Bad Request
236 details: The provided request is not valid
237 schema:
238 $ref: '#/components/schemas/ErrorMessage'
239 description: Bad Request
240 "500":
241 content:
242 application/json:
243 example:
244 status: 500
245 message: Internal Server Error
246 details: Internal Server Error occured
247 schema:
248 $ref: '#/components/schemas/ErrorMessage'
249 description: Internal Server Error
250 summary: Get resource data from passthrough operational or running for a cm
251 handle
252 tags:
253 - dmi-plugin
254 /v1/data:
255 post:
256 description: Execute a data operation for group of cm handle ids by supplied
257 operation details
258 operationId: getResourceDataForCmHandleDataOperation
259 parameters:
260 - allowReserved: true
261 description: mandatory topic name passed from client(NCMP).
262 examples:
263 sample1:
264 value:
265 topic: my-topic-name
266 in: query
267 name: topic
268 required: true
269 schema:
270 type: string
271 - allowReserved: true
272 description: request Id generated by NCMP and sent as an acknowledgement for
273 the client request the same including here.
274 examples:
275 sample1:
276 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
277 in: query
278 name: requestId
279 required: true
280 schema:
281 type: string
282 requestBody:
283 content:
284 application/json:
285 schema:
286 $ref: '#/components/schemas/ResourceDataOperationRequests'
287 description: list of operation details
288 responses:
289 "202":
290 description: Accepted
291 "400":
292 content:
293 application/json:
294 example:
295 status: 400
296 message: Bad Request
297 details: The provided request is not valid
298 schema:
299 $ref: '#/components/schemas/ErrorMessage'
300 description: Bad Request
301 "500":
302 content:
303 application/json:
304 example:
305 status: 500
306 message: Internal Server Error
307 details: Internal Server Error occured
308 schema:
309 $ref: '#/components/schemas/ErrorMessage'
310 description: Internal Server Error
311 "501":
312 content:
313 application/json:
314 example:
315 status: 501
316 message: Not Implemented
317 details: Method Not Implemented
318 schema:
319 $ref: '#/components/schemas/ErrorMessage'
320 description: Not Implemented
321 summary: Execute a data operation for group of cm handle ids.
322 tags:
323 - dmi-plugin
Renu Kumari3aea57e2021-10-12 13:41:01 -0400324components:
leventecsanyi8db6a302024-04-02 14:37:57 +0200325 parameters:
326 cmHandleInPath:
327 description: "The identifier for a network function, network element, subnetwork,\
328 \ or any other cm object by managed Network CM Proxy"
329 in: path
330 name: cmHandle
331 required: true
332 schema:
333 example: my-cm-handle
334 type: string
335 datastoreName:
336 description: The type of the requested data
337 in: path
338 name: datastore-name
339 required: true
340 schema:
341 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running
342 type: string
343 resourceIdentifierInQuery:
344 allowReserved: true
345 description: Resource identifier to get/set the resource data
346 in: query
347 name: resourceIdentifier
348 required: true
349 schema:
350 example: my-schema:my-node
351 type: string
352 optionsParamInQuery:
353 allowReserved: true
354 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
355 \ in parenthesis'()'."
356 examples:
357 sample1:
358 value:
359 options: "(key1=value1,key2=value2)"
360 sample2:
361 value:
362 options: "(key1=value1,key2=value1/value2)"
363 sample3:
364 value:
365 options: "(key1=10,key2=value2,key3=val31,val32)"
366 in: query
367 name: options
368 required: false
369 schema:
370 type: string
371 topicParamInQuery:
372 allowReserved: true
373 description: topic name passed from client(NCMP).
374 examples:
375 sample1:
376 value: my-topic-name
377 in: query
378 name: topic
379 required: false
380 schema:
381 type: string
382 requiredTopicParamInQuery:
383 allowReserved: true
384 description: mandatory topic name passed from client(NCMP).
385 examples:
386 sample1:
387 value:
388 topic: my-topic-name
389 in: query
390 name: topic
391 required: true
392 schema:
393 type: string
394 requiredRequestIdParamInQuery:
395 allowReserved: true
396 description: request Id generated by NCMP and sent as an acknowledgement for
397 the client request the same including here.
398 examples:
399 sample1:
400 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
401 in: query
402 name: requestId
403 required: true
404 schema:
405 type: string
406 responses:
407 NotFound:
408 content:
409 application/json:
410 example:
411 status: 404
412 message: Resource Not Found
413 details: The requested resource is not found
414 schema:
415 $ref: '#/components/schemas/ErrorMessage'
416 description: The specified resource was not found
417 ServerError:
418 content:
419 application/json:
420 example:
421 status: 500
422 message: Internal Server Error
423 details: Internal Server Error occured
424 schema:
425 $ref: '#/components/schemas/ErrorMessage'
426 description: Internal Server Error
427 BadRequest:
428 content:
429 application/json:
430 example:
431 status: 400
432 message: Bad Request
433 details: The provided request is not valid
434 schema:
435 $ref: '#/components/schemas/ErrorMessage'
436 description: Bad Request
437 NotImplemented:
438 content:
439 application/json:
440 example:
441 status: 501
442 message: Not Implemented
443 details: Method Not Implemented
444 schema:
445 $ref: '#/components/schemas/ErrorMessage'
446 description: Not Implemented
Renu Kumari3aea57e2021-10-12 13:41:01 -0400447 schemas:
448 ModuleReferencesRequest:
leventecsanyi8db6a302024-04-02 14:37:57 +0200449 example:
450 moduleSetTag: moduleSetTag
Renu Kumari3aea57e2021-10-12 13:41:01 -0400451 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200452 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
453 properties:
454 moduleSetTag:
455 type: string
456 cmHandleProperties:
457 additionalProperties:
458 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
459 type: string
460 nullable: true
461 type: object
462 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400463 cmHandleProperties:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400464 additionalProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200465 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400466 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200467 nullable: true
Renu Kumari3aea57e2021-10-12 13:41:01 -0400468 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200469 ModuleSet:
470 example:
471 schemas:
472 - moduleName: my-module-name
473 namespace: my-namespace
474 revision: my-revision
475 - moduleName: my-module-name
476 namespace: my-namespace
477 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400478 properties:
479 schemas:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400480 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200481 $ref: '#/components/schemas/ModuleSet_schemas_inner'
482 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400483 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200484 ErrorMessage:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400485 properties:
486 status:
487 type: string
488 message:
489 type: string
490 details:
491 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200492 title: Error
Renu Kumari3aea57e2021-10-12 13:41:01 -0400493 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200494 ModuleResourcesReadRequest:
495 example:
496 data:
497 modules:
498 - name: my-name
499 revision: my-revision
500 - name: my-name
501 revision: my-revision
502 cmHandleProperties:
503 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400504 properties:
505 data:
506 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
507 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200508 additionalProperties:
509 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
510 type: string
511 nullable: true
512 type: object
513 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400514 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400515 items:
516 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200517 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400518 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200519 example:
520 yangSource: my-yang-source
521 moduleName: my-module-name
522 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400523 properties:
524 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000525 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200526 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400527 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000528 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000529 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200530 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000531 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200532 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000533 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200534 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000535 cmHandles:
Bruno Sakotoe830dce2022-03-15 11:57:45 -0400536 - cmHandleId1
537 - cmHandleId2
538 - cmHandleId3
leventecsanyi8db6a302024-04-02 14:37:57 +0200539 properties:
540 cmHandles:
541 example:
542 - cmHandleId1
543 - cmHandleId2
544 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000545 items:
546 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200547 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400548 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200549 DataAccessRequest:
550 example:
551 data: my-data
552 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
553 dataType: my-data-type
554 cmHandleProperties:
555 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
556 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400557 properties:
558 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400559 enum:
leventecsanyi8db6a302024-04-02 14:37:57 +0200560 - read
561 - create
562 - update
563 - patch
564 - delete
565 example: read
566 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400567 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000568 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200569 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400570 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000571 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530572 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200573 cmHandleProperties:
574 additionalProperties:
575 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
576 type: string
577 nullable: true
578 type: object
579 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100580 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200581 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400582 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200583 ResourceDataOperationRequests:
584 items:
585 $ref: '#/components/schemas/DataOperationRequest'
586 type: array
587 cmHandle:
588 example:
589 id: cmHandle123
590 cmHandleProperties:
591 myProp: some value
592 otherProp: other value
593 properties:
594 id:
595 type: string
596 cmHandleProperties:
597 additionalProperties:
598 type: string
599 type: object
600 title: cmHandle
601 type: object
602 ModuleSet_schemas_inner:
603 example:
604 moduleName: my-module-name
605 namespace: my-namespace
606 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400607 properties:
608 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000609 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200610 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400611 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000612 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400613 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200614 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000615 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200616 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400617 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200618 ModuleResourcesReadRequest_data_modules_inner:
619 example:
620 name: my-name
621 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400622 properties:
623 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000624 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000625 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200626 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000627 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200628 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400629 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200630 ModuleResourcesReadRequest_data:
631 example:
632 modules:
633 - name: my-name
634 revision: my-revision
635 - name: my-name
636 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400637 properties:
638 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400639 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200640 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
641 type: array
642 type: object
643 DataOperationRequest:
644 example:
645 resourceIdentifier: some resource identifier
646 datastore: ncmp-datastore:passthrough-operational
647 options: some option
648 operationId: "12"
649 cmHandles:
650 - id: cmHandle123
651 cmHandleProperties:
652 myProp: some value
653 otherProp: other value
654 - id: cmHandle123
655 cmHandleProperties:
656 myProp: some value
657 otherProp: other value
658 operation: read
659 properties:
660 operation:
661 example: read
662 type: string
663 operationId:
664 description: it is recommended that the operationId is unique within the
665 scope of the request
666 example: "12"
667 type: string
668 datastore:
669 example: ncmp-datastore:passthrough-operational
670 type: string
671 options:
672 example: some option
673 type: string
674 resourceIdentifier:
675 example: some resource identifier
676 type: string
677 cmHandles:
678 items:
679 $ref: '#/components/schemas/cmHandle'
680 type: array
681 required:
682 - cmHandles
683 - datastore
684 - operation
685 - operationId
686 title: DataOperationRequest
687 type: object