1 # ============LICENSE_START=======================================================
2 # Modification (C) 2021 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
18 nodeByCmHandleAndXpath:
20 description: Get a node with an option to retrieve all the children for a given cm Handle
23 summary: Get a node given a cm Handle and xpath
24 operationId: getNodeByCmHandleAndXpath
26 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
27 - $ref: 'components.yaml#/components/parameters/xpathInQuery'
28 - $ref: 'components.yaml#/components/parameters/includeDescendantsOptionInQuery'
31 $ref: 'components.yaml#/components/responses/Ok'
33 $ref: 'components.yaml#/components/responses/BadRequest'
35 $ref: 'components.yaml#/components/responses/Unauthorized'
37 $ref: 'components.yaml#/components/responses/Forbidden'
39 $ref: 'components.yaml#/components/responses/NotFound'
41 $ref: 'components.yaml#/components/responses/NotImplemented'
43 nodesByCmHandleAndCpsPath:
45 description: Query nodes for the given cps path and cm Handle
48 summary: Query data nodes
49 operationId: queryNodesByCmHandleAndCpsPath
51 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
52 - $ref: 'components.yaml#/components/parameters/cpsPathInQuery'
53 - $ref: 'components.yaml#/components/parameters/includeDescendantsOptionInQuery'
56 $ref: 'components.yaml#/components/responses/Ok'
58 $ref: 'components.yaml#/components/responses/BadRequest'
60 $ref: 'components.yaml#/components/responses/Unauthorized'
62 $ref: 'components.yaml#/components/responses/Forbidden'
64 $ref: 'components.yaml#/components/responses/NotFound'
66 nodesByCmHandleAndXpath:
68 description: Update node leaves for the given cps path and cm Handle
71 summary: Update node leaves
72 operationId: updateNodeLeaves
74 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
75 - $ref: 'components.yaml#/components/parameters/xpathInQuery'
84 $ref: 'components.yaml#/components/responses/Ok'
86 $ref: 'components.yaml#/components/responses/BadRequest'
88 $ref: 'components.yaml#/components/responses/Unauthorized'
90 $ref: 'components.yaml#/components/responses/Forbidden'
92 $ref: 'components.yaml#/components/responses/NotFound'
95 description: Replace a node with descendants for the given cps path and cm Handle
98 summary: Replace a node with descendants
99 operationId: replaceNode
101 - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
102 - $ref: 'components.yaml#/components/parameters/xpathInQuery'
111 $ref: 'components.yaml#/components/responses/Ok'
113 $ref: 'components.yaml#/components/responses/BadRequest'
115 $ref: 'components.yaml#/components/responses/Unauthorized'
117 $ref: 'components.yaml#/components/responses/Forbidden'
119 $ref: 'components.yaml#/components/responses/NotFound'