blob: f9881fb15186ec4892e2d4ae86318d3e9c189b87 [file] [log] [blame]
shivasubedi8df61a92021-06-16 14:43:18 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2021 Nordix Foundation
lukegleeson15b93e72021-07-07 15:25:30 +01003# Modifications Copyright (C) 2021 Pantheon.tech
Renu Kumari4d520012021-08-30 11:50:43 -04004# Modifications Copyright (C) 2021 Bell Canada.
shivasubedi8df61a92021-06-16 14:43:18 +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#
shivasubedi8df61a92021-06-16 14:43:18 +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
niamhcoref7ba3592020-10-19 12:48:06 +010021openapi: 3.0.1
22info:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000023 title: ONAP Open API v3 Configuration Persistence Service
24 description: Configuration Persistence Service is a Model Driven Generic Database
25 version: "1.0.0"
Rishi.Chail6d13f162021-01-26 05:58:39 +000026 contact:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000027 name: ONAP
28 url: "https://onap.readthedocs.io"
29 email: "onap-discuss@lists.onap.org"
Rishi.Chail6d13f162021-01-26 05:58:39 +000030 license:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000031 name: "Apache 2.0"
32 url: "http://www.apache.org/licenses/LICENSE-2.0"
33 x-planned-retirement-date: "202212"
34 x-component: "Modeling"
35 x-logo:
36 url: "cps_logo.png"
37
niamhcoref7ba3592020-10-19 12:48:06 +010038servers:
JosephKeenan2472e612021-06-23 14:15:52 +010039 - url: /cps/api
niamhcoref7ba3592020-10-19 12:48:06 +010040tags:
Rishi.Chail6d13f162021-01-26 05:58:39 +000041 - name: cps-admin
42 description: cps Admin
43 - name: cps-data
Renu Kumari4d520012021-08-30 11:50:43 -040044 description: cps Data
niamhcoref7ba3592020-10-19 12:48:06 +010045paths:
Rishi.Chail6d13f162021-01-26 05:58:39 +000046
Ruslan Kashapov5a8718b2020-12-10 10:49:59 +020047 /v1/dataspaces:
Rishi.Chaildacc6632021-01-27 04:27:34 +000048 $ref: 'cpsAdmin.yml#/dataspaces'
puthuparambil.aditya001e7732021-01-13 12:06:20 +000049
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
Renu Kumari7edbeb62021-08-30 07:45:52 -040068 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
Ruslan Kashapov0905ac12021-05-05 13:11:50 +030069 $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor'
70
niamhcore53f07ac2021-02-19 13:14:40 +000071 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
lukegleeson15b93e72021-07-07 15:25:30 +010072 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'