diff options
Diffstat (limited to 'docs/openapi/openapi.yml')
-rw-r--r-- | docs/openapi/openapi.yml | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml index af285f4e..f169efd0 100644 --- a/docs/openapi/openapi.yml +++ b/docs/openapi/openapi.yml @@ -136,7 +136,7 @@ paths: content: application/json: schema: - $ref: 'components.yml#/components/schemas/OperationalRequest' + $ref: 'components.yml#/components/schemas/DataAccessReadRequest' responses: '200': $ref: 'components.yml#/components/responses/Ok' @@ -165,7 +165,7 @@ paths: content: application/json: schema: - $ref: 'components.yml#/components/schemas/OperationalRequest' + $ref: 'components.yml#/components/schemas/DataAccessReadRequest' responses: '200': $ref: 'components.yml#/components/responses/Ok' @@ -175,3 +175,29 @@ paths: $ref: 'components.yml#/components/responses/Unauthorized' '403': $ref: 'components.yml#/components/responses/Forbidden' + + post: + description: Write data for a cmHandle using passthrough-running + tags: + - dmi-plugin + summary: Write data for a cmHandle + operationId: writeDataByPassthroughRunningForCmHandle + parameters: + - $ref: 'components.yml#/components/parameters/cmHandleInPath' + - $ref: 'components.yml#/components/parameters/resourceIdentifierInPath' + requestBody: + required: true + content: + application/json: + schema: + $ref: 'components.yml#/components/schemas/DataAccessWriteRequest' + responses: + '200': + $ref: 'components.yml#/components/responses/Ok' + '400': + $ref: 'components.yml#/components/responses/BadRequest' + '401': + $ref: 'components.yml#/components/responses/Unauthorized' + '403': + $ref: 'components.yml#/components/responses/Forbidden' + |