shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2021 Nordix Foundation |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 3 | # Modifications Copyright (C) 2021 Pantheon.tech |
shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 10 | # |
shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 20 | openapi: 3.0.1 |
| 21 | info: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 22 | title: ONAP Open API v3 Configuration Persistence Service |
| 23 | description: Configuration Persistence Service is a Model Driven Generic Database |
| 24 | version: "1.0.0" |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 25 | contact: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 26 | name: ONAP |
| 27 | url: "https://onap.readthedocs.io" |
| 28 | email: "onap-discuss@lists.onap.org" |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 29 | license: |
Rishi.Chail | cc6e5e2 | 2021-01-24 20:33:50 +0000 | [diff] [blame] | 30 | name: "Apache 2.0" |
| 31 | url: "http://www.apache.org/licenses/LICENSE-2.0" |
| 32 | x-planned-retirement-date: "202212" |
| 33 | x-component: "Modeling" |
| 34 | x-logo: |
| 35 | url: "cps_logo.png" |
| 36 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 37 | servers: |
JosephKeenan | 2472e61 | 2021-06-23 14:15:52 +0100 | [diff] [blame^] | 38 | - url: /cps/api |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 39 | tags: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 40 | - name: cps-admin |
| 41 | description: cps Admin |
| 42 | - name: cps-data |
| 43 | description: cps Data |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 44 | paths: |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 45 | |
Ruslan Kashapov | 5a8718b | 2020-12-10 10:49:59 +0200 | [diff] [blame] | 46 | /v1/dataspaces: |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 47 | $ref: 'cpsAdmin.yml#/dataspaces' |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 48 | |
Rishi.Chail | 6d13f16 | 2021-01-26 05:58:39 +0000 | [diff] [blame] | 49 | /v1/dataspaces/{dataspace-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 50 | $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName' |
| 51 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 52 | /v1/dataspaces/{dataspace-name}/anchors: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 53 | $ref: 'cpsAdmin.yml#/anchorsByDataspace' |
| 54 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 55 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 56 | $ref: 'cpsAdmin.yml#/anchorByDataspaceAndAnchorName' |
| 57 | |
| 58 | /v1/dataspaces/{dataspace-name}/schema-sets: |
| 59 | $ref: 'cpsAdmin.yml#/schemaSet' |
| 60 | |
| 61 | /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}: |
| 62 | $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName' |
| 63 | |
Rishi.Chail | dacc663 | 2021-01-27 04:27:34 +0000 | [diff] [blame] | 64 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node: |
| 65 | $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor' |
| 66 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 67 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 68 | $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor' |
| 69 | |
Ruslan Kashapov | 0905ac1 | 2021-05-05 13:11:50 +0300 | [diff] [blame] | 70 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-node: |
| 71 | $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor' |
| 72 | |
niamhcore | f7ba359 | 2020-10-19 12:48:06 +0100 | [diff] [blame] | 73 | /v1/dataspaces/{dataspace-name}/nodes: |
puthuparambil.aditya | 001e773 | 2021-01-13 12:06:20 +0000 | [diff] [blame] | 74 | $ref: 'cpsData.yml#/nodesByDataspace' |
niamhcore | 53f07ac | 2021-02-19 13:14:40 +0000 | [diff] [blame] | 75 | |
| 76 | /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query: |
lukegleeson | 15b93e7 | 2021-07-07 15:25:30 +0100 | [diff] [blame] | 77 | $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath' |