Missing licence info added in pom file
[cps.git] / cps-rest / docs / openapi / openapi.yml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2021 Nordix Foundation
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14 #
15 #  SPDX-License-Identifier: Apache-2.0
16 #  ============LICENSE_END=========================================================
17
18 openapi: 3.0.1
19 info:
20   title: ONAP Open API v3 Configuration Persistence Service
21   description: Configuration Persistence Service is a Model Driven Generic Database
22   version: "1.0.0"
23   contact:
24      name: ONAP
25      url: "https://onap.readthedocs.io"
26      email: "onap-discuss@lists.onap.org"
27   license:
28       name: "Apache 2.0"
29       url: "http://www.apache.org/licenses/LICENSE-2.0"
30   x-planned-retirement-date: "202212"
31   x-component: "Modeling"
32   x-logo:
33       url: "cps_logo.png"
34
35 servers:
36   - url: //localhost:8088
37 tags:
38   - name: cps-admin
39     description: cps Admin
40   - name: cps-data
41     description: cps Data 
42 paths:
43
44   /v1/dataspaces:
45     $ref: 'cpsAdmin.yml#/dataspaces'
46
47   /v1/dataspaces/{dataspace-name}:
48     $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName'
49
50   /v1/dataspaces/{dataspace-name}/anchors:
51     $ref: 'cpsAdmin.yml#/anchorsByDataspace'
52
53   /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}:
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
62   /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node:
63     $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor'
64
65   /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes:
66     $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor'
67
68   /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/list-node:
69     $ref: 'cpsData.yml#/listNodeByDataspaceAndAnchor'
70
71   /v1/dataspaces/{dataspace-name}/nodes:
72     $ref: 'cpsData.yml#/nodesByDataspace'
73
74   /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
75     $ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'