blob: 5b4c0d3496f57613e3b709ad820d956ff412762a [file] [log] [blame]
tragait34a94b92021-03-30 12:02:27 +01001# ============LICENSE_START=======================================================
sourabh_sourabh4031d432023-03-27 14:36:20 +01002# Copyright (C) 2021-2023 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
JosephKeenan1a650232022-10-20 10:33:24 +010028components:
29 securitySchemes:
30 basicAuth:
31 type: http
32 scheme: basic
tragait34a94b92021-03-30 12:02:27 +010033paths:
lukegleeson20e7a732022-10-20 10:14:00 +010034 /v1/ch/{cm-handle}/data/ds/{datastore-name}:
bmiklos440dc8a2022-09-05 18:25:46 +020035 $ref: 'ncmp.yml#/resourceDataForCmHandle'
niamhcorec309f242021-09-07 10:27:18 +010036
sourabh_sourabh4031d432023-03-27 14:36:20 +010037 /v1/batch/data/ds/{datastore-name}:
38 $ref: 'ncmp.yml#/getResourceDataForCmHandleBatch'
39
lukegleeson20e7a732022-10-20 10:14:00 +010040 /v1/ch/{cm-handle}/data/ds/{datastore-name}/query:
41 $ref: 'ncmp.yml#/queryResourceDataForCmHandle'
42
niamhcorec309f242021-09-07 10:27:18 +010043 /v1/ch/{cm-handle}/modules:
niamhcore66017b42021-10-19 11:07:02 +010044 $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
45
emacleee1f73e22022-06-17 17:42:56 +010046 /v1/ch/{cm-handle}/modules/definitions:
47 $ref: 'ncmp.yml#/fetchModuleDefinitionsByCmHandle'
48
niamhcore66017b42021-10-19 11:07:02 +010049 /v1/ch/searches:
kissande9ed5812022-05-12 15:59:18 +020050 $ref: 'ncmp.yml#/searchCmHandles'
DylanB95ESTe5573382022-01-27 17:12:52 +000051
52 /v1/ch/{cm-handle}:
JosephKeenandeac4772022-03-28 12:26:07 +010053 $ref: 'ncmp.yml#/retrieveCmHandleDetailsById'
54
lukegleesonbed18fd2022-05-06 12:02:42 +010055 /v1/ch/{cm-handle}/properties:
56 $ref: 'ncmp.yml#/getCmHandlePropertiesById'
57
kissande9ed5812022-05-12 15:59:18 +020058 /v1/ch/id-searches:
59 $ref: 'ncmp.yml#/searchCmHandleIds'
lukegleeson78062a12022-06-02 10:56:43 +010060
61 /v1/ch/{cm-handle}/state:
62 $ref: 'ncmp.yml#/getCmHandleStateById'
DylanB95EST6ddbe4a2022-07-19 11:36:10 +010063
64 /v1/ch/{cm-handle}/data-sync:
65 $ref: 'ncmp.yml#/setDataSyncEnabledFlag'
JosephKeenan1a650232022-10-20 10:33:24 +010066security:
67 - basicAuth: []