File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,19 +21,26 @@ POST /v1/file/send
2121{
2222 " userId" : " 123" , // 目标用户ID
2323 " deviceId" : " 123" , // 目标用户指定分享的设备ID,为空则为发送给目标用户的所有设备
24- " fileData" : " {}" // 文件分享数据,格式为json转义,以下为fileData转义部分格式
25- // {
26- // "path": "C:\\Windows\\test.exe", // 文件原始目录
27- // "size": 5774088, // 文件大小
28- // "name": "test.exe", // 文件名称
29- // "isDirectory": 0, // 未知
30- // "count": 1, // 未知
31- // "current": 1, // 未知
32- // "uuid": "123123123123123123" // 文件分享uuid,应该是随机的,可以随便写
33- // }
24+ " fileData" : " {}" // 文件分享数据,格式为json转义
3425}
3526```
3627
28+ ::: fileData属性,json数据格式
29+
30+ ``` JSONC
31+ {
32+ " path" : " C:\\ Windows\\ test.exe" , // 文件原始目录
33+ " size" : 5774088 , // 文件大小
34+ " name" : " test.exe" , // 文件名称
35+ " isDirectory" : 0 , // 未知
36+ " count" : 1 , // 未知
37+ " current" : 1 , // 未知
38+ " uuid" : " 123123123123123123" // 文件分享uuid,应该是随机的,可以随便写
39+ }
40+ ```
41+
42+ :::
43+
3744响应体:
3845
3946``` JSONC
You can’t perform that action at this time.
0 commit comments