Skip to content

Commit ba8d3a4

Browse files
Merge pull request #167 from jdcloud-apigateway/master
2022-04-24
2 parents 115fae7 + 88836f3 commit ba8d3a4

20 files changed

Lines changed: 557 additions & 7 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2019-05-27 version: 0.1.0
2+
1. 初始版本

jdcloud_sdk/services/jdworkspace/__init__.py

Whitespace-only changes.

jdcloud_sdk/services/jdworkspace/apis/__init__.py

Whitespace-only changes.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.jdcloudclient import JDCloudClient
20+
from jdcloud_sdk.core.config import Config
21+
22+
23+
class JdworkspaceClient(JDCloudClient):
24+
25+
def __init__(self, credential, config=None, logger=None):
26+
if config is None:
27+
config = Config('jdworkspace.jdcloud-api.com')
28+
29+
super(JdworkspaceClient, self).__init__(credential, config, 'jdworkspace', '0.1.0', logger)

jdcloud_sdk/services/jdworkspace/client/__init__.py

Whitespace-only changes.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
20+
class ResourceInfo(object):
21+
22+
def __init__(self, resourceId=None, resourceName=None, remark=None, serviceCode=None, bind=None):
23+
"""
24+
:param resourceId: (Optional) 实例id
25+
:param resourceName: (Optional) 实例名称
26+
:param remark: (Optional) 备注
27+
:param serviceCode: (Optional) serivceCode
28+
:param bind: (Optional) 绑定实例信息列表
29+
"""
30+
31+
self.resourceId = resourceId
32+
self.resourceName = resourceName
33+
self.remark = remark
34+
self.serviceCode = serviceCode
35+
self.bind = bind

jdcloud_sdk/services/jdworkspace/models/__init__.py

Whitespace-only changes.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 更新历史 #
2-
API版本:1.1.6
2+
API版本:1.1.7
33

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
@@ -8,6 +8,7 @@ API版本:1.1.6
88
|2021-02-19 |1.1.1 |增加接口 |* 移除房间内人员;<br>* 移除房间内所有人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间 ;<br> |
99
|2021-07-16 |1.1.2 |增加接口 |* 注册用户;<br>* 查询注册用户;<br>* 查询注册用户列表;<br>* 注册用户房间号;<br>* 查询注册房间号;<br>* 查询注册房间号列表;<br>* 修改房间;<br>* 查询房间内人员列表;<br>* 统计房间内人数;<br>* 移除房间内所有人员;<br>* 移除房间内指定人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间;<br>* 生成token;<br> |
1010
|2021-08-26 |1.1.3 |更新接口 |* 注册用户;<br>* 查询注册用户;<br>* 查询注册用户列表;<br>* 注册用户房间号;<br>* 查询注册房间号;<br>* 查询注册房间号列表;<br>* 修改房间;<br>* 查询房间内人员列表;<br>* 统计房间内人数;<br>* 移除房间内所有人员;<br>* 移除房间内指定人员;<br>* 发送自定义信令给房间内的人员;<br>* 发送自定义信令给房间;<br>* 生成token;<br> |
11-
|2021-02-16 |1.1.4 |新增接口 |* 下发混流任务;<br>* 中止混流任务;<br>* 关闭房间内的指定流;|
12-
|2021-03-09 |1.1.5 |新增接口 |* 获取近7天通讯时长;<br>* 获取历史音频、视频区分码率通讯时长;<br>* 查询房间人数、通讯时长;<br>* 查询房间用户记录;<br>* 查询用户端到端推流码率|
13-
|2021-03-24 |1.1.6 |新增接口 |* 开启语音识别功能;<br>* 关闭语音识别功能;|
11+
|2022-02-16 |1.1.4 |新增接口 |* 下发混流任务;<br>* 中止混流任务;<br>* 关闭房间内的指定流;|
12+
|2022-03-09 |1.1.5 |新增接口 |* 获取近7天通讯时长;<br>* 获取历史音频、视频区分码率通讯时长;<br>* 查询房间人数、通讯时长;<br>* 查询房间用户记录;<br>* 查询用户端到端推流码率|
13+
|2022-03-24 |1.1.6 |新增接口 |* 开启语音识别功能;<br>* 关闭语音识别功能;|
14+
|2022-04-20 |1.1.7 |新增接口 |* 查询房间内推流信息列表;<br>* 查询指定用户在房间内的推流信息;<br>* 根据流ID查询推流信息;<br>* 查询指定用户在房间内的推流历史记录;<br>* 根据流ID查询推流历史记录;|
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 DescribeStreamInfoByStreamIdRequest(JDCloudRequest):
23+
"""
24+
根据流ID查询推流信息
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(DescribeStreamInfoByStreamIdRequest, self).__init__(
30+
'/describeStreamInfoByStreamId/{appId}', 'GET', header, version)
31+
self.parameters = parameters
32+
33+
34+
class DescribeStreamInfoByStreamIdParameters(object):
35+
36+
def __init__(self, appId,streamId):
37+
"""
38+
:param appId: 应用ID
39+
:param streamId: 流ID
40+
"""
41+
42+
self.appId = appId
43+
self.streamId = streamId
44+
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 DescribeStreamInfosByUserIdRequest(JDCloudRequest):
23+
"""
24+
查询指定用户在房间内的推流信息
25+
26+
"""
27+
28+
def __init__(self, parameters, header=None, version="v1"):
29+
super(DescribeStreamInfosByUserIdRequest, self).__init__(
30+
'/describeStreamInfosByUserId/{appId}', 'GET', header, version)
31+
self.parameters = parameters
32+
33+
34+
class DescribeStreamInfosByUserIdParameters(object):
35+
36+
def __init__(self, appId,userRoomId, userId):
37+
"""
38+
:param appId: 应用ID
39+
:param userRoomId: 业务接入方定义的且在JRTC系统内注册过的房间号
40+
:param userId: 业务接入方用户体系定义的且在JRTC系统内注册过的userId
41+
"""
42+
43+
self.appId = appId
44+
self.userRoomId = userRoomId
45+
self.userId = userId
46+

0 commit comments

Comments
 (0)