starsz commented on issue #2105:
URL: 
https://github.com/apache/apisix-dashboard/issues/2105#issuecomment-916185271


   Hi @liuxiran, sorry for the late reply.
   
   > In case the user defines two routes with duplicate IDs, using the PUT 
method, the latter will override the former. if I've missed any details, please 
point them out
   
   It's right, this may be another way that is called `update`.
   
   > kubesphere API does
   This is a special API IMO, if you look at others like,they don't return the 
delete info:
   
   https://kubesphere.io/api/kubesphere/#operation/DeleteGroup
   https://kubesphere.io/api/kubesphere/#operation/DeleteNamespace
   https://kubesphere.io/api/kubesphere/#operation/DeleteClusterRole
   https://kubesphere.io/api/kubesphere/#operation/DeleteGlobalRole
   https://kubesphere.io/api/kubesphere/#operation/DeleteClusterRole
   
   > IMO we mainly want to get the route info, return them directly is a better 
way
   
   It's not a good way. Please refer to other API docs like github, kubesphere, 
etc.


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


Reply via email to