blob: 64a74c5933e88809902d33a05364c38f3189b27d [file] [log] [blame]
tragait34a94b92021-03-30 12:02:27 +01001# ============LICENSE_START=======================================================
lukegleeson15b93e72021-07-07 15:25:30 +01002# Copyright (C) 2021 Nordix Foundation
Ruslan Kashapov1baf48d2021-05-07 10:46:27 +03003# Modifications Copyright (C) 2021 Pantheon.tech
Renu Kumari4d520012021-08-30 11:50:43 -04004# Modifications Copyright (C) 2021 Bell Canada
tragait34a94b92021-03-30 12:02:27 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
lukegleeson15b93e72021-07-07 15:25:30 +010011#
tragait34a94b92021-03-30 12:02:27 +010012# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
20
21openapi: 3.0.1
22info:
23 title: NCMP to CPS Proxy API
24 description: NCMP to CPS Proxy API
25 version: "1.0"
26servers:
Renu Kumari4d520012021-08-30 11:50:43 -040027 - url: /ncmp
tragait34a94b92021-03-30 12:02:27 +010028paths:
29 /v1/cm-handles/{cm-handle}/node:
Renu Kumari139e8222021-10-04 20:59:18 -040030 $ref: 'ncmp.yml#/nodeByCmHandleAndXpath'
tragait34a94b92021-03-30 12:02:27 +010031
Ruslan Kashapov1baf48d2021-05-07 10:46:27 +030032 /v1/cm-handles/{cm-handle}/list-node:
Renu Kumari139e8222021-10-04 20:59:18 -040033 $ref: 'ncmp.yml#/listNodeByCmHandleAndXpath'
Ruslan Kashapov1baf48d2021-05-07 10:46:27 +030034
tragait34a94b92021-03-30 12:02:27 +010035 /v1/cm-handles/{cm-handle}/nodes/query:
Renu Kumari139e8222021-10-04 20:59:18 -040036 $ref: 'ncmp.yml#/nodesByCmHandleAndCpsPath'
tragait34a94b92021-03-30 12:02:27 +010037
38 /v1/cm-handles/{cm-handle}/nodes:
Renu Kumari139e8222021-10-04 20:59:18 -040039 $ref: 'ncmp.yml#/nodesByCmHandleAndXpath'
tragaitc3285512021-08-16 15:12:36 +010040
niamhcorefd2e6dd2021-09-29 16:43:35 +010041 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
Renu Kumari139e8222021-10-04 20:59:18 -040042 $ref: 'ncmp.yml#/getResourceDataForPassthroughOperational'
tragaitc3285512021-08-16 15:12:36 +010043
niamhcorefd2e6dd2021-09-29 16:43:35 +010044 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
Renu Kumari139e8222021-10-04 20:59:18 -040045 $ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
niamhcorec309f242021-09-07 10:27:18 +010046
47 /v1/ch/{cm-handle}/modules:
niamhcore66017b42021-10-19 11:07:02 +010048 $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
49
50 /v1/ch/searches:
51 $ref: 'ncmp.yml#/executeCmHandleSearch'