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
Core module for rest api definition. Refer to #6983
前缀 /v1/core/cluster 改为 /v2/core/cluster
接口
self get /self 改为 get /nodes/self
listNodes 入参由 keyword 改为 address,url 不动,为/nodes
listSimpleNodes 整合到listNodes接口中,入参为state,该接口特定值为up。整合后返回值为Member集合
getHealth 使用 self 接口。使用后返回值为Member
report post /report 改为 put /nodes,接口名改为updateNodes,入参改为List
switchLookup post /switch/lookup 改为 put /lookup,参数类型改为requestBody,接口名改为updateLookup
leave post /service/leave 改为 delete /nodes,接口名改为deleteNodes
前缀 /v1/core/ops 改为 /v2/core/ops
raftOps 不动
idInfo get /idInfo 改为 get /ids,接口名改为listIds
setLogLevel put /log 不动,入参类型改为requestBody,接口名改为updateLog
The text was updated successfully, but these errors were encountered:
hii
Sorry, something went wrong.
[ISSUE #6970] Add rest api v2 in core module (#7085)
87ddbef
* Add rest api v2 in core module * merge cluster listNodes methods * ut * add beta annotation
Successfully merging a pull request may close this issue.
Core module for rest api definition. Refer to #6983
NacosClusterController
前缀 /v1/core/cluster 改为 /v2/core/cluster
接口
self get /self 改为 get /nodes/self
listNodes 入参由 keyword 改为 address,url 不动,为/nodes
listSimpleNodes 整合到listNodes接口中,入参为state,该接口特定值为up。整合后返回值为Member集合
getHealth 使用 self 接口。使用后返回值为Member
report post /report 改为 put /nodes,接口名改为updateNodes,入参改为List
switchLookup post /switch/lookup 改为 put /lookup,参数类型改为requestBody,接口名改为updateLookup
leave post /service/leave 改为 delete /nodes,接口名改为deleteNodes
CoreOpsController
前缀 /v1/core/ops 改为 /v2/core/ops
接口
raftOps 不动
idInfo get /idInfo 改为 get /ids,接口名改为listIds
setLogLevel put /log 不动,入参类型改为requestBody,接口名改为updateLog
The text was updated successfully, but these errors were encountered: