summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest/docs
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-11-08 15:04:21 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-08 15:04:21 +0000
commitb6fe4eb602206e5495423ff8614eb5238829d115 (patch)
tree8525112c388aada07bed153d180ba5ab773720c7 /cps-ncmp-rest/docs
parent94a4b4575f4b5bfe53817db831cc7270dc2abae9 (diff)
parent919e9065d4aba17b5bbc16db5b0ee29130fd4b12 (diff)
Merge "Update operation passthrough running - openapi"
Diffstat (limited to 'cps-ncmp-rest/docs')
-rwxr-xr-xcps-ncmp-rest/docs/openapi/ncmp.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/ncmp.yml b/cps-ncmp-rest/docs/openapi/ncmp.yml
index 9e3560a2fa..611e84e01e 100755
--- a/cps-ncmp-rest/docs/openapi/ncmp.yml
+++ b/cps-ncmp-rest/docs/openapi/ncmp.yml
@@ -258,6 +258,37 @@ resourceDataForPassthroughRunning:
404:
$ref: 'components.yaml#/components/responses/NotFound'
+ put:
+ tags:
+ - network-cm-proxy
+ summary: Update resource data from pass-through running for a cm handle
+ description: Update resource data from pass-through running for the given cm handle
+ operationId: updateResourceDataRunningForCmHandle
+ parameters:
+ - $ref: 'components.yaml#/components/parameters/cmHandleInPath'
+ - $ref: 'components.yaml#/components/parameters/resourceIdentifierInQuery'
+ - $ref: 'components.yaml#/components/parameters/contentParamInHeader'
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: string
+ application/yang-data+json:
+ schema:
+ type: string
+ responses:
+ 200:
+ $ref: 'components.yaml#/components/responses/Ok'
+ 400:
+ $ref: 'components.yaml#/components/responses/BadRequest'
+ 401:
+ $ref: 'components.yaml#/components/responses/Unauthorized'
+ 403:
+ $ref: 'components.yaml#/components/responses/Forbidden'
+ 404:
+ $ref: 'components.yaml#/components/responses/NotFound'
+
fetchModuleReferencesByCmHandle:
get:
description: fetch all module references (name and revision) for a given cm handle