1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Nordix Foundation
3 # Modifications Copyright (C) 2021 Pantheon.tech
4 # Modifications Copyright (C) 2021 Bell Canada.
5 # Modifications Copyright (C) 2022 TechMahindra Ltd.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 # SPDX-License-Identifier: Apache-2.0
20 # ============LICENSE_END=========================================================
24 title: ONAP Open API v3 Configuration Persistence Service
25 description: Configuration Persistence Service is a Model Driven Generic Database
29 url: "https://onap.readthedocs.io"
30 email: "onap-discuss@lists.onap.org"
33 url: "http://www.apache.org/licenses/LICENSE-2.0"
34 x-planned-retirement-date: "202212"
35 x-component: "Modeling"
48 description: cps Admin
54 $ref: 'cpsAdmin.yml#/dataspaces'
57 $ref: 'cpsAdmin.yml#/adminDataspaces'
59 /v1/admin/dataspaces/{dataspace-name}:
60 $ref: 'cpsAdmin.yml#/adminDataspace'
62 /v1/dataspaces/{dataspace-name}/anchors:
63 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
65 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
66 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
68 /v1/dataspaces/{dataspace-name}/schema-sets:
69 $ref: 'cpsAdmin.yml#/schemaSet'
71 /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
72 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
74 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
75 $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
77 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
78 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
80 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
81 $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor'
83 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
84 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'