Skip to content

Commit 86bf245

Browse files
add updates
1 parent ddc8d16 commit 86bf245

3 files changed

Lines changed: 118 additions & 20 deletions

File tree

src/Videosurveillance/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ API版本:1.0.0
44
| 发布时间 | 版本号 | 更新| 说明 |
55
|------------|--------|-----|-----------------------------------------------------------------------------|
66
| 2025-09-05 | 1.0.0 | 初始版本发布 |
7+
| 2025-09-13 | 1.0.1 | 1.describeRecordResultByTaskId返回的resultList字段名称更新;<br> 2.增加设备查询接口 |

src/Videosurveillance/VideosurveillanceClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
* @method \GuzzleHttp\Promise\Promise captureImageAsync(array $args = [])
2525
* @method \Jdcloud\Result describeCaptureImageByFileId(array $args = [])
2626
* @method \GuzzleHttp\Promise\Promise describeCaptureImageByFileIdAsync(array $args = [])
27+
* @method \Jdcloud\Result describeDeviceInfo(array $args = [])
28+
* @method \GuzzleHttp\Promise\Promise describeDeviceInfoAsync(array $args = [])
29+
* @method \Jdcloud\Result describeDevicePageList(array $args = [])
30+
* @method \GuzzleHttp\Promise\Promise describeDevicePageListAsync(array $args = [])
2731
* @method \Jdcloud\Result startRecord(array $args = [])
2832
* @method \GuzzleHttp\Promise\Promise startRecordAsync(array $args = [])
2933
* @method \Jdcloud\Result describeRecordResultByTaskId(array $args = [])

src/data/videosurveillance/v1/api-2.json.php

Lines changed: 113 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,24 @@
2929
'input' => [ 'shape' => 'DescribeCaptureImageByFileIdRequestShape', ],
3030
'output' => [ 'shape' => 'DescribeCaptureImageByFileIdResponseShape', ],
3131
],
32+
'DescribeDeviceInfo' => [
33+
'name' => 'DescribeDeviceInfo',
34+
'http' => [
35+
'method' => 'GET',
36+
'requestUri' => '/v1/describeDeviceInfo',
37+
],
38+
'input' => [ 'shape' => 'DescribeDeviceInfoRequestShape', ],
39+
'output' => [ 'shape' => 'DescribeDeviceInfoResponseShape', ],
40+
],
41+
'DescribeDevicePageList' => [
42+
'name' => 'DescribeDevicePageList',
43+
'http' => [
44+
'method' => 'GET',
45+
'requestUri' => '/v1/describeDevicePageList',
46+
],
47+
'input' => [ 'shape' => 'DescribeDevicePageListRequestShape', ],
48+
'output' => [ 'shape' => 'DescribeDevicePageListResponseShape', ],
49+
],
3250
'StartRecord' => [
3351
'name' => 'StartRecord',
3452
'http' => [
@@ -49,12 +67,6 @@
4967
],
5068
],
5169
'shapes' => [
52-
'DescribeRecordResultByTaskIdResultList' => [
53-
'type' => 'structure',
54-
'members' => [
55-
'resultList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DescribeRecordResultByTaskIdResult', ], ],
56-
],
57-
],
5870
'CaptureImageRequestShape' => [
5971
'type' => 'structure',
6072
'members' => [
@@ -112,13 +124,94 @@
112124
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
113125
],
114126
],
127+
'DescribeDevicePageListResponseShape' => [
128+
'type' => 'structure',
129+
'members' => [
130+
'result' => [ 'shape' => 'DescribeDevicePageListResultShape', ],
131+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
132+
],
133+
],
134+
'DescribeDeviceInfoResult' => [
135+
'type' => 'structure',
136+
'members' => [
137+
'channelId' => [ 'type' => 'string', 'locationName' => 'channelId', ],
138+
'deviceId' => [ 'type' => 'string', 'locationName' => 'deviceId', ],
139+
'deviceName' => [ 'type' => 'string', 'locationName' => 'deviceName', ],
140+
'localName' => [ 'type' => 'string', 'locationName' => 'localName', ],
141+
'model' => [ 'type' => 'string', 'locationName' => 'model', ],
142+
'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
143+
'defence' => [ 'type' => 'integer', 'locationName' => 'defence', ],
144+
'category' => [ 'type' => 'string', 'locationName' => 'category', ],
145+
'parentCategory' => [ 'type' => 'string', 'locationName' => 'parentCategory', ],
146+
'createTime' => [ 'type' => 'string', 'locationName' => 'createTime', ],
147+
'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ],
148+
'netAddress' => [ 'type' => 'string', 'locationName' => 'netAddress', ],
149+
],
150+
],
151+
'DescribeDevicePageListRequestShape' => [
152+
'type' => 'structure',
153+
'members' => [
154+
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
155+
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
156+
],
157+
],
158+
'DescribeDeviceInfoRequestShape' => [
159+
'type' => 'structure',
160+
'members' => [
161+
'channelId' => [ 'type' => 'string', 'locationName' => 'channelId', ],
162+
'deviceId' => [ 'type' => 'string', 'locationName' => 'deviceId', ],
163+
],
164+
],
165+
'DescribeDeviceInfoResponseShape' => [
166+
'type' => 'structure',
167+
'members' => [
168+
'result' => [ 'shape' => 'DescribeDeviceInfoResultShape', ],
169+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
170+
],
171+
],
172+
'DescribeDevicePageListResultShape' => [
173+
'type' => 'structure',
174+
'members' => [
175+
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
176+
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
177+
'totalCount' => [ 'type' => 'long', 'locationName' => 'totalCount', ],
178+
'resultList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DescribeDeviceInfoResult', ], ],
179+
],
180+
],
181+
'DescribeDeviceInfoResultShape' => [
182+
'type' => 'structure',
183+
'members' => [
184+
'channelId' => [ 'type' => 'string', 'locationName' => 'channelId', ],
185+
'deviceId' => [ 'type' => 'string', 'locationName' => 'deviceId', ],
186+
'deviceName' => [ 'type' => 'string', 'locationName' => 'deviceName', ],
187+
'localName' => [ 'type' => 'string', 'locationName' => 'localName', ],
188+
'model' => [ 'type' => 'string', 'locationName' => 'model', ],
189+
'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
190+
'defence' => [ 'type' => 'integer', 'locationName' => 'defence', ],
191+
'isEncrypt' => [ 'type' => 'integer', 'locationName' => 'isEncrypt', ],
192+
'alarmSoundMode' => [ 'type' => 'integer', 'locationName' => 'alarmSoundMode', ],
193+
'offlineNotify' => [ 'type' => 'integer', 'locationName' => 'offlineNotify', ],
194+
'category' => [ 'type' => 'string', 'locationName' => 'category', ],
195+
'parentCategory' => [ 'type' => 'string', 'locationName' => 'parentCategory', ],
196+
'updateTime' => [ 'type' => 'string', 'locationName' => 'updateTime', ],
197+
'netType' => [ 'type' => 'string', 'locationName' => 'netType', ],
198+
'signal' => [ 'type' => 'string', 'locationName' => 'signal', ],
199+
'riskLevel' => [ 'type' => 'integer', 'locationName' => 'riskLevel', ],
200+
'netAddress' => [ 'type' => 'string', 'locationName' => 'netAddress', ],
201+
'gbId' => [ 'type' => 'string', 'locationName' => 'gbId', ],
202+
'gbUsername' => [ 'type' => 'string', 'locationName' => 'gbUsername', ],
203+
'gbCertifiable' => [ 'type' => 'string', 'locationName' => 'gbCertifiable', ],
204+
'gbPassword' => [ 'type' => 'string', 'locationName' => 'gbPassword', ],
205+
'gbCertNum' => [ 'type' => 'string', 'locationName' => 'gbCertNum', ],
206+
],
207+
],
115208
'DescribeRecordResultByTaskIdResultShape' => [
116209
'type' => 'structure',
117210
'members' => [
118211
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
119212
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
120-
'totalCount' => [ 'type' => 'integer', 'locationName' => 'totalCount', ],
121-
'domainDetails' => [ 'type' => 'list', 'member' => [ 'shape' => 'DescribeRecordResultByTaskIdResultList', ], ],
213+
'totalCount' => [ 'type' => 'long', 'locationName' => 'totalCount', ],
214+
'resultList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DescribeRecordResult', ], ],
122215
],
123216
],
124217
'StartRecordResponseShape' => [
@@ -128,7 +221,18 @@
128221
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
129222
],
130223
],
131-
'DescribeRecordResultByTaskIdResult' => [
224+
'StartRecordRequest' => [
225+
'type' => 'structure',
226+
'members' => [
227+
'deviceId' => [ 'type' => 'string', 'locationName' => 'deviceId', ],
228+
'recordSeconds' => [ 'type' => 'integer', 'locationName' => 'recordSeconds', ],
229+
'sliceDuration' => [ 'type' => 'integer', 'locationName' => 'sliceDuration', ],
230+
'streamType' => [ 'type' => 'integer', 'locationName' => 'streamType', ],
231+
'voiceSwitch' => [ 'type' => 'integer', 'locationName' => 'voiceSwitch', ],
232+
'devProto' => [ 'type' => 'string', 'locationName' => 'devProto', ],
233+
],
234+
],
235+
'DescribeRecordResult' => [
132236
'type' => 'structure',
133237
'members' => [
134238
'fileId' => [ 'type' => 'string', 'locationName' => 'fileId', ],
@@ -147,17 +251,6 @@
147251
'timePoint' => [ 'type' => 'string', 'locationName' => 'timePoint', ],
148252
],
149253
],
150-
'StartRecordRequest' => [
151-
'type' => 'structure',
152-
'members' => [
153-
'deviceId' => [ 'type' => 'string', 'locationName' => 'deviceId', ],
154-
'recordSeconds' => [ 'type' => 'integer', 'locationName' => 'recordSeconds', ],
155-
'sliceDuration' => [ 'type' => 'integer', 'locationName' => 'sliceDuration', ],
156-
'streamType' => [ 'type' => 'integer', 'locationName' => 'streamType', ],
157-
'voiceSwitch' => [ 'type' => 'integer', 'locationName' => 'voiceSwitch', ],
158-
'devProto' => [ 'type' => 'string', 'locationName' => 'devProto', ],
159-
],
160-
],
161254
'StartRecordRequestShape' => [
162255
'type' => 'structure',
163256
'members' => [

0 commit comments

Comments
 (0)