From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/mts/2021-07-28/api-docs.php | 1233 +++++--------------------------- 1 file changed, 167 insertions(+), 1066 deletions(-) (limited to 'data/en_us/mts/2021-07-28/api-docs.php') diff --git a/data/en_us/mts/2021-07-28/api-docs.php b/data/en_us/mts/2021-07-28/api-docs.php index 6dca6f3..f59f084 100644 --- a/data/en_us/mts/2021-07-28/api-docs.php +++ b/data/en_us/mts/2021-07-28/api-docs.php @@ -1,28 +1,12 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'Mts', - 'version' => '2021-07-28', - ], + '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', - ], + 'children' => ['QueryCopyright', 'SubmitTraceAb', 'SubmitCopyrightJob', 'SubmitImageCopyright', 'QueryTraceAb', 'QueryTraceMu', 'SubmitTracemu', 'QueryCopyrightExtract', 'QueryTraceExtract', 'SubmitCopyrightExtract', 'SubmitTraceExtract'], ], ], 'components' => [ @@ -32,13 +16,8 @@ 'QueryCopyright' => [ 'summary' => '查询视频水印任务', 'path' => '/queryCopyrightJob', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -50,9 +29,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREmtsRH229Z', - ], + 'abilityTreeNodes' => ['FEATUREmtsRH229Z'], ], 'parameters' => [ [ @@ -62,53 +39,12 @@ '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', - ], + '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', @@ -120,111 +56,31 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '61038D1A424235AE267B9817', - 'type' => 'string', - ], + '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', - ], + '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', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], ], 'type' => 'object', ], @@ -235,13 +91,8 @@ 'SubmitTraceAb' => [ 'summary' => '提交溯源水印ab流任务', 'path' => '/submitTraceAb', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -249,90 +100,7 @@ ], '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', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -341,41 +109,15 @@ 'Data' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'bfb786c639894f4d80648792021e****', - 'title' => '任务ID', - 'type' => 'string', - ], - 'MediaId' => [ - 'description' => '', - 'example' => '437bd2b516ffda105d07b12a9a82****', - 'title' => '媒体id', - 'type' => 'string', - ], + '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', - ], + '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', ], @@ -386,13 +128,8 @@ 'SubmitCopyrightJob' => [ 'summary' => '提交视频版权水印', 'path' => '/submitCopyrightJob', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -404,9 +141,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREmtsRH229Z', - ], + 'abilityTreeNodes' => ['FEATUREmtsRH229Z'], ], 'parameters' => [ [ @@ -416,92 +151,18 @@ '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"}', - ], + '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', @@ -513,38 +174,17 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '610399D2334334AE2CB70C28', - 'title' => '请求Id', - 'type' => 'string', - ], - 'Message' => [ - 'description' => '', - 'example' => 'ok', - 'title' => '返回信息', - 'type' => 'string', - ], + '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', - ], + 'JobId' => ['description' => '', 'example' => 'bfb786c639894f4d80648792021e****', 'title' => '任务id', 'type' => 'string'], ], 'title' => '返回数据', 'type' => 'object', ], - 'StatusCode' => [ - 'description' => '', - 'example' => '200', - 'format' => 'int64', - 'title' => '状态码', - 'type' => 'integer', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], ], 'type' => 'object', ], @@ -555,13 +195,8 @@ 'SubmitImageCopyright' => [ 'summary' => '提交图片水印任务', 'path' => '/submitImageCopyright', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -577,35 +212,10 @@ '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', - ], + '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', @@ -620,35 +230,14 @@ 'Data' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'bfb786c639894f4d80648792021e****', - 'title' => '任务id', - 'type' => 'string', - ], + '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', - ], + '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', ], @@ -659,13 +248,8 @@ 'QueryTraceAb' => [ 'summary' => '查询溯源水印ab流任务', 'path' => '/queryTraceAb', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -681,20 +265,8 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'a20f60d76ac9485496c4a1c6fa70****', - 'required' => false, - 'title' => '任务id', - 'type' => 'string', - ], - 'MediaId' => [ - 'description' => '', - 'example' => '437bd2b516ffda105d07b12a9a82****', - 'required' => false, - 'title' => '媒体id', - 'type' => 'string', - ], + 'JobId' => ['description' => '', 'example' => 'a20f60d76ac9485496c4a1c6fa70****', 'required' => false, 'title' => '任务id', 'type' => 'string'], + 'MediaId' => ['description' => '', 'example' => '437bd2b516ffda105d07b12a9a82****', 'required' => false, 'title' => '媒体id', 'type' => 'string'], ], 'required' => false, 'type' => 'object', @@ -711,107 +283,27 @@ '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', - ], + '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', - ], + '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', ], @@ -822,13 +314,8 @@ 'QueryTraceMu' => [ 'summary' => '查询水印m3u8任务', 'path' => '/queryTraceM3u8', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -844,61 +331,13 @@ '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', - ], + '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', @@ -915,95 +354,25 @@ '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', - ], + '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', - ], + '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', ], @@ -1014,13 +383,8 @@ 'SubmitTracemu' => [ 'summary' => '获取溯源水印m3u8文件', 'path' => '/submitTraceM3u8', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1036,38 +400,11 @@ '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', - ], + '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', @@ -1082,41 +419,15 @@ 'Data' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'bfb786c639894f4d80648792021e****', - 'title' => '任务id', - 'type' => 'string', - ], - 'Code' => [ - 'description' => '', - 'example' => '10011001110101010101****', - 'title' => '生成m3u8文件的code', - 'type' => 'string', - ], + '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', - ], + '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', ], @@ -1127,13 +438,8 @@ 'QueryCopyrightExtract' => [ 'summary' => '查询版权水印提取任务', 'path' => '/queryCopyrightExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1152,13 +458,7 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - 'required' => true, - 'title' => '任务id', - 'type' => 'string', - ], + 'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'required' => true, 'title' => '任务id', 'type' => 'string'], ], 'required' => false, 'type' => 'object', @@ -1170,36 +470,16 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '54BB917F-DD35-4F32-BABA-E60E31B21W63', - 'type' => 'string', - ], + 'RequestID' => ['description' => '', 'example' => '54BB917F-DD35-4F32-BABA-E60E31B21W63', 'type' => 'string'], 'Data' => [ 'description' => '', 'properties' => [ - 'Message' => [ - 'description' => '', - 'example' => 'example water mark', - 'title' => '版权水印信息', - 'type' => 'string', - ], + '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', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], + 'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'], ], 'type' => 'object', ], @@ -1210,24 +490,15 @@ 'QueryTraceExtract' => [ 'summary' => '查询溯源水印提取任务', 'path' => '/queryTraceExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ @@ -1238,13 +509,7 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - 'required' => true, - 'title' => '任务id', - 'type' => 'string', - ], + 'JobId' => ['description' => '', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', 'required' => true, 'title' => '任务id', 'type' => 'string'], ], 'required' => false, 'type' => 'object', @@ -1256,36 +521,16 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '610399D2334334AE2CB70C28', - 'type' => 'string', - ], + 'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'], 'Data' => [ 'description' => '', 'properties' => [ - 'Trace' => [ - 'description' => '', - 'example' => 'example water mark', - 'title' => '溯源水印信息', - 'type' => 'string', - ], + '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', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], + 'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回信息', 'type' => 'string'], ], 'type' => 'object', ], @@ -1296,13 +541,8 @@ 'SubmitCopyrightExtract' => [ 'summary' => '提交版权水印提取任务', 'path' => '/submitCopyrightExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1318,39 +558,11 @@ '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"}', - ], + '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', @@ -1362,36 +574,16 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '610399D2334334AE2CB70C28', - 'type' => 'string', - ], + 'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'], 'Data' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - 'title' => '任务id', - 'type' => 'string', - ], + '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', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], + 'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回消息', 'type' => 'string'], ], 'type' => 'object', ], @@ -1402,13 +594,8 @@ 'SubmitTraceExtract' => [ 'summary' => '提交版权水印提取任务', 'path' => '/submitTraceExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1424,38 +611,11 @@ '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', - ], + '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', @@ -1467,36 +627,16 @@ 'schema' => [ 'description' => '', 'properties' => [ - 'RequestID' => [ - 'description' => '', - 'example' => '610399D2334334AE2CB70C28', - 'type' => 'string', - ], + 'RequestID' => ['description' => '', 'example' => '610399D2334334AE2CB70C28', 'type' => 'string'], 'Data' => [ 'description' => '', 'properties' => [ - 'JobId' => [ - 'description' => '', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - 'title' => '任务id', - 'type' => 'string', - ], + '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', - ], + 'StatusCode' => ['description' => '', 'example' => '200', 'format' => 'int64', 'title' => '状态码', 'type' => 'integer'], + 'Message' => ['description' => '', 'example' => 'ok', 'title' => '返回消息', 'type' => 'string'], ], 'type' => 'object', ], @@ -1506,57 +646,18 @@ ], ], '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', - ], + ['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'], ], ]; -- cgit v1.2.3