We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As we discuss in #684 (comment), we should apply REST principles in the urls of http interfaces
No response
The text was updated successfully, but these errors were encountered:
[#999] improvement: apply REST principles in the urls of the http int…
e17b24f
…erfaces (#1000) ### What changes were proposed in this pull request? Apply REST principles in the urls of the http interfaces ### Why are the changes needed? Fix: #999 ### Does this PR introduce _any_ user-facing change? Env: Server IP: 127.0.0.1 HTTP port: 19998 RPC port: 19999 #### Decommission single shuffle server example: ``` curl -XPOST -H "Content-type:application/json" "http://127.0.0.1:19998/api/server/127.0.0.1-19999/decommission" ``` #### Cancel decommission single shuffle server example: ``` curl -XPOST -H "Content-type:application/json" "http://127.0.0.1:19998/api/server/127.0.0.1-19999/cancelDecommission" ``` #### Fetch single shuffle server: ``` curl -X GET http://127.0.0.1:19998/api/server/127.0.0.1-19999 ``` #### Fetch server list: ``` #path: /api/server/nodes/[{status}] curl "http://127.0.0.1:19998/api/server/nodes" curl "http://127.0.0.1:19998/api/server/nodes/DECOMMISSIONING" curl "http://127.0.0.1:19998/api/server/nodes/ACTIVE" ``` ### How was this patch tested? UT Co-authored-by: xianjingfeng <xianjingfeng@apache.org>
Successfully merging a pull request may close this issue.
Code of Conduct
Search before asking
What would you like to be improved?
As we discuss in #684 (comment), we should apply REST principles in the urls of http interfaces
How should we improve?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: