diff options
Diffstat (limited to 'data/zh_cn/mts/2021-07-28')
| -rw-r--r-- | data/zh_cn/mts/2021-07-28/api-docs.php | 1321 |
1 files changed, 207 insertions, 1114 deletions
diff --git a/data/zh_cn/mts/2021-07-28/api-docs.php b/data/zh_cn/mts/2021-07-28/api-docs.php index b4c5652..038d228 100644 --- a/data/zh_cn/mts/2021-07-28/api-docs.php +++ b/data/zh_cn/mts/2021-07-28/api-docs.php @@ -1,28 +1,12 @@ <?php return [ 'version' => '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' => '调用QueryCopyright查询视频版权水印。', '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' => [ [ @@ -63,53 +40,12 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'CreateTimeEnd' => [ - 'title' => '创建时间截止', - 'description' => '起始创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1627357322', - ], - 'CreateTimeStart' => [ - 'title' => '创建时间起始', - 'description' => '截止创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1627357322', - ], - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'e44f30ce-21d9-4814-901d-7925f748****', - ], - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'PageNumber' => [ - 'title' => '翻页下标', - 'description' => '翻页下标。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - 'PageSize' => [ - 'title' => '每页数量', - 'description' => '每页数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'CreateTimeEnd' => ['title' => '创建时间截止', 'description' => '起始创建时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1627357322'], + 'CreateTimeStart' => ['title' => '创建时间起始', 'description' => '截止创建时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1627357322'], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'e44f30ce-21d9-4814-901d-7925f748****'], + 'Level' => ['title' => '水印强度', 'description' => '水印强度。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'PageNumber' => ['title' => '翻页下标', 'description' => '翻页下标。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + 'PageSize' => ['title' => '每页数量', 'description' => '每页数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -121,11 +57,7 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '61038D1A424235AE267B9817', - ], + 'RequestID' => ['description' => '请求ID。', 'type' => 'string', 'example' => '61038D1A424235AE267B9817'], 'Data' => [ 'description' => '返回数据。', 'type' => 'array', @@ -133,103 +65,27 @@ 'description' => '返回数据详细信息。', 'type' => 'object', 'properties' => [ - 'Callback' => [ - 'title' => '回调url', - 'description' => '回调URL。', - 'type' => 'string', - 'example' => 'http://example.com/callback', - ], - 'GmtCreate' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1627357322', - ], - 'GmtModified' => [ - 'title' => '修改时间', - 'description' => '修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1627357322', - ], - 'Input' => [ - 'title' => '水印视频输入', - 'description' => '水印视频输入。', - 'type' => 'string', - 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"test.mp4"}', - ], - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Message' => [ - 'title' => '水印信息', - 'description' => '水印信息。', - 'type' => 'string', - 'example' => '平头哥半导体(上海)', - ], - 'MessageId' => [ - 'title' => '水印信息id', - 'description' => '水印信息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '82', - ], - 'Output' => [ - 'title' => '水印视频输出', - 'description' => '水印视频输出。', - 'type' => 'string', - 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.mp4"}', - ], - 'Status' => [ - 'title' => '状态', - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Success**:成功。'."\n" - ."\n" - .'- **Fail**:失败。', - 'type' => 'string', - 'example' => 'Success', - ], - 'UserData' => [ - 'title' => '用户数据', - 'description' => '用户自定义数据。', - 'type' => 'string', - 'example' => '{"uid":134669327666****}', - ], - 'UserId' => [ - 'title' => '用户ID', - 'description' => '用户ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '134669327666****', - ], - 'Result' => [ - 'title' => '任务结果', - 'description' => '任务结果。', - 'type' => 'string', - 'example' => '{"Code":"success","Message":"ok"}', - ], + 'Callback' => ['title' => '回调url', 'description' => '回调URL。', 'type' => 'string', 'example' => 'http://example.com/callback'], + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627357322'], + 'GmtModified' => ['title' => '修改时间', 'description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1627357322'], + 'Input' => ['title' => '水印视频输入', 'description' => '水印视频输入。', 'type' => 'string', 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"test.mp4"}'], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], + 'Level' => ['title' => '水印强度', 'description' => '水印强度。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Message' => ['title' => '水印信息', 'description' => '水印信息。', 'type' => 'string', 'example' => '平头哥半导体(上海)'], + 'MessageId' => ['title' => '水印信息id', 'description' => '水印信息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '82'], + 'Output' => ['title' => '水印视频输出', 'description' => '水印视频输出。', 'type' => 'string', 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.mp4"}'], + 'Status' => ['title' => '状态', 'description' => '任务状态。取值:'."\n" + ."\n" + .'- **Success**:成功。'."\n" + ."\n" + .'- **Fail**:失败。', 'type' => 'string', 'example' => 'Success'], + 'UserData' => ['title' => '用户数据', 'description' => '用户自定义数据。', 'type' => 'string', 'example' => '{"uid":134669327666****}'], + 'UserId' => ['title' => '用户ID', 'description' => '用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '134669327666****'], + 'Result' => ['title' => '任务结果', 'description' => '任务结果。', 'type' => 'string', 'example' => '{"Code":"success","Message":"ok"}'], ], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -244,13 +100,8 @@ 'SubmitTraceAb' => [ 'summary' => '提交视频溯源水印ab流任务。', 'path' => '/submitTraceAb', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -258,94 +109,7 @@ ], 'deprecated' => false, 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数。', - 'type' => 'object', - 'properties' => [ - 'CallBack' => [ - 'title' => '任务结果回调', - 'description' => '任务结果回调。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/callback', - ], - 'Input' => [ - 'title' => '溯源水印ab流处理视频输入', - 'description' => '溯源水印ab流处理视频输入OSS地址。OSS的地域需要与当前MPS所在地域保持一致。'."\n" - ."\n" - .'> 提交视频溯源水印ab流作业目前仅支持3分钟及以上视频,视频时间过短会导致接口调用失败或无输出。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Object":"test.mp4"}', - ], - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度,可选值**0,1,2**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], - 'Output' => [ - 'title' => '溯源水印ab流处理输出', - 'description' => '溯源水印ab流处理输出OSS地址。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => true, - 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Dir":"out/"}', - ], - 'UserData' => [ - 'title' => '用户自定义数据,最大长度1024个字节', - 'description' => '用户自定义数据,最大长度1024个字节。', - 'type' => 'string', - 'required' => false, - 'example' => '{uid:1765****}', - ], - 'Url' => [ - 'title' => '外部url链接(Input和url二选一)', - 'description' => '文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/image_01.jpg', - ], - 'StartTime' => [ - 'title' => '嵌入水印开始时间', - 'description' => '水印嵌入开始时间。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'example' => '0', - 'default' => '0', - ], - 'TotalTime' => [ - 'title' => '嵌入水印总时长', - 'description' => '水印嵌入总时间。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '0', - 'example' => '360', - 'default' => '0', - ], - 'CipherBase64ed' => [ - 'title' => '密钥base64串', - 'description' => 'base64后的加密密钥。', - 'type' => 'string', - 'required' => false, - 'example' => 'Qh6OdgIMcliQSI1fReOw****', - ], - ], - 'required' => false, - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -357,39 +121,13 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务ID', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'MediaId' => [ - 'title' => '媒体id', - 'description' => '媒体ID。', - 'type' => 'string', - 'example' => '437bd2b516ffda105d07b12a9a82****', - ], + 'JobId' => ['title' => '任务ID', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], + 'MediaId' => ['title' => '媒体id', 'description' => '媒体ID。', 'type' => 'string', 'example' => '437bd2b516ffda105d07b12a9a82****'], ], ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestID' => [ - 'title' => '请求Id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610399D2334334AE2CB70C28', - ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], + 'RequestID' => ['title' => '请求Id', 'description' => '请求ID。', 'type' => 'string', 'example' => '610399D2334334AE2CB70C28'], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -408,13 +146,8 @@ 'SubmitCopyrightJob' => [ 'summary' => '提交视频版权水印任务。', 'path' => '/submitCopyrightJob', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -426,9 +159,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREmtsRH229Z', - ], + 'abilityTreeNodes' => ['FEATUREmtsRH229Z'], ], 'parameters' => [ [ @@ -439,103 +170,28 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'CallBack' => [ - 'title' => '任务结果回调url', - 'description' => '任务结果回调URL。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/callback', - ], - 'Description' => [ - 'title' => '水印信息描述', - 'description' => '水印信息描述。', - 'type' => 'string', - 'required' => false, - 'example' => '地址 : 上海市浦东新区上科路川和路', - ], - 'Input' => [ - 'title' => '输入的视频,oss三元组', - 'description' => '待添加水印的媒体文件OSS地址,目前仅支持视频文件,JSON对象。详细信息请参见[Input详情](~~29253~~)。'."\n" - ."\n" - .'> 提交视频版权水印作业目前仅支持3分钟及以上视频,视频时间过短会导致接口调用失败或无输出。'."\n" - ."\n" - .'- Bucket:输入文件OSS Bucket名称。'."\n" - ."\n" - .'- Location:OSS所在地域,必须和MPS服务所在地域一致。'."\n" - ."\n" - .'- Object:待检测OSS Object。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}', - ], - 'Level' => [ - 'title' => '水印强度,取值1,2,3', - 'description' => '水印强度,整数,取值范围**\\[0,2\\]**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'Message' => [ - 'title' => '水印信息', - 'description' => '水印信息,最大长度1024字节。', - 'type' => 'string', - 'required' => true, - 'example' => '平头哥半导体公司', - ], - 'StartTime' => [ - 'title' => '水印起始时间(单位是秒),不填写默认为0', - 'description' => '水印起始时间,单位为秒,不填写默认为**0**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], - 'TotalTime' => [ - 'title' => '水印结束时间(单位是秒),不填默认为60000', - 'description' => '水印结束时间,单位为秒,不填写默认为**0**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', - ], - 'Output' => [ - 'title' => '输出的视频,oss三元组', - 'description' => '文件输出OSS地址。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => true, - 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}', - ], - 'UserData' => [ - 'title' => '用户自定义数据', - 'description' => '用户自定义数据,最大长度1024字节。', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'Url' => [ - 'title' => '外部url链接(Input和url二选一)', - 'description' => '视频URL链接。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://www.example.com/video/test.mp4', - ], - 'VisibleMessage' => [ - 'title' => '可见水印(必须是英文字符)', - 'description' => '可见水印。', - 'type' => 'string', - 'required' => false, - 'example' => 'abcd', - ], - 'Params' => [ - 'title' => '水印参数', - 'description' => '水印参数', - 'type' => 'string', - 'required' => false, - 'example' => '{"vsid":"198"}', - ], + 'CallBack' => ['title' => '任务结果回调url', 'description' => '任务结果回调URL。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'], + 'Description' => ['title' => '水印信息描述', 'description' => '水印信息描述。', 'type' => 'string', 'required' => false, 'example' => '地址 : 上海市浦东新区上科路川和路'], + 'Input' => ['title' => '输入的视频,oss三元组', 'description' => '待添加水印的媒体文件OSS地址,目前仅支持视频文件,JSON对象。详细信息请参见[Input详情](~~29253~~)。'."\n" + ."\n" + .'> 提交视频版权水印作业目前仅支持3分钟及以上视频,视频时间过短会导致接口调用失败或无输出。'."\n" + ."\n" + .'- Bucket:输入文件OSS Bucket名称。'."\n" + ."\n" + .'- Location:OSS所在地域,必须和MPS服务所在地域一致。'."\n" + ."\n" + .'- Object:待检测OSS Object。', 'type' => 'string', 'required' => false, 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}'], + 'Level' => ['title' => '水印强度,取值1,2,3', 'description' => '水印强度,整数,取值范围**\\[0,2\\]**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'Message' => ['title' => '水印信息', 'description' => '水印信息,最大长度1024字节。', 'type' => 'string', 'required' => true, 'example' => '平头哥半导体公司'], + 'StartTime' => ['title' => '水印起始时间(单位是秒),不填写默认为0', 'description' => '水印起始时间,单位为秒,不填写默认为**0**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + 'TotalTime' => ['title' => '水印结束时间(单位是秒),不填默认为60000', 'description' => '水印结束时间,单位为秒,不填写默认为**0**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'], + 'Output' => ['title' => '输出的视频,oss三元组', 'description' => '文件输出OSS地址。'."\n" + ."\n" + .'> OSS的地域需要与当前MPS所在地域保持一致。', 'type' => 'string', 'required' => true, 'example' => '{"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.flv"}'], + 'UserData' => ['title' => '用户自定义数据', 'description' => '用户自定义数据,最大长度1024字节。', 'type' => 'string', 'required' => false, 'example' => '123'], + 'Url' => ['title' => '外部url链接(Input和url二选一)', 'description' => '视频URL链接。', 'type' => 'string', 'required' => false, 'example' => 'http://www.example.com/video/test.mp4'], + 'VisibleMessage' => ['title' => '可见水印(必须是英文字符)', 'description' => '可见水印。', 'type' => 'string', 'required' => false, 'example' => 'abcd'], + 'Params' => ['title' => '水印参数', 'description' => '水印参数', 'type' => 'string', 'required' => false, 'example' => '{"vsid":"198"}'], ], 'required' => false, ], @@ -547,38 +203,17 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'title' => '请求Id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610399D2334334AE2CB70C28', - ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], + 'RequestID' => ['title' => '请求Id', 'description' => '请求ID。', 'type' => 'string', 'example' => '610399D2334334AE2CB70C28'], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], 'Data' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -597,13 +232,8 @@ 'SubmitImageCopyright' => [ 'summary' => '提交图片版权水印任务。', 'path' => '/submitImageCopyright', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -620,43 +250,18 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度,取值范围**\\[1,3\\]**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'Message' => [ - 'title' => '水印信息', - 'description' => '水印信息。', - 'type' => 'string', - 'required' => true, - 'example' => '平头哥半导体公司', - ], - 'Output' => [ - 'title' => '水印图片输出oss地址', - 'description' => '水印图片输出OSS地址。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.jpeg"}', - ], - 'Params' => [ - 'title' => '参数', - 'description' => '水印参数。参数说明:'."\n" - ."\n" - .'- **width**:输出图像的宽。'."\n" - .'- **height**:输出图像的高。'."\n" - .'- **afa**:水印图片透明度,取值范围**0~255**。'."\n" - .'- **type**:水印类型,取值范围**0**(算法类型0)和**1**(算法类型1)。'."\n" - .'- **version**:水印版本,当前取值仅支持**0**。', - 'type' => 'string', - 'required' => false, - 'example' => '{"width":2990, "height":2999, "afa": 3, "type":1, "version":0}', - ], + 'Level' => ['title' => '水印强度', 'description' => '水印强度,取值范围**\\[1,3\\]**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'Message' => ['title' => '水印信息', 'description' => '水印信息。', 'type' => 'string', 'required' => true, 'example' => '平头哥半导体公司'], + 'Output' => ['title' => '水印图片输出oss地址', 'description' => '水印图片输出OSS地址。'."\n" + ."\n" + .'> OSS的地域需要与当前MPS所在地域保持一致。', 'type' => 'string', 'required' => false, 'example' => '{"Bucket":"abc-test","Location":"oss-cn-shanghai","Object":"out.jpeg"}'], + 'Params' => ['title' => '参数', 'description' => '水印参数。参数说明:'."\n" + ."\n" + .'- **width**:输出图像的宽。'."\n" + .'- **height**:输出图像的高。'."\n" + .'- **afa**:水印图片透明度,取值范围**0~255**。'."\n" + .'- **type**:水印类型,取值范围**0**(算法类型0)和**1**(算法类型1)。'."\n" + .'- **version**:水印版本,当前取值仅支持**0**。', 'type' => 'string', 'required' => false, 'example' => '{"width":2990, "height":2999, "afa": 3, "type":1, "version":0}'], ], 'required' => false, ], @@ -673,33 +278,12 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], ], ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestID' => [ - 'title' => '请求id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '61038671443432952925C670', - ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], + 'RequestID' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '61038671443432952925C670'], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -715,13 +299,8 @@ 'QueryTraceAb' => [ 'summary' => '调用QueryTraceAb查询视频溯源水印ab流。', 'path' => '/queryTraceAb', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -738,20 +317,8 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。可以从[提交视频溯源水印ab流](~~287033~~)的返回参数中获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'a20f60d76ac9485496c4a1c6fa70****', - ], - 'MediaId' => [ - 'title' => '媒体id', - 'description' => '媒体ID。', - 'type' => 'string', - 'required' => false, - 'example' => '437bd2b516ffda105d07b12a9a82****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。可以从[提交视频溯源水印ab流](~~287033~~)的返回参数中获取。', 'type' => 'string', 'required' => false, 'example' => 'a20f60d76ac9485496c4a1c6fa70****'], + 'MediaId' => ['title' => '媒体id', 'description' => '媒体ID。', 'type' => 'string', 'required' => false, 'example' => '437bd2b516ffda105d07b12a9a82****'], ], 'required' => false, ], @@ -771,108 +338,28 @@ 'description' => '返回结果详细信息。', 'type' => 'object', 'properties' => [ - 'Callback' => [ - 'title' => '任务结果回调', - 'description' => '任务结果回调。', - 'type' => 'string', - 'example' => 'http://example.com/callback', - ], - 'GmtCreate' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1727441315', - ], - 'GmtModified' => [ - 'title' => '最后修改时间', - 'description' => '最后修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1727441315', - ], - 'Input' => [ - 'title' => '输入oss地址', - 'description' => '输入文件OSS地址。', - 'type' => 'string', - 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"test.jpeg"}', - ], - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度,取值范围**0,1,2**。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'MediaId' => [ - 'title' => '媒体id', - 'description' => '媒体ID。', - 'type' => 'string', - 'example' => '437bd2b516ffda105d07b12a9a82****', - ], - 'Output' => [ - 'title' => '输出地址', - 'description' => '输出文件OSS地址。', - 'type' => 'string', - 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Dir":"out/"}', - ], - 'Status' => [ - 'title' => '任务状态', - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Success**:成功。'."\n" - ."\n" - .'- **Fail**:失败。', - 'type' => 'string', - 'example' => 'Success', - ], - 'UserData' => [ - 'title' => '用户数据', - 'description' => '用户自定义数据。', - 'type' => 'string', - 'example' => '{"uid":134669327666****}', - ], - 'UserId' => [ - 'title' => 'uid', - 'description' => '用户ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '134669327666****', - ], - 'Result' => [ - 'title' => '任务结果', - 'description' => '任务结果。', - 'type' => 'string', - 'example' => '{"Code":"success","Message":"ok"}', - ], + 'Callback' => ['title' => '任务结果回调', 'description' => '任务结果回调。', 'type' => 'string', 'example' => 'http://example.com/callback'], + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1727441315'], + 'GmtModified' => ['title' => '最后修改时间', 'description' => '最后修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1727441315'], + 'Input' => ['title' => '输入oss地址', 'description' => '输入文件OSS地址。', 'type' => 'string', 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"test.jpeg"}'], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], + 'Level' => ['title' => '水印强度', 'description' => '水印强度,取值范围**0,1,2**。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'MediaId' => ['title' => '媒体id', 'description' => '媒体ID。', 'type' => 'string', 'example' => '437bd2b516ffda105d07b12a9a82****'], + 'Output' => ['title' => '输出地址', 'description' => '输出文件OSS地址。', 'type' => 'string', 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Dir":"out/"}'], + 'Status' => ['title' => '任务状态', 'description' => '任务状态。取值:'."\n" + ."\n" + .'- **Success**:成功。'."\n" + ."\n" + .'- **Fail**:失败。', 'type' => 'string', 'example' => 'Success'], + 'UserData' => ['title' => '用户数据', 'description' => '用户自定义数据。', 'type' => 'string', 'example' => '{"uid":134669327666****}'], + 'UserId' => ['title' => 'uid', 'description' => '用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '134669327666****'], + 'Result' => ['title' => '任务结果', 'description' => '任务结果。', 'type' => 'string', 'example' => '{"Code":"success","Message":"ok"}'], ], ], ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestID' => [ - 'title' => '请求id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '61038D31354232E106FB****', - ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], + 'RequestID' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '61038D31354232E106FB****'], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -887,13 +374,8 @@ 'QueryTraceMu' => [ 'summary' => '调用QueryTraceMu查询视频溯源水印m3u8。', 'path' => '/queryTraceM3u8', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -910,61 +392,13 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'CreateTimeEnd' => [ - 'title' => '创建时间起始', - 'description' => '截止创建时间节点。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1527441300', - ], - 'CreateTimeStart' => [ - 'title' => '创建时间截止', - 'description' => '起始创建时间节点。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1527441300', - ], - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。可以从[提交视频溯源水印m3u8](~~287031~~)的返回参数中获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'Level' => [ - 'title' => '水印强度', - 'description' => '水印强度。可取值**1,2,3**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'MessageId' => [ - 'title' => '水印信息id', - 'description' => '水印信息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '78', - ], - 'PageNumber' => [ - 'title' => '页偏移', - 'description' => '页偏移。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - 'PageSize' => [ - 'title' => '每页数量', - 'description' => '每页数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'CreateTimeEnd' => ['title' => '创建时间起始', 'description' => '截止创建时间节点。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1527441300'], + 'CreateTimeStart' => ['title' => '创建时间截止', 'description' => '起始创建时间节点。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1527441300'], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。可以从[提交视频溯源水印m3u8](~~287031~~)的返回参数中获取。', 'type' => 'string', 'required' => false, 'example' => 'bfb786c639894f4d80648792021e****'], + 'Level' => ['title' => '水印强度', 'description' => '水印强度。可取值**1,2,3**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'MessageId' => ['title' => '水印信息id', 'description' => '水印信息ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '78'], + 'PageNumber' => ['title' => '页偏移', 'description' => '页偏移。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + 'PageSize' => ['title' => '每页数量', 'description' => '每页数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'], ], 'required' => false, ], @@ -984,96 +418,26 @@ 'description' => '返回数据详细信息。', 'type' => 'object', 'properties' => [ - 'GmtCreate' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1527441300', - ], - 'GmtModified' => [ - 'title' => '最后修改时间', - 'description' => '最后修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1527441300', - ], - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'MediaId' => [ - 'title' => '媒体id', - 'description' => '媒体ID。', - 'type' => 'string', - 'example' => '437bd2b516ffda105d07b12a9a82****', - ], - 'Output' => [ - 'title' => '输出oss地址', - 'description' => '输出文件OSS地址。', - 'type' => 'string', - 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Object":"out/test.m3u8"}', - ], - 'Status' => [ - 'title' => '任务状态', - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **Success**:成功。'."\n" - ."\n" - .'- **Fail**:失败。', - 'type' => 'string', - 'example' => 'Success', - ], - 'Trace' => [ - 'title' => '溯源水印信息', - 'description' => '溯源水印信息。', - 'type' => 'string', - 'example' => '今天星期一', - ], - 'TraceId' => [ - 'title' => '溯源水印信息id', - 'description' => '溯源水印信息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65', - ], - 'UserData' => [ - 'title' => '用户自定义数据', - 'description' => '用户自定义数据。', - 'type' => 'string', - 'example' => '{"uid":134669327666****}', - ], - 'UserId' => [ - 'title' => 'uid', - 'description' => '用户ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1346693276669150', - ], + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527441300'], + 'GmtModified' => ['title' => '最后修改时间', 'description' => '最后修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527441300'], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], + 'MediaId' => ['title' => '媒体id', 'description' => '媒体ID。', 'type' => 'string', 'example' => '437bd2b516ffda105d07b12a9a82****'], + 'Output' => ['title' => '输出oss地址', 'description' => '输出文件OSS地址。', 'type' => 'string', 'example' => '{"Bucket":"ivison-test","Location":"oss-cn-shanghai","Object":"out/test.m3u8"}'], + 'Status' => ['title' => '任务状态', 'description' => '任务状态。取值:'."\n" + ."\n" + .'- **Success**:成功。'."\n" + ."\n" + .'- **Fail**:失败。', 'type' => 'string', 'example' => 'Success'], + 'Trace' => ['title' => '溯源水印信息', 'description' => '溯源水印信息。', 'type' => 'string', 'example' => '今天星期一'], + 'TraceId' => ['title' => '溯源水印信息id', 'description' => '溯源水印信息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '65'], + 'UserData' => ['title' => '用户自定义数据', 'description' => '用户自定义数据。', 'type' => 'string', 'example' => '{"uid":134669327666****}'], + 'UserId' => ['title' => 'uid', 'description' => '用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1346693276669150'], ], ], ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestID' => [ - 'title' => '请求id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '61038D2F324544B46C27783B', - ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], + 'RequestID' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '61038D2F324544B46C27783B'], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -1092,13 +456,8 @@ 'SubmitTracemu' => [ 'summary' => '提交视频溯源水印m3u8任务。', 'path' => '/submitTraceM3u8', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1115,41 +474,13 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'MediaId' => [ - 'title' => 'ab流处理后的媒体id', - 'description' => 'ab流处理后的媒体ID。可以从[提交视频溯源水印ab流](~~287037~~)接口的返回参数中获取。', - 'type' => 'string', - 'required' => true, - 'example' => '437bd2b516ffda105d07b12a9a82****', - ], - 'Output' => [ - 'title' => 'm3u8文件输出oss地址', - 'description' => 'm3u8文件输出OSS地址。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => true, - 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"out.m3u8"}', - ], - 'Trace' => [ - 'title' => '溯源水印信息', - 'description' => '溯源水印信息。', - 'type' => 'string', - 'required' => true, - 'example' => '今天星期一', - ], - 'KeyUri' => [ - 'title' => '密钥服务器uri', - 'description' => '密钥服务器uri', - 'type' => 'string', - 'required' => false, - 'example' => 'https://cipher.abc.com', - ], - 'Params' => [ - 'title' => '任务参数', - 'type' => 'string', - 'required' => false, - ], + 'MediaId' => ['title' => 'ab流处理后的媒体id', 'description' => 'ab流处理后的媒体ID。可以从[提交视频溯源水印ab流](~~287037~~)接口的返回参数中获取。', 'type' => 'string', 'required' => true, 'example' => '437bd2b516ffda105d07b12a9a82****'], + 'Output' => ['title' => 'm3u8文件输出oss地址', 'description' => 'm3u8文件输出OSS地址。'."\n" + ."\n" + .'> OSS的地域需要与当前MPS所在地域保持一致。', 'type' => 'string', 'required' => true, 'example' => '{"Bucket":"exampleBucket","Location":"oss-cn-shanghai","Object":"out.m3u8"}'], + 'Trace' => ['title' => '溯源水印信息', 'description' => '溯源水印信息。', 'type' => 'string', 'required' => true, 'example' => '今天星期一'], + 'KeyUri' => ['title' => '密钥服务器uri', 'description' => '密钥服务器uri', 'type' => 'string', 'required' => false, 'example' => 'https://cipher.abc.com'], + 'Params' => ['title' => '任务参数', 'type' => 'string', 'required' => false], ], 'required' => false, ], @@ -1166,39 +497,13 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'bfb786c639894f4d80648792021e****', - ], - 'Code' => [ - 'title' => '生成m3u8文件的code', - 'description' => '生成m3u8文件的code。', - 'type' => 'string', - 'example' => '10011001110101010101****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'bfb786c639894f4d80648792021e****'], + 'Code' => ['title' => '生成m3u8文件的code', 'description' => '生成m3u8文件的code。', 'type' => 'string', 'example' => '10011001110101010101****'], ], ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], - 'RequestID' => [ - 'title' => '请求Id', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610393F5324544B46C60****', - ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], + 'RequestID' => ['title' => '请求Id', 'description' => '请求ID。', 'type' => 'string', 'example' => '610393F5324544B46C60****'], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], ], ], ], @@ -1219,13 +524,8 @@ 'QueryCopyrightExtract' => [ 'summary' => '查询版权水印提取信息。', 'path' => '/queryCopyrightExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1245,13 +545,7 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。可以通过[提交版权水印提取作业](~~339736~~)的返回参数中获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。可以通过[提交版权水印提取作业](~~339736~~)的返回参数中获取。', 'type' => 'string', 'required' => true, 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****'], ], 'required' => false, ], @@ -1263,36 +557,16 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '54BB917F-DD35-4F32-BABA-E60E31B21W63', - ], + 'RequestID' => ['description' => '请求ID。', 'type' => 'string', 'example' => '54BB917F-DD35-4F32-BABA-E60E31B21W63'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'title' => '版权水印信息', - 'description' => '版权水印信息。', - 'type' => 'string', - 'example' => 'example water mark', - ], + 'Message' => ['title' => '版权水印信息', 'description' => '版权水印信息。', 'type' => 'string', 'example' => 'example water mark'], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], ], ], ], @@ -1307,24 +581,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' => [ @@ -1336,13 +601,7 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。可以从[提交溯源水印提取作业](~~339737~~)的返回参数中获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。可以从[提交溯源水印提取作业](~~339737~~)的返回参数中获取。', 'type' => 'string', 'required' => true, 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****'], ], 'required' => false, ], @@ -1354,36 +613,16 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610399D2334334AE2CB70C28', - ], + 'RequestID' => ['description' => '请求ID。', 'type' => 'string', 'example' => '610399D2334334AE2CB70C28'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Trace' => [ - 'title' => '溯源水印信息', - 'description' => '溯源水印信息。', - 'type' => 'string', - 'example' => 'example water mark', - ], + 'Trace' => ['title' => '溯源水印信息', 'description' => '溯源水印信息。', 'type' => 'string', 'example' => 'example water mark'], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Message' => [ - 'title' => '返回信息', - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'ok', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'Message' => ['title' => '返回信息', 'description' => '返回信息。', 'type' => 'string', 'example' => 'ok'], ], ], ], @@ -1398,13 +637,8 @@ 'SubmitCopyrightExtract' => [ 'summary' => '调用SubmitCopyrightExtract接口提交版权水印提取作业。', 'path' => '/submitCopyrightExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1421,44 +655,15 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'Input' => [ - 'title' => '输入文件oss地址', - 'description' => '待提取版权水印文件的输入Bucket,更多信息请参见[Input详情](~~29253~~)。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}', - ], - 'UserData' => [ - 'title' => '用户数据', - 'description' => '用户数据,无格式要求。', - 'type' => 'string', - 'required' => false, - 'example' => '23test', - ], - 'CallBack' => [ - 'title' => '任务完成回调', - 'description' => '任务完成后的回调地址。'."\n" - ."\n" - .'> 不支持HTTPS地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/callback', - ], - 'Url' => [ - 'title' => 'url链接', - 'description' => '文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/test.mp4', - ], - 'Params' => [ - 'title' => '水印提取参数', - 'type' => 'string', - 'required' => false, - 'example' => '{"strength":"1"}', - ], + 'Input' => ['title' => '输入文件oss地址', 'description' => '待提取版权水印文件的输入Bucket,更多信息请参见[Input详情](~~29253~~)。'."\n" + ."\n" + .'> OSS的地域需要与当前MPS所在地域保持一致。', 'type' => 'string', 'required' => false, 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}'], + 'UserData' => ['title' => '用户数据', 'description' => '用户数据,无格式要求。', 'type' => 'string', 'required' => false, 'example' => '23test'], + 'CallBack' => ['title' => '任务完成回调', 'description' => '任务完成后的回调地址。'."\n" + ."\n" + .'> 不支持HTTPS地址。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'], + 'Url' => ['title' => 'url链接', 'description' => '文件地址。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/test.mp4'], + 'Params' => ['title' => '水印提取参数', 'type' => 'string', 'required' => false, 'example' => '{"strength":"1"}'], ], 'required' => false, ], @@ -1470,36 +675,16 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610399D2334334AE2CB70C28', - ], + 'RequestID' => ['description' => '请求ID。', 'type' => 'string', 'example' => '610399D2334334AE2CB70C28'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****'], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Message' => [ - 'title' => '返回消息', - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'ok', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'Message' => ['title' => '返回消息', 'description' => '返回消息。', 'type' => 'string', 'example' => 'ok'], ], ], ], @@ -1514,13 +699,8 @@ 'SubmitTraceExtract' => [ 'summary' => '调用SubmitTraceExtract接口提交溯源水印提取作业。', 'path' => '/submitTraceExtract', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1537,43 +717,15 @@ 'description' => '请求参数。', 'type' => 'object', 'properties' => [ - 'Input' => [ - 'title' => '输入文件oss地址', - 'description' => '待提取溯源水印文件的输入Bucket,更多信息请参见[Input详情](~~29253~~)。如果没有创建媒体Bucket,请参见[添加媒体Bucket](~~42430~~)创建媒体Bucket。'."\n" - ."\n" - .'> OSS的地域需要与当前MPS所在地域保持一致。', - 'type' => 'string', - 'required' => false, - 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}', - ], - 'UserData' => [ - 'title' => '用户数据', - 'description' => '用户数据,无格式要求。', - 'type' => 'string', - 'required' => false, - 'example' => '51test', - ], - 'CallBack' => [ - 'title' => '任务完成回调', - 'description' => '任务完成后的回调地址。'."\n" - ."\n" - .'> 不支持HTTPS地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/callback', - ], - 'Url' => [ - 'title' => 'url链接', - 'description' => '文件地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'http://example.com/test.mp4', - ], - 'Params' => [ - 'title' => '任务参数', - 'type' => 'string', - 'required' => false, - ], + 'Input' => ['title' => '输入文件oss地址', 'description' => '待提取溯源水印文件的输入Bucket,更多信息请参见[Input详情](~~29253~~)。如果没有创建媒体Bucket,请参见[添加媒体Bucket](~~42430~~)创建媒体Bucket。'."\n" + ."\n" + .'> OSS的地域需要与当前MPS所在地域保持一致。', 'type' => 'string', 'required' => false, 'example' => '{"Bucket":"example","Location":"oss-cn-shanghai","Object":"example.mp4"}'], + 'UserData' => ['title' => '用户数据', 'description' => '用户数据,无格式要求。', 'type' => 'string', 'required' => false, 'example' => '51test'], + 'CallBack' => ['title' => '任务完成回调', 'description' => '任务完成后的回调地址。'."\n" + ."\n" + .'> 不支持HTTPS地址。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'], + 'Url' => ['title' => 'url链接', 'description' => '文件地址。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/test.mp4'], + 'Params' => ['title' => '任务参数', 'type' => 'string', 'required' => false], ], 'required' => false, ], @@ -1585,36 +737,16 @@ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ - 'RequestID' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '610399D2334334AE2CB70C28', - ], + 'RequestID' => ['description' => '请求ID。', 'type' => 'string', 'example' => '610399D2334334AE2CB70C28'], 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'JobId' => [ - 'title' => '任务id', - 'description' => '任务ID。可作为[查询溯源水印提取作业](~~339735~~)的请求参数用于查询作业结果。', - 'type' => 'string', - 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****', - ], + 'JobId' => ['title' => '任务id', 'description' => '任务ID。可作为[查询溯源水印提取作业](~~339735~~)的请求参数用于查询作业结果。', 'type' => 'string', 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****'], ], ], - 'StatusCode' => [ - 'title' => '状态码', - 'description' => '状态码。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Message' => [ - 'title' => '返回消息', - 'description' => '返回消息。', - 'type' => 'string', - 'example' => 'ok', - ], + 'StatusCode' => ['title' => '状态码', 'description' => '状态码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'Message' => ['title' => '返回消息', 'description' => '返回消息。', 'type' => 'string', 'example' => 'ok'], ], ], ], @@ -1628,57 +760,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'], ], ]; |
