Pochatkin commented on code in PR #1789:
URL: https://github.com/apache/ignite-3/pull/1789#discussion_r1138466044
##########
modules/rest-api/openapi/openapi.yaml:
##########
@@ -386,6 +386,35 @@ paths:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
+ /management/v1/deployment/units/consistentId/{consistentId}:
+ get:
+ tags:
+ - deployment
+ description: Status of units which deployed on node.
+ operationId: byConsistentId
+ parameters:
+ - name: consistentId
+ in: path
+ required: true
+ schema:
+ required:
+ - "true"
+ type: string
+ responses:
+ "200":
+ description: All statutes returned successful.
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/UnitStatus'
+ "500":
Review Comment:
In my opinion empty list is more clearer here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]