You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/27 08:46:36 UTC

[GitHub] [dolphinscheduler] songjianet commented on issue #10257: [DSIP-7] [API] Suggest refactor the backend api

songjianet commented on issue #10257:
URL: https://github.com/apache/dolphinscheduler/issues/10257#issuecomment-1139412365

   > > 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 lacks the patch request method.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org