tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
sourabh_sourabh | 4031d43 | 2023-03-27 14:36:20 +0100 | [diff] [blame] | 2 | # Copyright (C) 2021-2023 Nordix Foundation |
Ruslan Kashapov | 1baf48d | 2021-05-07 10:46:27 +0300 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021 Pantheon.tech |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 4 | # Modifications Copyright (C) 2021 Bell Canada |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 5 | # ================================================================================ |
| 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 |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 11 | # |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 12 | # 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 | |
egernug | 9426ae8 | 2023-06-21 11:16:02 +0100 | [diff] [blame] | 21 | openapi: 3.0.3 |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 22 | info: |
| 23 | title: NCMP to CPS Proxy API |
| 24 | description: NCMP to CPS Proxy API |
| 25 | version: "1.0" |
| 26 | servers: |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 27 | - url: /ncmp |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 28 | components: |
| 29 | securitySchemes: |
| 30 | basicAuth: |
| 31 | type: http |
| 32 | scheme: basic |
tragait | 34a94b9 | 2021-03-30 12:02:27 +0100 | [diff] [blame] | 33 | paths: |
lukegleeson | 20e7a73 | 2022-10-20 10:14:00 +0100 | [diff] [blame] | 34 | /v1/ch/{cm-handle}/data/ds/{datastore-name}: |
bmiklos | 440dc8a | 2022-09-05 18:25:46 +0200 | [diff] [blame] | 35 | $ref: 'ncmp.yml#/resourceDataForCmHandle' |
niamhcore | c309f24 | 2021-09-07 10:27:18 +0100 | [diff] [blame] | 36 | |
sourabh_sourabh | f232f30 | 2023-05-09 14:34:59 +0100 | [diff] [blame] | 37 | /v1/data: |
raviteja.karumuri | 977f7c3 | 2023-06-20 19:10:21 +0100 | [diff] [blame] | 38 | $ref: 'ncmp.yml#/dataOperationForCmHandle' |
sourabh_sourabh | 4031d43 | 2023-03-27 14:36:20 +0100 | [diff] [blame] | 39 | |
lukegleeson | 20e7a73 | 2022-10-20 10:14:00 +0100 | [diff] [blame] | 40 | /v1/ch/{cm-handle}/data/ds/{datastore-name}/query: |
| 41 | $ref: 'ncmp.yml#/queryResourceDataForCmHandle' |
| 42 | |
niamhcore | c309f24 | 2021-09-07 10:27:18 +0100 | [diff] [blame] | 43 | /v1/ch/{cm-handle}/modules: |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 44 | $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle' |
| 45 | |
emaclee | e1f73e2 | 2022-06-17 17:42:56 +0100 | [diff] [blame] | 46 | /v1/ch/{cm-handle}/modules/definitions: |
| 47 | $ref: 'ncmp.yml#/fetchModuleDefinitionsByCmHandle' |
| 48 | |
niamhcore | 66017b4 | 2021-10-19 11:07:02 +0100 | [diff] [blame] | 49 | /v1/ch/searches: |
kissand | e9ed581 | 2022-05-12 15:59:18 +0200 | [diff] [blame] | 50 | $ref: 'ncmp.yml#/searchCmHandles' |
DylanB95EST | e557338 | 2022-01-27 17:12:52 +0000 | [diff] [blame] | 51 | |
| 52 | /v1/ch/{cm-handle}: |
JosephKeenan | deac477 | 2022-03-28 12:26:07 +0100 | [diff] [blame] | 53 | $ref: 'ncmp.yml#/retrieveCmHandleDetailsById' |
| 54 | |
lukegleeson | bed18fd | 2022-05-06 12:02:42 +0100 | [diff] [blame] | 55 | /v1/ch/{cm-handle}/properties: |
| 56 | $ref: 'ncmp.yml#/getCmHandlePropertiesById' |
| 57 | |
kissand | e9ed581 | 2022-05-12 15:59:18 +0200 | [diff] [blame] | 58 | /v1/ch/id-searches: |
| 59 | $ref: 'ncmp.yml#/searchCmHandleIds' |
lukegleeson | 78062a1 | 2022-06-02 10:56:43 +0100 | [diff] [blame] | 60 | |
| 61 | /v1/ch/{cm-handle}/state: |
| 62 | $ref: 'ncmp.yml#/getCmHandleStateById' |
DylanB95EST | 6ddbe4a | 2022-07-19 11:36:10 +0100 | [diff] [blame] | 63 | |
| 64 | /v1/ch/{cm-handle}/data-sync: |
| 65 | $ref: 'ncmp.yml#/setDataSyncEnabledFlag' |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 66 | security: |
| 67 | - basicAuth: [] |