summaryrefslogtreecommitdiffstats
path: root/cps-rest/src/main/resources/static/cpsData.yml
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-08-19 15:42:53 +0000
committerGerrit Code Review <gerrit@onap.org>2021-08-19 15:42:53 +0000
commitffc05ea4b84ee3ca36c2278a4d4ded9f8e0371d1 (patch)
treeb0cdf9ee6db5447b51e6af073c4845812e1380d3 /cps-rest/src/main/resources/static/cpsData.yml
parentdb89e9c72388a7eb0a2132f7c25a213a925a0478 (diff)
parent05701dda6edf6b8e7c06699a7b44247359c46cfb (diff)
Merge "Delete list-node p2 rest layer"
Diffstat (limited to 'cps-rest/src/main/resources/static/cpsData.yml')
-rw-r--r--cps-rest/src/main/resources/static/cpsData.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/cps-rest/src/main/resources/static/cpsData.yml b/cps-rest/src/main/resources/static/cpsData.yml
index 7e9f71d62b..9c4f3334e1 100644
--- a/cps-rest/src/main/resources/static/cpsData.yml
+++ b/cps-rest/src/main/resources/static/cpsData.yml
@@ -97,6 +97,26 @@ listNodeByDataspaceAndAnchor:
'403':
$ref: 'components.yml#/components/responses/Forbidden'
+ delete:
+ description: Delete list-node child elements under existing node for a given anchor and dataspace
+ tags:
+ - cps-data
+ summary: Delete list-node child element(s) under existing parent node
+ operationId: deleteListNodeElements
+ parameters:
+ - $ref: 'components.yml#/components/parameters/dataspaceNameInPath'
+ - $ref: 'components.yml#/components/parameters/anchorNameInPath'
+ - $ref: 'components.yml#/components/parameters/requiredXpathInQuery'
+ responses:
+ '204':
+ $ref: 'components.yml#/components/responses/NoContent'
+ '400':
+ $ref: 'components.yml#/components/responses/BadRequest'
+ '401':
+ $ref: 'components.yml#/components/responses/Unauthorized'
+ '403':
+ $ref: 'components.yml#/components/responses/Forbidden'
+
nodesByDataspaceAndAnchor:
post:
description: Create a node for a given anchor and dataspace