blob: 922cabb01e089dc66c0140d5a687ab40dccc4bf8 [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
shivasubedi8df61a92021-06-16 14:43:18 +01004# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
lukegleeson15b93e72021-07-07 15:25:30 +010010#
shivasubedi8df61a92021-06-16 14:43:18 +010011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17# SPDX-License-Identifier: Apache-2.0
18# ============LICENSE_END=========================================================
19
niamhcoref7ba3592020-10-19 12:48:06 +010020openapi: 3.0.1
21info:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000022 title: ONAP Open API v3 Configuration Persistence Service
23 description: Configuration Persistence Service is a Model Driven Generic Database
24 version: "1.0.0"
Rishi.Chail6d13f162021-01-26 05:58:39 +000025 contact:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000026 name: ONAP
27 url: "https://onap.readthedocs.io"
28 email: "onap-discuss@lists.onap.org"
Rishi.Chail6d13f162021-01-26 05:58:39 +000029 license:
Rishi.Chailcc6e5e22021-01-24 20:33:50 +000030 name: "Apache 2.0"
31 url: "http://www.apache.org/licenses/LICENSE-2.0"
32 x-planned-retirement-date: "202212"
33 x-component: "Modeling"
34 x-logo:
35 url: "cps_logo.png"
36
niamhcoref7ba3592020-10-19 12:48:06 +010037servers:
JosephKeenan2472e612021-06-23 14:15:52 +010038 - url: /cps/api
niamhcoref7ba3592020-10-19 12:48:06 +010039tags:
Rishi.Chail6d13f162021-01-26 05:58:39 +000040 - name: cps-admin
41 description: cps Admin
42 - name: cps-data
43 description: cps Data
niamhcoref7ba3592020-10-19 12:48:06 +010044paths:
Rishi.Chail6d13f162021-01-26 05:58:39 +000045
Ruslan Kashapov5a8718b2020-12-10 10:49:59 +020046 /v1/dataspaces:
Rishi.Chaildacc6632021-01-27 04:27:34 +000047 $ref: 'cpsAdmin.yml#/dataspaces'
puthuparambil.aditya001e7732021-01-13 12:06:20 +000048
Rishi.Chail6d13f162021-01-26 05:58:39 +000049 /v1/dataspaces/{dataspace-name}:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000050 $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName'
51
niamhcoref7ba3592020-10-19 12:48:06 +010052 /v1/dataspaces/{dataspace-name}/anchors:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000053 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
54
niamhcoref7ba3592020-10-19 12:48:06 +010055 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000056 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
57
58 /v1/dataspaces/{dataspace-name}/schema-sets:
59 $ref: 'cpsAdmin.yml#/schemaSet'
60
61 /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
62 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
63
Rishi.Chaildacc6632021-01-27 04:27:34 +000064 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
65 $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
66
niamhcoref7ba3592020-10-19 12:48:06 +010067 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000068 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
69
Renu Kumari7edbeb62021-08-30 07:45:52 -040070 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
Ruslan Kashapov0905ac12021-05-05 13:11:50 +030071 $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor'
72
niamhcoref7ba3592020-10-19 12:48:06 +010073 /v1/dataspaces/{dataspace-name}/nodes:
puthuparambil.aditya001e7732021-01-13 12:06:20 +000074 $ref: 'cpsData.yml#/nodesByDataspace'
niamhcore53f07ac2021-02-19 13:14:40 +000075
76 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
lukegleeson15b93e72021-07-07 15:25:30 +010077 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'