We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8cf825 commit 6968b70Copy full SHA for 6968b70
1 file changed
src/api/v1/misc.md
@@ -177,3 +177,28 @@ GET /v1/misc/gray-status
177
"msg": "success" // 返回消息
178
}
179
```
180
+
181
+## 获取自动更新最新版本
182
183
+GET /v1/misc/auto-update
184
185
+参数:
186
+```
187
+platform=windows // 目标平台标识符,windows,android,macos,ios
188
+userId=123 // 获取更新的用户ID
189
190
191
+响应体:
192
+```XML
193
+<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
194
+ <channel>
195
+ <title>云湖社交</title>
196
+ <description>云湖社交更新中</description>
197
+ <item>
198
+ <enclosure url="" sparkle:dsaSignature="" sparkle:version="+0" sparkle:os="windows" length="0" type="application/octet-stream"></enclosure>
199
+// url属性为更新安装包网址,参数platform为macos,ios是此值可能为空
200
+// version属性为版本号
201
+ </item>
202
+ </channel>
203
+</rss>
204
0 commit comments