Create Endpoint For Get Cm Handles By Name
[cps.git] / cps-ncmp-rest / docs / openapi / openapi.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2021-2022 Nordix Foundation
3 #  Modifications Copyright (C) 2021 Pantheon.tech
4 #  Modifications Copyright (C) 2021 Bell Canada
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
11 #
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
21 openapi: 3.0.1
22 info:
23   title: NCMP to CPS Proxy API
24   description: NCMP to CPS Proxy API
25   version: "1.0"
26 servers:
27   - url: /ncmp
28 paths:
29   /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
30     $ref: 'ncmp.yml#/getResourceDataForPassthroughOperational'
31
32   /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
33     $ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
34
35   /v1/ch/{cm-handle}/modules:
36     $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
37
38   /v1/ch/searches:
39     $ref: 'ncmp.yml#/executeCmHandleSearch'
40
41   /v1/ch/{cm-handle}:
42     $ref: 'ncmp.yml#/retrieveCmHandleDetailsById'