blob: b1f1c17e1db0608213ba45399f541b07390ffd1f [file] [log] [blame]
shivasubedi8df61a92021-06-16 14:43:18 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2021 Nordix Foundation
3# ================================================================================
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15# SPDX-License-Identifier: Apache-2.0
16# ============LICENSE_END=========================================================
17
niamhcoref7ba3592020-10-19 12:48:06 +010018openapi: 3.0.1
19info:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000020 title: ONAP Open API v3 Configuration Persistence Service
21 description: Configuration Persistence Service is a Model Driven Generic Database
22 version: "1.0.0"
Rishi.Chail6d13f162021-01-26 05:58:39 +000023 contact:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000024 name: ONAP
25 url: "https://onap.readthedocs.io"
26 email: "onap-discuss@lists.onap.org"
Rishi.Chail6d13f162021-01-26 05:58:39 +000027 license:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000028 name: "Apache 2.0"
29 url: "http://www.apache.org/licenses/LICENSE-2.0"
30 x-planned-retirement-date: "202212"
31 x-component: "Modeling"
32 x-logo:
33 url: "cps_logo.png"
34
niamhcoref7ba3592020-10-19 12:48:06 +010035servers:
Rishi.Chail6d13f162021-01-26 05:58:39 +000036 - url: //localhost:8088
niamhcoref7ba3592020-10-19 12:48:06 +010037tags:
Rishi.Chail6d13f162021-01-26 05:58:39 +000038 - name: cps-admin
39 description: cps Admin
40 - name: cps-data
41 description: cps Data
niamhcoref7ba3592020-10-19 12:48:06 +010042paths:
Rishi.Chail6d13f162021-01-26 05:58:39 +000043
Ruslan Kashapov5a8718b2020-12-10 10:49:59 +020044 /v1/dataspaces:
Rishi.Chaildacc6632021-01-27 04:27:34 +000045 $ref: 'cpsAdmin.yml#/dataspaces'
puthuparambil.aditya001e7732021-01-13 12:06:20 +000046
Rishi.Chail6d13f162021-01-26 05:58:39 +000047 /v1/dataspaces/{dataspace-name}:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000048 $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName'
49
niamhcoref7ba3592020-10-19 12:48:06 +010050 /v1/dataspaces/{dataspace-name}/anchors:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000051 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
52
niamhcoref7ba3592020-10-19 12:48:06 +010053 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000054 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
55
56 /v1/dataspaces/{dataspace-name}/schema-sets:
57 $ref: 'cpsAdmin.yml#/schemaSet'
58
59 /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
60 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
61
Rishi.Chaildacc6632021-01-27 04:27:34 +000062 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
63 $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
64
niamhcoref7ba3592020-10-19 12:48:06 +010065 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000066 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
67
Ruslan Kashapov0905ac12021-05-05 13:11:50 +030068 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-node:
69 $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor'
70
niamhcoref7ba3592020-10-19 12:48:06 +010071 /v1/dataspaces/{dataspace-name}/nodes:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000072 $ref: 'cpsData.yml#/nodesByDataspace'
niamhcore53f07ac2021-02-19 13:14:40 +000073
74 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
75 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'