7575022f832d3d3520339999783cf069a191baa9
[cps.git] / cps-ncmp-rest / docs / openapi / openapi.yml
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
7 #
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.
14 #
15 #  SPDX-License-Identifier: Apache-2.0
16 #  ============LICENSE_END=========================================================
17
18 openapi: 3.0.1
19 info:
20   title: NCMP to CPS Proxy API
21   description: NCMP to CPS Proxy API
22   version: "1.0"
23 servers:
24   - url: //localhost:8088/
25 paths:
26   /v1/cm-handles/{cm-handle}/node:
27     $ref: 'ncmproxy.yml#/nodeByCmHandleAndXpath'
28
29   /v1/cm-handles/{cm-handle}/nodes/query:
30     $ref: 'ncmproxy.yml#/nodesByCmHandleAndCpsPath'
31
32   /v1/cm-handles/{cm-handle}/nodes:
33     $ref: 'ncmproxy.yml#/nodesByCmHandleAndXpath'