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"
47 description: cps Admin
53 $ref: 'cpsAdmin.yml#/dataspaces'
55 /v1/dataspaces/{dataspace-name}/anchors:
56 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
58 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
59 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
61 /v1/dataspaces/{dataspace-name}/schema-sets:
62 $ref: 'cpsAdmin.yml#/schemaSet'
64 /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
65 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
67 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
68 $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
70 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
71 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
73 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
74 $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor'
76 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
77 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'