1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'Mts', 'version' => '2021-07-28'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
'children' => ['QueryCopyright', 'SubmitTraceAb', 'SubmitCopyrightJob', 'SubmitImageCopyright', 'QueryTraceAb', 'QueryTraceMu', 'SubmitTracemu', 'QueryCopyrightExtract', 'QueryTraceExtract', 'SubmitCopyrightExtract', 'SubmitTraceExtract'],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'QueryCopyright' => [
'summary' => '查询视频水印任务',
'path' => '/queryCopyrightJob',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREmtsRH229Z'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'CreateTimeEnd' => ['description' => '', 'example' => '1627357322', 'format' => 'int64', 'required' => false, 'title' => '创建时间截止', 'type' => 'integer'],
'CreateTimeStart' => ['description' => '', 'example' => '1627357322', 'format' => 'int64', 'required' => false, 'title' => '创建时间起始', 'type' => 'integer'],
'JobId' => ['description' => '', 'example' => 'e44f30ce-21d9-4814-901d-7925f748****', 'required' => false, 'title' => '任务id', 'type' => 'string'],
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'required' => false, 'title' => '水印强度', 'type' => 'integer'],
'PageNumber' => ['description' => '', 'example' => '0', 'format' => 'int64', 'required' => false, 'title' => '翻页下标', 'type' => 'integer'],
'PageSize' => ['description' => '', 'example' => '1', 'format' => 'int64', 'required' => false, 'title' => '每页数量', 'type' => 'integer'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '61038D1A424235AE267B9817', 'type' => 'string'],
'Data' => [
'description' => '',
'items' => [
'description' => '',
'properties' => [
'Callback' => ['description' => '', 'example' => 'http://example.com/callback', 'title' => '回调url', 'type' => 'string'],
'GmtCreate' => ['description' => '', 'example' => '1627357322', 'format' => 'int64', 'title' => '创建时间', 'type' => 'integer'],
'GmtModified' => ['description' => '', 'example' => '1627357322', 'format' => 'int64', 'title' => '修改时间', 'type' => 'integer'],
'Input' => ['description' => '', 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"test.mp4"}', 'title' => '水印视频输入', 'type' => 'string'],
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'title' => '水印强度', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => '平头哥半导体(上海)', 'title' => '水印信息', 'type' => 'string'],
'MessageId' => ['description' => '', 'example' => '82', 'format' => 'int64', 'title' => '水印信息id', 'type' => 'integer'],
'Output' => ['description' => '', 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.mp4"}', 'title' => '水印视频输出', 'type' => 'string'],
'Status' => ['description' => '', 'example' => 'Success', 'title' => '状态', 'type' => 'string'],
'UserData' => ['description' => '', 'example' => '{"uid":134669327666****}', 'title' => '用户数据', 'type' => 'string'],
'UserId' => ['description' => '', 'example' => '134669327666****', 'format' => 'int64', 'title' => '用户ID', 'type' => 'integer'],
'Result' => ['description' => '', 'example' => '{"Code":"success","Message":"ok"}', 'title' => '任务结果', 'type' => 'string'],
],
'type' => 'object',
],
'type' => 'array',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"61038D1A424235AE267B9817\\",\\n \\"Data\\": [\\n {\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"GmtCreate\\": 1627357322,\\n \\"GmtModified\\": 1627357322,\\n \\"Input\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"abc-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"test.mp4\\\\\\"}\\",\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Level\\": 2,\\n \\"Message\\": \\"平头哥半导体(上海)\\",\\n \\"MessageId\\": 82,\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"abc-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"out.mp4\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 0,\\n \\"Result\\": \\"{\\\\\\"Code\\\\\\":\\\\\\"success\\\\\\",\\\\\\"Message\\\\\\":\\\\\\"ok\\\\\\"}\\"\\n }\\n ],\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryCopyrightResponse>\\n <RequestID>61038D1A424235AE267B9817</RequestID>\\n <Data>\\n <Callback>http://example.com/callback</Callback>\\n <GmtCreate>1627357322</GmtCreate>\\n <GmtModified>1627357322</GmtModified>\\n <Input>{\\"Bucket\\":\\"abc-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.mp4\\"}</Input>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Level>2</Level>\\n <Message>平头哥半导体(上海)</Message>\\n <MessageId>82</MessageId>\\n <Output>{\\"Bucket\\":\\"abc-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"out.mp4\\"}</Output>\\n <Status>Success</Status>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <Result>{\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}</Result>\\n </Data>\\n <StatusCode>200</StatusCode>\\n</QueryCopyrightResponse>","errorExample":""}]',
],
'SubmitTraceAb' => [
'summary' => '提交溯源水印ab流任务',
'path' => '/submitTraceAb',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务ID', 'type' => 'string'],
'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'title' => '媒体id', 'type' => 'string'],
],
'title' => '返回数据',
'type' => 'object',
],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'title' => '请求Id', 'type' => 'string'],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitTraceAbResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitTraceAbResponse>","errorExample":""}]',
],
'SubmitCopyrightJob' => [
'summary' => '提交视频版权水印',
'path' => '/submitCopyrightJob',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREmtsRH229Z'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'CallBack' => ['description' => '', 'example' => 'http://example.com/callback', 'required' => false, 'title' => '任务结果回调url', 'type' => 'string'],
'Description' => ['description' => '', 'example' => '地址 : 上海市浦东新区上科路366号川和路55弄2号5层水印信息描述', 'required' => false, 'title' => '水印信息描述', 'type' => 'string'],
'Input' => ['description' => '', 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}', 'required' => false, 'title' => '输入的视频,oss三元组', 'type' => 'string'],
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'required' => false, 'title' => '水印强度,取值1,2,3', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => '平头哥(上海)半导体技术有限公司水印信息', 'required' => true, 'title' => '水印信息', 'type' => 'string'],
'StartTime' => ['description' => '', 'example' => '100', 'format' => 'int64', 'required' => false, 'title' => '水印起始时间(单位是秒),不填写默认为0', 'type' => 'integer'],
'TotalTime' => ['description' => '', 'example' => '1000', 'format' => 'int64', 'required' => false, 'title' => '水印结束时间(单位是秒),不填默认为60000', 'type' => 'integer'],
'Output' => ['description' => '', 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}', 'required' => true, 'title' => '输出的视频,oss三元组', 'type' => 'string'],
'UserData' => ['description' => '', 'example' => '123', 'required' => false, 'title' => '用户自定义数据', 'type' => 'string'],
'Url' => ['description' => '', 'example' => 'http://www.example.com/video/test.mp4', 'required' => false, 'title' => '外部url链接(Input和url二选一)', 'type' => 'string'],
'VisibleMessage' => ['description' => '', 'example' => 'abcd', 'required' => false, 'title' => '可见水印(必须是英文字符)', 'type' => 'string'],
'Params' => ['required' => false, 'title' => '水印参数', 'type' => 'string', 'example' => '{"vsid":"198"}'],
],
'required' => true,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'title' => '请求Id', 'type' => 'string'],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
],
'title' => '返回数据',
'type' => 'object',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Message\\": \\"ok\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\"\\n },\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitCopyrightJobResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Message>ok</Message>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n</SubmitCopyrightJobResponse>","errorExample":""}]',
],
'SubmitImageCopyright' => [
'summary' => '提交图片水印任务',
'path' => '/submitImageCopyright',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'required' => false, 'title' => '水印强度', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => '平头哥半导体科技有限公司', 'required' => true, 'title' => '水印信息', 'type' => 'string'],
'Output' => ['description' => '', 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.jpeg"}', 'required' => false, 'title' => '水印图片输出oss地址', 'type' => 'string'],
'Params' => ['description' => '', 'example' => '{"width":2999, "height":2999, "afa": 3, "type":1, "version":0}', 'required' => false, 'title' => '参数', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
],
'title' => '返回数据',
'type' => 'object',
],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'RequestID' => ['description' => '', 'example' => '61038671443432952925C670', 'title' => '请求id', 'type' => 'string'],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038671443432952925C670\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitImageCopyrightResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038671443432952925C670</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitImageCopyrightResponse>","errorExample":""}]',
],
'QueryTraceAb' => [
'summary' => '查询溯源水印ab流任务',
'path' => '/queryTraceAb',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'a20f60d76ac9485496c4a1c6fa70****', 'required' => false, 'title' => '任务id', 'type' => 'string'],
'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'required' => false, 'title' => '媒体id', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'Data' => [
'description' => '',
'items' => [
'description' => '',
'properties' => [
'Callback' => ['description' => '', 'example' => 'http://example.com/callback', 'title' => '任务结果回调', 'type' => 'string'],
'GmtCreate' => ['description' => '', 'example' => '1727441315', 'format' => 'int64', 'title' => '创建时间', 'type' => 'integer'],
'GmtModified' => ['description' => '', 'example' => '1727441315', 'format' => 'int64', 'title' => '最后修改时间', 'type' => 'integer'],
'Input' => ['description' => '', 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"test.jpeg"}', 'title' => '输入oss地址', 'type' => 'string'],
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'title' => '水印强度', 'type' => 'integer'],
'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'title' => '媒体id', 'type' => 'string'],
'Output' => ['description' => '', 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Dir":"out/"}', 'title' => '输出地址', 'type' => 'string'],
'Status' => ['description' => '', 'example' => 'Success', 'title' => '任务状态', 'type' => 'string'],
'UserData' => ['description' => '', 'example' => '{"uid":134669327666****}', 'title' => '用户数据', 'type' => 'string'],
'UserId' => ['description' => '', 'example' => '134669327666****', 'format' => 'int64', 'title' => 'uid', 'type' => 'integer'],
'Result' => ['description' => '', 'example' => '{"Code":"success","Message":"ok"}', 'title' => '任务结果', 'type' => 'string'],
],
'type' => 'object',
],
'title' => '返回结构',
'type' => 'array',
],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'RequestID' => ['description' => '', 'example' => '61038D31354232E106FB****', 'title' => '请求id', 'type' => 'string'],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": [\\n {\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"GmtCreate\\": 1727441315,\\n \\"GmtModified\\": 1727441315,\\n \\"Input\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"exampleBucket\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"test.jpeg\\\\\\"}\\",\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Level\\": 2,\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\",\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"ivison-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Dir\\\\\\":\\\\\\"out/\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 0,\\n \\"Result\\": \\"{\\\\\\"Code\\\\\\":\\\\\\"success\\\\\\",\\\\\\"Message\\\\\\":\\\\\\"ok\\\\\\"}\\"\\n }\\n ],\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038D31354232E106FB****\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceAbResponse>\\n <Data>\\n <Callback>http://example.com/callback</Callback>\\n <GmtCreate>1727441315</GmtCreate>\\n <GmtModified>1727441315</GmtModified>\\n <Input>{\\"Bucket\\":\\"exampleBucket\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.jpeg\\"}</Input>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Level>2</Level>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n <Output>{\\"Bucket\\":\\"ivison-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Dir\\":\\"out/\\"}</Output>\\n <Status>Success</Status>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <Result>{\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}</Result>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038D31354232E106FB****</RequestID>\\n <StatusCode>200</StatusCode>\\n</QueryTraceAbResponse>","errorExample":""}]',
],
'QueryTraceMu' => [
'summary' => '查询水印m3u8任务',
'path' => '/queryTraceM3u8',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'CreateTimeEnd' => ['description' => '', 'example' => '1527441300', 'format' => 'int64', 'required' => false, 'title' => '创建时间起始', 'type' => 'integer'],
'CreateTimeStart' => ['description' => '', 'example' => '1527441300', 'format' => 'int64', 'required' => false, 'title' => '创建时间截止', 'type' => 'integer'],
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'required' => false, 'title' => '任务id', 'type' => 'string'],
'Level' => ['description' => '', 'example' => '2', 'format' => 'int64', 'required' => false, 'title' => '水印强度', 'type' => 'integer'],
'MessageId' => ['description' => '', 'example' => '78', 'format' => 'int64', 'required' => false, 'title' => '水印信息id', 'type' => 'integer'],
'PageNumber' => ['description' => '', 'example' => '0', 'format' => 'int64', 'required' => false, 'title' => '页偏移', 'type' => 'integer'],
'PageSize' => ['description' => '', 'example' => '5', 'format' => 'int64', 'required' => false, 'title' => '每页数量', 'type' => 'integer'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'Data' => [
'description' => '',
'items' => [
'description' => '',
'properties' => [
'GmtCreate' => ['description' => '', 'example' => '1527441300', 'format' => 'int64', 'title' => '创建时间', 'type' => 'integer'],
'GmtModified' => ['description' => '', 'example' => '1527441300', 'format' => 'int64', 'title' => '最后修改时间', 'type' => 'integer'],
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'title' => '媒体id', 'type' => 'string'],
'Output' => ['description' => '', 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Object":"out/test.m3u8"}', 'title' => '输出oss地址', 'type' => 'string'],
'Status' => ['description' => '', 'example' => 'Success', 'title' => '任务状态', 'type' => 'string'],
'Trace' => ['description' => '', 'example' => '平头哥半导体', 'title' => '溯源水印信息', 'type' => 'string'],
'TraceId' => ['description' => '', 'example' => '65', 'format' => 'int64', 'title' => '溯源水印信息id', 'type' => 'integer'],
'UserData' => ['description' => '', 'example' => '{"uid":134669327666****}', 'title' => '用户自定义数据', 'type' => 'string'],
'UserId' => ['description' => '', 'example' => '1346693276669150', 'format' => 'int64', 'title' => 'uid', 'type' => 'integer'],
],
'type' => 'object',
],
'title' => '返回数据结构',
'type' => 'array',
],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'RequestID' => ['description' => '', 'example' => '61038D2F324544B46C27783B', 'title' => '请求id', 'type' => 'string'],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": [\\n {\\n \\"GmtCreate\\": 1527441300,\\n \\"GmtModified\\": 1527441300,\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\",\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"ivison-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"out/test.m3u8\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"Trace\\": \\"今天星期一\\",\\n \\"TraceId\\": 65,\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 1346693276669150\\n }\\n ],\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038D2F324544B46C27783B\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceMuResponse>\\n <Data>\\n <GmtCreate>1527441300</GmtCreate>\\n <GmtModified>1527441300</GmtModified>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n <Output>{\\"Bucket\\":\\"ivison-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"out/test.m3u8\\"}</Output>\\n <Status>Success</Status>\\n <Trace>今天星期一</Trace>\\n <TraceId>65</TraceId>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <UserId>1346693276669150</UserId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038D2F324544B46C27783B</RequestID>\\n <StatusCode>200</StatusCode>\\n</QueryTraceMuResponse>","errorExample":""}]',
],
'SubmitTracemu' => [
'summary' => '获取溯源水印m3u8文件',
'path' => '/submitTraceM3u8',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'required' => true, 'title' => 'ab流处理后的媒体id', 'type' => 'string'],
'Output' => ['description' => '', 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"out.m3u8"}', 'required' => true, 'title' => 'm3u8文件输出oss地址', 'type' => 'string'],
'Trace' => ['description' => '', 'example' => '平头哥半导体科技有限公司', 'required' => true, 'title' => '溯源水印信息', 'type' => 'string'],
'KeyUri' => ['description' => '', 'example' => 'https://cipher.abc.com', 'required' => false, 'title' => '密钥服务器uri', 'type' => 'string'],
'Params' => ['title' => '任务参数', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'],
'Code' => ['description' => '', 'example' => '10011001110101010101****', 'title' => '生成m3u8文件的code', 'type' => 'string'],
],
'title' => '返回数据',
'type' => 'object',
],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
'RequestID' => ['description' => '', 'example' => '610393F5324544B46C60****', 'title' => '请求Id', 'type' => 'string'],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Code\\": \\"10011001110101010101****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"610393F5324544B46C60****\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitTracemuResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Code>10011001110101010101****</Code>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>610393F5324544B46C60****</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitTracemuResponse>","errorExample":""}]',
],
'QueryCopyrightExtract' => [
'summary' => '查询版权水印提取任务',
'path' => '/queryCopyrightExtract',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => [],
'produces' => [],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'required' => true, 'title' => '任务id', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '54BB917F-DD35-4F32-BABA-E60E31B21W63', 'type' => 'string'],
'Data' => [
'description' => '',
'properties' => [
'Message' => ['description' => '', 'example' => 'example water mark', 'title' => '版权水印信息', 'type' => 'string'],
],
'type' => 'object',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"54BB917F-DD35-4F32-BABA-E60E31B21W63\\",\\n \\"Data\\": {\\n \\"Message\\": \\"example water mark\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryCopyrightExtractResponse>\\n <RequestID>54BB917F-DD35-4F32-BABA-E60E31B21W63</RequestID>\\n <Data>\\n <Message>example water mark</Message>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</QueryCopyrightExtractResponse>","errorExample":""}]',
],
'QueryTraceExtract' => [
'summary' => '查询溯源水印提取任务',
'path' => '/queryTraceExtract',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'required' => true, 'title' => '任务id', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'],
'Data' => [
'description' => '',
'properties' => [
'Trace' => ['description' => '', 'example' => 'example water mark', 'title' => '溯源水印信息', 'type' => 'string'],
],
'type' => 'object',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"Trace\\": \\"example water mark\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <Trace>example water mark</Trace>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</QueryTraceExtractResponse>","errorExample":""}]',
],
'SubmitCopyrightExtract' => [
'summary' => '提交版权水印提取任务',
'path' => '/submitCopyrightExtract',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'Input' => ['description' => '', 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}', 'required' => false, 'title' => '输入文件oss地址', 'type' => 'string'],
'UserData' => ['description' => '', 'example' => '23test', 'required' => false, 'title' => '用户数据', 'type' => 'string'],
'CallBack' => ['description' => '', 'example' => 'http://example.com/callback', 'required' => false, 'title' => '任务完成回调', 'type' => 'string'],
'Url' => ['description' => '', 'example' => 'http://example.com/test.mp4', 'required' => false, 'title' => 'url链接', 'type' => 'string'],
'Params' => ['title' => '水印提取参数', 'type' => 'string', 'example' => '{"strength":"1"}'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'],
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'title' => '任务id', 'type' => 'string'],
],
'type' => 'object',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回消息', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"ebbfe90c63b54ed4b61acb2f6c44****\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitCopyrightExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <JobId>ebbfe90c63b54ed4b61acb2f6c44****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</SubmitCopyrightExtractResponse>","errorExample":""}]',
],
'SubmitTraceExtract' => [
'summary' => '提交版权水印提取任务',
'path' => '/submitTraceExtract',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'Input' => ['description' => '', 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}', 'required' => false, 'title' => '输入文件oss地址', 'type' => 'string'],
'UserData' => ['description' => '', 'example' => '51test', 'required' => false, 'title' => '用户数据', 'type' => 'string'],
'CallBack' => ['description' => '', 'example' => 'http://example.com/callback', 'required' => false, 'title' => '任务完成回调', 'type' => 'string'],
'Url' => ['description' => '', 'example' => 'http://example.com/test.mp4', 'required' => false, 'title' => 'url链接', 'type' => 'string'],
'Params' => ['title' => '任务参数', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '',
'properties' => [
'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'],
'Data' => [
'description' => '',
'properties' => [
'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'title' => '任务id', 'type' => 'string'],
],
'type' => 'object',
],
'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'],
'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回消息', 'type' => 'string'],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"ebbfe90c63b54ed4b61acb2f6c44****\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitTraceExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <JobId>ebbfe90c63b54ed4b61acb2f6c44****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</SubmitTraceExtractResponse>","errorExample":""}]',
],
],
'endpoints' => [
['regionId' => 'cn-qingdao', 'endpoint' => 'mts.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-beijing', 'endpoint' => 'mts.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'endpoint' => 'mts.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'endpoint' => 'mts.cn-hangzhou.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'endpoint' => 'mts.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-shenzhen', 'endpoint' => 'mts.cn-shenzhen.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'endpoint' => 'mts.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'endpoint' => 'mts.ap-northeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'endpoint' => 'mts.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'endpoint' => 'mts.ap-southeast-5.aliyuncs.com'],
['regionId' => 'us-west-1', 'endpoint' => 'mts.us-west-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'endpoint' => 'mts.eu-west-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'endpoint' => 'mts.eu-central-1.aliyuncs.com'],
],
];
|