diff options
Diffstat (limited to 'openapi/openapi.yml')
-rw-r--r-- | openapi/openapi.yml | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/openapi/openapi.yml b/openapi/openapi.yml index 24854e9c..4bca4108 100644 --- a/openapi/openapi.yml +++ b/openapi/openapi.yml @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (C) 2021 Nordix Foundation +# Copyright (C) 2021-2023 Nordix Foundation # Modifications Copyright (C) 2022 Bell Canada # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); @@ -150,32 +150,28 @@ paths: '500': $ref: 'components.yml#/components/responses/ServerError' - /v1/ch/batch/data/ds/{datastore-name}: + /v1/data: post: tags: - dmi-plugin - summary: Get a collection of CMHandles - description: Get a collection of cm handles by datastore (not implemented) - operationId: getResourceDataByCmHandles + summary: Get resource data for batch of cm handle ids. + description: Get resource data for batch of cm handle ids by supplied operation details + operationId: getResourceDataForCmHandleBatch parameters: - - $ref: 'components.yml#/components/parameters/datastoreName' - - $ref: 'components.yml#/components/parameters/topicParamInQuery' + - $ref: 'components.yml#/components/parameters/requiredTopicParamInQuery' + - $ref: 'components.yml#/components/parameters/requiredRequestIdParamInQuery' requestBody: - description: Contains collection of cm handles with it's private properties and requestId - content: - application/json: - schema: - type: object - responses: - '200': - description: OK + description: list of operation details 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 + $ref: 'components.yml#/components/schemas/ResourceBatchDataRequest' + responses: + '202': + description: Accepted + '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 |