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