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 06:53:23 UTC

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

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

   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 


-- 
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