'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":"\\n 61038D1A424235AE267B9817\\n \\n http://example.com/callback\\n 1627357322\\n 1627357322\\n {\\"Bucket\\":\\"abc-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.mp4\\"}\\n bfb786c639894f4d80648792021e****\\n 2\\n 平头哥半导体(上海)\\n 82\\n \\n Success\\n {\\"uid\\":134669327666****}\\n {\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}\\n \\n 200\\n","errorExample":""}]',
],
'SubmitTraceAb' => [
'summary' => '提交溯源水印ab流任务',
'path' => '/submitTraceAb',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => '',
'properties' => [
'CallBack' => [
'description' => '',
'example' => 'http://example.com/callback',
'required' => false,
'title' => '任务结果回调',
'type' => 'string',
],
'Input' => [
'description' => '',
'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Object":"test.mp4"}',
'required' => false,
'title' => '溯源水印ab流处理视频输入',
'type' => 'string',
],
'Level' => [
'description' => '',
'example' => '2',
'format' => 'int64',
'required' => true,
'title' => '水印强度',
'type' => 'integer',
],
'Output' => [
'description' => '',
'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Dir":"out/"}',
'required' => true,
'title' => '溯源水印ab流处理输出',
'type' => 'string',
],
'UserData' => [
'description' => '',
'example' => '{uid:1765****}',
'required' => false,
'title' => '用户自定义数据,最大长度1024个字节',
'type' => 'string',
],
'Url' => [
'description' => '',
'example' => 'http://example.com/image_01.jpg',
'required' => false,
'title' => '外部url链接(Input和url二选一)',
'type' => 'string',
],
'StartTime' => [
'description' => '',
'example' => '0',
'format' => 'int64',
'minimum' => '0',
'required' => false,
'title' => '嵌入水印开始时间',
'type' => 'integer',
'default' => '0',
],
'TotalTime' => [
'description' => '',
'example' => '360',
'format' => 'int64',
'minimum' => '0',
'required' => false,
'title' => '嵌入水印总时长',
'type' => 'integer',
'default' => '0',
],
'CipherBase64ed' => [
'description' => '',
'example' => 'Qh6OdgIMcliQSI1fReOw****',
'required' => false,
'title' => '密钥base64串',
'type' => 'string',
],
],
'required' => false,
'type' => 'object',
],
],
],
'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":"\\n \\n bfb786c639894f4d80648792021e****\\n 437bd2b516ffda105d07b12a9a82****\\n \\n ok\\n 610399D2334334AE2CB70C28\\n 200\\n","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":"\\n 610399D2334334AE2CB70C28\\n ok\\n \\n bfb786c639894f4d80648792021e****\\n \\n 200\\n","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":"\\n \\n bfb786c639894f4d80648792021e****\\n \\n ok\\n 61038671443432952925C670\\n 200\\n","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":"\\n \\n http://example.com/callback\\n 1727441315\\n 1727441315\\n {\\"Bucket\\":\\"exampleBucket\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.jpeg\\"}\\n bfb786c639894f4d80648792021e****\\n 2\\n 437bd2b516ffda105d07b12a9a82****\\n \\n Success\\n {\\"uid\\":134669327666****}\\n {\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}\\n \\n ok\\n 61038D31354232E106FB****\\n 200\\n","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":"\\n \\n 1527441300\\n 1527441300\\n bfb786c639894f4d80648792021e****\\n 437bd2b516ffda105d07b12a9a82****\\n \\n Success\\n 今天星期一\\n 65\\n {\\"uid\\":134669327666****}\\n 1346693276669150\\n \\n ok\\n 61038D2F324544B46C27783B\\n 200\\n","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":"\\n \\n bfb786c639894f4d80648792021e****\\n 10011001110101010101****\\n \\n ok\\n 610393F5324544B46C60****\\n 200\\n","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":"\\n 54BB917F-DD35-4F32-BABA-E60E31B21W63\\n \\n example water mark\\n \\n 200\\n ok\\n","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":"\\n 610399D2334334AE2CB70C28\\n \\n example water mark\\n \\n 200\\n ok\\n","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":"\\n 610399D2334334AE2CB70C28\\n \\n ebbfe90c63b54ed4b61acb2f6c44****\\n \\n 200\\n ok\\n","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":"\\n 610399D2334334AE2CB70C28\\n \\n ebbfe90c63b54ed4b61acb2f6c44****\\n \\n 200\\n ok\\n","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',
],
],
];