caishunfeng commented on issue #10257:
URL:
https://github.com/apache/dolphinscheduler/issues/10257#issuecomment-1139373701
> 1. Do you guys have any goods suggestions for the new api' path? For
example using `/v2` to distinguish it from the old api.
> 2. Currently we use `{code: 0, msg: "成功", data: {}, failed: false,
success: true}` as our api's response structure. I suggest remove meaningless
`failed` and `success` and use `code` to judge success or failed. That is
`{code: 0, msg: "成功", data: {}}`.
>
> @zhongjiajie @songjianet @caishunfeng
Argee with you. we would better to use `/v2` api.
And I found the doc of resful api standard:
https://dolphinscheduler.apache.org/zh-cn/development/api-standard.html
--
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]