summaryrefslogtreecommitdiffstats
path: root/openapi/openapi.yml
diff options
context:
space:
mode:
authorleventecsanyi <levente.csanyi@est.tech>2023-04-05 11:42:30 +0200
committerleventecsanyi <levente.csanyi@est.tech>2023-04-17 12:06:01 +0200
commitfff80c048f90ad6b58a00329e514f0c2e5c41dd5 (patch)
treec710d2222d04afb9ce49cee29e88c4ccbb659b10 /openapi/openapi.yml
parentc4a18054d489a83efb99a8975585631e5ecd0b10 (diff)
Define an interface to accept collection of cm handles for Get operation.
- Added REST endpoint (Not Implemented yet) - Created unit test Issue-ID: CPS-1555 Change-Id: I24ce8d663602c08cc207f4657289631439d3fb9e Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Diffstat (limited to 'openapi/openapi.yml')
-rw-r--r--openapi/openapi.yml36
1 files changed, 33 insertions, 3 deletions
diff --git a/openapi/openapi.yml b/openapi/openapi.yml
index 38d5cef5..24854e9c 100644
--- a/openapi/openapi.yml
+++ b/openapi/openapi.yml
@@ -119,8 +119,8 @@ paths:
post:
tags:
- dmi-plugin
- summary: Get resource data from passthrough operational or running for cm handles
- description: Get resource data from passthrough operational or running for cm handles
+ summary: Get resource data from passthrough operational or running for a cm handle
+ description: Get resource data from passthrough operational or running for a cm handle
operationId: dataAccessPassthrough
parameters:
- $ref: 'components.yml#/components/parameters/datastoreName'
@@ -148,4 +148,34 @@ paths:
'400':
$ref: 'components.yml#/components/responses/BadRequest'
'500':
- $ref: 'components.yml#/components/responses/ServerError' \ No newline at end of file
+ $ref: 'components.yml#/components/responses/ServerError'
+
+ /v1/ch/batch/data/ds/{datastore-name}:
+ post:
+ tags:
+ - dmi-plugin
+ summary: Get a collection of CMHandles
+ description: Get a collection of cm handles by datastore (not implemented)
+ operationId: getResourceDataByCmHandles
+ parameters:
+ - $ref: 'components.yml#/components/parameters/datastoreName'
+ - $ref: 'components.yml#/components/parameters/topicParamInQuery'
+ requestBody:
+ description: Contains collection of cm handles with it's private properties and requestId
+ content:
+ application/json:
+ schema:
+ type: object
+ responses:
+ '200':
+ description: OK
+ content:
+ application/json:
+ schema:
+ type: object
+ '400':
+ $ref: 'components.yml#/components/responses/BadRequest'
+ '500':
+ $ref: 'components.yml#/components/responses/ServerError'
+ '501':
+ $ref: 'components.yml#/components/responses/NotImplemented' \ No newline at end of file