1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021-2022 Bell Canada.
3 # Modifications Copyright (C) 2021-2023 Nordix Foundation
4 # Modifications Copyright (C) 2022-2023 TechMahindra Ltd.
5 # Modifications Copyright (C) 2022 Deutsche Telekom AG
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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.
19 # SPDX-License-Identifier: Apache-2.0
20 # ============LICENSE_END=========================================================
27 title: Anchor details by anchor Name
37 example: my-schema-set
41 title: Dataspace details by dataspace Name
65 description: multipartFile
70 title: Module reference object
74 example: my-module-reference-name
77 example: my-module-reference-namespace
80 example: my-module-reference-revision
84 title: Schema set details by dataspace and schemasetName
94 $ref: '#/components/schemas/ModuleReferences'
97 example: my-schema-set
103 bookstore-name: Chapters
111 <stores xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
112 <bookstore xmlns="org:onap:ccsdk:sample">
113 <bookstore-name>Chapters</bookstore-name>
120 dataSampleAcrossAnchors:
122 - anchorName: bookstore1
125 bookstore-name: Chapters
131 - anchorName: bookstore2
134 bookstore-name: Chapters
142 dataspaceNameInQuery:
145 description: dataspace-name
149 example: my-dataspace
153 description: dataspace-name
157 example: my-dataspace
161 description: anchor-name
166 schemaSetNameInQuery:
167 name: schema-set-name
169 description: schema-set-name
173 example: my-schema-set
175 name: schema-set-name
177 description: schema-set-name
181 example: my-schema-set
185 description: anchor-name
193 description: For more details on xpath, please refer https://docs.onap.org/projects/onap-cps/en/latest/xpath.html
200 value: /shops/bookstore
201 list attributes xpath:
202 value: /shops/bookstore/categories[@code=1]
203 requiredXpathInQuery:
206 description: For more details on xpath, please refer https://docs.onap.org/projects/onap-cps/en/latest/xpath.html
212 value: /shops/bookstore
213 list attributes xpath:
214 value: /shops/bookstore/categories[@code=1]
218 description: For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html
226 list attributes cps path:
227 value: //categories[@code=1]
228 includeDescendantsOptionInQuery:
229 name: include-descendants
231 description: include-descendants
237 observedTimestampInQuery:
238 name: observed-timestamp
240 description: observed-timestamp
244 example: '2021-03-21T00:10:34.030-0100'
248 description: apiVersion
257 description: Content type header
260 example: 'application/json'
265 description: Number of descendants to query. Allowed values are 'none', 'all', 'direct', 1 (for direct), -1 (for all), 0 (for none) and any positive number.
274 description: page index for pagination over anchors. It must be greater then zero if provided.
282 description: number of records (anchors) per page. It must be greater then zero if provided.
290 description: The specified resource was not found
294 $ref: '#/components/schemas/ErrorMessage'
297 message: Resource Not Found
298 details: The requested resource is not found
300 description: Unauthorized
304 $ref: '#/components/schemas/ErrorMessage'
307 message: Unauthorized request
308 details: This request is unauthorized
310 description: Forbidden
314 $ref: '#/components/schemas/ErrorMessage'
317 message: Request Forbidden
318 details: This request is forbidden
320 description: Bad Request
324 $ref: '#/components/schemas/ErrorMessage'
328 details: The provided request is not valid
330 description: Conflict
334 $ref: '#/components/schemas/ErrorMessage'
337 message: Conflicting request
338 details: The request cannot be processed as the resource is in use.
356 description: Created without response body
358 description: Internal Server Error
362 $ref: "#/components/schemas/ErrorMessage"
365 message: Internal Server Error
366 details: Internal Server Error occurred
368 description: No Content