Lee Anjella Macabuhay | ebb0af8 | 2024-10-03 13:47:14 +0000 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
danielhanrahan | 5574043 | 2024-10-17 14:55:49 +0100 | [diff] [blame] | 2 | # Copyright (C) 2021-2024 Nordix Foundation |
Lee Anjella Macabuhay | ebb0af8 | 2024-10-03 13:47:14 +0000 | [diff] [blame] | 3 | # 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 | |
| 22 | openapi: 3.0.3 |
| 23 | info: |
| 24 | title: ONAP Open API v3 Configuration Persistence Service |
| 25 | description: Configuration Persistence Service is a Model Driven Generic Database |
mpriyank | 205bd9f | 2024-12-03 16:14:53 +0000 | [diff] [blame] | 26 | version: "3.5.5" |
Lee Anjella Macabuhay | ebb0af8 | 2024-10-03 13:47:14 +0000 | [diff] [blame] | 27 | 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 | |
| 35 | servers: |
| 36 | - url: /cps/api |
| 37 | components: |
| 38 | securitySchemes: |
| 39 | basicAuth: |
| 40 | type: http |
| 41 | scheme: basic |
| 42 | tags: |
| 43 | - name: cps-admin |
| 44 | description: cps Admin |
| 45 | - name: cps-data |
| 46 | description: cps Data |
| 47 | paths: |
| 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 | |
| 115 | security: |
| 116 | - basicAuth: [] |