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. |
rajesh.kumar | cc21a02 | 2022-12-06 11:47:24 +0000 | [diff] [blame] | 5 | # Modifications Copyright (C) 2022-2023 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 |
| 26 | version: "1.0.0" |
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" |
| 34 | x-planned-retirement-date: "202212" |
| 35 | x-component: "Modeling" |
| 36 | x-logo: |
| 37 | url: "cps_logo.png" |
| 38 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 39 | servers: |
JosephKeenan | 2472e61 | 2021-06-23 14:15:52 +0100 | [diff] [blame] | 40 | - url: /cps/api |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 41 | components: |
| 42 | securitySchemes: |
| 43 | basicAuth: |
| 44 | type: http |
| 45 | scheme: basic |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 46 | tags: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 47 | - name: cps-admin |
| 48 | description: cps Admin |
| 49 | - name: cps-data |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 50 | description: cps Data |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 51 | paths: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 52 | |
Ruslan Kashapov | 5a8718b | 2020-12-10 10:49:59 +0200 | [diff] [blame] | 53 | /v1/dataspaces: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 54 | $ref: 'cpsAdminV1Deprecated.yml#/dataspaces' |
| 55 | |
| 56 | /{apiVersion}/dataspaces: |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 57 | $ref: 'cpsAdmin.yml#/dataspaces' |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 58 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 59 | /v2/dataspaces: |
| 60 | $ref: 'cpsAdminV2.yml#/dataspaces' |
| 61 | |
| 62 | /{apiVersion}/admin/dataspaces: |
rajesh.kumar | cec0cb7 | 2022-09-06 11:47:18 +0000 | [diff] [blame] | 63 | $ref: 'cpsAdmin.yml#/adminDataspaces' |
| 64 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 65 | /{apiVersion}/admin/dataspaces/{dataspace-name}: |
rajesh.kumar | cec0cb7 | 2022-09-06 11:47:18 +0000 | [diff] [blame] | 66 | $ref: 'cpsAdmin.yml#/adminDataspace' |
| 67 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 68 | /v1/dataspaces/{dataspace-name}/anchors: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 69 | $ref: 'cpsAdminV1Deprecated.yml#/anchorsByDataspace' |
| 70 | |
| 71 | /v2/dataspaces/{dataspace-name}/anchors: |
| 72 | $ref: 'cpsAdminV2.yml#/anchorsByDataspace' |
| 73 | |
| 74 | /{apiVersion}/dataspaces/{dataspace-name}/anchors: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 75 | $ref: 'cpsAdmin.yml#/anchorsByDataspace' |
| 76 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 77 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 78 | $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName' |
| 79 | |
| 80 | /v1/dataspaces/{dataspace-name}/schema-sets: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 81 | $ref: 'cpsAdminV1Deprecated.yml#/schemaSet' |
| 82 | |
| 83 | /v2/dataspaces/{dataspace-name}/schema-sets: |
| 84 | $ref: 'cpsAdminV2.yml#/schemaSet' |
| 85 | |
| 86 | /{apiVersion}/dataspaces/{dataspace-name}/schema-sets: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 87 | $ref: 'cpsAdmin.yml#/schemaSet' |
| 88 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 89 | /{apiVersion}/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 90 | $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName' |
| 91 | |
rajesh.kumar | cc21a02 | 2022-12-06 11:47:24 +0000 | [diff] [blame] | 92 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node: |
| 93 | $ref: 'cpsDataV1Deprecated.yml#/nodeByDataspaceAndAnchor' |
| 94 | |
| 95 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/node: |
| 96 | $ref: 'cpsDataV2.yml#/nodeByDataspaceAndAnchor' |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 97 | |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 98 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 99 | $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor' |
| 100 | |
Renu Kumari | 7edbeb6 | 2021-08-30 07:45:52 -0400 | [diff] [blame] | 101 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes: |
rajesh.kumar | 897686f | 2022-12-14 08:13:29 +0000 | [diff] [blame] | 102 | $ref: 'cpsDataV1Deprecated.yml#/listElementByDataspaceAndAnchor' |
| 103 | |
| 104 | /{apiVersion}/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-nodes: |
DylanB95EST | a79c9f1 | 2021-10-29 17:33:06 +0100 | [diff] [blame] | 105 | $ref: 'cpsData.yml#/listElementByDataspaceAndAnchor' |
Ruslan Kashapov | 0905ac1 | 2021-05-05 13:11:50 +0300 | [diff] [blame] | 106 | |
Arpit Singh | 0339c71 | 2023-08-02 18:35:31 +0530 | [diff] [blame] | 107 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/delta: |
| 108 | $ref: 'cpsDataV2.yml#/deltaByDataspaceAndAnchors' |
| 109 | |
rajesh.kumar | cc21a02 | 2022-12-06 11:47:24 +0000 | [diff] [blame] | 110 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query: |
| 111 | $ref: 'cpsQueryV1Deprecated.yml#/nodesByDataspaceAndAnchorAndCpsPath' |
| 112 | |
| 113 | /v2/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query: |
| 114 | $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndAnchorAndCpsPath' |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 115 | |
rajesh.kumar | a317890 | 2022-12-14 14:27:29 +0000 | [diff] [blame] | 116 | /v2/dataspaces/{dataspace-name}/nodes/query: |
| 117 | $ref: 'cpsQueryV2.yml#/nodesByDataspaceAndCpsPath' |
| 118 | |
JosephKeenan | 1a65023 | 2022-10-20 10:33:24 +0100 | [diff] [blame] | 119 | security: |
rajesh.kumar | 71e4f83 | 2022-09-14 05:11:32 +0000 | [diff] [blame] | 120 | - basicAuth: [] |