mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-10 18:30:25 +08:00
增加获取NS节点最新版本API
This commit is contained in:
6955
build/rpc.json
6955
build/rpc.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -55,6 +55,9 @@ service NSNodeService {
|
||||
// 检查NS节点新版本
|
||||
rpc checkNSNodeLatestVersion (CheckNSNodeLatestVersionRequest) returns (CheckNSNodeLatestVersionResponse);
|
||||
|
||||
// 获取NS节点最新版本
|
||||
rpc findLatestNSNodeVersion (FindLatestNSNodeVersionRequest) returns (FindLatestNSNodeVersionResponse);
|
||||
|
||||
// 下载最新NS节点安装文件
|
||||
rpc downloadNSNodeInstallationFile (DownloadNSNodeInstallationFileRequest) returns (DownloadNSNodeInstallationFileResponse);
|
||||
|
||||
@@ -213,6 +216,15 @@ message CheckNSNodeLatestVersionResponse {
|
||||
string newVersion = 2;
|
||||
}
|
||||
|
||||
// 取得最新的版本号
|
||||
message FindLatestNSNodeVersionRequest {
|
||||
|
||||
}
|
||||
|
||||
message FindLatestNSNodeVersionResponse {
|
||||
string version = 1;
|
||||
}
|
||||
|
||||
// 下载最新NS节点安装文件
|
||||
message DownloadNSNodeInstallationFileRequest {
|
||||
string os = 1;
|
||||
|
||||
Reference in New Issue
Block a user