blob: f3516b5dbcef5bdbea60ac953c818b6a770e578a [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:
david.mcweeneyee0c3be2024-04-30 10:24:41 +0100496 moduleSetTag: module-set-tag1
leventecsanyi8db6a302024-04-02 14:37:57 +0200497 data:
498 modules:
499 - name: my-name
500 revision: my-revision
501 - name: my-name
502 revision: my-revision
503 cmHandleProperties:
504 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
Renu Kumari3aea57e2021-10-12 13:41:01 -0400505 properties:
506 data:
507 $ref: '#/components/schemas/ModuleResourcesReadRequest_data'
508 cmHandleProperties:
leventecsanyi8db6a302024-04-02 14:37:57 +0200509 additionalProperties:
510 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
511 type: string
512 nullable: true
513 type: object
514 type: object
Renu Kumari3aea57e2021-10-12 13:41:01 -0400515 YangResources:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400516 items:
517 $ref: '#/components/schemas/YangResource'
leventecsanyi8db6a302024-04-02 14:37:57 +0200518 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400519 YangResource:
leventecsanyi8db6a302024-04-02 14:37:57 +0200520 example:
521 yangSource: my-yang-source
522 moduleName: my-module-name
523 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400524 properties:
525 yangSource:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000526 example: my-yang-source
leventecsanyi8db6a302024-04-02 14:37:57 +0200527 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400528 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000529 example: my-module-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000530 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200531 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000532 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200533 type: string
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000534 CmHandles:
leventecsanyi8db6a302024-04-02 14:37:57 +0200535 example:
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000536 cmHandles:
Bruno Sakotoe830dce2022-03-15 11:57:45 -0400537 - cmHandleId1
538 - cmHandleId2
539 - cmHandleId3
leventecsanyi8db6a302024-04-02 14:37:57 +0200540 properties:
541 cmHandles:
542 example:
543 - cmHandleId1
544 - cmHandleId2
545 - cmHandleId3
DylanB95EST5fe0dae2021-11-09 13:54:35 +0000546 items:
547 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200548 type: array
Renu Kumari3aea57e2021-10-12 13:41:01 -0400549 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200550 DataAccessRequest:
551 example:
552 data: my-data
553 requestId: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
554 dataType: my-data-type
555 cmHandleProperties:
556 key: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
557 operation: read
Renu Kumari3aea57e2021-10-12 13:41:01 -0400558 properties:
559 operation:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400560 enum:
leventecsanyi8db6a302024-04-02 14:37:57 +0200561 - read
562 - create
563 - update
564 - patch
565 - delete
566 example: read
567 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400568 dataType:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000569 example: my-data-type
leventecsanyi8db6a302024-04-02 14:37:57 +0200570 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400571 data:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000572 example: my-data
mpriyank78e1d062022-04-08 15:12:22 +0530573 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200574 cmHandleProperties:
575 additionalProperties:
576 example: "{\"prop1\":\"value1\",\"prop2\":\"value2\"}"
577 type: string
578 nullable: true
579 type: object
580 requestId:
JosephKeenan2cd8b982022-05-23 15:43:05 +0100581 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
leventecsanyi8db6a302024-04-02 14:37:57 +0200582 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400583 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200584 ResourceDataOperationRequests:
585 items:
586 $ref: '#/components/schemas/DataOperationRequest'
587 type: array
588 cmHandle:
589 example:
590 id: cmHandle123
591 cmHandleProperties:
592 myProp: some value
593 otherProp: other value
594 properties:
595 id:
596 type: string
597 cmHandleProperties:
598 additionalProperties:
599 type: string
600 type: object
601 title: cmHandle
602 type: object
603 ModuleSet_schemas_inner:
604 example:
605 moduleName: my-module-name
606 namespace: my-namespace
607 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400608 properties:
609 moduleName:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000610 example: my-module-name
leventecsanyi8db6a302024-04-02 14:37:57 +0200611 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400612 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000613 example: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400614 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200615 namespace:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000616 example: my-namespace
leventecsanyi8db6a302024-04-02 14:37:57 +0200617 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400618 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200619 ModuleResourcesReadRequest_data_modules_inner:
620 example:
621 name: my-name
622 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400623 properties:
624 name:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000625 example: my-name
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000626 type: string
leventecsanyi8db6a302024-04-02 14:37:57 +0200627 revision:
puthuparambil.adityabdcccb52022-01-20 15:26:52 +0000628 example: my-revision
leventecsanyi8db6a302024-04-02 14:37:57 +0200629 type: string
Renu Kumari3aea57e2021-10-12 13:41:01 -0400630 type: object
leventecsanyi8db6a302024-04-02 14:37:57 +0200631 ModuleResourcesReadRequest_data:
632 example:
633 modules:
634 - name: my-name
635 revision: my-revision
636 - name: my-name
637 revision: my-revision
Renu Kumari3aea57e2021-10-12 13:41:01 -0400638 properties:
639 modules:
Renu Kumari3aea57e2021-10-12 13:41:01 -0400640 items:
leventecsanyi8db6a302024-04-02 14:37:57 +0200641 $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules_inner'
642 type: array
643 type: object
644 DataOperationRequest:
645 example:
646 resourceIdentifier: some resource identifier
647 datastore: ncmp-datastore:passthrough-operational
648 options: some option
649 operationId: "12"
650 cmHandles:
651 - id: cmHandle123
652 cmHandleProperties:
653 myProp: some value
654 otherProp: other value
655 - id: cmHandle123
656 cmHandleProperties:
657 myProp: some value
658 otherProp: other value
659 operation: read
660 properties:
661 operation:
662 example: read
663 type: string
664 operationId:
665 description: it is recommended that the operationId is unique within the
666 scope of the request
667 example: "12"
668 type: string
669 datastore:
670 example: ncmp-datastore:passthrough-operational
671 type: string
672 options:
673 example: some option
674 type: string
675 resourceIdentifier:
676 example: some resource identifier
677 type: string
678 cmHandles:
679 items:
680 $ref: '#/components/schemas/cmHandle'
681 type: array
682 required:
683 - cmHandles
684 - datastore
685 - operation
686 - operationId
687 title: DataOperationRequest
688 type: object