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
135 description: Bad Gateway
139 $ref: '#/components/schemas/DmiErrorMessage'
141 message: "Bad Gateway Error Message NCMP"
146 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
150 summary: Get resource data from pass-through running for cm handle
151 description: Get resource data from pass-through running for given cm handle
152 operationId: getResourceDataRunningForCmHandle
156 description: "The identifier for a network function, network element, subnetwork\
157 \ or any other cm object by managed Network CM Proxy"
161 example: my-cm-handle
162 - name: resourceIdentifier
164 description: The format of resource identifier depend on the associated DMI
165 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
166 it can really be anything.
174 resourceIdentifier: \shops\bookstore
177 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
180 resourceIdentifier: "parent=shops,child=bookstore"
183 description: "Accept parameter for response, if accept parameter is null,\
184 \ that means client can accept any format."
190 - application/yang-data+json
193 description: "options parameter in query, it is mandatory to wrap key(s)=value(s)\
194 \ in parenthesis'()'. The format of options parameter depend on the associated\
195 \ DMI Plugin implementation."
206 options: (fields=book)
209 options: "(depth=2,fields=book/authors)"
212 description: topic parameter in query.
230 $ref: '#/components/examples/dataSampleResponse'
232 description: Bad Request
236 $ref: '#/components/schemas/ErrorMessage'
238 status: 400 BAD_REQUEST
239 message: Bad request error message
240 details: Bad request error details
242 description: Unauthorized
246 $ref: '#/components/schemas/ErrorMessage'
249 message: Unauthorized error message
250 details: Unauthorized error details
252 description: Forbidden
256 $ref: '#/components/schemas/ErrorMessage'
259 message: Forbidden error message
260 details: Forbidden error details
262 description: Internal Server Error
266 $ref: '#/components/schemas/ErrorMessage'
269 message: Internal Server Error
270 details: Internal Server Error occurred
272 description: Bad Gateway
276 $ref: '#/components/schemas/DmiErrorMessage'
278 message: "Bad Gateway Error Message NCMP"
285 summary: Update resource data from pass-through running for a cm handle
286 description: Update resource data from pass-through running for the given cm
288 operationId: updateResourceDataRunningForCmHandle
292 description: "The identifier for a network function, network element, subnetwork\
293 \ or any other cm object by managed Network CM Proxy"
297 example: my-cm-handle
298 - name: resourceIdentifier
300 description: The format of resource identifier depend on the associated DMI
301 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
302 it can really be anything.
310 resourceIdentifier: \shops\bookstore
313 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
316 resourceIdentifier: "parent=shops,child=bookstore"
319 description: "Content parameter for request, if content parameter is null,\
320 \ default value is application/json."
324 example: application/yang-data+json
325 default: application/json
333 $ref: '#/components/examples/dataSampleRequest'
334 application/yang-data+json:
339 $ref: '#/components/examples/dataSampleRequest'
349 description: Bad Request
353 $ref: '#/components/schemas/ErrorMessage'
355 status: 400 BAD_REQUEST
356 message: Bad request error message
357 details: Bad request error details
359 description: Unauthorized
363 $ref: '#/components/schemas/ErrorMessage'
366 message: Unauthorized error message
367 details: Unauthorized error details
369 description: Forbidden
373 $ref: '#/components/schemas/ErrorMessage'
376 message: Forbidden error message
377 details: Forbidden error details
379 description: Internal Server Error
383 $ref: '#/components/schemas/ErrorMessage'
386 message: Internal Server Error
387 details: Internal Server Error occurred
389 description: Bad Gateway
393 $ref: '#/components/schemas/DmiErrorMessage'
395 message: "Bad Gateway Error Message NCMP"
402 summary: create resource data from pass-through running for cm handle
403 description: create resource data from pass-through running for given cm handle
404 operationId: createResourceDataRunningForCmHandle
408 description: "The identifier for a network function, network element, subnetwork\
409 \ or any other cm object by managed Network CM Proxy"
413 example: my-cm-handle
414 - name: resourceIdentifier
416 description: The format of resource identifier depend on the associated DMI
417 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
418 it can really be anything.
426 resourceIdentifier: \shops\bookstore
429 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
432 resourceIdentifier: "parent=shops,child=bookstore"
435 description: "Content parameter for request, if content parameter is null,\
436 \ default value is application/json."
440 example: application/yang-data+json
441 default: application/json
449 $ref: '#/components/examples/dataSampleRequest'
450 application/yang-data+json:
455 $ref: '#/components/examples/dataSampleRequest'
462 description: Bad Request
466 $ref: '#/components/schemas/ErrorMessage'
468 status: 400 BAD_REQUEST
469 message: Bad request error message
470 details: Bad request error details
472 description: Unauthorized
476 $ref: '#/components/schemas/ErrorMessage'
479 message: Unauthorized error message
480 details: Unauthorized error details
482 description: Forbidden
486 $ref: '#/components/schemas/ErrorMessage'
489 message: Forbidden error message
490 details: Forbidden error details
492 description: Internal Server Error
496 $ref: '#/components/schemas/ErrorMessage'
499 message: Internal Server Error
500 details: Internal Server Error occurred
502 description: Bad Gateway
506 $ref: '#/components/schemas/DmiErrorMessage'
508 message: "Bad Gateway Error Message NCMP"
515 summary: Delete resource data
516 description: Delete resource data from pass-through running for a given cm handle
517 operationId: deleteResourceDataRunningForCmHandle
521 description: "The identifier for a network function, network element, subnetwork\
522 \ or any other cm object by managed Network CM Proxy"
526 example: my-cm-handle
527 - name: resourceIdentifier
529 description: The format of resource identifier depend on the associated DMI
530 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
531 it can really be anything.
539 resourceIdentifier: \shops\bookstore
542 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
545 resourceIdentifier: "parent=shops,child=bookstore"
548 description: "Content parameter for request, if content parameter is null,\
549 \ default value is application/json."
553 example: application/yang-data+json
554 default: application/json
557 description: No Content
560 description: Bad Request
564 $ref: '#/components/schemas/ErrorMessage'
566 status: 400 BAD_REQUEST
567 message: Bad request error message
568 details: Bad request error details
570 description: Unauthorized
574 $ref: '#/components/schemas/ErrorMessage'
577 message: Unauthorized error message
578 details: Unauthorized error details
580 description: Forbidden
584 $ref: '#/components/schemas/ErrorMessage'
587 message: Forbidden error message
588 details: Forbidden error details
590 description: The specified resource was not found
594 $ref: '#/components/schemas/ErrorMessage'
597 message: Not found error message
598 details: Not found error details
600 description: Internal Server Error
604 $ref: '#/components/schemas/ErrorMessage'
607 message: Internal Server Error
608 details: Internal Server Error occurred
610 description: Bad Gateway
614 $ref: '#/components/schemas/DmiErrorMessage'
616 message: "Bad Gateway Error Message NCMP"
623 summary: Patch resource data from pass-through running
624 description: Patch resource data from pass-through running for the given cm
626 operationId: patchResourceDataRunningForCmHandle
630 description: "The identifier for a network function, network element, subnetwork\
631 \ or any other cm object by managed Network CM Proxy"
635 example: my-cm-handle
636 - name: resourceIdentifier
638 description: The format of resource identifier depend on the associated DMI
639 Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but
640 it can really be anything.
648 resourceIdentifier: \shops\bookstore
651 resourceIdentifier: "\\shops\\bookstore\\categories[@code=1]"
654 resourceIdentifier: "parent=shops,child=bookstore"
657 description: "Content parameter for request, if content parameter is null,\
658 \ default value is application/json."
662 example: application/yang-data+json
663 default: application/json
671 $ref: '#/components/examples/dataSamplePatchRequest'
681 description: Bad Request
685 $ref: '#/components/schemas/ErrorMessage'
687 status: 400 BAD_REQUEST
688 message: Bad request error message
689 details: Bad request error details
691 description: Unauthorized
695 $ref: '#/components/schemas/ErrorMessage'
698 message: Unauthorized error message
699 details: Unauthorized error details
701 description: Forbidden
705 $ref: '#/components/schemas/ErrorMessage'
708 message: Forbidden error message
709 details: Forbidden error details
711 description: Internal Server Error
715 $ref: '#/components/schemas/ErrorMessage'
718 message: Internal Server Error
719 details: Internal Server Error occurred
721 description: Bad Gateway
725 $ref: '#/components/schemas/DmiErrorMessage'
727 message: "Bad Gateway Error Message NCMP"
731 /v1/ch/{cm-handle}/modules:
735 summary: Fetch all module references (name and revision) for a given cm handle
736 description: fetch all module references (name and revision) for a given cm
738 operationId: getModuleReferencesByCmHandle
742 description: "The identifier for a network function, network element, subnetwork\
743 \ or any other cm object by managed Network CM Proxy"
747 example: my-cm-handle
756 $ref: '#/components/schemas/RestModuleReference'
758 description: Bad Request
762 $ref: '#/components/schemas/ErrorMessage'
764 status: 400 BAD_REQUEST
765 message: Bad request error message
766 details: Bad request error details
768 description: Unauthorized
772 $ref: '#/components/schemas/ErrorMessage'
775 message: Unauthorized error message
776 details: Unauthorized error details
778 description: Forbidden
782 $ref: '#/components/schemas/ErrorMessage'
785 message: Forbidden error message
786 details: Forbidden error details
788 description: Internal Server Error
792 $ref: '#/components/schemas/ErrorMessage'
795 message: Internal Server Error
796 details: Internal Server Error occurred
801 summary: Execute cm handle search using the available conditions
802 description: Execute cm handle searches using 'hasAllModules' condition to get
803 all cm handles for the given module names
804 operationId: executeCmHandleSearch
809 $ref: '#/components/schemas/Conditions'
817 $ref: '#/components/schemas/CmHandles'
819 description: Bad Request
823 $ref: '#/components/schemas/ErrorMessage'
825 status: 400 BAD_REQUEST
826 message: Bad request error message
827 details: Bad request error details
829 description: Unauthorized
833 $ref: '#/components/schemas/ErrorMessage'
836 message: Unauthorized error message
837 details: Unauthorized error details
839 description: Forbidden
843 $ref: '#/components/schemas/ErrorMessage'
846 message: Forbidden error message
847 details: Forbidden error details
849 description: Internal Server Error
853 $ref: '#/components/schemas/ErrorMessage'
856 message: Internal Server Error
857 details: Internal Server Error occurred
862 summary: Retrieve CM handle details
863 description: Retrieve CM handle details and properties by cm handle id
864 operationId: retrieveCmHandleDetailsById
868 description: "The identifier for a network function, network element, subnetwork\
869 \ or any other cm object by managed Network CM Proxy"
873 example: my-cm-handle
880 $ref: '#/components/schemas/RestOutputCmHandle'
882 description: Bad Request
886 $ref: '#/components/schemas/ErrorMessage'
888 status: 400 BAD_REQUEST
889 message: Bad request error message
890 details: Bad request error details
892 description: Unauthorized
896 $ref: '#/components/schemas/ErrorMessage'
899 message: Unauthorized error message
900 details: Unauthorized error details
902 description: Forbidden
906 $ref: '#/components/schemas/ErrorMessage'
909 message: Forbidden error message
910 details: Forbidden error details
912 description: The specified resource was not found
916 $ref: '#/components/schemas/ErrorMessage'
919 message: Not found error message
920 details: Not found error details
922 description: Internal Server Error
926 $ref: '#/components/schemas/ErrorMessage'
929 message: Internal Server Error
930 details: Internal Server Error occurred
943 # DMI Server Exception Schema
945 title: DMI Error Message
950 example: "Bad Gateway Error Message NCMP"
961 title: Module reference details
966 example: my-module-name
969 example: my-module-revision
974 $ref: '#/components/schemas/ConditionsData'
978 $ref: '#/components/schemas/ConditionProperties'
983 example: hasAllModules
985 $ref: '#/components/schemas/ModuleNamesAsJsonArray'
986 ModuleNamesAsJsonArray:
989 $ref: '#/components/schemas/ModuleNameAsJsonObject'
990 ModuleNameAsJsonObject:
999 $ref: '#/components/schemas/CmHandleProperties'
1003 $ref: '#/components/schemas/CmHandleProperty'
1008 example: my-cm-handle-id
1010 title: CM handle Details
1015 example: my-cm-handle1
1016 publicCmHandleProperties:
1017 $ref: '#/components/schemas/CmHandlePublicProperties'
1018 CmHandlePublicProperties:
1022 additionalProperties:
1027 summary: Sample response
1028 description: Sample response for selecting 'sample 1'.
1044 summary: Sample request
1045 description: Sample request body
1048 bookstore-name: Chapters
1061 dataSamplePatchRequest:
1062 summary: Sample patch request
1063 description: Sample patch request body
1065 ietf-restconf:yang-patch:
1073 bookstore-name: Chapters
1091 bookstore-name: Novels