1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 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
10 # http://www.apache.org/licenses/LICENSE-2.0
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.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
23 title: ONAP Open API v3 Configuration Persistence Service
24 description: Configuration Persistence Service is a Model Driven Generic Database
28 url: "https://onap.readthedocs.io"
29 email: "onap-discuss@lists.onap.org"
32 url: "http://www.apache.org/licenses/LICENSE-2.0"
33 x-planned-retirement-date: "202212"
34 x-component: "Modeling"
42 description: cps Admin
48 $ref: 'cpsAdmin.yml#/dataspaces'
50 /v1/dataspaces/{dataspace-name}/anchors:
51 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
53 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
54 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
56 /v1/dataspaces/{dataspace-name}/schema-sets:
57 $ref: 'cpsAdmin.yml#/schemaSet'
59 /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
60 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
62 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
63 $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
65 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
66 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
68 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
69 $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor'
71 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
72 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'