blob: ed15fcd628c9d3d89a9b4c9c8cc2b4620ba1e82a [file] [log] [blame]
tragait34a94b92021-03-30 12:02:27 +01001# ============LICENSE_START=======================================================
mpriyankfd500182022-01-18 01:07:00 +05302# Copyright (C) 2021-2022 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:
bmiklosbbaf5012022-08-25 18:28:16 +020029 /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}:
30 $ref: 'ncmp.yml#/getResourceDataForCmHandle'
tragaitc3285512021-08-16 15:12:36 +010031
niamhcorefd2e6dd2021-09-29 16:43:35 +010032 /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
Renu Kumari139e8222021-10-04 20:59:18 -040033 $ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
niamhcorec309f242021-09-07 10:27:18 +010034
35 /v1/ch/{cm-handle}/modules:
niamhcore66017b42021-10-19 11:07:02 +010036 $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
37
emacleee1f73e22022-06-17 17:42:56 +010038 /v1/ch/{cm-handle}/modules/definitions:
39 $ref: 'ncmp.yml#/fetchModuleDefinitionsByCmHandle'
40
niamhcore66017b42021-10-19 11:07:02 +010041 /v1/ch/searches:
kissande9ed5812022-05-12 15:59:18 +020042 $ref: 'ncmp.yml#/searchCmHandles'
DylanB95ESTe5573382022-01-27 17:12:52 +000043
44 /v1/ch/{cm-handle}:
JosephKeenandeac4772022-03-28 12:26:07 +010045 $ref: 'ncmp.yml#/retrieveCmHandleDetailsById'
46
lukegleesonbed18fd2022-05-06 12:02:42 +010047 /v1/ch/{cm-handle}/properties:
48 $ref: 'ncmp.yml#/getCmHandlePropertiesById'
49
kissande9ed5812022-05-12 15:59:18 +020050 /v1/ch/id-searches:
51 $ref: 'ncmp.yml#/searchCmHandleIds'
lukegleeson78062a12022-06-02 10:56:43 +010052
53 /v1/ch/{cm-handle}/state:
54 $ref: 'ncmp.yml#/getCmHandleStateById'
DylanB95EST6ddbe4a2022-07-19 11:36:10 +010055
56 /v1/ch/{cm-handle}/data-sync:
57 $ref: 'ncmp.yml#/setDataSyncEnabledFlag'