3 title: NCMP to CPS Proxy API
4 description: NCMP to CPS Proxy API
9 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
13 summary: Get resource data from pass-through operational for cm handle
14 description: Get resource data from pass-through operational for given cm handle
15 operationId: getResourceDataOperationalForCmHandle
19 description: "The identifier for a network function, network element, subnetwork\
20 \ or any other cm object by managed Network CM Proxy"
25 - name: resourceIdentifier
27 description: The format of resource identifier depend on the associated DMI
28 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
29 it can really be anything.
37 resourceIdentifier: \shops\bookstore
40 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
43 resourceIdentifier: "parent=shops,child=bookstore"
46 description: "Accept parameter for response, if accept parameter is null,\
47 \ that means client can accept any format."
53 - application/yang-data+json
56 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
57 \ in parenthesis'()'. The format of options parameter depend on the associated\
58 \ DMI Plugin implementation."
69 options: (fields=book)
72 options: "(depth=2,fields=book/authors)"
75 description: topic parameter in query.
93 $ref: '#/components/examples/dataSampleResponse'
95 description: Bad Request
99 $ref: '#/components/schemas/ErrorMessage'
101 status: 400 BAD_REQUEST
102 message: Bad request error message
103 details: Bad request error details
105 description: Unauthorized
109 $ref: '#/components/schemas/ErrorMessage'
112 message: Unauthorized error message
113 details: Unauthorized error details
115 description: Forbidden
119 $ref: '#/components/schemas/ErrorMessage'
122 message: Forbidden error message
123 details: Forbidden error details
125 description: Internal Server Error
129 $ref: '#/components/schemas/ErrorMessage'
132 message: Internal Server Error
133 details: Internal Server Error occurred
134 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
138 summary: Get resource data from pass-through running for cm handle
139 description: Get resource data from pass-through running for given cm handle
140 operationId: getResourceDataRunningForCmHandle
144 description: "The identifier for a network function, network element, subnetwork\
145 \ or any other cm object by managed Network CM Proxy"
149 example: my-cm-handle
150 - name: resourceIdentifier
152 description: The format of resource identifier depend on the associated DMI
153 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
154 it can really be anything.
162 resourceIdentifier: \shops\bookstore
165 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
168 resourceIdentifier: "parent=shops,child=bookstore"
171 description: "Accept parameter for response, if accept parameter is null,\
172 \ that means client can accept any format."
178 - application/yang-data+json
181 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
182 \ in parenthesis'()'. The format of options parameter depend on the associated\
183 \ DMI Plugin implementation."
194 options: (fields=book)
197 options: "(depth=2,fields=book/authors)"
200 description: topic parameter in query.
218 $ref: '#/components/examples/dataSampleResponse'
220 description: Bad Request
224 $ref: '#/components/schemas/ErrorMessage'
226 status: 400 BAD_REQUEST
227 message: Bad request error message
228 details: Bad request error details
230 description: Unauthorized
234 $ref: '#/components/schemas/ErrorMessage'
237 message: Unauthorized error message
238 details: Unauthorized error details
240 description: Forbidden
244 $ref: '#/components/schemas/ErrorMessage'
247 message: Forbidden error message
248 details: Forbidden error details
250 description: Internal Server Error
254 $ref: '#/components/schemas/ErrorMessage'
257 message: Internal Server Error
258 details: Internal Server Error occurred
262 summary: Update resource data from pass-through running for a cm handle
263 description: Update resource data from pass-through running for the given cm
265 operationId: updateResourceDataRunningForCmHandle
269 description: "The identifier for a network function, network element, subnetwork\
270 \ or any other cm object by managed Network CM Proxy"
274 example: my-cm-handle
275 - name: resourceIdentifier
277 description: The format of resource identifier depend on the associated DMI
278 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
279 it can really be anything.
287 resourceIdentifier: \shops\bookstore
290 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
293 resourceIdentifier: "parent=shops,child=bookstore"
296 description: "Content parameter for request, if content parameter is null,\
297 \ default value is application/json."
301 example: application/yang-data+json
302 default: application/json
310 $ref: '#/components/examples/dataSampleRequest'
311 application/yang-data+json:
316 $ref: '#/components/examples/dataSampleRequest'
326 description: Bad Request
330 $ref: '#/components/schemas/ErrorMessage'
332 status: 400 BAD_REQUEST
333 message: Bad request error message
334 details: Bad request error details
336 description: Unauthorized
340 $ref: '#/components/schemas/ErrorMessage'
343 message: Unauthorized error message
344 details: Unauthorized error details
346 description: Forbidden
350 $ref: '#/components/schemas/ErrorMessage'
353 message: Forbidden error message
354 details: Forbidden error details
356 description: Internal Server Error
360 $ref: '#/components/schemas/ErrorMessage'
363 message: Internal Server Error
364 details: Internal Server Error occurred
368 summary: create resource data from pass-through running for cm handle
369 description: create resource data from pass-through running for given cm handle
370 operationId: createResourceDataRunningForCmHandle
374 description: "The identifier for a network function, network element, subnetwork\
375 \ or any other cm object by managed Network CM Proxy"
379 example: my-cm-handle
380 - name: resourceIdentifier
382 description: The format of resource identifier depend on the associated DMI
383 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
384 it can really be anything.
392 resourceIdentifier: \shops\bookstore
395 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
398 resourceIdentifier: "parent=shops,child=bookstore"
401 description: "Content parameter for request, if content parameter is null,\
402 \ default value is application/json."
406 example: application/yang-data+json
407 default: application/json
415 $ref: '#/components/examples/dataSampleRequest'
416 application/yang-data+json:
421 $ref: '#/components/examples/dataSampleRequest'
428 description: Bad Request
432 $ref: '#/components/schemas/ErrorMessage'
434 status: 400 BAD_REQUEST
435 message: Bad request error message
436 details: Bad request error details
438 description: Unauthorized
442 $ref: '#/components/schemas/ErrorMessage'
445 message: Unauthorized error message
446 details: Unauthorized error details
448 description: Forbidden
452 $ref: '#/components/schemas/ErrorMessage'
455 message: Forbidden error message
456 details: Forbidden error details
458 description: Internal Server Error
462 $ref: '#/components/schemas/ErrorMessage'
465 message: Internal Server Error
466 details: Internal Server Error occurred
470 summary: Delete resource data
471 description: Delete resource data from pass-through running for a given cm handle
472 operationId: deleteResourceDataRunningForCmHandle
476 description: "The identifier for a network function, network element, subnetwork\
477 \ or any other cm object by managed Network CM Proxy"
481 example: my-cm-handle
482 - name: resourceIdentifier
484 description: The format of resource identifier depend on the associated DMI
485 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
486 it can really be anything.
494 resourceIdentifier: \shops\bookstore
497 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
500 resourceIdentifier: "parent=shops,child=bookstore"
503 description: "Content parameter for request, if content parameter is null,\
504 \ default value is application/json."
508 example: application/yang-data+json
509 default: application/json
512 description: No Content
515 description: Bad Request
519 $ref: '#/components/schemas/ErrorMessage'
521 status: 400 BAD_REQUEST
522 message: Bad request error message
523 details: Bad request error details
525 description: Unauthorized
529 $ref: '#/components/schemas/ErrorMessage'
532 message: Unauthorized error message
533 details: Unauthorized error details
535 description: Forbidden
539 $ref: '#/components/schemas/ErrorMessage'
542 message: Forbidden error message
543 details: Forbidden error details
545 description: The specified resource was not found
549 $ref: '#/components/schemas/ErrorMessage'
552 message: Not found error message
553 details: Not found error details
555 description: Internal Server Error
559 $ref: '#/components/schemas/ErrorMessage'
562 message: Internal Server Error
563 details: Internal Server Error occurred
567 summary: Patch resource data from pass-through running
568 description: Patch resource data from pass-through running for the given cm
570 operationId: patchResourceDataRunningForCmHandle
574 description: "The identifier for a network function, network element, subnetwork\
575 \ or any other cm object by managed Network CM Proxy"
579 example: my-cm-handle
580 - name: resourceIdentifier
582 description: The format of resource identifier depend on the associated DMI
583 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
584 it can really be anything.
592 resourceIdentifier: \shops\bookstore
595 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
598 resourceIdentifier: "parent=shops,child=bookstore"
601 description: "Content parameter for request, if content parameter is null,\
602 \ default value is application/json."
606 example: application/yang-data+json
607 default: application/json
615 $ref: '#/components/examples/dataSamplePatchRequest'
625 description: Bad Request
629 $ref: '#/components/schemas/ErrorMessage'
631 status: 400 BAD_REQUEST
632 message: Bad request error message
633 details: Bad request error details
635 description: Unauthorized
639 $ref: '#/components/schemas/ErrorMessage'
642 message: Unauthorized error message
643 details: Unauthorized error details
645 description: Forbidden
649 $ref: '#/components/schemas/ErrorMessage'
652 message: Forbidden error message
653 details: Forbidden error details
655 description: Internal Server Error
659 $ref: '#/components/schemas/ErrorMessage'
662 message: Internal Server Error
663 details: Internal Server Error occurred
664 /v1/ch/{cm-handle}/modules:
668 summary: Fetch all module references (name and revision) for a given cm handle
669 description: fetch all module references (name and revision) for a given cm
671 operationId: getModuleReferencesByCmHandle
675 description: "The identifier for a network function, network element, subnetwork\
676 \ or any other cm object by managed Network CM Proxy"
680 example: my-cm-handle
689 $ref: '#/components/schemas/RestModuleReference'
691 description: Bad Request
695 $ref: '#/components/schemas/ErrorMessage'
697 status: 400 BAD_REQUEST
698 message: Bad request error message
699 details: Bad request error details
701 description: Unauthorized
705 $ref: '#/components/schemas/ErrorMessage'
708 message: Unauthorized error message
709 details: Unauthorized error details
711 description: Forbidden
715 $ref: '#/components/schemas/ErrorMessage'
718 message: Forbidden error message
719 details: Forbidden error details
721 description: Internal Server Error
725 $ref: '#/components/schemas/ErrorMessage'
728 message: Internal Server Error
729 details: Internal Server Error occurred
734 summary: Execute cm handle search using the available conditions
735 description: Execute cm handle searches using 'hasAllModules' condition to get
736 all cm handles for the given module names
737 operationId: executeCmHandleSearch
742 $ref: '#/components/schemas/Conditions'
750 $ref: '#/components/schemas/CmHandles'
752 description: Bad Request
756 $ref: '#/components/schemas/ErrorMessage'
758 status: 400 BAD_REQUEST
759 message: Bad request error message
760 details: Bad request error details
762 description: Unauthorized
766 $ref: '#/components/schemas/ErrorMessage'
769 message: Unauthorized error message
770 details: Unauthorized error details
772 description: Forbidden
776 $ref: '#/components/schemas/ErrorMessage'
779 message: Forbidden error message
780 details: Forbidden error details
782 description: Internal Server Error
786 $ref: '#/components/schemas/ErrorMessage'
789 message: Internal Server Error
790 details: Internal Server Error occurred
795 summary: Retrieve CM handle details
796 description: Retrieve CM handle details and properties by cm handle id
797 operationId: retrieveCmHandleDetailsById
801 description: "The identifier for a network function, network element, subnetwork\
802 \ or any other cm object by managed Network CM Proxy"
806 example: my-cm-handle
813 $ref: '#/components/schemas/RestOutputCmHandle'
815 description: Bad Request
819 $ref: '#/components/schemas/ErrorMessage'
821 status: 400 BAD_REQUEST
822 message: Bad request error message
823 details: Bad request error details
825 description: Unauthorized
829 $ref: '#/components/schemas/ErrorMessage'
832 message: Unauthorized error message
833 details: Unauthorized error details
835 description: Forbidden
839 $ref: '#/components/schemas/ErrorMessage'
842 message: Forbidden error message
843 details: Forbidden error details
845 description: The specified resource was not found
849 $ref: '#/components/schemas/ErrorMessage'
852 message: Not found error message
853 details: Not found error details
855 description: Internal Server Error
859 $ref: '#/components/schemas/ErrorMessage'
862 message: Internal Server Error
863 details: Internal Server Error occurred
877 title: Module reference details
882 example: my-module-name
885 example: my-module-revision
890 $ref: '#/components/schemas/ConditionsData'
894 $ref: '#/components/schemas/ConditionProperties'
899 example: hasAllModules
901 $ref: '#/components/schemas/ModuleNamesAsJsonArray'
902 ModuleNamesAsJsonArray:
905 $ref: '#/components/schemas/ModuleNameAsJsonObject'
906 ModuleNameAsJsonObject:
915 $ref: '#/components/schemas/CmHandleProperties'
919 $ref: '#/components/schemas/CmHandleProperty'
924 example: my-cm-handle-id
926 title: CM handle Details
931 example: my-cm-handle1
932 publicCmHandleProperties:
933 $ref: '#/components/schemas/CmHandlePublicProperties'
934 CmHandlePublicProperties:
938 additionalProperties:
943 summary: Sample response
944 description: Sample response for selecting 'sample 1'.
960 summary: Sample request
961 description: Sample request body
964 bookstore-name: Chapters
977 dataSamplePatchRequest:
978 summary: Sample patch request
979 description: Sample patch request body
981 ietf-restconf:yang-patch:
989 bookstore-name: Chapters
1007 bookstore-name: Novels