summaryrefslogtreecommitdiff
path: root/data/zh_cn/mts/2021-07-28
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/mts/2021-07-28
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/zh_cn/mts/2021-07-28')
-rw-r--r--data/zh_cn/mts/2021-07-28/api-docs.php1684
1 files changed, 1684 insertions, 0 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
new file mode 100644
index 0000000..b4c5652
--- /dev/null
+++ b/data/zh_cn/mts/2021-07-28/api-docs.php
@@ -0,0 +1,1684 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'Mts',
+ 'version' => '2021-07-28',
+ ],
+ 'directories' => [
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'QueryCopyright',
+ 'SubmitTraceAb',
+ 'SubmitCopyrightJob',
+ 'SubmitImageCopyright',
+ 'QueryTraceAb',
+ 'QueryTraceMu',
+ 'SubmitTracemu',
+ 'QueryCopyrightExtract',
+ 'QueryTraceExtract',
+ 'SubmitCopyrightExtract',
+ 'SubmitTraceExtract',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'QueryCopyright' => [
+ 'summary' => '调用QueryCopyright查询视频版权水印。',
+ 'path' => '/queryCopyrightJob',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREmtsRH229Z',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求参数。',
+ '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',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestID' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '61038D1A424235AE267B9817',
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ '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"}',
+ ],
+ ],
+ ],
+ ],
+ 'StatusCode' => [
+ 'title' => '状态码',
+ 'description' => '状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"61038D1A424235AE267B9817\\",\\n \\"Data\\": [\\n {\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"GmtCreate\\": 1627357322,\\n \\"GmtModified\\": 1627357322,\\n \\"Input\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"abc-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"test.mp4\\\\\\"}\\",\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Level\\": 2,\\n \\"Message\\": \\"平头哥半导体(上海)\\",\\n \\"MessageId\\": 82,\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"abc-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"out.mp4\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 0,\\n \\"Result\\": \\"{\\\\\\"Code\\\\\\":\\\\\\"success\\\\\\",\\\\\\"Message\\\\\\":\\\\\\"ok\\\\\\"}\\"\\n }\\n ],\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryCopyrightResponse>\\n <RequestID>61038D1A424235AE267B9817</RequestID>\\n <Data>\\n <Callback>http://example.com/callback</Callback>\\n <GmtCreate>1627357322</GmtCreate>\\n <GmtModified>1627357322</GmtModified>\\n <Input>{\\"Bucket\\":\\"abc-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.mp4\\"}</Input>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Level>2</Level>\\n <Message>平头哥半导体(上海)</Message>\\n <MessageId>82</MessageId>\\n <Output>{\\"Bucket\\":\\"abc-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"out.mp4\\"}</Output>\\n <Status>Success</Status>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <Result>{\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}</Result>\\n </Data>\\n <StatusCode>200</StatusCode>\\n</QueryCopyrightResponse>","errorExample":""}]',
+ 'title' => '查询视频版权水印',
+ 'description' => '# 使用说明'."\n"
+ .'目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitTraceAb' => [
+ 'summary' => '提交视频溯源水印ab流任务。',
+ 'path' => '/submitTraceAb',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitTraceAbResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitTraceAbResponse>","errorExample":""}]',
+ 'title' => '提交视频溯源水印ab流',
+ 'description' => '# 使用说明'."\n"
+ ."\n"
+ .'- 提交视频溯源水印ab流作业目前仅支持3分钟及以上视频,视频时间过短会导致接口调用失败或无输出。'."\n"
+ ."\n"
+ .'- 目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ ."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitCopyrightJob' => [
+ 'summary' => '提交视频版权水印任务。',
+ 'path' => '/submitCopyrightJob',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREmtsRH229Z',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求参数。',
+ '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"}',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ '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****',
+ ],
+ ],
+ ],
+ 'StatusCode' => [
+ 'title' => '状态码',
+ 'description' => '状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Message\\": \\"ok\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\"\\n },\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitCopyrightJobResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Message>ok</Message>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n</SubmitCopyrightJobResponse>","errorExample":""}]',
+ 'title' => '提交视频版权水印',
+ 'description' => '# 使用说明'."\n"
+ ."\n"
+ .'- 提交视频版权水印作业目前仅支持3分钟及以上视频,视频时间过短会导致接口调用失败或无输出。'."\n"
+ .'- 提交视频版权水印作业每次接口的调用,都是对独立视频进行添加水印,不支持多个视频同时提交。'."\n"
+ .'- 目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ ."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitImageCopyright' => [
+ 'summary' => '提交图片版权水印任务。',
+ 'path' => '/submitImageCopyright',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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}',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038671443432952925C670\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitImageCopyrightResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038671443432952925C670</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitImageCopyrightResponse>","errorExample":""}]',
+ 'title' => '提交图片版权水印',
+ 'description' => '# 使用说明'."\n"
+ ."\n"
+ .'- 本接口目前仅支持华东2(上海)地域使用。'."\n"
+ ."\n"
+ .'- 本接口目前仅支持设置平铺水印,需要填写Params、Output和Message三个参数。',
+ ],
+ 'QueryTraceAb' => [
+ 'summary' => '调用QueryTraceAb查询视频溯源水印ab流。',
+ 'path' => '/queryTraceAb',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'title' => '返回结构',
+ 'description' => '返回结构。',
+ 'type' => 'array',
+ 'items' => [
+ '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"}',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": [\\n {\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"GmtCreate\\": 1727441315,\\n \\"GmtModified\\": 1727441315,\\n \\"Input\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"exampleBucket\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"test.jpeg\\\\\\"}\\",\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Level\\": 2,\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\",\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"ivison-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Dir\\\\\\":\\\\\\"out/\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 0,\\n \\"Result\\": \\"{\\\\\\"Code\\\\\\":\\\\\\"success\\\\\\",\\\\\\"Message\\\\\\":\\\\\\"ok\\\\\\"}\\"\\n }\\n ],\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038D31354232E106FB****\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceAbResponse>\\n <Data>\\n <Callback>http://example.com/callback</Callback>\\n <GmtCreate>1727441315</GmtCreate>\\n <GmtModified>1727441315</GmtModified>\\n <Input>{\\"Bucket\\":\\"exampleBucket\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"test.jpeg\\"}</Input>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Level>2</Level>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n <Output>{\\"Bucket\\":\\"ivison-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Dir\\":\\"out/\\"}</Output>\\n <Status>Success</Status>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <Result>{\\"Code\\":\\"success\\",\\"Message\\":\\"ok\\"}</Result>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038D31354232E106FB****</RequestID>\\n <StatusCode>200</StatusCode>\\n</QueryTraceAbResponse>","errorExample":""}]',
+ 'title' => '查询视频溯源水印ab流',
+ 'description' => '# 使用说明'."\n"
+ .'目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'QueryTraceMu' => [
+ 'summary' => '调用QueryTraceMu查询视频溯源水印m3u8。',
+ 'path' => '/queryTraceM3u8',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'title' => '返回数据结构',
+ 'description' => '返回数据结构。',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": [\\n {\\n \\"GmtCreate\\": 1527441300,\\n \\"GmtModified\\": 1527441300,\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"MediaId\\": \\"437bd2b516ffda105d07b12a9a82****\\",\\n \\"Output\\": \\"{\\\\\\"Bucket\\\\\\":\\\\\\"ivison-test\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"Object\\\\\\":\\\\\\"out/test.m3u8\\\\\\"}\\",\\n \\"Status\\": \\"Success\\",\\n \\"Trace\\": \\"今天星期一\\",\\n \\"TraceId\\": 65,\\n \\"UserData\\": \\"{\\\\\\"uid\\\\\\":134669327666****}\\",\\n \\"UserId\\": 1346693276669150\\n }\\n ],\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"61038D2F324544B46C27783B\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceMuResponse>\\n <Data>\\n <GmtCreate>1527441300</GmtCreate>\\n <GmtModified>1527441300</GmtModified>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <MediaId>437bd2b516ffda105d07b12a9a82****</MediaId>\\n <Output>{\\"Bucket\\":\\"ivison-test\\",\\"Location\\":\\"oss-cn-shanghai\\",\\"Object\\":\\"out/test.m3u8\\"}</Output>\\n <Status>Success</Status>\\n <Trace>今天星期一</Trace>\\n <TraceId>65</TraceId>\\n <UserData>{\\"uid\\":134669327666****}</UserData>\\n <UserId>1346693276669150</UserId>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>61038D2F324544B46C27783B</RequestID>\\n <StatusCode>200</StatusCode>\\n</QueryTraceMuResponse>","errorExample":""}]',
+ 'title' => '查询溯源水印m3u8',
+ 'description' => '# 使用说明'."\n"
+ ."\n"
+ .'- 目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ ."\n"
+ .'- 经过视频溯源水印m3u8作业处理生成的m3u8文件签名鉴权有效期为24小时(从处理完成开始计时),请尽快查询,签名鉴权过期后将无法查询到该次作业的水印信息。如签名鉴权过期后需要,请重新提交视频溯源水印m3u8作业。您也可以将结果转存,转存可根据您的业务逻辑自行设置过期时间。'."\n"
+ ."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitTracemu' => [
+ 'summary' => '提交视频溯源水印m3u8任务。',
+ 'path' => '/submitTraceM3u8',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": {\\n \\"JobId\\": \\"bfb786c639894f4d80648792021e****\\",\\n \\"Code\\": \\"10011001110101010101****\\"\\n },\\n \\"Message\\": \\"ok\\",\\n \\"RequestID\\": \\"610393F5324544B46C60****\\",\\n \\"StatusCode\\": 200\\n}","errorExample":""},{"type":"xml","example":"<SubmitTracemuResponse>\\n <Data>\\n <JobId>bfb786c639894f4d80648792021e****</JobId>\\n <Code>10011001110101010101****</Code>\\n </Data>\\n <Message>ok</Message>\\n <RequestID>610393F5324544B46C60****</RequestID>\\n <StatusCode>200</StatusCode>\\n</SubmitTracemuResponse>","errorExample":""}]',
+ 'title' => '提交视频溯源水印m3u8',
+ 'description' => '# 使用说明'."\n"
+ ."\n"
+ .'- 使用本接口前需先调用[提交视频溯源水印ab流](~~287037~~)接口,获取到ab流处理后的媒体ID,再调用本接口进行处理。'."\n"
+ ."\n"
+ .'- 目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ ."\n"
+ .'- 经过视频溯源水印m3u8作业处理生成的m3u8文件签名鉴权有效期为24小时(从处理完成开始计时),请尽快查询,签名鉴权过期后将无法查询到该次作业的水印信息。如签名鉴权过期后需要,请重新提交视频溯源水印m3u8作业。您也可以将结果转存,转存可根据您的业务逻辑自行设置过期时间。'."\n"
+ ."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'QueryCopyrightExtract' => [
+ 'summary' => '查询版权水印提取信息。',
+ 'path' => '/queryCopyrightExtract',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [],
+ 'produces' => [],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => [
+ 'title' => '任务id',
+ 'description' => '任务ID。可以通过[提交版权水印提取作业](~~339736~~)的返回参数中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ 'StatusCode' => [
+ 'title' => '状态码',
+ 'description' => '状态码。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'title' => '返回信息',
+ 'description' => '返回信息。',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"54BB917F-DD35-4F32-BABA-E60E31B21W63\\",\\n \\"Data\\": {\\n \\"Message\\": \\"example water mark\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryCopyrightExtractResponse>\\n <RequestID>54BB917F-DD35-4F32-BABA-E60E31B21W63</RequestID>\\n <Data>\\n <Message>example water mark</Message>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</QueryCopyrightExtractResponse>","errorExample":""}]',
+ 'title' => '查询版权水印提取作业',
+ 'description' => '# 使用说明'."\n"
+ .'目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS暂无限制。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'QueryTraceExtract' => [
+ 'summary' => '查询溯源水印提取信息。',
+ 'path' => '/queryTraceExtract',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => [
+ 'title' => '任务id',
+ 'description' => '任务ID。可以从[提交溯源水印提取作业](~~339737~~)的返回参数中获取。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ebbfe90c63b54ed4b61acb2f6c44****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestID' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '610399D2334334AE2CB70C28',
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"Trace\\": \\"example water mark\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<QueryTraceExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <Trace>example water mark</Trace>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</QueryTraceExtractResponse>","errorExample":""}]',
+ 'title' => '查询溯源水印提取作业',
+ 'description' => '# 使用说明'."\n"
+ .'目前数字水印相关接口只支持华东2(上海)地域使用。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitCopyrightExtract' => [
+ 'summary' => '调用SubmitCopyrightExtract接口提交版权水印提取作业。',
+ 'path' => '/submitCopyrightExtract',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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"}',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestID' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '610399D2334334AE2CB70C28',
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"ebbfe90c63b54ed4b61acb2f6c44****\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitCopyrightExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <JobId>ebbfe90c63b54ed4b61acb2f6c44****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</SubmitCopyrightExtractResponse>","errorExample":""}]',
+ 'title' => '提交版权水印提取作业',
+ 'description' => '# 使用说明'."\n"
+ .'使用本接口前您需要先添加媒体Bucket,作为待处理文件的输入Bucket。如果没有创建媒体Bucket,请参见[添加媒体Bucket](~~42430~~)创建媒体Bucket。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ 'SubmitTraceExtract' => [
+ 'summary' => '调用SubmitTraceExtract接口提交溯源水印提取作业。',
+ 'path' => '/submitTraceExtract',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestID' => [
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '610399D2334334AE2CB70C28',
+ ],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestID\\": \\"610399D2334334AE2CB70C28\\",\\n \\"Data\\": {\\n \\"JobId\\": \\"ebbfe90c63b54ed4b61acb2f6c44****\\"\\n },\\n \\"StatusCode\\": 200,\\n \\"Message\\": \\"ok\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitTraceExtractResponse>\\n <RequestID>610399D2334334AE2CB70C28</RequestID>\\n <Data>\\n <JobId>ebbfe90c63b54ed4b61acb2f6c44****</JobId>\\n </Data>\\n <StatusCode>200</StatusCode>\\n <Message>ok</Message>\\n</SubmitTraceExtractResponse>","errorExample":""}]',
+ 'title' => '提交溯源水印提取作业',
+ 'description' => '# 使用说明'."\n"
+ .'使用本接口前需要先创建媒体Bucket作为文件输入地址。'."\n"
+ .'# QPS限制'."\n"
+ .'本接口的单用户QPS限制为100次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。更多信息,请参见[QPS限制](~~342832~~)。',
+ ],
+ ],
+ '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',
+ ],
+ ],
+];