ms-vite-plugin 1.4.8 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,6 @@ code_clipboard: true
16
16
  highlight_theme: darkula
17
17
  headingLevel: 2
18
18
  generator: "@tarslib/widdershins v4.0.30"
19
-
20
19
  ---
21
20
 
22
21
  # 默认模块
@@ -35,15 +34,14 @@ POST /api/sync
35
34
 
36
35
  ```yaml
37
36
  string
38
-
39
37
  ```
40
38
 
41
39
  ### 请求参数
42
40
 
43
- |名称|位置|类型|必选|说明|
44
- |---|---|---|---|---|
45
- |projectName|query|string| 否 |项目名称|
46
- |body|body|string(binary)| 否 |none|
41
+ | 名称 | 位置 | 类型 | 必选 | 说明 |
42
+ | ----------- | ----- | -------------- | ---- | -------- |
43
+ | projectName | query | string | 否 | 项目名称 |
44
+ | body | body | string(binary) | 否 | none |
47
45
 
48
46
  > 返回示例
49
47
 
@@ -55,9 +53,9 @@ string
55
53
 
56
54
  ### 返回结果
57
55
 
58
- |状态码|状态码含义|说明|数据模型|
59
- |---|---|---|---|
60
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
56
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
57
+ | ------ | ------------------------------------------------------- | ---- | -------- |
58
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
61
59
 
62
60
  ### 返回数据结构
63
61
 
@@ -78,18 +76,18 @@ GET /api/runUI
78
76
 
79
77
  ### 返回结果
80
78
 
81
- |状态码|状态码含义|说明|数据模型|
82
- |---|---|---|---|
83
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
79
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
80
+ | ------ | ------------------------------------------------------- | ---- | -------- |
81
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
84
82
 
85
83
  ### 返回数据结构
86
84
 
87
85
  状态码 **200**
88
86
 
89
- |名称|类型|必选|约束|中文名|说明|
90
- |---|---|---|---|---|---|
91
- success|boolean|true|none|是否成功|none|
92
- message|string|true|none|提示信息|none|
87
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
88
+ | --------- | ------- | ---- | ---- | -------- | ---- |
89
+ | » success | boolean | true | none | 是否成功 | none |
90
+ | » message | string | true | none | 提示信息 | none |
93
91
 
94
92
  ## GET 运行脚本
95
93
 
@@ -108,18 +106,18 @@ GET /api/run
108
106
 
109
107
  ### 返回结果
110
108
 
111
- |状态码|状态码含义|说明|数据模型|
112
- |---|---|---|---|
113
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
109
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
110
+ | ------ | ------------------------------------------------------- | ---- | -------- |
111
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
114
112
 
115
113
  ### 返回数据结构
116
114
 
117
115
  状态码 **200**
118
116
 
119
- |名称|类型|必选|约束|中文名|说明|
120
- |---|---|---|---|---|---|
121
- success|boolean|true|none||none|
122
- message|string|true|none||none|
117
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
118
+ | --------- | ------- | ---- | ---- | ------ | ---- |
119
+ | » success | boolean | true | none | | none |
120
+ | » message | string | true | none | | none |
123
121
 
124
122
  ## GET 停止脚本
125
123
 
@@ -138,18 +136,18 @@ GET /api/stop
138
136
 
139
137
  ### 返回结果
140
138
 
141
- |状态码|状态码含义|说明|数据模型|
142
- |---|---|---|---|
143
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
139
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
140
+ | ------ | ------------------------------------------------------- | ---- | -------- |
141
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
144
142
 
145
143
  ### 返回数据结构
146
144
 
147
145
  状态码 **200**
148
146
 
149
- |名称|类型|必选|约束|中文名|说明|
150
- |---|---|---|---|---|---|
151
- success|boolean|true|none||none|
152
- message|string|true|none||none|
147
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
148
+ | --------- | ------- | ---- | ---- | ------ | ---- |
149
+ | » success | boolean | true | none | | none |
150
+ | » message | string | true | none | | none |
153
151
 
154
152
  ## GET 节点XML(仅Agent)
155
153
 
@@ -157,10 +155,10 @@ GET /api/source
157
155
 
158
156
  ### 请求参数
159
157
 
160
- |名称|位置|类型|必选|说明|
161
- |---|---|---|---|---|
162
- |max_depth|query|integer| 是 |页面深度|
163
- |timeout|query|integer| 是 |超时时间(单位秒)|
158
+ | 名称 | 位置 | 类型 | 必选 | 说明 |
159
+ | --------- | ----- | ------- | ---- | ------------------ |
160
+ | max_depth | query | integer | 是 | 页面深度 |
161
+ | timeout | query | integer | 是 | 超时时间(单位秒) |
164
162
 
165
163
  > 返回示例
166
164
 
@@ -172,9 +170,9 @@ GET /api/source
172
170
 
173
171
  ### 返回结果
174
172
 
175
- |状态码|状态码含义|说明|数据模型|
176
- |---|---|---|---|
177
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
173
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
174
+ | ------ | ------------------------------------------------------- | ---- | -------- |
175
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
178
176
 
179
177
  ### 返回数据结构
180
178
 
@@ -188,9 +186,9 @@ GET /api/screenshot
188
186
 
189
187
  ### 返回结果
190
188
 
191
- |状态码|状态码含义|说明|数据模型|
192
- |---|---|---|---|
193
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
189
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
190
+ | ------ | ------------------------------------------------------- | ---- | -------- |
191
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
194
192
 
195
193
  ### 返回数据结构
196
194
 
@@ -211,18 +209,18 @@ GET /api/screenshotBase64
211
209
 
212
210
  ### 返回结果
213
211
 
214
- |状态码|状态码含义|说明|数据模型|
215
- |---|---|---|---|
216
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
212
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
213
+ | ------ | ------------------------------------------------------- | ---- | -------- |
214
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
217
215
 
218
216
  ### 返回数据结构
219
217
 
220
218
  状态码 **200**
221
219
 
222
- |名称|类型|必选|约束|中文名|说明|
223
- |---|---|---|---|---|---|
224
- success|boolean|true|none|是否成功|none|
225
- data|string|true|none|base64 截图|none|
220
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
221
+ | --------- | ------- | ---- | ---- | ----------- | ---- |
222
+ | » success | boolean | true | none | 是否成功 | none |
223
+ | » data | string | true | none | base64 截图 | none |
226
224
 
227
225
  ## GET 获取已安装的应用列表
228
226
 
@@ -247,21 +245,21 @@ GET /api/apps
247
245
 
248
246
  ### 返回结果
249
247
 
250
- |状态码|状态码含义|说明|数据模型|
251
- |---|---|---|---|
252
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
248
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
249
+ | ------ | ------------------------------------------------------- | ---- | -------- |
250
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
253
251
 
254
252
  ### 返回数据结构
255
253
 
256
254
  状态码 **200**
257
255
 
258
- |名称|类型|必选|约束|中文名|说明|
259
- |---|---|---|---|---|---|
260
- data|[object]|true|none|应用列表|none|
261
- |»» appName|string|true|none|应用名称|none|
262
- |»» bundleIdentifier|string|true|none|应用bundleId|none|
263
- |»» bundleVersion|string|true|none|应用版本|none|
264
- success|boolean|true|none||none|
256
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
257
+ | ------------------- | -------- | ---- | ---- | ------------ | ---- |
258
+ | » data | [object] | true | none | 应用列表 | none |
259
+ | »» appName | string | true | none | 应用名称 | none |
260
+ | »» bundleIdentifier | string | true | none | 应用bundleId | none |
261
+ | »» bundleVersion | string | true | none | 应用版本 | none |
262
+ | » success | boolean | true | none | | none |
265
263
 
266
264
  ## GET 获取当前在前台的APP(仅Agent)
267
265
 
@@ -284,21 +282,21 @@ GET /api/activeAppInfo
284
282
 
285
283
  ### 返回结果
286
284
 
287
- |状态码|状态码含义|说明|数据模型|
288
- |---|---|---|---|
289
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
285
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
286
+ | ------ | ------------------------------------------------------- | ---- | -------- |
287
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
290
288
 
291
289
  ### 返回数据结构
292
290
 
293
291
  状态码 **200**
294
292
 
295
- |名称|类型|必选|约束|中文名|说明|
296
- |---|---|---|---|---|---|
297
- success|boolean|true|none||none|
298
- data|object|true|none||none|
299
- |»» name|string|true|none||none|
300
- |»» bundleId|string|true|none|应用包名|none|
301
- |»» pid|integer|true|none||none|
293
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
294
+ | ----------- | ------- | ---- | ---- | -------- | ---- |
295
+ | » success | boolean | true | none | | none |
296
+ | » data | object | true | none | | none |
297
+ | »» name | string | true | none | | none |
298
+ | »» bundleId | string | true | none | 应用包名 | none |
299
+ | »» pid | integer | true | none | | none |
302
300
 
303
301
  ## GET 获取屏幕亮度
304
302
 
@@ -317,18 +315,18 @@ GET /api/getScreenBrightness
317
315
 
318
316
  ### 返回结果
319
317
 
320
- |状态码|状态码含义|说明|数据模型|
321
- |---|---|---|---|
322
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
318
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
319
+ | ------ | ------------------------------------------------------- | ---- | -------- |
320
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
323
321
 
324
322
  ### 返回数据结构
325
323
 
326
324
  状态码 **200**
327
325
 
328
- |名称|类型|必选|约束|中文名|说明|
329
- |---|---|---|---|---|---|
330
- success|boolean|true|none|是否成功|none|
331
- data|number|true|none|屏幕亮度|范围 `0.0-1.0`|
326
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
327
+ | --------- | ------- | ---- | ---- | -------- | -------------- |
328
+ | » success | boolean | true | none | 是否成功 | none |
329
+ | » data | number | true | none | 屏幕亮度 | 范围 `0.0-1.0` |
332
330
 
333
331
  ## GET 设置屏幕亮度
334
332
 
@@ -336,9 +334,9 @@ GET /api/setScreenBrightness
336
334
 
337
335
  ### 请求参数
338
336
 
339
- |名称|位置|类型|必选|中文名|说明|
340
- |---|---|---|---|---|---|
341
- |brightness|query|number| 是 |屏幕亮度|范围 `0.0-1.0`|
337
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
338
+ | ---------- | ----- | ------ | ---- | -------- | -------------- |
339
+ | brightness | query | number | 是 | 屏幕亮度 | 范围 `0.0-1.0` |
342
340
 
343
341
  > 返回示例
344
342
 
@@ -352,17 +350,17 @@ GET /api/setScreenBrightness
352
350
 
353
351
  ### 返回结果
354
352
 
355
- |状态码|状态码含义|说明|数据模型|
356
- |---|---|---|---|
357
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
353
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
354
+ | ------ | ------------------------------------------------------- | ---- | -------- |
355
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
358
356
 
359
357
  ### 返回数据结构
360
358
 
361
359
  状态码 **200**
362
360
 
363
- |名称|类型|必选|约束|中文名|说明|
364
- |---|---|---|---|---|---|
365
- success|boolean|true|none|是否成功|none|
361
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
362
+ | --------- | ------- | ---- | ---- | -------- | ---- |
363
+ | » success | boolean | true | none | 是否成功 | none |
366
364
 
367
365
  ## GET 获取系统音量
368
366
 
@@ -381,18 +379,18 @@ GET /api/getVolume
381
379
 
382
380
  ### 返回结果
383
381
 
384
- |状态码|状态码含义|说明|数据模型|
385
- |---|---|---|---|
386
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
382
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
383
+ | ------ | ------------------------------------------------------- | ---- | -------- |
384
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
387
385
 
388
386
  ### 返回数据结构
389
387
 
390
388
  状态码 **200**
391
389
 
392
- |名称|类型|必选|约束|中文名|说明|
393
- |---|---|---|---|---|---|
394
- success|boolean|true|none|是否成功|none|
395
- data|number|true|none|系统音量|范围 `0.0-1.0`|
390
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
391
+ | --------- | ------- | ---- | ---- | -------- | -------------- |
392
+ | » success | boolean | true | none | 是否成功 | none |
393
+ | » data | number | true | none | 系统音量 | 范围 `0.0-1.0` |
396
394
 
397
395
  ## GET 设置系统音量
398
396
 
@@ -400,9 +398,9 @@ GET /api/setVolume
400
398
 
401
399
  ### 请求参数
402
400
 
403
- |名称|位置|类型|必选|中文名|说明|
404
- |---|---|---|---|---|---|
405
- |volume|query|number| 是 |系统音量|范围 `0.0-1.0`|
401
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
402
+ | ------ | ----- | ------ | ---- | -------- | -------------- |
403
+ | volume | query | number | 是 | 系统音量 | 范围 `0.0-1.0` |
406
404
 
407
405
  > 返回示例
408
406
 
@@ -416,17 +414,17 @@ GET /api/setVolume
416
414
 
417
415
  ### 返回结果
418
416
 
419
- |状态码|状态码含义|说明|数据模型|
420
- |---|---|---|---|
421
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
417
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
418
+ | ------ | ------------------------------------------------------- | ---- | -------- |
419
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
422
420
 
423
421
  ### 返回数据结构
424
422
 
425
423
  状态码 **200**
426
424
 
427
- |名称|类型|必选|约束|中文名|说明|
428
- |---|---|---|---|---|---|
429
- success|boolean|true|none|是否成功|none|
425
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
426
+ | --------- | ------- | ---- | ---- | -------- | ---- |
427
+ | » success | boolean | true | none | 是否成功 | none |
430
428
 
431
429
  ## POST 登录接口
432
430
 
@@ -444,19 +442,19 @@ POST /api/login
444
442
 
445
443
  ### 请求参数
446
444
 
447
- |名称|位置|类型|必选|中文名|说明|
448
- |---|---|---|---|---|---|
449
- |body|body|object| 是 ||none|
450
- serverType|body|string| 是 | 服务器类型|none|
451
- username|body|string| 是 | 用户名|none|
452
- password|body|string| 是 | 密码|none|
445
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
446
+ | ------------ | ---- | ------ | ---- | ---------- | ---- |
447
+ | body | body | object | 是 | | none |
448
+ | » serverType | body | string | 是 | 服务器类型 | none |
449
+ | » username | body | string | 是 | 用户名 | none |
450
+ | » password | body | string | 是 | 密码 | none |
453
451
 
454
452
  #### 枚举值
455
453
 
456
- |属性|值|
457
- |---|---|
458
- serverType|domestic|
459
- serverType|international|
454
+ | 属性 | 值 |
455
+ | ------------ | ------------- |
456
+ | » serverType | domestic |
457
+ | » serverType | international |
460
458
 
461
459
  > 返回示例
462
460
 
@@ -471,18 +469,18 @@ POST /api/login
471
469
 
472
470
  ### 返回结果
473
471
 
474
- |状态码|状态码含义|说明|数据模型|
475
- |---|---|---|---|
476
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
472
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
473
+ | ------ | ------------------------------------------------------- | ---- | -------- |
474
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
477
475
 
478
476
  ### 返回数据结构
479
477
 
480
478
  状态码 **200**
481
479
 
482
- |名称|类型|必选|约束|中文名|说明|
483
- |---|---|---|---|---|---|
484
- message|string|true|none|提示信息|none|
485
- success|boolean|true|none|是否成功|none|
480
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
481
+ | --------- | ------- | ---- | ---- | -------- | ---- |
482
+ | » message | string | true | none | 提示信息 | none |
483
+ | » success | boolean | true | none | 是否成功 | none |
486
484
 
487
485
  ## GET 登出接口
488
486
 
@@ -501,18 +499,18 @@ GET /api/logout
501
499
 
502
500
  ### 返回结果
503
501
 
504
- |状态码|状态码含义|说明|数据模型|
505
- |---|---|---|---|
506
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
502
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
503
+ | ------ | ------------------------------------------------------- | ---- | -------- |
504
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
507
505
 
508
506
  ### 返回数据结构
509
507
 
510
508
  状态码 **200**
511
509
 
512
- |名称|类型|必选|约束|中文名|说明|
513
- |---|---|---|---|---|---|
514
- success|boolean|true|none|是否成功|none|
515
- message|string|true|none|信息|none|
510
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
511
+ | --------- | ------- | ---- | ---- | -------- | ---- |
512
+ | » success | boolean | true | none | 是否成功 | none |
513
+ | » message | string | true | none | 信息 | none |
516
514
 
517
515
  ## GET 获取软件状态
518
516
 
@@ -550,7 +548,6 @@ GET /api/status
550
548
  "isRecording": true,
551
549
  "udid": "string",
552
550
  "serverDeviceId": "string",
553
- "isPipScriptControlEnabled": true,
554
551
  "orientation": "PORTRAIT",
555
552
  "osVersion": "string",
556
553
  "ecid": "string",
@@ -561,7 +558,6 @@ GET /api/status
561
558
  "isHidConnected": true,
562
559
  "isShowUI": true,
563
560
  "isLogin": true,
564
- "isPipWindowEnabled": true,
565
561
  "deviceId": "string"
566
562
  }
567
563
  }
@@ -569,62 +565,60 @@ GET /api/status
569
565
 
570
566
  ### 返回结果
571
567
 
572
- |状态码|状态码含义|说明|数据模型|
573
- |---|---|---|---|
574
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
575
-
576
- ### 返回数据结构
577
-
578
- 状态码 **200**
579
-
580
- |名称|类型|必选|约束|中文名|说明|
581
- |---|---|---|---|---|---|
582
- success|boolean|true|none|是否成功|none|
583
- data|[软件状态](#schema软件状态)|true|none||none|
584
- |»» deviceIp|string|true|none|设备IP|none|
585
- |»» screenInfo|object|true|none|屏幕信息|none|
586
- |»»» logicWidth|integer|true|none|逻辑宽带|none|
587
- |»»» logicHeight|integer|true|none|逻辑高度|none|
588
- |»»» height|integer|true|none|物理高度|none|
589
- |»»» width|integer|true|none|物理宽度|none|
590
- |»»» scale|number|true|none|缩放比|none|
591
- |»» deviceName|string|true|none|设备名称|none|
592
- |»» batteryInfo|object|true|none|电池信息|none|
593
- |»»» level|integer|true|none|电量 1-100|none|
594
- |»»» isCharging|boolean|true|none|是否充电中|none|
595
- |»» appName|string|true|none|app名称|none|
596
- |»» appBuildNumber|integer|true|none|app构建号|none|
597
- |»» appBundleId|string|true|none|app 包名|none|
598
- |»» deviceModel|string|true|none|设备型号|none|
599
- |»» agentConnected|boolean|true|none|agent是否连接|none|
600
- |»» isRun|boolean|true|none|脚本是否启动|none|
601
- |»» isDebugMode|boolean|true|none|是否调试模式运行|none|
602
- |»» isAuth|boolean|true|none|是否授权|none|
603
- |»» isRecording|boolean|true|none|是否录屏中|none|
604
- |»» udid|string|true|none|设备唯一 UDID|none|
605
- |»» serverDeviceId|string|true|none|服务器设备ID|none|
606
- |»» isPipScriptControlEnabled|boolean|true|none|悬浮窗控制是否打开|none|
607
- |»» orientation|string|true|none|屏幕方向|none|
608
- |»» osVersion|string|true|none|系统版本|none|
609
- |»» ecid|string|true|none|设备唯一 ECID|none|
610
- |»» isVolumeControlEnabled|boolean|true|none|是否开启了音量键启停|none|
611
- |»» agentVersion|string|true|none|agent版本号|none|
612
- |»» appVersion|string|true|none|app版本号|none|
613
- |»» serverType|string|true|none|授权服务器类型|none|
614
- |»» isHidConnected|boolean|true|none|hid设备是否连接|none|
615
- |»» isShowUI|boolean|true|none|实现显示了 UI|none|
616
- |»» isLogin|boolean|true|none|是否登录|none|
617
- |»» isPipWindowEnabled|boolean|true|none|悬浮窗是否打开|none|
618
- |»» deviceId|string|true|none|设备 ID,应用唯一,卸载重装变化|none|
568
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
569
+ | ------ | ------------------------------------------------------- | ---- | -------- |
570
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
571
+
572
+ ### 返回数据结构
573
+
574
+ 状态码 **200**
575
+
576
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
577
+ | ------------------------- | --------------------------- | ---- | ---- | ------------------------------- | ---- |
578
+ | » success | boolean | true | none | 是否成功 | none |
579
+ | » data | [软件状态](#schema软件状态) | true | none | | none |
580
+ | »» deviceIp | string | true | none | 设备IP | none |
581
+ | »» screenInfo | object | true | none | 屏幕信息 | none |
582
+ | »»» logicWidth | integer | true | none | 逻辑宽带 | none |
583
+ | »»» logicHeight | integer | true | none | 逻辑高度 | none |
584
+ | »»» height | integer | true | none | 物理高度 | none |
585
+ | »»» width | integer | true | none | 物理宽度 | none |
586
+ | »»» scale | number | true | none | 缩放比 | none |
587
+ | »» deviceName | string | true | none | 设备名称 | none |
588
+ | »» batteryInfo | object | true | none | 电池信息 | none |
589
+ | »»» level | integer | true | none | 电量 1-100 | none |
590
+ | »»» isCharging | boolean | true | none | 是否充电中 | none |
591
+ | »» appName | string | true | none | app名称 | none |
592
+ | »» appBuildNumber | integer | true | none | app构建号 | none |
593
+ | »» appBundleId | string | true | none | app 包名 | none |
594
+ | »» deviceModel | string | true | none | 设备型号 | none |
595
+ | »» agentConnected | boolean | true | none | agent是否连接 | none |
596
+ | »» isRun | boolean | true | none | 脚本是否启动 | none |
597
+ | »» isDebugMode | boolean | true | none | 是否调试模式运行 | none |
598
+ | »» isAuth | boolean | true | none | 是否授权 | none |
599
+ | »» isRecording | boolean | true | none | 是否录屏中 | none |
600
+ | »» udid | string | true | none | 设备唯一 UDID | none |
601
+ | »» serverDeviceId | string | true | none | 服务器设备ID | none |
602
+ | »» orientation | string | true | none | 屏幕方向 | none |
603
+ | »» osVersion | string | true | none | 系统版本 | none |
604
+ | »» ecid | string | true | none | 设备唯一 ECID | none |
605
+ | »» isVolumeControlEnabled | boolean | true | none | 是否开启了音量键启停 | none |
606
+ | »» agentVersion | string | true | none | agent版本号 | none |
607
+ | »» appVersion | string | true | none | app版本号 | none |
608
+ | »» serverType | string | true | none | 授权服务器类型 | none |
609
+ | »» isHidConnected | boolean | true | none | hid设备是否连接 | none |
610
+ | »» isShowUI | boolean | true | none | 实现显示了 UI | none |
611
+ | »» isLogin | boolean | true | none | 是否登录 | none |
612
+ | »» deviceId | string | true | none | 设备 ID,应用唯一,卸载重装变化 | none |
619
613
 
620
614
  #### 枚举值
621
615
 
622
- |属性|值|
623
- |---|---|
624
- |orientation|PORTRAIT|
625
- |orientation|LANDSCAPE|
626
- |serverType|international|
627
- |serverType|domestic|
616
+ | 属性 | 值 |
617
+ | ----------- | ------------- |
618
+ | orientation | PORTRAIT |
619
+ | orientation | LANDSCAPE |
620
+ | serverType | international |
621
+ | serverType | domestic |
628
622
 
629
623
  ## GET App切到前台
630
624
 
@@ -642,17 +636,17 @@ GET /api/takeMeToFront
642
636
 
643
637
  ### 返回结果
644
638
 
645
- |状态码|状态码含义|说明|数据模型|
646
- |---|---|---|---|
647
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
639
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
640
+ | ------ | ------------------------------------------------------- | ---- | -------- |
641
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
648
642
 
649
643
  ### 返回数据结构
650
644
 
651
645
  状态码 **200**
652
646
 
653
- |名称|类型|必选|约束|中文名|说明|
654
- |---|---|---|---|---|---|
655
- success|boolean|true|none|是否成功|none|
647
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
648
+ | --------- | ------- | ---- | ---- | -------- | ---- |
649
+ | » success | boolean | true | none | 是否成功 | none |
656
650
 
657
651
  ## GET 获取所有配置
658
652
 
@@ -671,18 +665,18 @@ GET /api/getAllConfig
671
665
 
672
666
  ### 返回结果
673
667
 
674
- |状态码|状态码含义|说明|数据模型|
675
- |---|---|---|---|
676
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
668
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
669
+ | ------ | ------------------------------------------------------- | ---- | -------- |
670
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
677
671
 
678
672
  ### 返回数据结构
679
673
 
680
674
  状态码 **200**
681
675
 
682
- |名称|类型|必选|约束|中文名|说明|
683
- |---|---|---|---|---|---|
684
- success|boolean|true|none|是否成功|none|
685
- data|object|true|none||none|
676
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
677
+ | --------- | ------- | ---- | ---- | -------- | ---- |
678
+ | » success | boolean | true | none | 是否成功 | none |
679
+ | » data | object | true | none | | none |
686
680
 
687
681
  ## POST 设置所有配置
688
682
 
@@ -696,9 +690,9 @@ POST /api/setAllConfig
696
690
 
697
691
  ### 请求参数
698
692
 
699
- |名称|位置|类型|必选|中文名|说明|
700
- |---|---|---|---|---|---|
701
- |body|body|object| 否 ||none|
693
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
694
+ | ---- | ---- | ------ | ---- | ------ | ---- |
695
+ | body | body | object | 否 | | none |
702
696
 
703
697
  > 返回示例
704
698
 
@@ -712,17 +706,17 @@ POST /api/setAllConfig
712
706
 
713
707
  ### 返回结果
714
708
 
715
- |状态码|状态码含义|说明|数据模型|
716
- |---|---|---|---|
717
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
709
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
710
+ | ------ | ------------------------------------------------------- | ---- | -------- |
711
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
718
712
 
719
713
  ### 返回数据结构
720
714
 
721
715
  状态码 **200**
722
716
 
723
- |名称|类型|必选|约束|中文名|说明|
724
- |---|---|---|---|---|---|
725
- success|boolean|true|none|是否成功|none|
717
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
718
+ | --------- | ------- | ---- | ---- | -------- | ---- |
719
+ | » success | boolean | true | none | 是否成功 | none |
726
720
 
727
721
  ## POST 设置配置项
728
722
 
@@ -739,11 +733,11 @@ POST /api/setConfig
739
733
 
740
734
  ### 请求参数
741
735
 
742
- |名称|位置|类型|必选|中文名|说明|
743
- |---|---|---|---|---|---|
744
- |body|body|object| 否 ||none|
745
- key|body|string| 是 | 配置 Key|none|
746
- value|body|string| 是 | 配置 Value|none|
736
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
737
+ | ------- | ---- | ------ | ---- | ---------- | ---- |
738
+ | body | body | object | 否 | | none |
739
+ | » key | body | string | 是 | 配置 Key | none |
740
+ | » value | body | string | 是 | 配置 Value | none |
747
741
 
748
742
  > 返回示例
749
743
 
@@ -757,17 +751,17 @@ POST /api/setConfig
757
751
 
758
752
  ### 返回结果
759
753
 
760
- |状态码|状态码含义|说明|数据模型|
761
- |---|---|---|---|
762
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
754
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
755
+ | ------ | ------------------------------------------------------- | ---- | -------- |
756
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
763
757
 
764
758
  ### 返回数据结构
765
759
 
766
760
  状态码 **200**
767
761
 
768
- |名称|类型|必选|约束|中文名|说明|
769
- |---|---|---|---|---|---|
770
- success|boolean|true|none|是否成功|none|
762
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
763
+ | --------- | ------- | ---- | ---- | -------- | ---- |
764
+ | » success | boolean | true | none | 是否成功 | none |
771
765
 
772
766
  ## GET 实时屏幕画面流MJPEG
773
767
 
@@ -775,10 +769,10 @@ GET /mirror/image
775
769
 
776
770
  ### 请求参数
777
771
 
778
- |名称|位置|类型|必选|中文名|说明|
779
- |---|---|---|---|---|---|
780
- |fps|query|integer| 是 ||帧率|
781
- |quality|query|number| 是 ||质量 0.1-1.0|
772
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
773
+ | ------- | ----- | ------- | ---- | ------ | ------------ |
774
+ | fps | query | integer | 是 | | 帧率 |
775
+ | quality | query | number | 是 | | 质量 0.1-1.0 |
782
776
 
783
777
  > 返回示例
784
778
 
@@ -786,9 +780,9 @@ GET /mirror/image
786
780
 
787
781
  ### 返回结果
788
782
 
789
- |状态码|状态码含义|说明|数据模型|
790
- |---|---|---|---|
791
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
783
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
784
+ | ------ | ------------------------------------------------------- | ---- | -------- |
785
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
792
786
 
793
787
  ### 返回数据结构
794
788
 
@@ -798,7 +792,7 @@ POST /api/runScript
798
792
 
799
793
  脚本如果最后一行如果有返回值,会转成 json 返回,不需要写 return
800
794
 
801
-
795
+
802
796
  appleOcr.recognize('screen');
803
797
  或者
804
798
  let a = 1;
@@ -808,22 +802,22 @@ a;
808
802
 
809
803
  ```json
810
804
  {
811
- "script": "appleOcr.recognize('screen');"
805
+ "script": "appleOcr.recognize('screen');"
812
806
  }
813
807
  ```
814
808
 
815
809
  ```json
816
810
  {
817
- "script": "let a = 1; \n a;"
811
+ "script": "let a = 1; \n a;"
818
812
  }
819
813
  ```
820
814
 
821
815
  ### 请求参数
822
816
 
823
- |名称|位置|类型|必选|中文名|说明|
824
- |---|---|---|---|---|---|
825
- |body|body|object| 否 ||none|
826
- script|body|string| 是 | 脚本文本|none|
817
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
818
+ | -------- | ---- | ------ | ---- | -------- | ---- |
819
+ | body | body | object | 否 | | none |
820
+ | » script | body | string | 是 | 脚本文本 | none |
827
821
 
828
822
  > 返回示例
829
823
 
@@ -835,9 +829,9 @@ a;
835
829
 
836
830
  ### 返回结果
837
831
 
838
- |状态码|状态码含义|说明|数据模型|
839
- |---|---|---|---|
840
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
832
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
833
+ | ------ | ------------------------------------------------------- | ---- | -------- |
834
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
841
835
 
842
836
  ### 返回数据结构
843
837
 
@@ -847,9 +841,9 @@ GET /api/load
847
841
 
848
842
  ### 请求参数
849
843
 
850
- |名称|位置|类型|必选|中文名|说明|
851
- |---|---|---|---|---|---|
852
- |appNo|query|string| 否 ||软件编号|
844
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
845
+ | ----- | ----- | ------ | ---- | ------ | -------- |
846
+ | appNo | query | string | 否 | | 软件编号 |
853
847
 
854
848
  > 返回示例
855
849
 
@@ -864,18 +858,18 @@ GET /api/load
864
858
 
865
859
  ### 返回结果
866
860
 
867
- |状态码|状态码含义|说明|数据模型|
868
- |---|---|---|---|
869
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
861
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
862
+ | ------ | ------------------------------------------------------- | ---- | -------- |
863
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
870
864
 
871
865
  ### 返回数据结构
872
866
 
873
867
  状态码 **200**
874
868
 
875
- |名称|类型|必选|约束|中文名|说明|
876
- |---|---|---|---|---|---|
877
- success|boolean|true|none|是否成功|none|
878
- message|string|true|none|信息|none|
869
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
870
+ | --------- | ------- | ---- | ---- | -------- | ---- |
871
+ | » success | boolean | true | none | 是否成功 | none |
872
+ | » message | string | true | none | 信息 | none |
879
873
 
880
874
  # Api/日志接口
881
875
 
@@ -900,20 +894,20 @@ GET /logger/files
900
894
 
901
895
  ### 返回结果
902
896
 
903
- |状态码|状态码含义|说明|数据模型|
904
- |---|---|---|---|
905
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
897
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
898
+ | ------ | ------------------------------------------------------- | ---- | -------- |
899
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
906
900
 
907
901
  ### 返回数据结构
908
902
 
909
903
  状态码 **200**
910
904
 
911
- |名称|类型|必选|约束|中文名|说明|
912
- |---|---|---|---|---|---|
913
- filePath|string|true|none|文件路径|none|
914
- fileName|string|true|none|文件名|none|
915
- modificationDate|string|true|none|最后更新时间|none|
916
- fileSize|string|true|none|文件大小|none|
905
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
906
+ | ------------------ | ------ | ---- | ---- | ------------ | ---- |
907
+ | » filePath | string | true | none | 文件路径 | none |
908
+ | » fileName | string | true | none | 文件名 | none |
909
+ | » modificationDate | string | true | none | 最后更新时间 | none |
910
+ | » fileSize | string | true | none | 文件大小 | none |
917
911
 
918
912
  ## GET 下载日志
919
913
 
@@ -921,9 +915,9 @@ GET /logger/download
921
915
 
922
916
  ### 请求参数
923
917
 
924
- |名称|位置|类型|必选|中文名|说明|
925
- |---|---|---|---|---|---|
926
- |fileName|query|string| 否 ||none|
918
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
919
+ | -------- | ----- | ------ | ---- | ------ | ---- |
920
+ | fileName | query | string | 否 | | none |
927
921
 
928
922
  > 返回示例
929
923
 
@@ -931,9 +925,9 @@ GET /logger/download
931
925
 
932
926
  ### 返回结果
933
927
 
934
- |状态码|状态码含义|说明|数据模型|
935
- |---|---|---|---|
936
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
928
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
929
+ | ------ | ------------------------------------------------------- | ---- | -------- |
930
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
937
931
 
938
932
  ### 返回数据结构
939
933
 
@@ -955,17 +949,17 @@ GET /api/ime/isOk
955
949
 
956
950
  ### 返回结果
957
951
 
958
- |状态码|状态码含义|说明|数据模型|
959
- |---|---|---|---|
960
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
952
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
953
+ | ------ | ------------------------------------------------------- | ---- | -------- |
954
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
961
955
 
962
956
  ### 返回数据结构
963
957
 
964
958
  状态码 **200**
965
959
 
966
- |名称|类型|必选|约束|中文名|说明|
967
- |---|---|---|---|---|---|
968
- success|boolean|true|none|是否成功|none|
960
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
961
+ | --------- | ------- | ---- | ---- | -------- | ---- |
962
+ | » success | boolean | true | none | 是否成功 | none |
969
963
 
970
964
  ## GET (仅API键盘弹出可用)输入文字
971
965
 
@@ -973,9 +967,9 @@ GET /api/ime/input
973
967
 
974
968
  ### 请求参数
975
969
 
976
- |名称|位置|类型|必选|中文名|说明|
977
- |---|---|---|---|---|---|
978
- |text|query|string| 是 ||none|
970
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
971
+ | ---- | ----- | ------ | ---- | ------ | ---- |
972
+ | text | query | string | 是 | | none |
979
973
 
980
974
  > 返回示例
981
975
 
@@ -989,17 +983,17 @@ GET /api/ime/input
989
983
 
990
984
  ### 返回结果
991
985
 
992
- |状态码|状态码含义|说明|数据模型|
993
- |---|---|---|---|
994
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
986
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
987
+ | ------ | ------------------------------------------------------- | ---- | -------- |
988
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
995
989
 
996
990
  ### 返回数据结构
997
991
 
998
992
  状态码 **200**
999
993
 
1000
- |名称|类型|必选|约束|中文名|说明|
1001
- |---|---|---|---|---|---|
1002
- success|boolean|true|none|是否成功|none|
994
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
995
+ | --------- | ------- | ---- | ---- | -------- | ---- |
996
+ | » success | boolean | true | none | 是否成功 | none |
1003
997
 
1004
998
  ## GET (仅API键盘弹出可用)获取已输入文本
1005
999
 
@@ -1018,18 +1012,18 @@ GET /api/ime/getText
1018
1012
 
1019
1013
  ### 返回结果
1020
1014
 
1021
- |状态码|状态码含义|说明|数据模型|
1022
- |---|---|---|---|
1023
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1015
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1016
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1017
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1024
1018
 
1025
1019
  ### 返回数据结构
1026
1020
 
1027
1021
  状态码 **200**
1028
1022
 
1029
- |名称|类型|必选|约束|中文名|说明|
1030
- |---|---|---|---|---|---|
1031
- data|string|true|none|已输入文本|none|
1032
- success|boolean|true|none|是否成功|none|
1023
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1024
+ | --------- | ------- | ---- | ---- | ---------- | ---- |
1025
+ | » data | string | true | none | 已输入文本 | none |
1026
+ | » success | boolean | true | none | 是否成功 | none |
1033
1027
 
1034
1028
  ## GET (仅API键盘弹出可用)清空文本
1035
1029
 
@@ -1047,17 +1041,17 @@ GET /api/ime/clearText
1047
1041
 
1048
1042
  ### 返回结果
1049
1043
 
1050
- |状态码|状态码含义|说明|数据模型|
1051
- |---|---|---|---|
1052
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1044
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1045
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1046
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1053
1047
 
1054
1048
  ### 返回数据结构
1055
1049
 
1056
1050
  状态码 **200**
1057
1051
 
1058
- |名称|类型|必选|约束|中文名|说明|
1059
- |---|---|---|---|---|---|
1060
- success|boolean|true|none|是否成功|none|
1052
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1053
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1054
+ | » success | boolean | true | none | 是否成功 | none |
1061
1055
 
1062
1056
  ## GET (仅API键盘弹出可用)粘贴文本
1063
1057
 
@@ -1065,9 +1059,9 @@ GET /api/ime/paste
1065
1059
 
1066
1060
  ### 请求参数
1067
1061
 
1068
- |名称|位置|类型|必选|中文名|说明|
1069
- |---|---|---|---|---|---|
1070
- |text|query|string| 否 ||为空时使用剪切板数据,不为空输入指定数据|
1062
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1063
+ | ---- | ----- | ------ | ---- | ------ | ---------------------------------------- |
1064
+ | text | query | string | 否 | | 为空时使用剪切板数据,不为空输入指定数据 |
1071
1065
 
1072
1066
  > 返回示例
1073
1067
 
@@ -1082,18 +1076,18 @@ GET /api/ime/paste
1082
1076
 
1083
1077
  ### 返回结果
1084
1078
 
1085
- |状态码|状态码含义|说明|数据模型|
1086
- |---|---|---|---|
1087
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1079
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1080
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1081
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1088
1082
 
1089
1083
  ### 返回数据结构
1090
1084
 
1091
1085
  状态码 **200**
1092
1086
 
1093
- |名称|类型|必选|约束|中文名|说明|
1094
- |---|---|---|---|---|---|
1095
- success|boolean|true|none|是否成功|none|
1096
- data|string|true|none|成功返回输入的数据|none|
1087
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1088
+ | --------- | ------- | ---- | ---- | ------------------ | ---- |
1089
+ | » success | boolean | true | none | 是否成功 | none |
1090
+ | » data | string | true | none | 成功返回输入的数据 | none |
1097
1091
 
1098
1092
  ## GET (仅API键盘弹出可用)按删除键
1099
1093
 
@@ -1112,18 +1106,18 @@ GET /api/ime/pressDel
1112
1106
 
1113
1107
  ### 返回结果
1114
1108
 
1115
- |状态码|状态码含义|说明|数据模型|
1116
- |---|---|---|---|
1117
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1109
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1110
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1111
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1118
1112
 
1119
1113
  ### 返回数据结构
1120
1114
 
1121
1115
  状态码 **200**
1122
1116
 
1123
- |名称|类型|必选|约束|中文名|说明|
1124
- |---|---|---|---|---|---|
1125
- success|boolean|true|none|是否成功|none|
1126
- data|string|true|none|剩余文本数据|none|
1117
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1118
+ | --------- | ------- | ---- | ---- | ------------ | ---- |
1119
+ | » success | boolean | true | none | 是否成功 | none |
1120
+ | » data | string | true | none | 剩余文本数据 | none |
1127
1121
 
1128
1122
  ## GET (仅API键盘弹出可用)按回车键
1129
1123
 
@@ -1141,17 +1135,17 @@ GET /api/ime/pressEnter
1141
1135
 
1142
1136
  ### 返回结果
1143
1137
 
1144
- |状态码|状态码含义|说明|数据模型|
1145
- |---|---|---|---|
1146
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1138
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1139
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1140
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1147
1141
 
1148
1142
  ### 返回数据结构
1149
1143
 
1150
1144
  状态码 **200**
1151
1145
 
1152
- |名称|类型|必选|约束|中文名|说明|
1153
- |---|---|---|---|---|---|
1154
- success|boolean|true|none|是否成功|none|
1146
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1147
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1148
+ | » success | boolean | true | none | 是否成功 | none |
1155
1149
 
1156
1150
  ## GET (仅API键盘弹出可用)隐藏键盘
1157
1151
 
@@ -1169,17 +1163,17 @@ GET /api/ime/dismiss
1169
1163
 
1170
1164
  ### 返回结果
1171
1165
 
1172
- |状态码|状态码含义|说明|数据模型|
1173
- |---|---|---|---|
1174
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1166
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1167
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1168
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1175
1169
 
1176
1170
  ### 返回数据结构
1177
1171
 
1178
1172
  状态码 **200**
1179
1173
 
1180
- |名称|类型|必选|约束|中文名|说明|
1181
- |---|---|---|---|---|---|
1182
- success|boolean|true|none|是否成功|none|
1174
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1175
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1176
+ | » success | boolean | true | none | 是否成功 | none |
1183
1177
 
1184
1178
  ## GET (仅API键盘弹出可用)获取剪切板
1185
1179
 
@@ -1198,18 +1192,18 @@ GET /api/ime/getClipboard
1198
1192
 
1199
1193
  ### 返回结果
1200
1194
 
1201
- |状态码|状态码含义|说明|数据模型|
1202
- |---|---|---|---|
1203
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1195
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1196
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1197
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1204
1198
 
1205
1199
  ### 返回数据结构
1206
1200
 
1207
1201
  状态码 **200**
1208
1202
 
1209
- |名称|类型|必选|约束|中文名|说明|
1210
- |---|---|---|---|---|---|
1211
- data|string|true|none|剪切板内容|none|
1212
- success|boolean|true|none|是否成功|none|
1203
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1204
+ | --------- | ------- | ---- | ---- | ---------- | ---- |
1205
+ | » data | string | true | none | 剪切板内容 | none |
1206
+ | » success | boolean | true | none | 是否成功 | none |
1213
1207
 
1214
1208
  ## GET (仅API键盘弹出可用)设置剪切板
1215
1209
 
@@ -1217,9 +1211,9 @@ GET /api/ime/setClipboard
1217
1211
 
1218
1212
  ### 请求参数
1219
1213
 
1220
- |名称|位置|类型|必选|中文名|说明|
1221
- |---|---|---|---|---|---|
1222
- |text|query|string| 否 ||none|
1214
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1215
+ | ---- | ----- | ------ | ---- | ------ | ---- |
1216
+ | text | query | string | 否 | | none |
1223
1217
 
1224
1218
  > 返回示例
1225
1219
 
@@ -1233,17 +1227,17 @@ GET /api/ime/setClipboard
1233
1227
 
1234
1228
  ### 返回结果
1235
1229
 
1236
- |状态码|状态码含义|说明|数据模型|
1237
- |---|---|---|---|
1238
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1230
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1231
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1232
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1239
1233
 
1240
1234
  ### 返回数据结构
1241
1235
 
1242
1236
  状态码 **200**
1243
1237
 
1244
- |名称|类型|必选|约束|中文名|说明|
1245
- |---|---|---|---|---|---|
1246
- success|boolean|true|none|是否成功|none|
1238
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1239
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1240
+ | » success | boolean | true | none | 是否成功 | none |
1247
1241
 
1248
1242
  # Api/Agent控制接口(仅Agent)
1249
1243
 
@@ -1263,17 +1257,17 @@ GET /api/control/home
1263
1257
 
1264
1258
  ### 返回结果
1265
1259
 
1266
- |状态码|状态码含义|说明|数据模型|
1267
- |---|---|---|---|
1268
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1260
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1261
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1262
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1269
1263
 
1270
1264
  ### 返回数据结构
1271
1265
 
1272
1266
  状态码 **200**
1273
1267
 
1274
- |名称|类型|必选|约束|中文名|说明|
1275
- |---|---|---|---|---|---|
1276
- success|boolean|true|none|是否成功|none|
1268
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1269
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1270
+ | » success | boolean | true | none | 是否成功 | none |
1277
1271
 
1278
1272
  ## GET App切换器
1279
1273
 
@@ -1291,17 +1285,17 @@ GET /api/control/recent
1291
1285
 
1292
1286
  ### 返回结果
1293
1287
 
1294
- |状态码|状态码含义|说明|数据模型|
1295
- |---|---|---|---|
1296
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1288
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1289
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1290
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1297
1291
 
1298
1292
  ### 返回数据结构
1299
1293
 
1300
1294
  状态码 **200**
1301
1295
 
1302
- |名称|类型|必选|约束|中文名|说明|
1303
- |---|---|---|---|---|---|
1304
- success|boolean|true|none|是否成功|none|
1296
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1297
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1298
+ | » success | boolean | true | none | 是否成功 | none |
1305
1299
 
1306
1300
  ## GET 点击操作
1307
1301
 
@@ -1309,11 +1303,11 @@ GET /api/control/click
1309
1303
 
1310
1304
  ### 请求参数
1311
1305
 
1312
- |名称|位置|类型|必选|中文名|说明|
1313
- |---|---|---|---|---|---|
1314
- |x|query|string| 是 ||点击坐标X|
1315
- |y|query|string| 是 ||点击坐标Y|
1316
- |duration|query|string| 是 ||持续时间|
1306
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1307
+ | -------- | ----- | ------ | ---- | ------ | --------- |
1308
+ | x | query | string | 是 | | 点击坐标X |
1309
+ | y | query | string | 是 | | 点击坐标Y |
1310
+ | duration | query | string | 是 | | 持续时间 |
1317
1311
 
1318
1312
  > 返回示例
1319
1313
 
@@ -1327,17 +1321,17 @@ GET /api/control/click
1327
1321
 
1328
1322
  ### 返回结果
1329
1323
 
1330
- |状态码|状态码含义|说明|数据模型|
1331
- |---|---|---|---|
1332
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1324
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1325
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1326
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1333
1327
 
1334
1328
  ### 返回数据结构
1335
1329
 
1336
1330
  状态码 **200**
1337
1331
 
1338
- |名称|类型|必选|约束|中文名|说明|
1339
- |---|---|---|---|---|---|
1340
- success|boolean|true|none|是否成功|none|
1332
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1333
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1334
+ | » success | boolean | true | none | 是否成功 | none |
1341
1335
 
1342
1336
  ## GET 双击操作
1343
1337
 
@@ -1345,12 +1339,12 @@ GET /api/control/doubleClick
1345
1339
 
1346
1340
  ### 请求参数
1347
1341
 
1348
- |名称|位置|类型|必选|中文名|说明|
1349
- |---|---|---|---|---|---|
1350
- |x|query|integer| 是 ||点击坐标X|
1351
- |y|query|integer| 是 ||点击坐标Y|
1352
- |duration|query|integer| 是 ||持续时间|
1353
- |interval|query|integer| 否 ||间隔时间|
1342
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1343
+ | -------- | ----- | ------- | ---- | ------ | --------- |
1344
+ | x | query | integer | 是 | | 点击坐标X |
1345
+ | y | query | integer | 是 | | 点击坐标Y |
1346
+ | duration | query | integer | 是 | | 持续时间 |
1347
+ | interval | query | integer | 否 | | 间隔时间 |
1354
1348
 
1355
1349
  > 返回示例
1356
1350
 
@@ -1364,17 +1358,17 @@ GET /api/control/doubleClick
1364
1358
 
1365
1359
  ### 返回结果
1366
1360
 
1367
- |状态码|状态码含义|说明|数据模型|
1368
- |---|---|---|---|
1369
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1361
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1362
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1363
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1370
1364
 
1371
1365
  ### 返回数据结构
1372
1366
 
1373
1367
  状态码 **200**
1374
1368
 
1375
- |名称|类型|必选|约束|中文名|说明|
1376
- |---|---|---|---|---|---|
1377
- success|boolean|true|none|是否成功|none|
1369
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1370
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1371
+ | » success | boolean | true | none | 是否成功 | none |
1378
1372
 
1379
1373
  ## GET 滑动操作
1380
1374
 
@@ -1382,15 +1376,15 @@ GET /api/control/swipe
1382
1376
 
1383
1377
  ### 请求参数
1384
1378
 
1385
- |名称|位置|类型|必选|中文名|说明|
1386
- |---|---|---|---|---|---|
1387
- |startX|query|integer| 是 ||起点X|
1388
- |startY|query|integer| 是 ||起点Y|
1389
- |endX|query|integer| 是 ||终点X|
1390
- |endY|query|integer| 是 ||终点Y|
1391
- |duration|query|integer| 是 ||持续时间(毫秒)|
1392
- |jitter|query|boolean| 否 ||是否开启抖动|
1393
- |steps|query|integer| 否 ||抖动步数|
1379
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1380
+ | -------- | ----- | ------- | ---- | ------ | ---------------- |
1381
+ | startX | query | integer | 是 | | 起点X |
1382
+ | startY | query | integer | 是 | | 起点Y |
1383
+ | endX | query | integer | 是 | | 终点X |
1384
+ | endY | query | integer | 是 | | 终点Y |
1385
+ | duration | query | integer | 是 | | 持续时间(毫秒) |
1386
+ | jitter | query | boolean | 否 | | 是否开启抖动 |
1387
+ | steps | query | integer | 否 | | 抖动步数 |
1394
1388
 
1395
1389
  > 返回示例
1396
1390
 
@@ -1404,17 +1398,17 @@ GET /api/control/swipe
1404
1398
 
1405
1399
  ### 返回结果
1406
1400
 
1407
- |状态码|状态码含义|说明|数据模型|
1408
- |---|---|---|---|
1409
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1401
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1402
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1403
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1410
1404
 
1411
1405
  ### 返回数据结构
1412
1406
 
1413
1407
  状态码 **200**
1414
1408
 
1415
- |名称|类型|必选|约束|中文名|说明|
1416
- |---|---|---|---|---|---|
1417
- success|boolean|true|none|是否成功|none|
1409
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1410
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1411
+ | » success | boolean | true | none | 是否成功 | none |
1418
1412
 
1419
1413
  ## GET 按按钮
1420
1414
 
@@ -1422,17 +1416,17 @@ GET /api/control/pressButton
1422
1416
 
1423
1417
  ### 请求参数
1424
1418
 
1425
- |名称|位置|类型|必选|中文名|说明|
1426
- |---|---|---|---|---|---|
1427
- |button|query|string| 是 ||按钮|
1419
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1420
+ | ------ | ----- | ------ | ---- | ------ | ---- |
1421
+ | button | query | string | 是 | | 按钮 |
1428
1422
 
1429
1423
  #### 枚举值
1430
1424
 
1431
- |属性|值|
1432
- |---|---|
1433
- |button|home|
1434
- |button|volumeup|
1435
- |button|volumedown|
1425
+ | 属性 | 值 |
1426
+ | ------ | ---------- |
1427
+ | button | home |
1428
+ | button | volumeup |
1429
+ | button | volumedown |
1436
1430
 
1437
1431
  > 返回示例
1438
1432
 
@@ -1446,17 +1440,17 @@ GET /api/control/pressButton
1446
1440
 
1447
1441
  ### 返回结果
1448
1442
 
1449
- |状态码|状态码含义|说明|数据模型|
1450
- |---|---|---|---|
1451
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1443
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1444
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1445
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1452
1446
 
1453
1447
  ### 返回数据结构
1454
1448
 
1455
1449
  状态码 **200**
1456
1450
 
1457
- |名称|类型|必选|约束|中文名|说明|
1458
- |---|---|---|---|---|---|
1459
- success|boolean|true|none|是否成功|none|
1451
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1452
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1453
+ | » success | boolean | true | none | 是否成功 | none |
1460
1454
 
1461
1455
  ## GET (仅键盘弹出可用)输入文字
1462
1456
 
@@ -1464,9 +1458,9 @@ GET /api/control/input
1464
1458
 
1465
1459
  ### 请求参数
1466
1460
 
1467
- |名称|位置|类型|必选|中文名|说明|
1468
- |---|---|---|---|---|---|
1469
- |text|query|string| 是 ||none|
1461
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1462
+ | ---- | ----- | ------ | ---- | ------ | ---- |
1463
+ | text | query | string | 是 | | none |
1470
1464
 
1471
1465
  > 返回示例
1472
1466
 
@@ -1480,17 +1474,17 @@ GET /api/control/input
1480
1474
 
1481
1475
  ### 返回结果
1482
1476
 
1483
- |状态码|状态码含义|说明|数据模型|
1484
- |---|---|---|---|
1485
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1477
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1478
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1479
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1486
1480
 
1487
1481
  ### 返回数据结构
1488
1482
 
1489
1483
  状态码 **200**
1490
1484
 
1491
- |名称|类型|必选|约束|中文名|说明|
1492
- |---|---|---|---|---|---|
1493
- success|boolean|true|none|是否成功|none|
1485
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1486
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1487
+ | » success | boolean | true | none | 是否成功 | none |
1494
1488
 
1495
1489
  ## GET (仅键盘弹出可用)退格
1496
1490
 
@@ -1498,9 +1492,9 @@ GET /api/control/backspace
1498
1492
 
1499
1493
  ### 请求参数
1500
1494
 
1501
- |名称|位置|类型|必选|中文名|说明|
1502
- |---|---|---|---|---|---|
1503
- |count|query|integer| 是 ||删除数量|
1495
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1496
+ | ----- | ----- | ------- | ---- | ------ | -------- |
1497
+ | count | query | integer | 是 | | 删除数量 |
1504
1498
 
1505
1499
  > 返回示例
1506
1500
 
@@ -1514,17 +1508,17 @@ GET /api/control/backspace
1514
1508
 
1515
1509
  ### 返回结果
1516
1510
 
1517
- |状态码|状态码含义|说明|数据模型|
1518
- |---|---|---|---|
1519
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1511
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1512
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1513
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1520
1514
 
1521
1515
  ### 返回数据结构
1522
1516
 
1523
1517
  状态码 **200**
1524
1518
 
1525
- |名称|类型|必选|约束|中文名|说明|
1526
- |---|---|---|---|---|---|
1527
- success|boolean|true|none|是否成功|none|
1519
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1520
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1521
+ | » success | boolean | true | none | 是否成功 | none |
1528
1522
 
1529
1523
  ## GET (仅键盘弹出可用)回车
1530
1524
 
@@ -1542,17 +1536,17 @@ GET /api/control/enter
1542
1536
 
1543
1537
  ### 返回结果
1544
1538
 
1545
- |状态码|状态码含义|说明|数据模型|
1546
- |---|---|---|---|
1547
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1539
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1540
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1541
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1548
1542
 
1549
1543
  ### 返回数据结构
1550
1544
 
1551
1545
  状态码 **200**
1552
1546
 
1553
- |名称|类型|必选|约束|中文名|说明|
1554
- |---|---|---|---|---|---|
1555
- success|boolean|true|none|是否成功|none|
1547
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1548
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1549
+ | » success | boolean | true | none | 是否成功 | none |
1556
1550
 
1557
1551
  ## GET 打开App
1558
1552
 
@@ -1560,9 +1554,9 @@ GET /api/control/startApp
1560
1554
 
1561
1555
  ### 请求参数
1562
1556
 
1563
- |名称|位置|类型|必选|中文名|说明|
1564
- |---|---|---|---|---|---|
1565
- |bundleId|query|string| 是 ||none|
1557
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1558
+ | -------- | ----- | ------ | ---- | ------ | ---- |
1559
+ | bundleId | query | string | 是 | | none |
1566
1560
 
1567
1561
  > 返回示例
1568
1562
 
@@ -1576,17 +1570,17 @@ GET /api/control/startApp
1576
1570
 
1577
1571
  ### 返回结果
1578
1572
 
1579
- |状态码|状态码含义|说明|数据模型|
1580
- |---|---|---|---|
1581
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1573
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1574
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1575
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1582
1576
 
1583
1577
  ### 返回数据结构
1584
1578
 
1585
1579
  状态码 **200**
1586
1580
 
1587
- |名称|类型|必选|约束|中文名|说明|
1588
- |---|---|---|---|---|---|
1589
- success|boolean|true|none|是否成功|none|
1581
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1582
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1583
+ | » success | boolean | true | none | 是否成功 | none |
1590
1584
 
1591
1585
  ## GET 激活App(把App拉到前台)
1592
1586
 
@@ -1594,9 +1588,9 @@ GET /api/control/activateApp
1594
1588
 
1595
1589
  ### 请求参数
1596
1590
 
1597
- |名称|位置|类型|必选|中文名|说明|
1598
- |---|---|---|---|---|---|
1599
- |bundleId|query|string| 是 ||none|
1591
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1592
+ | -------- | ----- | ------ | ---- | ------ | ---- |
1593
+ | bundleId | query | string | 是 | | none |
1600
1594
 
1601
1595
  > 返回示例
1602
1596
 
@@ -1610,17 +1604,17 @@ GET /api/control/activateApp
1610
1604
 
1611
1605
  ### 返回结果
1612
1606
 
1613
- |状态码|状态码含义|说明|数据模型|
1614
- |---|---|---|---|
1615
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1607
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1608
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1609
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1616
1610
 
1617
1611
  ### 返回数据结构
1618
1612
 
1619
1613
  状态码 **200**
1620
1614
 
1621
- |名称|类型|必选|约束|中文名|说明|
1622
- |---|---|---|---|---|---|
1623
- success|boolean|true|none|是否成功|none|
1615
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1616
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1617
+ | » success | boolean | true | none | 是否成功 | none |
1624
1618
 
1625
1619
  ## GET 停止App
1626
1620
 
@@ -1628,9 +1622,9 @@ GET /api/control/stopApp
1628
1622
 
1629
1623
  ### 请求参数
1630
1624
 
1631
- |名称|位置|类型|必选|中文名|说明|
1632
- |---|---|---|---|---|---|
1633
- |bundleId|query|string| 是 ||none|
1625
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1626
+ | -------- | ----- | ------ | ---- | ------ | ---- |
1627
+ | bundleId | query | string | 是 | | none |
1634
1628
 
1635
1629
  > 返回示例
1636
1630
 
@@ -1644,17 +1638,17 @@ GET /api/control/stopApp
1644
1638
 
1645
1639
  ### 返回结果
1646
1640
 
1647
- |状态码|状态码含义|说明|数据模型|
1648
- |---|---|---|---|
1649
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1641
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1642
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1643
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1650
1644
 
1651
1645
  ### 返回数据结构
1652
1646
 
1653
1647
  状态码 **200**
1654
1648
 
1655
- |名称|类型|必选|约束|中文名|说明|
1656
- |---|---|---|---|---|---|
1657
- success|boolean|true|none|是否成功|none|
1649
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1650
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1651
+ | » success | boolean | true | none | 是否成功 | none |
1658
1652
 
1659
1653
  ## GET 打开URL
1660
1654
 
@@ -1662,9 +1656,9 @@ GET /api/control/openURL
1662
1656
 
1663
1657
  ### 请求参数
1664
1658
 
1665
- |名称|位置|类型|必选|中文名|说明|
1666
- |---|---|---|---|---|---|
1667
- |url|query|string| 是 ||none|
1659
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1660
+ | ---- | ----- | ------ | ---- | ------ | ---- |
1661
+ | url | query | string | 是 | | none |
1668
1662
 
1669
1663
  > 返回示例
1670
1664
 
@@ -1678,17 +1672,17 @@ GET /api/control/openURL
1678
1672
 
1679
1673
  ### 返回结果
1680
1674
 
1681
- |状态码|状态码含义|说明|数据模型|
1682
- |---|---|---|---|
1683
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1675
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1676
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1677
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1684
1678
 
1685
1679
  ### 返回数据结构
1686
1680
 
1687
1681
  状态码 **200**
1688
1682
 
1689
- |名称|类型|必选|约束|中文名|说明|
1690
- |---|---|---|---|---|---|
1691
- success|boolean|true|none|是否成功|none|
1683
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1684
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1685
+ | » success | boolean | true | none | 是否成功 | none |
1692
1686
 
1693
1687
  ## GET 设置 Agent 快速模式
1694
1688
 
@@ -1698,9 +1692,9 @@ GET /api/control/setAgentFastMode
1698
1692
 
1699
1693
  ### 请求参数
1700
1694
 
1701
- |名称|位置|类型|必选|中文名|说明|
1702
- |---|---|---|---|---|---|
1703
- |enabled|query|boolean| 是 |是否开启|是否开启 Agent 快速模式|
1695
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1696
+ | ------- | ----- | ------- | ---- | -------- | ----------------------- |
1697
+ | enabled | query | boolean | 是 | 是否开启 | 是否开启 Agent 快速模式 |
1704
1698
 
1705
1699
  > 返回示例
1706
1700
 
@@ -1715,18 +1709,18 @@ GET /api/control/setAgentFastMode
1715
1709
 
1716
1710
  ### 返回结果
1717
1711
 
1718
- |状态码|状态码含义|说明|数据模型|
1719
- |---|---|---|---|
1720
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1712
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1713
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1714
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1721
1715
 
1722
1716
  ### 返回数据结构
1723
1717
 
1724
1718
  状态码 **200**
1725
1719
 
1726
- |名称|类型|必选|约束|中文名|说明|
1727
- |---|---|---|---|---|---|
1728
- success|boolean|true|none|是否成功|none|
1729
- data|boolean|true|none|Agent 快速模式|设置后的 Agent 快速模式状态|
1720
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1721
+ | --------- | ------- | ---- | ---- | -------------- | --------------------------- |
1722
+ | » success | boolean | true | none | 是否成功 | none |
1723
+ | » data | boolean | true | none | Agent 快速模式 | 设置后的 Agent 快速模式状态 |
1730
1724
 
1731
1725
  ## GET 获取 Agent 快速模式
1732
1726
 
@@ -1745,18 +1739,18 @@ GET /api/control/getAgentFastMode
1745
1739
 
1746
1740
  ### 返回结果
1747
1741
 
1748
- |状态码|状态码含义|说明|数据模型|
1749
- |---|---|---|---|
1750
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1742
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1743
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1744
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1751
1745
 
1752
1746
  ### 返回数据结构
1753
1747
 
1754
1748
  状态码 **200**
1755
1749
 
1756
- |名称|类型|必选|约束|中文名|说明|
1757
- |---|---|---|---|---|---|
1758
- success|boolean|true|none|是否成功|none|
1759
- data|boolean|true|none|Agent 快速模式|当前 Agent 快速模式状态|
1750
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1751
+ | --------- | ------- | ---- | ---- | -------------- | ----------------------- |
1752
+ | » success | boolean | true | none | 是否成功 | none |
1753
+ | » data | boolean | true | none | Agent 快速模式 | 当前 Agent 快速模式状态 |
1760
1754
 
1761
1755
  ## POST W3CActions
1762
1756
 
@@ -1766,18 +1760,16 @@ POST /api/control/w3cActions
1766
1760
 
1767
1761
  ```json
1768
1762
  {
1769
- "actions": [
1770
- "string"
1771
- ]
1763
+ "actions": ["string"]
1772
1764
  }
1773
1765
  ```
1774
1766
 
1775
1767
  ### 请求参数
1776
1768
 
1777
- |名称|位置|类型|必选|中文名|说明|
1778
- |---|---|---|---|---|---|
1779
- |body|body|object| 是 ||none|
1780
- actions|body|[string]| 是 | W3C 动作|none|
1769
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1770
+ | --------- | ---- | -------- | ---- | -------- | ---- |
1771
+ | body | body | object | 是 | | none |
1772
+ | » actions | body | [string] | 是 | W3C 动作 | none |
1781
1773
 
1782
1774
  > 返回示例
1783
1775
 
@@ -1789,9 +1781,9 @@ POST /api/control/w3cActions
1789
1781
 
1790
1782
  ### 返回结果
1791
1783
 
1792
- |状态码|状态码含义|说明|数据模型|
1793
- |---|---|---|---|
1794
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1784
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1785
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1786
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1795
1787
 
1796
1788
  ### 返回数据结构
1797
1789
 
@@ -1805,9 +1797,9 @@ GET /api/hid/input
1805
1797
 
1806
1798
  ### 请求参数
1807
1799
 
1808
- |名称|位置|类型|必选|中文名|说明|
1809
- |---|---|---|---|---|---|
1810
- |text|query|string| 是 ||none|
1800
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1801
+ | ---- | ----- | ------ | ---- | ------ | ---- |
1802
+ | text | query | string | 是 | | none |
1811
1803
 
1812
1804
  > 返回示例
1813
1805
 
@@ -1821,17 +1813,17 @@ GET /api/hid/input
1821
1813
 
1822
1814
  ### 返回结果
1823
1815
 
1824
- |状态码|状态码含义|说明|数据模型|
1825
- |---|---|---|---|
1826
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1816
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1817
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1818
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1827
1819
 
1828
1820
  ### 返回数据结构
1829
1821
 
1830
1822
  状态码 **200**
1831
1823
 
1832
- |名称|类型|必选|约束|中文名|说明|
1833
- |---|---|---|---|---|---|
1834
- success|boolean|true|none|是否成功|none|
1824
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1825
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1826
+ | » success | boolean | true | none | 是否成功 | none |
1835
1827
 
1836
1828
  ## GET (仅键盘弹出可用)输入字符
1837
1829
 
@@ -1841,9 +1833,9 @@ GET /api/hid/inputSimple
1841
1833
 
1842
1834
  ### 请求参数
1843
1835
 
1844
- |名称|位置|类型|必选|中文名|说明|
1845
- |---|---|---|---|---|---|
1846
- |text|query|string| 是 ||none|
1836
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1837
+ | ---- | ----- | ------ | ---- | ------ | ---- |
1838
+ | text | query | string | 是 | | none |
1847
1839
 
1848
1840
  > 返回示例
1849
1841
 
@@ -1857,17 +1849,17 @@ GET /api/hid/inputSimple
1857
1849
 
1858
1850
  ### 返回结果
1859
1851
 
1860
- |状态码|状态码含义|说明|数据模型|
1861
- |---|---|---|---|
1862
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1852
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1853
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1854
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1863
1855
 
1864
1856
  ### 返回数据结构
1865
1857
 
1866
1858
  状态码 **200**
1867
1859
 
1868
- |名称|类型|必选|约束|中文名|说明|
1869
- |---|---|---|---|---|---|
1870
- success|boolean|true|none|是否成功|none|
1860
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1861
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1862
+ | » success | boolean | true | none | 是否成功 | none |
1871
1863
 
1872
1864
  ## GET (仅键盘弹出可用)退格
1873
1865
 
@@ -1875,9 +1867,9 @@ GET /api/hid/backspace
1875
1867
 
1876
1868
  ### 请求参数
1877
1869
 
1878
- |名称|位置|类型|必选|中文名|说明|
1879
- |---|---|---|---|---|---|
1880
- |count|query|integer| 是 ||删除数量|
1870
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1871
+ | ----- | ----- | ------- | ---- | ------ | -------- |
1872
+ | count | query | integer | 是 | | 删除数量 |
1881
1873
 
1882
1874
  > 返回示例
1883
1875
 
@@ -1891,17 +1883,17 @@ GET /api/hid/backspace
1891
1883
 
1892
1884
  ### 返回结果
1893
1885
 
1894
- |状态码|状态码含义|说明|数据模型|
1895
- |---|---|---|---|
1896
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1886
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1887
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1888
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1897
1889
 
1898
1890
  ### 返回数据结构
1899
1891
 
1900
1892
  状态码 **200**
1901
1893
 
1902
- |名称|类型|必选|约束|中文名|说明|
1903
- |---|---|---|---|---|---|
1904
- success|boolean|true|none|是否成功|none|
1894
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1895
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1896
+ | » success | boolean | true | none | 是否成功 | none |
1905
1897
 
1906
1898
  ## GET (仅键盘弹出可用)回车
1907
1899
 
@@ -1919,17 +1911,17 @@ GET /api/hid/enter
1919
1911
 
1920
1912
  ### 返回结果
1921
1913
 
1922
- |状态码|状态码含义|说明|数据模型|
1923
- |---|---|---|---|
1924
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1914
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1915
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1916
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1925
1917
 
1926
1918
  ### 返回数据结构
1927
1919
 
1928
1920
  状态码 **200**
1929
1921
 
1930
- |名称|类型|必选|约束|中文名|说明|
1931
- |---|---|---|---|---|---|
1932
- success|boolean|true|none|是否成功|none|
1922
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1923
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1924
+ | » success | boolean | true | none | 是否成功 | none |
1933
1925
 
1934
1926
  ## GET 按按钮
1935
1927
 
@@ -1937,17 +1929,17 @@ GET /api/hid/pressButton
1937
1929
 
1938
1930
  ### 请求参数
1939
1931
 
1940
- |名称|位置|类型|必选|中文名|说明|
1941
- |---|---|---|---|---|---|
1942
- |button|query|string| 是 ||按钮|
1932
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
1933
+ | ------ | ----- | ------ | ---- | ------ | ---- |
1934
+ | button | query | string | 是 | | 按钮 |
1943
1935
 
1944
1936
  #### 枚举值
1945
1937
 
1946
- |属性|值|
1947
- |---|---|
1948
- |button|home|
1949
- |button|volumeup|
1950
- |button|volumedown|
1938
+ | 属性 | 值 |
1939
+ | ------ | ---------- |
1940
+ | button | home |
1941
+ | button | volumeup |
1942
+ | button | volumedown |
1951
1943
 
1952
1944
  > 返回示例
1953
1945
 
@@ -1961,17 +1953,17 @@ GET /api/hid/pressButton
1961
1953
 
1962
1954
  ### 返回结果
1963
1955
 
1964
- |状态码|状态码含义|说明|数据模型|
1965
- |---|---|---|---|
1966
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1956
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1957
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1958
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1967
1959
 
1968
1960
  ### 返回数据结构
1969
1961
 
1970
1962
  状态码 **200**
1971
1963
 
1972
- |名称|类型|必选|约束|中文名|说明|
1973
- |---|---|---|---|---|---|
1974
- success|boolean|true|none|是否成功|none|
1964
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1965
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1966
+ | » success | boolean | true | none | 是否成功 | none |
1975
1967
 
1976
1968
  ## GET 快捷指令截图
1977
1969
 
@@ -1989,17 +1981,17 @@ GET /api/hid/shortcutScreenshot
1989
1981
 
1990
1982
  ### 返回结果
1991
1983
 
1992
- |状态码|状态码含义|说明|数据模型|
1993
- |---|---|---|---|
1994
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
1984
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
1985
+ | ------ | ------------------------------------------------------- | ---- | -------- |
1986
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
1995
1987
 
1996
1988
  ### 返回数据结构
1997
1989
 
1998
1990
  状态码 **200**
1999
1991
 
2000
- |名称|类型|必选|约束|中文名|说明|
2001
- |---|---|---|---|---|---|
2002
- success|boolean|true|none|是否成功|none|
1992
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
1993
+ | --------- | ------- | ---- | ---- | -------- | ---- |
1994
+ | » success | boolean | true | none | 是否成功 | none |
2003
1995
 
2004
1996
  ## GET 快捷指令截图Base64
2005
1997
 
@@ -2017,17 +2009,17 @@ GET /api/hid/shortcutScreenshotBase64
2017
2009
 
2018
2010
  ### 返回结果
2019
2011
 
2020
- |状态码|状态码含义|说明|数据模型|
2021
- |---|---|---|---|
2022
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2012
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2013
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2014
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2023
2015
 
2024
2016
  ### 返回数据结构
2025
2017
 
2026
2018
  状态码 **200**
2027
2019
 
2028
- |名称|类型|必选|约束|中文名|说明|
2029
- |---|---|---|---|---|---|
2030
- success|boolean|true|none|是否成功|none|
2020
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2021
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2022
+ | » success | boolean | true | none | 是否成功 | none |
2031
2023
 
2032
2024
  ## GET 打开录屏界面
2033
2025
 
@@ -2045,17 +2037,17 @@ GET /api/hid/openRecordScreen
2045
2037
 
2046
2038
  ### 返回结果
2047
2039
 
2048
- |状态码|状态码含义|说明|数据模型|
2049
- |---|---|---|---|
2050
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2040
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2041
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2042
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2051
2043
 
2052
2044
  ### 返回数据结构
2053
2045
 
2054
2046
  状态码 **200**
2055
2047
 
2056
- |名称|类型|必选|约束|中文名|说明|
2057
- |---|---|---|---|---|---|
2058
- success|boolean|true|none|是否成功|none|
2048
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2049
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2050
+ | » success | boolean | true | none | 是否成功 | none |
2059
2051
 
2060
2052
  ## GET 获取录屏状态
2061
2053
 
@@ -2074,18 +2066,18 @@ GET /api/hid/isRecording
2074
2066
 
2075
2067
  ### 返回结果
2076
2068
 
2077
- |状态码|状态码含义|说明|数据模型|
2078
- |---|---|---|---|
2079
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2069
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2070
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2071
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2080
2072
 
2081
2073
  ### 返回数据结构
2082
2074
 
2083
2075
  状态码 **200**
2084
2076
 
2085
- |名称|类型|必选|约束|中文名|说明|
2086
- |---|---|---|---|---|---|
2087
- success|boolean|true|none|是否成功|none|
2088
- data|boolean|true|none|录屏是否运行中|none|
2077
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2078
+ | --------- | ------- | ---- | ---- | -------------- | ---- |
2079
+ | » success | boolean | true | none | 是否成功 | none |
2080
+ | » data | boolean | true | none | 录屏是否运行中 | none |
2089
2081
 
2090
2082
  ## GET 返回主页
2091
2083
 
@@ -2103,17 +2095,17 @@ GET /api/hid/home
2103
2095
 
2104
2096
  ### 返回结果
2105
2097
 
2106
- |状态码|状态码含义|说明|数据模型|
2107
- |---|---|---|---|
2108
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2098
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2099
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2100
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2109
2101
 
2110
2102
  ### 返回数据结构
2111
2103
 
2112
2104
  状态码 **200**
2113
2105
 
2114
- |名称|类型|必选|约束|中文名|说明|
2115
- |---|---|---|---|---|---|
2116
- success|boolean|true|none|是否成功|none|
2106
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2107
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2108
+ | » success | boolean | true | none | 是否成功 | none |
2117
2109
 
2118
2110
  ## GET App切换器
2119
2111
 
@@ -2131,17 +2123,17 @@ GET /api/hid/recent
2131
2123
 
2132
2124
  ### 返回结果
2133
2125
 
2134
- |状态码|状态码含义|说明|数据模型|
2135
- |---|---|---|---|
2136
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2126
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2127
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2128
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2137
2129
 
2138
2130
  ### 返回数据结构
2139
2131
 
2140
2132
  状态码 **200**
2141
2133
 
2142
- |名称|类型|必选|约束|中文名|说明|
2143
- |---|---|---|---|---|---|
2144
- success|boolean|true|none|是否成功|none|
2134
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2135
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2136
+ | » success | boolean | true | none | 是否成功 | none |
2145
2137
 
2146
2138
  ## GET 点击操作
2147
2139
 
@@ -2149,11 +2141,11 @@ GET /api/hid/click
2149
2141
 
2150
2142
  ### 请求参数
2151
2143
 
2152
- |名称|位置|类型|必选|中文名|说明|
2153
- |---|---|---|---|---|---|
2154
- |x|query|integer| 是 ||点击坐标X|
2155
- |y|query|integer| 是 ||点击坐标Y|
2156
- |duration|query|integer| 是 ||持续时间|
2144
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2145
+ | -------- | ----- | ------- | ---- | ------ | --------- |
2146
+ | x | query | integer | 是 | | 点击坐标X |
2147
+ | y | query | integer | 是 | | 点击坐标Y |
2148
+ | duration | query | integer | 是 | | 持续时间 |
2157
2149
 
2158
2150
  > 返回示例
2159
2151
 
@@ -2167,17 +2159,17 @@ GET /api/hid/click
2167
2159
 
2168
2160
  ### 返回结果
2169
2161
 
2170
- |状态码|状态码含义|说明|数据模型|
2171
- |---|---|---|---|
2172
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2162
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2163
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2164
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2173
2165
 
2174
2166
  ### 返回数据结构
2175
2167
 
2176
2168
  状态码 **200**
2177
2169
 
2178
- |名称|类型|必选|约束|中文名|说明|
2179
- |---|---|---|---|---|---|
2180
- success|boolean|true|none|是否成功|none|
2170
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2171
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2172
+ | » success | boolean | true | none | 是否成功 | none |
2181
2173
 
2182
2174
  ## GET 双击操作
2183
2175
 
@@ -2185,12 +2177,12 @@ GET /api/hid/doubleClick
2185
2177
 
2186
2178
  ### 请求参数
2187
2179
 
2188
- |名称|位置|类型|必选|中文名|说明|
2189
- |---|---|---|---|---|---|
2190
- |x|query|integer| 是 ||点击坐标X|
2191
- |y|query|integer| 是 ||点击坐标Y|
2192
- |duration|query|integer| 是 ||持续时间|
2193
- |interval|query|integer| 否 ||间隔时间|
2180
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2181
+ | -------- | ----- | ------- | ---- | ------ | --------- |
2182
+ | x | query | integer | 是 | | 点击坐标X |
2183
+ | y | query | integer | 是 | | 点击坐标Y |
2184
+ | duration | query | integer | 是 | | 持续时间 |
2185
+ | interval | query | integer | 否 | | 间隔时间 |
2194
2186
 
2195
2187
  > 返回示例
2196
2188
 
@@ -2204,17 +2196,17 @@ GET /api/hid/doubleClick
2204
2196
 
2205
2197
  ### 返回结果
2206
2198
 
2207
- |状态码|状态码含义|说明|数据模型|
2208
- |---|---|---|---|
2209
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2199
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2200
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2201
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2210
2202
 
2211
2203
  ### 返回数据结构
2212
2204
 
2213
2205
  状态码 **200**
2214
2206
 
2215
- |名称|类型|必选|约束|中文名|说明|
2216
- |---|---|---|---|---|---|
2217
- success|boolean|true|none|是否成功|none|
2207
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2208
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2209
+ | » success | boolean | true | none | 是否成功 | none |
2218
2210
 
2219
2211
  ## GET 滑动操作
2220
2212
 
@@ -2222,14 +2214,14 @@ GET /api/hid/swipe
2222
2214
 
2223
2215
  ### 请求参数
2224
2216
 
2225
- |名称|位置|类型|必选|中文名|说明|
2226
- |---|---|---|---|---|---|
2227
- |startX|query|integer| 是 ||起点X|
2228
- |startY|query|integer| 是 ||起点Y|
2229
- |endX|query|integer| 是 ||终点X|
2230
- |endY|query|integer| 是 ||终点Y|
2231
- |jitter|query|boolean| 是 ||是否开启抖动|
2232
- |steps|query|integer| 是 ||抖动步数|
2217
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2218
+ | ------ | ----- | ------- | ---- | ------ | ------------ |
2219
+ | startX | query | integer | 是 | | 起点X |
2220
+ | startY | query | integer | 是 | | 起点Y |
2221
+ | endX | query | integer | 是 | | 终点X |
2222
+ | endY | query | integer | 是 | | 终点Y |
2223
+ | jitter | query | boolean | 是 | | 是否开启抖动 |
2224
+ | steps | query | integer | 是 | | 抖动步数 |
2233
2225
 
2234
2226
  > 返回示例
2235
2227
 
@@ -2243,17 +2235,17 @@ GET /api/hid/swipe
2243
2235
 
2244
2236
  ### 返回结果
2245
2237
 
2246
- |状态码|状态码含义|说明|数据模型|
2247
- |---|---|---|---|
2248
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2238
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2239
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2240
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2249
2241
 
2250
2242
  ### 返回数据结构
2251
2243
 
2252
2244
  状态码 **200**
2253
2245
 
2254
- |名称|类型|必选|约束|中文名|说明|
2255
- |---|---|---|---|---|---|
2256
- success|boolean|true|none|是否成功|none|
2246
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2247
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2248
+ | » success | boolean | true | none | 是否成功 | none |
2257
2249
 
2258
2250
  ## GET 获取当前在前台的App(仅 IOS18.2及以上)
2259
2251
 
@@ -2271,17 +2263,17 @@ GET /api/hid/currentAppInfo
2271
2263
 
2272
2264
  ### 返回结果
2273
2265
 
2274
- |状态码|状态码含义|说明|数据模型|
2275
- |---|---|---|---|
2276
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2266
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2267
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2268
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2277
2269
 
2278
2270
  ### 返回数据结构
2279
2271
 
2280
2272
  状态码 **200**
2281
2273
 
2282
- |名称|类型|必选|约束|中文名|说明|
2283
- |---|---|---|---|---|---|
2284
- success|boolean|true|none|是否成功|none|
2274
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2275
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2276
+ | » success | boolean | true | none | 是否成功 | none |
2285
2277
 
2286
2278
  ## GET 打开App
2287
2279
 
@@ -2289,9 +2281,9 @@ GET /api/hid/openApp
2289
2281
 
2290
2282
  ### 请求参数
2291
2283
 
2292
- |名称|位置|类型|必选|中文名|说明|
2293
- |---|---|---|---|---|---|
2294
- |name|query|string| 是 ||支持 app 名称和 app bundleId|
2284
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2285
+ | ---- | ----- | ------ | ---- | ------ | ---------------------------- |
2286
+ | name | query | string | 是 | | 支持 app 名称和 app bundleId |
2295
2287
 
2296
2288
  > 返回示例
2297
2289
 
@@ -2305,17 +2297,17 @@ GET /api/hid/openApp
2305
2297
 
2306
2298
  ### 返回结果
2307
2299
 
2308
- |状态码|状态码含义|说明|数据模型|
2309
- |---|---|---|---|
2310
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2300
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2301
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2302
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2311
2303
 
2312
2304
  ### 返回数据结构
2313
2305
 
2314
2306
  状态码 **200**
2315
2307
 
2316
- |名称|类型|必选|约束|中文名|说明|
2317
- |---|---|---|---|---|---|
2318
- success|boolean|true|none|是否成功|none|
2308
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2309
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2310
+ | » success | boolean | true | none | 是否成功 | none |
2319
2311
 
2320
2312
  ## GET 关闭App
2321
2313
 
@@ -2323,9 +2315,9 @@ GET /api/hid/closeApp
2323
2315
 
2324
2316
  ### 请求参数
2325
2317
 
2326
- |名称|位置|类型|必选|中文名|说明|
2327
- |---|---|---|---|---|---|
2328
- |name|query|string| 是 ||支持 app 名称和 app bundleId|
2318
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2319
+ | ---- | ----- | ------ | ---- | ------ | ---------------------------- |
2320
+ | name | query | string | 是 | | 支持 app 名称和 app bundleId |
2329
2321
 
2330
2322
  > 返回示例
2331
2323
 
@@ -2339,17 +2331,17 @@ GET /api/hid/closeApp
2339
2331
 
2340
2332
  ### 返回结果
2341
2333
 
2342
- |状态码|状态码含义|说明|数据模型|
2343
- |---|---|---|---|
2344
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2334
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2335
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2336
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2345
2337
 
2346
2338
  ### 返回数据结构
2347
2339
 
2348
2340
  状态码 **200**
2349
2341
 
2350
- |名称|类型|必选|约束|中文名|说明|
2351
- |---|---|---|---|---|---|
2352
- success|boolean|true|none|是否成功|none|
2342
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2343
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2344
+ | » success | boolean | true | none | 是否成功 | none |
2353
2345
 
2354
2346
  ## GET 打开URL
2355
2347
 
@@ -2357,9 +2349,9 @@ GET /api/hid/openURL
2357
2349
 
2358
2350
  ### 请求参数
2359
2351
 
2360
- |名称|位置|类型|必选|中文名|说明|
2361
- |---|---|---|---|---|---|
2362
- |url|query|string| 是 ||none|
2352
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2353
+ | ---- | ----- | ------ | ---- | ------ | ---- |
2354
+ | url | query | string | 是 | | none |
2363
2355
 
2364
2356
  > 返回示例
2365
2357
 
@@ -2373,17 +2365,17 @@ GET /api/hid/openURL
2373
2365
 
2374
2366
  ### 返回结果
2375
2367
 
2376
- |状态码|状态码含义|说明|数据模型|
2377
- |---|---|---|---|
2378
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2368
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2369
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2370
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2379
2371
 
2380
2372
  ### 返回数据结构
2381
2373
 
2382
2374
  状态码 **200**
2383
2375
 
2384
- |名称|类型|必选|约束|中文名|说明|
2385
- |---|---|---|---|---|---|
2386
- success|boolean|true|none|是否成功|none|
2376
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2377
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2378
+ | » success | boolean | true | none | 是否成功 | none |
2387
2379
 
2388
2380
  ## GET 重启HID设备
2389
2381
 
@@ -2401,17 +2393,17 @@ GET /api/hid/restartDevice
2401
2393
 
2402
2394
  ### 返回结果
2403
2395
 
2404
- |状态码|状态码含义|说明|数据模型|
2405
- |---|---|---|---|
2406
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2396
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2397
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2398
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2407
2399
 
2408
2400
  ### 返回数据结构
2409
2401
 
2410
2402
  状态码 **200**
2411
2403
 
2412
- |名称|类型|必选|约束|中文名|说明|
2413
- |---|---|---|---|---|---|
2414
- success|boolean|true|none|是否成功|none|
2404
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2405
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2406
+ | » success | boolean | true | none | 是否成功 | none |
2415
2407
 
2416
2408
  ## GET 移动坐标
2417
2409
 
@@ -2419,10 +2411,10 @@ GET /api/hid/move
2419
2411
 
2420
2412
  ### 请求参数
2421
2413
 
2422
- |名称|位置|类型|必选|中文名|说明|
2423
- |---|---|---|---|---|---|
2424
- |x|query|integer| 是 ||点击坐标X|
2425
- |y|query|integer| 是 ||点击坐标Y|
2414
+ | 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
2415
+ | ---- | ----- | ------- | ---- | ------ | --------- |
2416
+ | x | query | integer | 是 | | 点击坐标X |
2417
+ | y | query | integer | 是 | | 点击坐标Y |
2426
2418
 
2427
2419
  > 返回示例
2428
2420
 
@@ -2436,17 +2428,17 @@ GET /api/hid/move
2436
2428
 
2437
2429
  ### 返回结果
2438
2430
 
2439
- |状态码|状态码含义|说明|数据模型|
2440
- |---|---|---|---|
2441
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2431
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2432
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2433
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2442
2434
 
2443
2435
  ### 返回数据结构
2444
2436
 
2445
2437
  状态码 **200**
2446
2438
 
2447
- |名称|类型|必选|约束|中文名|说明|
2448
- |---|---|---|---|---|---|
2449
- success|boolean|true|none|是否成功|none|
2439
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2440
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2441
+ | » success | boolean | true | none | 是否成功 | none |
2450
2442
 
2451
2443
  ## GET 鼠标按下
2452
2444
 
@@ -2464,17 +2456,17 @@ GET /api/hid/mouseDown
2464
2456
 
2465
2457
  ### 返回结果
2466
2458
 
2467
- |状态码|状态码含义|说明|数据模型|
2468
- |---|---|---|---|
2469
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2459
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2460
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2461
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2470
2462
 
2471
2463
  ### 返回数据结构
2472
2464
 
2473
2465
  状态码 **200**
2474
2466
 
2475
- |名称|类型|必选|约束|中文名|说明|
2476
- |---|---|---|---|---|---|
2477
- success|boolean|true|none|是否成功|none|
2467
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2468
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2469
+ | » success | boolean | true | none | 是否成功 | none |
2478
2470
 
2479
2471
  ## GET 鼠标抬起
2480
2472
 
@@ -2492,17 +2484,17 @@ GET /api/hid/mouseUp
2492
2484
 
2493
2485
  ### 返回结果
2494
2486
 
2495
- |状态码|状态码含义|说明|数据模型|
2496
- |---|---|---|---|
2497
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2487
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2488
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2489
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2498
2490
 
2499
2491
  ### 返回数据结构
2500
2492
 
2501
2493
  状态码 **200**
2502
2494
 
2503
- |名称|类型|必选|约束|中文名|说明|
2504
- |---|---|---|---|---|---|
2505
- success|boolean|true|none|是否成功|none|
2495
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2496
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2497
+ | » success | boolean | true | none | 是否成功 | none |
2506
2498
 
2507
2499
  ## POST 保存图像到相册
2508
2500
 
@@ -2524,17 +2516,17 @@ POST /api/media/saveImageToAlbum
2524
2516
 
2525
2517
  ### 返回结果
2526
2518
 
2527
- |状态码|状态码含义|说明|数据模型|
2528
- |---|---|---|---|
2529
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2519
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2520
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2521
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2530
2522
 
2531
2523
  ### 返回数据结构
2532
2524
 
2533
2525
  状态码 **200**
2534
2526
 
2535
- |名称|类型|必选|约束|中文名|说明|
2536
- |---|---|---|---|---|---|
2537
- success|boolean|true|none|是否成功|none|
2527
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2528
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2529
+ | » success | boolean | true | none | 是否成功 | none |
2538
2530
 
2539
2531
  ## POST 保存视频到相册
2540
2532
 
@@ -2556,17 +2548,17 @@ POST /api/media/saveVideoToAlbumPath
2556
2548
 
2557
2549
  ### 返回结果
2558
2550
 
2559
- |状态码|状态码含义|说明|数据模型|
2560
- |---|---|---|---|
2561
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2551
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2552
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2553
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2562
2554
 
2563
2555
  ### 返回数据结构
2564
2556
 
2565
2557
  状态码 **200**
2566
2558
 
2567
- |名称|类型|必选|约束|中文名|说明|
2568
- |---|---|---|---|---|---|
2569
- success|boolean|true|none|是否成功|none|
2559
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2560
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2561
+ | » success | boolean | true | none | 是否成功 | none |
2570
2562
 
2571
2563
  ## GET 清空相册图片
2572
2564
 
@@ -2584,17 +2576,17 @@ GET /api/media/deleteAllPhotos
2584
2576
 
2585
2577
  ### 返回结果
2586
2578
 
2587
- |状态码|状态码含义|说明|数据模型|
2588
- |---|---|---|---|
2589
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2579
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2580
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2581
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2590
2582
 
2591
2583
  ### 返回数据结构
2592
2584
 
2593
2585
  状态码 **200**
2594
2586
 
2595
- |名称|类型|必选|约束|中文名|说明|
2596
- |---|---|---|---|---|---|
2597
- success|boolean|true|none|是否成功|none|
2587
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2588
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2589
+ | » success | boolean | true | none | 是否成功 | none |
2598
2590
 
2599
2591
  ## GET 清空相册视频
2600
2592
 
@@ -2612,17 +2604,17 @@ GET /api/media/deleteAllVideos
2612
2604
 
2613
2605
  ### 返回结果
2614
2606
 
2615
- |状态码|状态码含义|说明|数据模型|
2616
- |---|---|---|---|
2617
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2607
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2608
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2609
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2618
2610
 
2619
2611
  ### 返回数据结构
2620
2612
 
2621
2613
  状态码 **200**
2622
2614
 
2623
- |名称|类型|必选|约束|中文名|说明|
2624
- |---|---|---|---|---|---|
2625
- success|boolean|true|none|是否成功|none|
2615
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2616
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2617
+ | » success | boolean | true | none | 是否成功 | none |
2626
2618
 
2627
2619
  ## GET 清空相册截图
2628
2620
 
@@ -2640,17 +2632,17 @@ GET /api/media/deleteAllScreenshots
2640
2632
 
2641
2633
  ### 返回结果
2642
2634
 
2643
- |状态码|状态码含义|说明|数据模型|
2644
- |---|---|---|---|
2645
- |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|Inline|
2635
+ | 状态码 | 状态码含义 | 说明 | 数据模型 |
2636
+ | ------ | ------------------------------------------------------- | ---- | -------- |
2637
+ | 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none | Inline |
2646
2638
 
2647
2639
  ### 返回数据结构
2648
2640
 
2649
2641
  状态码 **200**
2650
2642
 
2651
- |名称|类型|必选|约束|中文名|说明|
2652
- |---|---|---|---|---|---|
2653
- success|boolean|true|none|是否成功|none|
2643
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2644
+ | --------- | ------- | ---- | ---- | -------- | ---- |
2645
+ | » success | boolean | true | none | 是否成功 | none |
2654
2646
 
2655
2647
  # 数据模型
2656
2648
 
@@ -2687,7 +2679,6 @@ GET /api/media/deleteAllScreenshots
2687
2679
  "isRecording": true,
2688
2680
  "udid": "string",
2689
2681
  "serverDeviceId": "string",
2690
- "isPipScriptControlEnabled": true,
2691
2682
  "orientation": "PORTRAIT",
2692
2683
  "osVersion": "string",
2693
2684
  "ecid": "string",
@@ -2698,57 +2689,53 @@ GET /api/media/deleteAllScreenshots
2698
2689
  "isHidConnected": true,
2699
2690
  "isShowUI": true,
2700
2691
  "isLogin": true,
2701
- "isPipWindowEnabled": true,
2702
2692
  "deviceId": "string"
2703
2693
  }
2704
-
2705
2694
  ```
2706
2695
 
2707
2696
  ### 属性
2708
2697
 
2709
- |名称|类型|必选|约束|中文名|说明|
2710
- |---|---|---|---|---|---|
2711
- |deviceIp|string|true|none|设备IP|none|
2712
- |screenInfo|object|true|none|屏幕信息|none|
2713
- logicWidth|integer|true|none|逻辑宽带|none|
2714
- logicHeight|integer|true|none|逻辑高度|none|
2715
- height|integer|true|none|物理高度|none|
2716
- width|integer|true|none|物理宽度|none|
2717
- scale|number|true|none|缩放比|none|
2718
- |deviceName|string|true|none|设备名称|none|
2719
- |batteryInfo|object|true|none|电池信息|none|
2720
- level|integer|true|none|电量 1-100|none|
2721
- isCharging|boolean|true|none|是否充电中|none|
2722
- |appName|string|true|none|app名称|none|
2723
- |appBuildNumber|integer|true|none|app构建号|none|
2724
- |appBundleId|string|true|none|app 包名|none|
2725
- |deviceModel|string|true|none|设备型号|none|
2726
- |agentConnected|boolean|true|none|agent是否连接|none|
2727
- |isRun|boolean|true|none|脚本是否启动|none|
2728
- |isDebugMode|boolean|true|none|是否调试模式运行|none|
2729
- |isAuth|boolean|true|none|是否授权|none|
2730
- |isRecording|boolean|true|none|是否录屏中|none|
2731
- |udid|string|true|none|设备唯一 UDID|none|
2732
- |serverDeviceId|string|true|none|服务器设备ID|none|
2733
- |isPipScriptControlEnabled|boolean|true|none|悬浮窗控制是否打开|none|
2734
- |orientation|string|true|none|屏幕方向|none|
2735
- |osVersion|string|true|none|系统版本|none|
2736
- |ecid|string|true|none|设备唯一 ECID|none|
2737
- |isVolumeControlEnabled|boolean|true|none|是否开启了音量键启停|none|
2738
- |agentVersion|string|true|none|agent版本号|none|
2739
- |appVersion|string|true|none|app版本号|none|
2740
- |serverType|string|true|none|授权服务器类型|none|
2741
- |isHidConnected|boolean|true|none|hid设备是否连接|none|
2742
- |isShowUI|boolean|true|none|实现显示了 UI|none|
2743
- |isLogin|boolean|true|none|是否登录|none|
2744
- |isPipWindowEnabled|boolean|true|none|悬浮窗是否打开|none|
2745
- |deviceId|string|true|none|设备 ID,应用唯一,卸载重装变化|none|
2698
+ | 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
2699
+ | ---------------------- | ------- | ---- | ---- | ------------------------------- | ---- |
2700
+ | deviceIp | string | true | none | 设备IP | none |
2701
+ | screenInfo | object | true | none | 屏幕信息 | none |
2702
+ | » logicWidth | integer | true | none | 逻辑宽带 | none |
2703
+ | » logicHeight | integer | true | none | 逻辑高度 | none |
2704
+ | » height | integer | true | none | 物理高度 | none |
2705
+ | » width | integer | true | none | 物理宽度 | none |
2706
+ | » scale | number | true | none | 缩放比 | none |
2707
+ | deviceName | string | true | none | 设备名称 | none |
2708
+ | batteryInfo | object | true | none | 电池信息 | none |
2709
+ | » level | integer | true | none | 电量 1-100 | none |
2710
+ | » isCharging | boolean | true | none | 是否充电中 | none |
2711
+ | appName | string | true | none | app名称 | none |
2712
+ | appBuildNumber | integer | true | none | app构建号 | none |
2713
+ | appBundleId | string | true | none | app 包名 | none |
2714
+ | deviceModel | string | true | none | 设备型号 | none |
2715
+ | agentConnected | boolean | true | none | agent是否连接 | none |
2716
+ | isRun | boolean | true | none | 脚本是否启动 | none |
2717
+ | isDebugMode | boolean | true | none | 是否调试模式运行 | none |
2718
+ | isAuth | boolean | true | none | 是否授权 | none |
2719
+ | isRecording | boolean | true | none | 是否录屏中 | none |
2720
+ | udid | string | true | none | 设备唯一 UDID | none |
2721
+ | serverDeviceId | string | true | none | 服务器设备ID | none |
2722
+ | orientation | string | true | none | 屏幕方向 | none |
2723
+ | osVersion | string | true | none | 系统版本 | none |
2724
+ | ecid | string | true | none | 设备唯一 ECID | none |
2725
+ | isVolumeControlEnabled | boolean | true | none | 是否开启了音量键启停 | none |
2726
+ | agentVersion | string | true | none | agent版本号 | none |
2727
+ | appVersion | string | true | none | app版本号 | none |
2728
+ | serverType | string | true | none | 授权服务器类型 | none |
2729
+ | isHidConnected | boolean | true | none | hid设备是否连接 | none |
2730
+ | isShowUI | boolean | true | none | 实现显示了 UI | none |
2731
+ | isLogin | boolean | true | none | 是否登录 | none |
2732
+ | deviceId | string | true | none | 设备 ID,应用唯一,卸载重装变化 | none |
2746
2733
 
2747
2734
  #### 枚举值
2748
2735
 
2749
- |属性|值|
2750
- |---|---|
2751
- |orientation|PORTRAIT|
2752
- |orientation|LANDSCAPE|
2753
- |serverType|international|
2754
- |serverType|domestic|
2736
+ | 属性 | 值 |
2737
+ | ----------- | ------------- |
2738
+ | orientation | PORTRAIT |
2739
+ | orientation | LANDSCAPE |
2740
+ | serverType | international |
2741
+ | serverType | domestic |