Create list-node elements (part3): NCMP REST and service layers
[cps.git] / cps-ncmp-rest / docs / openapi / openapi.yml
1 #  ============LICENSE_START=======================================================
2 #  Modification (C) 2021 Nordix Foundation
3 #  Modifications Copyright (C) 2021 Pantheon.tech
4 #  ================================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #        http://www.apache.org/licenses/LICENSE-2.0
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 openapi: 3.0.1
20 info:
21   title: NCMP to CPS Proxy API
22   description: NCMP to CPS Proxy API
23   version: "1.0"
24 servers:
25   - url: //localhost:8088/
26 paths:
27   /v1/cm-handles/{cm-handle}/node:
28     $ref: 'ncmproxy.yml#/nodeByCmHandleAndXpath'
29
30   /v1/cm-handles/{cm-handle}/list-node:
31     $ref: 'ncmproxy.yml#/listNodeByCmHandleAndXpath'
32
33   /v1/cm-handles/{cm-handle}/nodes/query:
34     $ref: 'ncmproxy.yml#/nodesByCmHandleAndCpsPath'
35
36   /v1/cm-handles/{cm-handle}/nodes:
37     $ref: 'ncmproxy.yml#/nodesByCmHandleAndXpath'