blob: d1324f3040fa2ac2967ff2e65635ec153cf8c19a [file] [log] [blame]
Lee Anjella Macabuhayebb0af82024-10-03 13:47:14 +00001# ============LICENSE_START=======================================================
danielhanrahan55740432024-10-17 14:55:49 +01002# Copyright (C) 2021-2024 Nordix Foundation
Lee Anjella Macabuhayebb0af82024-10-03 13:47:14 +00003# Modifications Copyright (C) 2021 Pantheon.tech
4# Modifications Copyright (C) 2021 Bell Canada.
5# Modifications Copyright (C) 2022-2024 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
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
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.
18#
19# SPDX-License-Identifier: Apache-2.0
20# ============LICENSE_END=========================================================
21
22openapi: 3.0.3
23info:
24 title: ONAP Open API v3 Configuration Persistence Service
25 description: Configuration Persistence Service is a Model Driven Generic Database
mpriyank205bd9f2024-12-03 16:14:53 +000026 version: "3.5.5"
Lee Anjella Macabuhayebb0af82024-10-03 13:47:14 +000027 contact:
28 name: ONAP
29 url: "https://onap.readthedocs.io"
30 email: "onap-discuss@lists.onap.org"
31 license:
32 name: "Apache 2.0"
33 url: "http://www.apache.org/licenses/LICENSE-2.0"
34
35servers:
36 - url: /cps/api
37components:
38 securitySchemes:
39 basicAuth:
40 type: http
41 scheme: basic
42tags:
43 - name: cps-admin
44 description: cps Admin
45 - name: cps-data
46 description: cps Data
47paths:
48
49 /v1/dataspaces:
50 $ref: 'cpsAdminV1Deprecated.yml#/dataspaces'
51
52 /{apiVersion}/dataspaces:
53 $ref: 'cpsAdmin.yml#/dataspaces'
54
55 /v2/dataspaces:
56 $ref: 'cpsAdminV2.yml#/dataspaces'
57
58 /{apiVersion}/admin/dataspaces:
59 $ref: 'cpsAdmin.yml#/adminDataspaces'
60
61 /{apiVersion}/admin/dataspaces/{dataspace-name}:
62 $ref: 'cpsAdmin.yml#/adminDataspace'
63
64 /v1/dataspaces/{dataspace-name}/anchors:
65 $ref: 'cpsAdminV1Deprecated.yml#/anchorsByDataspace'
66
67 /v2/dataspaces/{dataspace-name}/anchors:
68 $ref: 'cpsAdminV2.yml#/anchorsByDataspace'
69
70 /{apiVersion}/dataspaces/{dataspace-name}/anchors:
71 $ref: 'cpsAdmin.yml#/anchorsByDataspace'
72
73 /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}:
74 $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName'
75
76 /v1/dataspaces/{dataspace-name}/schema-sets:
77 $ref: 'cpsAdminV1Deprecated.yml#/schemaSet'
78
79 /v2/dataspaces/{dataspace-name}/schema-sets:
80 $ref: 'cpsAdminV2.yml#/schemaSet'
81
82 /{apiVersion}/dataspaces/{dataspace-name}/schema-sets:
83 $ref: 'cpsAdmin.yml#/schemaSet'
84
85 /{apiVersion}/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}:
86 $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName'
87
88 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
89 $ref: 'cpsDataV1Deprecated.yml#/nodeByDataspaceAndAnchor'
90
91 /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
92 $ref: 'cpsDataV2.yml#/nodeByDataspaceAndAnchor'
93
94 /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
95 $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
96
97 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
98 $ref: 'cpsDataV1Deprecated.yml#/listElementByDataspaceAndAnchor'
99
100 /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes:
101 $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor'
102
103 /v2/dataspaces/{dataspace-name}/anchors/{source-anchor-name}/delta:
104 $ref: 'cpsDataV2.yml#/delta'
105
106 /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
107 $ref: 'cpsQueryV1Deprecated.yml#/nodesByDataspaceAndAnchorAndCpsPath'
108
109 /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
110 $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndAnchorAndCpsPath'
111
112 /v2/dataspaces/{dataspace-name}/nodes/query:
113 $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndCpsPath'
114
115security:
116 - basicAuth: []