shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
egernug | 9426ae8 | 2023-06-21 11:16:02 +0100 | [diff] [blame] | 2 | # Copyright (C) 2021-2023 Nordix Foundation |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021 Pantheon.tech |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 4 | # Modifications Copyright (C) 2021 Bell Canada. |
Arpit Singh | d7fa960 | 2023-09-07 17:05:37 +0530 | [diff] [blame] | 5 | # Modifications Copyright (C) 2022-2024 TechMahindra Ltd. |
shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 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 |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 12 | # |
shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 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 | |
egernug | 9426ae8 | 2023-06-21 11:16:02 +0100 | [diff] [blame] | 22 | openapi: 3.0.3 |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 23 | info: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 24 | title: ONAP Open API v3 Configuration Persistence Service |
| 25 | description: Configuration Persistence Service is a Model Driven Generic Database |
mpriyank | 810be17 | 2024-07-29 16:11:53 +0100 | [diff] [blame] | 26 | version: "3.5.1" |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 27 | contact: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 28 | name: ONAP |
| 29 | url: "https://onap.readthedocs.io" |
| 30 | email: "onap-discuss@lists.onap.org" |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 31 | license: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 32 | name: "Apache 2.0" |
| 33 | url: "http://www.apache.org/licenses/LICENSE-2.0" |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 34 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 35 | servers: |
JosephKeenan | 2472e61 | 2021-06-23 14:15:52 +0100 | [diff] [blame] | 36 | - url: /cps/api |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 37 | components: |
| 38 | securitySchemes: |
| 39 | basicAuth: |
| 40 | type: http |
| 41 | scheme: basic |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 42 | tags: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 43 | - name: cps-admin |
| 44 | description: cps Admin |
| 45 | - name: cps-data |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 46 | description: cps Data |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 47 | paths: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 48 | |
Ruslan Kashapov | 5a8718b | 2020-12-10 10:49:59 +0200 | [diff] [blame] | 49 | /v1/dataspaces: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 50 | $ref: 'cpsAdminV1Deprecated.yml#/dataspaces' |
| 51 | |
| 52 | /{apiVersion}/dataspaces: |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 53 | $ref: 'cpsAdmin.yml#/dataspaces' |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 54 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 55 | /v2/dataspaces: |
| 56 | $ref: 'cpsAdminV2.yml#/dataspaces' |
| 57 | |
| 58 | /{apiVersion}/admin/dataspaces: |
rajesh.kumar | cec0cb7 | 2022-09-06 11:47:18 +0000 | [diff] [blame] | 59 | $ref: 'cpsAdmin.yml#/adminDataspaces' |
| 60 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 61 | /{apiVersion}/admin/dataspaces/{dataspace-name}: |
rajesh.kumar | cec0cb7 | 2022-09-06 11:47:18 +0000 | [diff] [blame] | 62 | $ref: 'cpsAdmin.yml#/adminDataspace' |
| 63 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 64 | /v1/dataspaces/{dataspace-name}/anchors: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 65 | $ref: 'cpsAdminV1Deprecated.yml#/anchorsByDataspace' |
| 66 | |
| 67 | /v2/dataspaces/{dataspace-name}/anchors: |
| 68 | $ref: 'cpsAdminV2.yml#/anchorsByDataspace' |
| 69 | |
| 70 | /{apiVersion}/dataspaces/{dataspace-name}/anchors: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 71 | $ref: 'cpsAdmin.yml#/anchorsByDataspace' |
| 72 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 73 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 74 | $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName' |
| 75 | |
| 76 | /v1/dataspaces/{dataspace-name}/schema-sets: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 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: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 83 | $ref: 'cpsAdmin.yml#/schemaSet' |
| 84 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 85 | /{apiVersion}/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 86 | $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName' |
| 87 | |
rajesh.kumar | cc21a02 | 2022-12-06 11:47:24 +0000 | [diff] [blame] | 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' |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 93 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 94 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 95 | $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor' |
| 96 | |
Renu Kumari | 7edbeb6 | 2021-08-30 07:45:52 -0400 | [diff] [blame] | 97 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 98 | $ref: 'cpsDataV1Deprecated.yml#/listElementByDataspaceAndAnchor' |
| 99 | |
| 100 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes: |
DylanB95EST | a79c9f1 | 2021-10-29 17:33:06 +0100 | [diff] [blame] | 101 | $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor' |
Ruslan Kashapov | 0905ac1 | 2021-05-05 13:11:50 +0300 | [diff] [blame] | 102 | |
Arpit Singh | d7fa960 | 2023-09-07 17:05:37 +0530 | [diff] [blame] | 103 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaAnchors: |
Arpit Singh | 0339c71 | 2023-08-02 18:35:31 +0530 | [diff] [blame] | 104 | $ref: 'cpsDataV2.yml#/deltaByDataspaceAndAnchors' |
| 105 | |
Arpit Singh | d7fa960 | 2023-09-07 17:05:37 +0530 | [diff] [blame] | 106 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/deltaPayload: |
| 107 | $ref: 'cpsDataV2.yml#/deltaByDataspaceAnchorAndPayload' |
| 108 | |
rajesh.kumar | cc21a02 | 2022-12-06 11:47:24 +0000 | [diff] [blame] | 109 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query: |
| 110 | $ref: 'cpsQueryV1Deprecated.yml#/nodesByDataspaceAndAnchorAndCpsPath' |
| 111 | |
| 112 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query: |
| 113 | $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndAnchorAndCpsPath' |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 114 | |
rajesh.kumar | a317890 | 2022-12-14 14:27:29 +0000 | [diff] [blame] | 115 | /v2/dataspaces/{dataspace-name}/nodes/query: |
| 116 | $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndCpsPath' |
| 117 | |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 118 | security: |
rajesh.kumar | 71e4f83 | 2022-09-14 05:11:32 +0000 | [diff] [blame] | 119 | - basicAuth: [] |