diff options
author | tragait <rahul.tyagi@est.tech> | 2021-08-19 15:17:56 +0100 |
---|---|---|
committer | tragait <rahul.tyagi@est.tech> | 2021-08-20 15:31:31 +0100 |
commit | 888dcd495ecb63bf678e7234e9dc34e0743cb412 (patch) | |
tree | 65e1208beacc9a11eeb08985a1d4b28a90f3864c /cps-ncmp-rest/docs | |
parent | dc5ed75c841da857611713bceed8bf9988204d3d (diff) |
Get resource data from pass through running (Ncmp impl.)
Issue-ID: CPS-580
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: I6dc37d9516078c87efc3f0c5bbd2b7b8a7155d48
Diffstat (limited to 'cps-ncmp-rest/docs')
-rwxr-xr-x | cps-ncmp-rest/docs/openapi/ncmproxy.yml | 25 | ||||
-rwxr-xr-x | cps-ncmp-rest/docs/openapi/openapi.yml | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/cps-ncmp-rest/docs/openapi/ncmproxy.yml b/cps-ncmp-rest/docs/openapi/ncmproxy.yml index ede0ec62f0..b2e14d714a 100755 --- a/cps-ncmp-rest/docs/openapi/ncmproxy.yml +++ b/cps-ncmp-rest/docs/openapi/ncmproxy.yml @@ -225,4 +225,29 @@ getResourceDataForPassthroughOperational: 403: $ref: 'components.yaml#/components/responses/Forbidden' 404: + $ref: 'components.yaml#/components/responses/NotFound' + +resourceDataForPassthroughRunning: + get: + tags: + - network-cm-proxy + summary: Get resource data from pass-through running for cm handle + description: Get resource data from pass-through running for given cm handle + operationId: getResourceDataRunningForCmHandle + parameters: + - $ref: 'components.yaml#/components/parameters/cmHandleInPath' + - $ref: 'components.yaml#/components/parameters/resourceIdentifierInPath' + - $ref: 'components.yaml#/components/parameters/acceptParamInHeader' + - $ref: 'components.yaml#/components/parameters/fieldsParamInQuery' + - $ref: 'components.yaml#/components/parameters/depthParamInQuery' + 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'
\ No newline at end of file diff --git a/cps-ncmp-rest/docs/openapi/openapi.yml b/cps-ncmp-rest/docs/openapi/openapi.yml index 5b7c8d205b..0dfe3c83a7 100755 --- a/cps-ncmp-rest/docs/openapi/openapi.yml +++ b/cps-ncmp-rest/docs/openapi/openapi.yml @@ -43,4 +43,5 @@ paths: /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational/{resourceIdentifier}: $ref: 'ncmproxy.yml#/getResourceDataForPassthroughOperational' -
\ No newline at end of file + /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running/{resourceIdentifier}: + $ref: 'ncmproxy.yml#/resourceDataForPassthroughRunning'
\ No newline at end of file |