1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
20 title: ONAP Open API v3 Configuration Persistence Service
21 description: Configuration Persistence Service is a Model Driven Generic Database
25 url: "https://onap.readthedocs.io"
26 email: "onap-discuss@lists.onap.org"
29 url: "http://www.apache.org/licenses/LICENSE-2.0"
30 x-planned-retirement-date: "202212"
31 x-component: "Modeling"
36 - url: //localhost:8088
39 description: cps Admin
45 $ref: 'cpsAdmin.yml#/dataspaces'
47 /v1/dataspaces/{dataspace-name}:
48 $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName'
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-node:
69 $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor'
71 /v1/dataspaces/{dataspace-name}/nodes:
72 $ref: 'cpsData.yml#/nodesByDataspace'
74 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
75 $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'