Skip to content

Commit b36979a

Browse files
Merge pull request #307 from jdcloud-apigateway/master
mps v1 0.6.1
2 parents e00c79b + a364f7e commit b36979a

219 files changed

Lines changed: 10050 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
更新历史
2+
---------------------------------------------------------------------
3+
API版本:0.6.1
4+
5+
| 发布时间 | 版本号 | 更新 | 说明
6+
|------------|--------|---------------------------------------------------------------|---------|
7+
| 2018-03-31 | 0.2.1 | 按照规范修改;增加参数taskID | 按照规范修改;增加参数taskID
8+
| 2018-04-28 | 0.3.6 | 完善description | 完善description
9+
| 2018-08-23 | 0.3.7 | 增加接口总述及面向对象;修改截图接口描述 | 增加接口总述及面向对象;修改截图接口描述
10+
| 2019-03-07 | 0.4.1 | 增加图片样式分隔符接口 | 增加图片样式分隔符接口
11+
| 2019-05-29 | 0.4.5 | 增加图片样式接口 | 增加图片样式接口
12+
| 2020-02-12 | 0.4.6 | 增加转码相关接口 | 增加接口:提交转码作业/查询转码作业列表
13+
| 2020-03-03 | 0.4.7 | 增加转码模板相关接口;<br>更新提交转码作业部分字段文档描述;<br>修改转码作业查询结果部分字段; | -
14+
| 2020-03-04 | 0.4.8 | 修改部分字段的约束限定与文档描述; | 涉及字段:rcmode, hlsKey, sampleRate
15+
| 2020-03-18 | 0.4.9 | 转码模板新增hlsKeyEncodeType支持;提交转码作业时,新增附加参数additionalProperties支持 | -
16+
| 2020-04-24 | 0.4.10 | 增加截图功能相关接口;<br>增加截图回调配置相关接口 | -
17+
| 2023-02-13 | 0.5.0 | 增加工作流功能相关接口;<br>增加工作流功能相关接口 | -
18+
| 2026-03-25 | 0.6.0 | 增加音视频总结相关接口 | -
19+
| 2026-06-16 | 0.6.1 | 增加水印模板相关接口 | -

‎jdcloud_sdk/services/mps/__init__.py‎

Whitespace-only changes.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AccessRealtimeASRTaskTokenRequest(JDCloudRequest):
23+
"""
24+
获取实时语音识别任务
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AccessRealtimeASRTaskTokenRequest, self).__init__(
29+
'/asrTaskToken', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AccessRealtimeASRTaskTokenParameters(object):
34+
35+
def __init__(self,taskId, timestamp):
36+
"""
37+
:param taskId: 任务id
38+
:param timestamp: token超时时间,毫秒时间戳
39+
"""
40+
41+
self.taskId = taskId
42+
self.timestamp = timestamp
43+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class BatchDeleteKnowledgeFileRecordRequest(JDCloudRequest):
23+
"""
24+
批量删除多个知识文件记录
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(BatchDeleteKnowledgeFileRecordRequest, self).__init__(
29+
'/knowledgeBase:batch', 'DELETE', header, version)
30+
self.parameters = parameters
31+
32+
33+
class BatchDeleteKnowledgeFileRecordParameters(object):
34+
35+
def __init__(self,ids):
36+
"""
37+
:param ids: 文件记录ID列表
38+
"""
39+
40+
self.ids = ids
41+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class BatchUploadFileToKnowledgeBaseRequest(JDCloudRequest):
23+
"""
24+
批量上传多个知识文件到知识库
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(BatchUploadFileToKnowledgeBaseRequest, self).__init__(
29+
'/knowledgeBase:batchUpload', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class BatchUploadFileToKnowledgeBaseParameters(object):
34+
35+
def __init__(self,):
36+
"""
37+
"""
38+
39+
self.content = None
40+
41+
def setContent(self, content):
42+
"""
43+
:param content: (Optional)
44+
"""
45+
self.content = content
46+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CountImageStyleRequest(JDCloudRequest):
23+
"""
24+
图片样式总数
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CountImageStyleRequest, self).__init__(
29+
'/regions/{regionId}/buckets/{bucketName}/imageStyles/count', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CountImageStyleParameters(object):
34+
35+
def __init__(self,regionId, bucketName, ):
36+
"""
37+
:param regionId: 区域ID
38+
:param bucketName: Bucket名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.bucketName = bucketName
43+
self.styleName = None
44+
45+
def setStyleName(self, styleName):
46+
"""
47+
:param styleName: (Optional) 按样式名称查询
48+
"""
49+
self.styleName = styleName
50+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateASRTaskHotWordsRequest(JDCloudRequest):
23+
"""
24+
创建热词
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CreateASRTaskHotWordsRequest, self).__init__(
29+
'/asrTask:hotWords', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CreateASRTaskHotWordsParameters(object):
34+
35+
def __init__(self,hotWord, taskId):
36+
"""
37+
:param hotWord: 热词内容
38+
:param taskId: 实时转写任务id
39+
"""
40+
41+
self.hotWord = hotWord
42+
self.taskId = taskId
43+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateAiChatConvRequest(JDCloudRequest):
23+
"""
24+
创建新的AI聊天会话
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CreateAiChatConvRequest, self).__init__(
29+
'/aiChat:conv', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CreateAiChatConvParameters(object):
34+
35+
def __init__(self,):
36+
"""
37+
"""
38+
39+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateGlobalHotWordsRequest(JDCloudRequest):
23+
"""
24+
创建全局热词
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CreateGlobalHotWordsRequest, self).__init__(
29+
'/hotWords', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CreateGlobalHotWordsParameters(object):
34+
35+
def __init__(self,hotWord):
36+
"""
37+
:param hotWord: 热词内容
38+
"""
39+
40+
self.hotWord = hotWord
41+

0 commit comments

Comments
 (0)