summaryrefslogtreecommitdiff
path: root/data/zh_cn/vs
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/vs
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/vs')
-rw-r--r--data/zh_cn/vs/2018-12-12/api-docs.php33299
1 files changed, 15562 insertions, 17737 deletions
diff --git a/data/zh_cn/vs/2018-12-12/api-docs.php b/data/zh_cn/vs/2018-12-12/api-docs.php
index 259af78..fcdaf57 100644
--- a/data/zh_cn/vs/2018-12-12/api-docs.php
+++ b/data/zh_cn/vs/2018-12-12/api-docs.php
@@ -1,1024 +1,860 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'vs',
- 'version' => '2018-12-12',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'vs', 'version' => '2018-12-12'],
'directories' => [
[
- 'id' => 390443,
- 'title' => '云应用服务管理',
+ 'children' => [
+ 'CreateHive', 'ModifyHiveAttribute', 'ListHives', 'DeleteHive', 'ListSpecifications', 'ListEdgeWorkers', 'AddHiveEdgeWorkers', 'MoveHiveEdgeWorkers', 'DelHiveEdgeWorkers', 'ModifyComfyWorkflow', 'CreateComfyWorkflow', 'CreateComfyUserDataDir', 'CreateComfyTask', 'DeleteComfyWorkflow', 'DescribeComfyUserDatas', 'DeleteComfyUserData', 'DescribeComfyUserDataUploadUrl', 'DescribeComfyUserDataDownloadUrl', 'DescribeComfyTasks', 'DescribeComfyProductions',
+ 'DescribeComfyProductionDownloadUrl', 'DeleteComfyProduction', 'CancelComfyTask', 'DescribeComfyWorkflows',
+ ],
'type' => 'directory',
+ 'title' => 'AIGC生成平台',
+ 'id' => 452473,
+ ],
+ [
'children' => [
[
- 'id' => 390444,
+ 'children' => ['ModifyRenderingChargeType', 'CreateRenderingInstance', 'ListRenderingInstances', 'ModifyRenderingInstanceAttribute', 'DescribeRenderingInstance', 'GetRenderingInstanceStreamingInfo', 'RefreshRenderingInstanceStreaming', 'BatchCaptureRenderingInstanceScreenshot', 'SendRenderingInstanceCommands', 'GetRenderingInstanceCommandsStatus', 'ModifyRenderingInstance', 'RebootRenderingInstance', 'RebootRenderingServer', 'ResetRenderingInstance', 'ModifyRenderingInstanceBandwidth', 'RenewRenderingInstance', 'ReleaseRenderingInstance'],
+ 'type' => 'directory',
'title' => '实例管理',
+ 'id' => 297813,
+ ],
+ [
+ 'children' => ['CreateRenderingDataPackage', 'ListRenderingDataPackages', 'RecoverRenderingDataPackage', 'ReleaseRenderingDataPackage'],
'type' => 'directory',
- 'children' => [
- 'ModifyRenderingChargeType',
- 'CreateRenderingInstance',
- 'ListRenderingInstances',
- 'ModifyRenderingInstanceAttribute',
- 'DescribeRenderingInstance',
- 'GetRenderingInstanceStreamingInfo',
- 'RefreshRenderingInstanceStreaming',
- 'SendRenderingInstanceCommands',
- 'GetRenderingInstanceCommandsStatus',
- 'ModifyRenderingInstance',
- 'RebootRenderingInstance',
- 'RebootRenderingServer',
- 'ResetRenderingInstance',
- 'ModifyRenderingInstanceBandwidth',
- 'RenewRenderingInstance',
- 'ReleaseRenderingInstance',
- ],
- ],
- [
- 'id' => 390461,
'title' => '数据包管理',
- 'type' => 'directory',
- 'children' => [
- 'CreateRenderingDataPackage',
- 'ListRenderingDataPackages',
- 'RecoverRenderingDataPackage',
- 'ReleaseRenderingDataPackage',
- ],
+ 'id' => 297829,
],
[
- 'id' => 390466,
- 'title' => '安全登录',
+ 'children' => ['UploadPublicKey', 'ListPublicKeys', 'ManageLogin', 'DeletePublicKey'],
'type' => 'directory',
- 'children' => [
- 'UploadPublicKey',
- 'ListPublicKeys',
- 'ManageLogin',
- 'DeletePublicKey',
- ],
+ 'title' => '安全登录',
+ 'id' => 297834,
],
[
- 'id' => 390471,
- 'title' => '云应用管理',
+ 'children' => ['UploadCloudApp', 'ListCloudApps', 'UpdateCloudAppInfo', 'ListCloudAppPatches', 'InstallCloudApp', 'ListCloudAppInstallations', 'UninstallCloudApp', 'DeleteCloudApp'],
'type' => 'directory',
- 'children' => [
- 'UploadCloudApp',
- 'ListCloudApps',
- 'UpdateCloudAppInfo',
- 'ListCloudAppPatches',
- 'InstallCloudApp',
- 'ListCloudAppInstallations',
- 'UninstallCloudApp',
- 'DeleteCloudApp',
- ],
+ 'title' => '云应用管理',
+ 'id' => 297839,
],
[
- 'id' => 390480,
- 'title' => '系统配置',
+ 'children' => ['DescribeRenderingInstanceConfiguration', 'UpdateRenderingInstanceConfiguration', 'DeleteRenderingInstanceConfiguration', 'DescribeRenderingInstanceSettings', 'UpdateRenderingInstanceSettings', 'DeleteRenderingInstanceSettings'],
'type' => 'directory',
- 'children' => [
- 'DescribeRenderingInstanceConfiguration',
- 'UpdateRenderingInstanceConfiguration',
- 'DeleteRenderingInstanceConfiguration',
- 'DescribeRenderingInstanceSettings',
- 'UpdateRenderingInstanceSettings',
- 'DeleteRenderingInstanceSettings',
- ],
+ 'title' => '系统配置',
+ 'id' => 297848,
],
[
- 'id' => 390487,
- 'title' => '文件管理',
+ 'children' => ['UploadFile', 'ListFiles', 'UpdateFileInfo', 'PushFile', 'ListFilePushStatuses', 'DeleteFile'],
'type' => 'directory',
- 'children' => [
- 'UploadFile',
- 'ListFiles',
- 'UpdateFileInfo',
- 'PushFile',
- 'ListFilePushStatuses',
- 'DeleteFile',
- ],
+ 'title' => '文件管理',
+ 'id' => 297855,
],
[
- 'id' => 390494,
- 'title' => '自定义网关',
+ 'children' => ['CreateRenderingInstanceGateway', 'ListRenderingInstanceGateway', 'DeleteRenderingInstanceGateway'],
'type' => 'directory',
- 'children' => [
- 'CreateRenderingInstanceGateway',
- 'ListRenderingInstanceGateway',
- 'DeleteRenderingInstanceGateway',
- ],
+ 'title' => '自定义网关',
+ 'id' => 297862,
],
[
- 'id' => 390498,
- 'title' => '项目管理',
+ 'children' => ['CreateRenderingProject', 'ListRenderingProjects', 'UpdateRenderingProject', 'AssociateRenderingProjectInstances', 'ListRenderingProjectInstances', 'GetRenderingProjectInstanceStateMetrics', 'DisassociateRenderingProjectInstances', 'DeleteRenderingProject'],
'type' => 'directory',
- 'children' => [
- 'CreateRenderingProject',
- 'ListRenderingProjects',
- 'UpdateRenderingProject',
- 'AssociateRenderingProjectInstances',
- 'ListRenderingProjectInstances',
- 'GetRenderingProjectInstanceStateMetrics',
- 'DisassociateRenderingProjectInstances',
- 'DeleteRenderingProject',
- ],
+ 'title' => '项目管理',
+ 'id' => 297866,
],
[
- 'id' => 390507,
- 'title' => '会话管理',
+ 'children' => ['StartRenderingSession', 'ListRenderingSessions', 'DescribeRenderingSession', 'StopRenderingSession'],
'type' => 'directory',
- 'children' => [
- 'StartRenderingSession',
- 'ListRenderingSessions',
- 'DescribeRenderingSession',
- 'StopRenderingSession',
- ],
+ 'title' => '会话管理',
+ 'id' => 297875,
],
],
+ 'type' => 'directory',
+ 'title' => '云应用服务管理',
+ 'id' => 297812,
],
[
- 'id' => 390512,
- 'title' => '账户',
+ 'children' => ['DescribeAccountStat', 'DescribeVsUserResourcePackage', 'OpenVsService'],
'type' => 'directory',
- 'children' => [
- 'DescribeAccountStat',
- 'DescribeVsUserResourcePackage',
- 'OpenVsService',
- ],
+ 'title' => '账户',
+ 'id' => 297680,
],
[
- 'id' => 390516,
- 'title' => '空间管理',
+ 'children' => ['CreateGroup', 'DeleteGroup', 'ModifyGroup', 'DescribeGroup', 'DescribeGroups'],
'type' => 'directory',
- 'children' => [
- 'CreateGroup',
- 'DeleteGroup',
- 'ModifyGroup',
- 'DescribeGroup',
- 'DescribeGroups',
- ],
+ 'title' => '空间管理',
+ 'id' => 297693,
],
[
- 'id' => 390522,
- 'title' => '设备管理',
- 'type' => 'directory',
'children' => [
- 'CreateDevice',
- 'DeleteDevice',
- 'BatchDeleteDevices',
- 'ModifyDevice',
- 'DescribeDevice',
- 'DescribeDevices',
- 'SyncCatalogs',
- 'UnlockDevice',
- 'StartDevice',
- 'StopDevice',
- 'BatchStartDevices',
- 'BatchStopDevices',
- 'CreateDeviceAlarm',
- 'ModifyDeviceAlarm',
- 'ModifyDeviceCapture',
- 'ModifyDeviceChannels',
- 'DescribeDeviceChannels',
- 'DescribeDeviceGateway',
- 'DescribeDeviceURL',
- 'DescribePurchasedDevice',
- 'DescribePurchasedDevices',
- 'BindPurchasedDevice',
- 'UnbindPurchasedDevice',
- 'BatchBindPurchasedDevices',
- 'BatchUnbindDirectories',
- 'BatchUnbindPurchasedDevices',
+ 'CreateDevice', 'DeleteDevice', 'BatchDeleteDevices', 'ModifyDevice', 'DescribeDevice', 'DescribeDevices', 'SyncCatalogs', 'UnlockDevice', 'StartDevice', 'StopDevice', 'BatchStartDevices', 'BatchStopDevices', 'CreateDeviceAlarm', 'ModifyDeviceAlarm', 'ModifyDeviceCapture', 'ModifyDeviceChannels', 'DescribeDeviceChannels', 'DescribeDeviceGateway', 'DescribeDeviceURL', 'DescribePurchasedDevice',
+ 'DescribePurchasedDevices', 'BindPurchasedDevice', 'UnbindPurchasedDevice', 'BatchBindPurchasedDevices', 'BatchUnbindDirectories', 'BatchUnbindPurchasedDevices',
],
+ 'type' => 'directory',
+ 'title' => '设备管理',
+ 'id' => 297768,
],
[
- 'id' => 390549,
- 'title' => '流管理',
- 'type' => 'directory',
'children' => [
- 'StartStream',
- 'StopStream',
- 'BatchStartStreams',
- 'BatchStopStreams',
- 'DescribeStream',
- 'DescribeStreams',
- 'DescribeStreamURL',
- 'DescribeVodStreamURL',
- 'DescribeStreamVodList',
- 'ForbidVsStream',
- 'ResumeVsStream',
- 'BatchForbidVsStream',
- 'BatchResumeVsStream',
- 'CreateStreamSnapshot',
- 'SetVsStreamsNotifyUrlConfig',
- 'DeleteVsStreamsNotifyUrlConfig',
- 'DescribeVsStreamsNotifyUrlConfig',
- 'AddVsPullStreamInfoConfig',
- 'DeleteVsPullStreamInfoConfig',
- 'UpdateVsPullStreamInfoConfig',
- 'DescribeVsPullStreamInfoConfig',
- 'StartTransferStream',
- 'StopTransferStream',
- 'DescribeVsStreamsOnlineList',
- 'DescribeVsStreamsPublishList',
+ 'StartStream', 'StopStream', 'BatchStartStreams', 'BatchStopStreams', 'DescribeStream', 'DescribeStreams', 'DescribeStreamURL', 'DescribeVodStreamURL', 'DescribeStreamVodList', 'ForbidVsStream', 'ResumeVsStream', 'BatchForbidVsStream', 'BatchResumeVsStream', 'CreateStreamSnapshot', 'SetVsStreamsNotifyUrlConfig', 'DeleteVsStreamsNotifyUrlConfig', 'DescribeVsStreamsNotifyUrlConfig', 'AddVsPullStreamInfoConfig', 'DeleteVsPullStreamInfoConfig', 'UpdateVsPullStreamInfoConfig',
+ 'DescribeVsPullStreamInfoConfig', 'StartTransferStream', 'StopTransferStream', 'DescribeVsStreamsOnlineList', 'DescribeVsStreamsPublishList',
],
+ 'type' => 'directory',
+ 'title' => '流管理',
+ 'id' => 297699,
],
[
- 'id' => 390575,
- 'title' => '模板管理',
+ 'children' => ['CreateTemplate', 'DeleteTemplate', 'ModifyTemplate', 'DescribeTemplate', 'DescribeTemplates', 'BindTemplate', 'UnbindTemplate', 'BatchBindTemplate', 'BatchUnbindTemplate', 'BatchBindTemplates', 'BatchUnbindTemplates'],
'type' => 'directory',
- 'children' => [
- 'CreateTemplate',
- 'DeleteTemplate',
- 'ModifyTemplate',
- 'DescribeTemplate',
- 'DescribeTemplates',
- 'BindTemplate',
- 'UnbindTemplate',
- 'BatchBindTemplate',
- 'BatchUnbindTemplate',
- 'BatchBindTemplates',
- 'BatchUnbindTemplates',
- ],
+ 'title' => '模板管理',
+ 'id' => 297747,
],
[
- 'id' => 390587,
- 'title' => '录制管理',
+ 'children' => ['StartRecordStream', 'StopRecordStream', 'DescribeRecords'],
'type' => 'directory',
- 'children' => [
- 'StartRecordStream',
- 'StopRecordStream',
- 'DescribeRecords',
- ],
+ 'title' => '录制管理',
+ 'id' => 297808,
],
[
- 'id' => 390591,
- 'title' => '域名管理',
+ 'children' => ['SetVsDomainCertificate', 'DescribeVsCertificateDetail', 'DescribeVsDomainCertificateInfo', 'DescribeVsCertificateList', 'DescribeVsDomainDetail', 'DescribeVsDomainConfigs', 'BatchSetVsDomainConfigs', 'BatchDeleteVsDomainConfigs', 'DescribeVsTopDomainsByFlow'],
'type' => 'directory',
- 'children' => [
- 'SetVsDomainCertificate',
- 'DescribeVsCertificateDetail',
- 'DescribeVsDomainCertificateInfo',
- 'DescribeVsCertificateList',
- 'DescribeVsDomainDetail',
- 'DescribeVsDomainConfigs',
- 'BatchSetVsDomainConfigs',
- 'BatchDeleteVsDomainConfigs',
- 'DescribeVsTopDomainsByFlow',
- ],
+ 'title' => '域名管理',
+ 'id' => 297725,
],
[
- 'id' => 390601,
- 'title' => 'PTZ管理',
+ 'children' => ['SetPreset', 'GotoPreset', 'DeletePreset', 'DescribePresets', 'StopMove', 'StopAdjust', 'ContinuousMove', 'ContinuousAdjust'],
'type' => 'directory',
- 'children' => [
- 'SetPreset',
- 'GotoPreset',
- 'DeletePreset',
- 'DescribePresets',
- 'StopMove',
- 'StopAdjust',
- 'ContinuousMove',
- 'ContinuousAdjust',
- ],
+ 'title' => 'PTZ管理',
+ 'id' => 297684,
],
[
- 'id' => 390610,
- 'title' => '目录管理',
+ 'children' => ['CreateDirectory', 'DeleteDirectory', 'ModifyDirectory', 'DescribeDirectory', 'DescribeDirectories', 'BindDirectory', 'UnbindDirectory', 'BatchBindDirectories'],
'type' => 'directory',
- 'children' => [
- 'CreateDirectory',
- 'DeleteDirectory',
- 'ModifyDirectory',
- 'DescribeDirectory',
- 'DescribeDirectories',
- 'BindDirectory',
- 'UnbindDirectory',
- 'BatchBindDirectories',
- ],
+ 'title' => '目录管理',
+ 'id' => 297759,
],
[
- 'id' => 390619,
- 'title' => '级联平台管理',
+ 'children' => ['CreateParentPlatform', 'DeleteParentPlatform', 'ModifyParentPlatform', 'DescribeParentPlatform', 'DescribeParentPlatforms', 'DescribeParentPlatformDevices', 'StartParentPlatform', 'BindParentPlatformDevice', 'BatchBindParentPlatformDevices', 'UnbindParentPlatformDevice', 'BatchUnbindParentPlatformDevices'],
'type' => 'directory',
- 'children' => [
- 'CreateParentPlatform',
- 'DeleteParentPlatform',
- 'ModifyParentPlatform',
- 'DescribeParentPlatform',
- 'DescribeParentPlatforms',
- 'DescribeParentPlatformDevices',
- 'StartParentPlatform',
- 'BindParentPlatformDevice',
- 'BatchBindParentPlatformDevices',
- 'UnbindParentPlatformDevice',
- 'BatchUnbindParentPlatformDevices',
- ],
+ 'title' => '级联平台管理',
+ 'id' => 297735,
],
[
- 'id' => 390631,
- 'title' => '用量查询',
+ 'children' => ['DescribeVsDomainPvData', 'DescribeVsDomainUvData', 'DescribeVsDomainPvUvData', 'DescribeVsDomainRecordData', 'DescribeVsDomainSnapshotData', 'DescribeVsDomainRegionData', 'DescribeVsDomainBpsData', 'DescribeVsDomainReqBpsData', 'DescribeVsDomainTrafficData', 'DescribeVsDomainReqTrafficData', 'DescribeVsDevicesData', 'DescribeVsUpPeakPublishStreamData'],
'type' => 'directory',
- 'children' => [
- 'DescribeVsDomainPvData',
- 'DescribeVsDomainUvData',
- 'DescribeVsDomainPvUvData',
- 'DescribeVsDomainRecordData',
- 'DescribeVsDomainSnapshotData',
- 'DescribeVsDomainRegionData',
- 'DescribeVsDomainBpsData',
- 'DescribeVsDomainReqBpsData',
- 'DescribeVsDomainTrafficData',
- 'DescribeVsDomainReqTrafficData',
- 'DescribeVsDevicesData',
- 'DescribeVsUpPeakPublishStreamData',
- ],
+ 'title' => '用量查询',
+ 'id' => 297795,
],
[
- 'id' => 390644,
- 'title' => '其他',
+ 'children' => ['VerifyVsDomainOwner', 'DescribeVsVerifyContent', 'StartPublishStream', 'DescribePublishStreamStatus', 'StopPublishStream'],
'type' => 'directory',
- 'children' => [
- 'VerifyVsDomainOwner',
- 'DescribeVsVerifyContent',
- 'StartPublishStream',
- 'DescribePublishStreamStatus',
- 'StopPublishStream',
- ],
+ 'title' => '其他',
+ 'id' => 297880,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'ModifyRenderingChargeType' => [
- 'summary' => '变配云渲染资源实例付费类型',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddHiveEdgeWorkers' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREvsJ3UH6I',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'AutoRenew',
+ 'name' => 'HiveId',
'in' => 'query',
- 'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
- ."\n"
- .'开启或关闭自动续费,取值:'."\n"
- .'* **true**:开启。'."\n"
- .'* **false**:关闭。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '**集群ID**'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive-xxxx-xxx-xxx'],
],
[
- 'name' => 'Period',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
- ."\n"
- .'包年包月的时长。取值范围(注:当选12的时候会被换算为一年,其余以月为周期单位):'."\n"
- ."\n"
- .'- 1(默认)'."\n"
- .'- 2'."\n"
- .'- 3'."\n"
- .'- 4'."\n"
- .'- 5'."\n"
- .'- 6'."\n"
- .'- 7'."\n"
- .'- 8'."\n"
- .'- 9'."\n"
- .'- 12',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '12',
- ],
+ 'description' => '**负载ID列表**'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => '负载 ID', 'type' => 'string', 'required' => false, 'example' => '[\'ew-g24n2ql2sdozw6hl2\']'],
+ 'required' => true,
+ 'example' => '[\'acp-c4b9pbj4fzkagfexv\', \'acp-c4b9pbj4fzkagfexw\']',
],
],
- [
- 'name' => 'InstanceBillingCycle',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PostPaid`(按量付费)时有效。'."\n"
- ."\n"
- .'计费类型,取值范围:'."\n"
- ."\n"
- .'- Hour:小时。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Hour',
- 'default' => 'Hour',
- 'enum' => [
- 'Hour',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => '**请求 ID**'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'SuccessInstanceCount' => ['description' => '成功数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'FailedInstanceCount' => ['description' => '失败的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SuccessInstances' => [
+ 'description' => '成功的实例列表'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '成功的负载信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '实例ID'."\n", 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '描述信息', 'description' => '消息'."\n", 'type' => 'string', 'example' => 'SUCCESS'],
+ ],
+ ],
+ ],
+ 'FailedInstances' => [
+ 'description' => '失败的实例列表'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '失败的负载信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '负载ID'."\n", 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '失败原因', 'description' => '错误信息'."\n", 'type' => 'string', 'example' => 'Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\''],
+ ],
+ ],
+ ],
],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '绑定负载到指定集群',
+ 'summary' => '将一个或多个负载实例绑定到指定的集群中。',
+ 'description' => '## 请求说明'."\n"
+ .'- **HiveId** 是必填参数,表示要绑定负载的目标集群ID。'."\n"
+ .'- **InstanceIds** 是必填参数,表示要绑定到集群中的负载ID列表。'."\n"
+ .'- 如果尝试绑定已经存在于目标集群中的负载ID,则会返回错误信息。'."\n"
+ .'- 绑定操作成功后,返回的成功和失败的负载实例列表可以帮助用户了解哪些负载已成功绑定,哪些未成功绑定及其原因。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"FailedInstanceCount\\": 0,\\n \\"SuccessInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\'\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'AddVsPullStreamInfoConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RenderingInstanceId',
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例 ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'InstanceChargeType',
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxApp'],
+ ],
+ [
+ 'name' => 'StreamName',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxStream'],
+ ],
+ [
+ 'name' => 'SourceUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户的直播流所在的源站。'."\n"
+ .'> 支持多个,用英文分号(;)分隔。', 'type' => 'string', 'required' => true, 'example' => 'up.******.com.cn'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '拉流开始时间。'."\n"
+ .'> UTC时间格式,StartTime和EndTime时间间隔在7天内。', 'type' => 'string', 'required' => false, 'example' => '2017-08-28T07:30:30Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '拉流结束时间。'."\n"
+ .'> UTC时间格式,StartTime和EndTime时间间隔在7天内,且EndTime必须超过当前时间。', 'type' => 'string', 'required' => false, 'example' => '2017-08-28T09:30:30Z'],
+ ],
+ [
+ 'name' => 'Always',
'in' => 'query',
'schema' => [
- 'description' => '实例的目标付费方式,取值范围:'."\n"
- ."\n"
- .'- PrePaid(默认):预付费包年包月。'."\n"
- .'- PostPaid:后付费按量付费。',
'type' => 'string',
- 'required' => true,
- 'example' => 'PostPaid',
- 'enum' => [
- 'PrePaid',
- 'PostPaid',
- ],
+ 'required' => false,
+ 'enum' => ['yes', 'no'],
+ 'description' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云渲染实例ID',
- 'description' => '云渲染实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3CB843A9-DD34-4881-B8D6-B0D539D111E4'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
- 'title' => '云应用服务实例付费方式变配',
- ],
- 'CreateRenderingInstance' => [
- 'summary' => '调用CreateRenderingInstance创建一个云应用服务实例',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'Param.Missing.StartTime', 'errorMessage' => 'You must specify StartTime.', 'description' => '缺少参数StartTime'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'Duration.Exceed', 'errorMessage' => 'The duration between StartTime and EndTime is too long.', 'description' => 'StartTime和EndTime间隔过大'],
+ ['errorCode' => 'ConfigAlreadyExists', 'errorMessage' => 'The specified configuration already exists.', 'description' => '配置已存在'],
+ ],
+ 403 => [
+ ['errorCode' => 'Deny.TooMany.Stream', 'errorMessage' => 'The operation is denied because the maximum number of streams is exceeded.', 'description' => 'stream数目超过上限'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3CB843A9-DD34-4881-B8D6-B0D539D111E4\\"\\n}","type":"json"}]',
+ 'title' => '添加拉流信息配置',
+ 'summary' => '添加拉流配置信息。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
+ .'| Missing DomainName | DomainName is mandatory for this action. | 400 |缺少参数。 | '."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidStartTime.Malformed |Specified StartTime is malformed.| 400 | StartTime格式错误。 |'."\n"
+ .'|InvalidEndTime.Malformed |Specified EndTime is malformed. | 400 | EndTime格式错误。 |'."\n"
+ .'|InvalidEndTime.Missmatch |Specified end time does not math the specified start time or current time.| 400 | StartTime 和 EndTime 时间范围应在一周内,且EndTime超过当前时间。 |'."\n"
+ .'| ConfigAlreadyExists | Config has already exist. | 400 | 配置数据已存在。| '."\n"
+ .'| PullStreamOverLimit | Pull stream is over limit for this domainName. | 400 | 该域名拉流流量已超过流量限制。 |',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:AddVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'AssociateRenderingProjectInstances' => [
+ 'summary' => '云应用服务实例与项目进行关联。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于将满足特定条件的实例与指定项目进行关联。'."\n",
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREvsJ3UH6I',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'RenderingSpec',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例规格',
- 'description' => '云应用服务实例规格'."\n"
- ."\n"
- .'- 规格为crs.cp.*系列,付费方式可选择预付费或者后付费。'."\n"
- .'- 规格为crs.vm.*系列,付费方式可选择预付费或者后付费。'."\n"
- .'- 其它剩余系列,付费方式只支持预付费。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'crs.cp.l1',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'ClientInfo',
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'title' => '客户端信息',
- 'description' => '客户端信息',
+ 'description' => '云应用服务实例ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-4523e7b93ca246febd10cd12347d70c0'],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'ClientIp' => [
- 'title' => '客户端IP地址',
- 'description' => '客户端IP地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '172.21.128.110',
+ 'RequestId' => ['title' => '', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SuccessInstanceCount' => ['title' => '成功的云应用服务实例量', 'description' => '成功的云应用服务实例量', 'type' => 'string', 'example' => '5'],
+ 'FailedInstanceCount' => ['title' => '失败的云应用服务实例量', 'description' => '失败的云应用服务实例量', 'type' => 'string', 'example' => '0'],
+ 'SuccessInstances' => [
+ 'description' => '关联成功的实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用服务实例ID与关联结果描述信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-5130e2feb23f442fb9456a3d977f03d4'],
+ 'Message' => ['title' => '描述信息', 'description' => '描述信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ ],
+ ],
+ ],
+ 'FailedInstances' => [
+ 'description' => '关联失败的实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用服务实例ID与关联失败信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c'],
+ 'Message' => ['title' => '失败原因', 'description' => '失败原因', 'type' => 'string', 'example' => 'invalid id'],
+ ],
+ ],
],
],
- 'required' => false,
],
],
- [
- 'name' => 'InternetMaxBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => '最大带宽,单位 Mbps,默认值10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": \\"5\\",\\n \\"FailedInstanceCount\\": \\"0\\",\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-5130e2feb23f442fb9456a3d977f03d4\\",\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"Message\\": \\"invalid id\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '项目增加实例关联',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:AssociateRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'BatchBindDirectories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AutoRenew',
- 'in' => 'query',
- 'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
- ."\n"
- .'开启或关闭自动续费,取值:'."\n"
- .'* **true**:开启。'."\n"
- .'* **false**:关闭。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'Period',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
- ."\n"
- .'包年包月的时长。取值范围(注:当选12的时候会被换算为一年,其余以月为周期单位):'."\n"
- ."\n"
- .'- 1(默认)'."\n"
- .'- 2'."\n"
- .'- 3'."\n"
- .'- 4'."\n"
- .'- 5'."\n"
- .'- 6'."\n"
- .'- 7'."\n"
- .'- 8'."\n"
- .'- 9'."\n"
- .'- 12',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '12',
- ],
- ],
+ 'schema' => ['description' => '目录ID', 'type' => 'string', 'required' => true, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'InstanceChargeType',
+ 'name' => 'DeviceId',
'in' => 'query',
+ 'schema' => ['description' => '设备ID,多值用逗号分隔', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '实例的付费方式,取值范围:'."\n"
- ."\n"
- .'- PrePaid(默认):预付费包年包月。'."\n"
- .'- PostPaid:后付费按量付费。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PrePaid',
- 'enum' => [
- 'PrePaid',
- 'PostPaid',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '绑定的错误信息。'."\n"
+ .'> 仅在出错时存在。', 'type' => 'string', 'example' => 'An error occurred while processing your request.'],
+ 'DirectoryId' => ['description' => '目录ID', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"An error occurred while processing your request.\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量绑定设备到目录',
+ 'summary' => '批量绑定多个设备到目录。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindDirectories'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InternetChargeType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '> 只能有一种计费方式,如果已存在计费方式,则新值默认无效,以已存在的为准。注意用户第一次购买的时候该字段必填。'."\n"
- ."\n"
- .'网络计费类型,取值:'."\n"
- .'- 95BandwidthByMonth:月95峰值带宽。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '95BandwidthByMonth',
- 'enum' => [
- '95BandwidthByMonth',
- 'BandwidthByDay',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
+ ],
+ ],
+ 'BatchBindParentPlatformDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'StorageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例使用云存储容量(注:非本地存储)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'InstanceBillingCycle',
+ 'name' => 'ParentPlatformId',
'in' => 'query',
- 'schema' => [
- 'description' => '> 此值仅在 `InstanceChargeType` 为 `PostPaid`(按量付费)时有效。'."\n"
- ."\n"
- .'计费类型,取值范围:'."\n"
- ."\n"
- .'- Hour:小时。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Hour',
- 'enum' => [
- 'Hour',
- ],
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '361*****212-cn-qingdao'],
],
[
- 'name' => 'Attributes',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '> 非特殊需求,请保持默认值。有特殊需求的客户,请沟通确认后填写相关参数。'."\n"
- ."\n"
- .'属性信息',
- 'type' => 'object',
- 'properties' => [
- 'Zone' => [
- 'description' => '资源域。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Private' => 'Private',
- 'Public' => 'Public',
- ],
- 'example' => 'Public',
- ],
- 'OutAccess' => [
- 'description' => '出网配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'OFF' => 'OFF',
- 'ON' => 'ON',
- ],
- 'example' => 'ON',
- ],
- 'InAccess' => [
- 'description' => '入网配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'OFF' => 'OFF',
- 'ON' => 'ON',
- ],
- 'example' => 'ON',
- ],
- 'EdgeMediaService' => [
- 'description' => '流化服务。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'OFF' => 'OFF',
- 'ON' => 'ON',
- ],
- 'example' => 'ON',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅在出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'ParentPlatformId' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '361*****212-cn-qingdao'],
+ 'DeviceId' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
- 'title' => '云应用服务实例创建',
- ],
- 'ListRenderingInstances' => [
- 'summary' => '查询云应用服务实例基本信息列表,支持分页查询。',
- 'methods' => [
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"ParentPlatformId\\": \\"361*****212-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量绑定父平台设备',
+ 'summary' => '批量绑定多个设备到上级平台推送。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindParentPlatformDevices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchBindPurchasedDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '199255',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingSpec',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例规格',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'crs.cp.l1',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao'],
],
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '设备分组id', 'type' => 'string', 'required' => true, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'allowEmptyValue' => true,
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时设置的页码。 起始值:1。默认值:1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '结果列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '设备错误信息。(仅在出错时存在)', 'type' => 'string', 'example' => 'some error'],
+ 'GroupId' => ['description' => '空间ID。', 'type' => 'string', 'example' => '238*****380-cn-qingdao'],
+ 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'Region' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"GroupId\\": \\"238*****380-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Region\\": \\"cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量绑定购买设备',
+ 'summary' => '批量绑定购买设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindPurchasedDevices'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '分页查询时设置的每页行数。 取值范围:1~100。默认值:10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindPurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'BatchBindTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'StorageSize',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例存储容量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-31T07:59:59Z',
- ],
+ 'schema' => ['description' => '实例ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '323*****994-cn-qingdao'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'InstanceType',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-31T15:59:59Z',
- ],
+ 'schema' => ['description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)', 'type' => 'string', 'required' => true, 'example' => 'group'],
+ ],
+ [
+ 'name' => 'ApplyAll',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制应用到范围内的所有流,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Replace',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制替换已有绑定,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstances' => [
- 'description' => '云应用服务实例信息列表',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Bindings' => [
+ 'description' => '结果列表。',
'type' => 'array',
'items' => [
- 'description' => '云应用服务实例基本信息',
'type' => 'object',
'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'RenderingSpec' => [
- 'title' => '云渲染实例当前操作状态',
- 'description' => '云应用服务实例规格',
- 'type' => 'string',
- 'example' => 'crs.cp.l1',
- ],
- 'CreationTime' => [
- 'title' => '云渲染实例创建时间',
- 'description' => '云应用服务实例创建时间',
- 'type' => 'string',
- 'example' => '2023-11-17T02:18:04Z',
- ],
- 'StorageSize' => [
- 'description' => '云存储容量,单位:GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅当操作出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao'],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
],
+ 'description' => '',
],
],
- 'TotalCount' => [
- 'title' => '云渲染实例总数',
- 'description' => '云应用服务实例总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"RenderingSpec\\": \\"crs.cp.l1\\",\\n \\"CreationTime\\": \\"2023-11-17T02:18:04Z\\",\\n \\"StorageSize\\": 100\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
- 'title' => '查询云应用服务实例基本信息列表',
- ],
- 'ModifyRenderingInstanceAttribute' => [
- 'summary' => '修改云应用服务实例属性。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Bindings\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量绑定模板到多个实例',
+ 'summary' => '绑定模板到指定的多个实例,比如:绑定到空间和流的实例。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindTemplate'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchBindTemplates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'Password',
+ 'name' => 'TemplateType',
'in' => 'query',
- 'schema' => [
- 'description' => '设备密码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Toehold2020',
- ],
+ 'schema' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)', 'type' => 'string', 'required' => false, 'example' => 'timeshift'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => '323*****994-cn-qingdao'],
+ ],
+ [
+ 'name' => 'InstanceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)', 'type' => 'string', 'required' => true, 'example' => 'stream'],
+ ],
+ [
+ 'name' => 'ApplyAll',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制应用到范围内的所有流,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Replace',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制替换已有绑定,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '20D0DFCE-5DB7-5D83-BD82-8482F2327636'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Bindings',
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ ."\n"
+ .'> 仅当操作出错时存在。'."\n", 'type' => 'string', 'example' => 'some error'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao '],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao '],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '修改云应用服务实例属性',
- ],
- 'DescribeRenderingInstance' => [
- 'summary' => '查询一个云应用服务实例的详细信息。',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20D0DFCE-5DB7-5D83-BD82-8482F2327636\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\\\t\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\\\t\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量绑定模板',
+ 'summary' => '批量绑定模板。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindTemplates'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchCaptureRenderingInstanceScreenshot' => [
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1027,2278 +863,1752 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '199425',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
+ 'title' => '渲染实例 ID 列表,与 `ResourceIds` 同为第一优先级,最多 100 个'."\n",
+ 'description' => '实例 ID 列表,最多 100 个'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-a371588064324c57b7b0133a96cbd17a'],
'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
+ 'maxItems' => 100,
+ 'minItems' => 1,
],
],
+ [
+ 'name' => 'Quality',
+ 'in' => 'query',
+ 'schema' => ['title' => '图片质量,范围 1~100'."\n", 'description' => '图片质量,范围 1~100'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '60', 'default' => '60'],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'CreationTime' => [
- 'title' => '实例创建时间',
- 'description' => '实例创建时间',
- 'type' => 'string',
- 'example' => '2024-05-07T02:27:06Z',
- ],
- 'SystemInfo' => [
- 'description' => '系统信息,包括分辨率等',
- 'type' => 'object',
- 'properties' => [
- 'Resolution' => [
- 'description' => '分辨率。取值:'."\n"
- ."\n"
- .'- 1920*864'."\n"
- ."\n"
- .'- 1080*1920'."\n"
- ."\n"
- .'- 1920*1080'."\n"
- ."\n"
- .'- 720*1280'."\n"
- ."\n"
- .'- 2400*1080'."\n"
- ."\n"
- .'- 1080*2400'."\n"
- ."\n"
- .'- 1280*720'."\n"
- ."\n"
- .'- 864*1920',
- 'type' => 'string',
- 'example' => '1920*1080',
- ],
- 'Frequency' => [
- 'description' => '实例刷新率,单位HZ',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- ],
- ],
- 'RenderingStatus' => [
- 'title' => '实例操作状态',
- 'description' => '实例操作状态',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'title' => '实例操作状态,取值范围,'."\n"
- .'1. Preparing:初始化准备中'."\n"
- .'2. Rebooting:重启中'."\n"
- .'3. Resetting:重置中'."\n"
- .'4. Working:工作中,属于终态'."\n"
- .'5. Failure:操作失败,属于终态',
- 'description' => '实例操作状态,取值范围,'."\n"
- .'1. Preparing:初始化准备中'."\n"
- .'2. Rebooting:重启中'."\n"
- .'3. Resetting:重置中'."\n"
- .'4. Working:工作中,属于终态'."\n"
- .'5. Failure:操作失败,属于终态',
- 'type' => 'string',
- 'example' => 'Working',
- ],
- 'LatestAction' => [
- 'title' => '实例最近一次操作动作',
- 'description' => '实例最近一次操作动作名',
- 'type' => 'string',
- 'example' => 'MigrateLocalData',
- ],
- 'Description' => [
- 'title' => '状态描述',
- 'description' => '状态描述',
- 'type' => 'string',
- 'example' => '工作中',
- ],
- ],
- ],
- 'ConfigInfo' => [
- 'title' => '实例配置信息',
- 'description' => '实例配置信息',
- 'type' => 'object',
- 'properties' => [
- 'NetworkConfig' => [
- 'title' => '出/入方向带宽限速。单位Mb/s。',
- 'description' => '出/入方向带宽限速。单位Mb/s。',
- 'type' => 'object',
- 'properties' => [
- 'MaxIngressBandwidth' => [
- 'description' => '入方向最大限流,单位Mb/s。0表示无限流配置',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MaxEgressBandwidth' => [
- 'description' => '出方向最大限流,单位Mb/s。0表示无限流配置',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'BandwidthStatus' => [
- 'description' => '带宽生效状态,取值:'."\n"
- ."\n"
- .'1. waiting:生效中'."\n"
- .'2. success:已生效'."\n"
- .'3. failed:生效失败',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2023-08-17T09:54:35Z',
- ],
- ],
- ],
- 'Configuration' => [
- 'title' => '已生效真机仿真配置',
- 'description' => '已配置的真机仿真模块信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '已配置的真机仿真模块属性信息',
- 'type' => 'object',
- 'properties' => [
- 'ModuleName' => [
- 'description' => '真机仿真功能模块名,取值范围包括,'."\n"
- .'1. ctl:控制模块'."\n"
- .'2. prop:属性模块'."\n"
- .'3. location:定位模块'."\n"
- .'4. battery:电池模块'."\n"
- .'5. network:网络模块'."\n"
- .'6. bluetooth:蓝牙模块'."\n"
- .'7. sim:SIM卡模块'."\n"
- .'8. display:设备模块'."\n"
- .'9. system:基础模块',
- 'type' => 'string',
- 'example' => 'location',
- ],
- 'Attributes' => [
- 'title' => '属性列表',
- 'description' => '属性列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性信息',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '属性值',
- 'type' => 'any',
- 'example' => '100',
- ],
- 'Name' => [
- 'description' => '属性名',
- 'type' => 'string',
- 'example' => 'lon',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Hostname' => [
- 'title' => '实例hostname,默认为出口Eip',
- 'description' => '云应用服务实例域名/访问IP',
- 'type' => 'string',
- 'example' => 'cn-xxx.ecr.aliyuncs.com',
- ],
- 'Isp' => [
- 'title' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'description' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- 'PortMappings' => [
- 'title' => '端口映射信息',
- 'description' => '端口映射信息列表',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'FailedItems' => [
+ 'description' => '截图失败实例列表。',
'type' => 'array',
'items' => [
- 'description' => '端口映射信息',
+ 'description' => '失败实例信息。',
'type' => 'object',
'properties' => [
- 'ExternalPort' => [
- 'title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '10013/10020',
- ],
- 'InternalPort' => [
- 'title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '49008/49015',
- ],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-072da95539d3402da90353b244191722'],
+ 'ErrCode' => ['description' => '失败错误码', 'type' => 'string', 'example' => 'Success'],
+ 'ErrMessage' => ['description' => '失败原因信息', 'type' => 'string', 'example' => 'Not Applied'],
],
],
],
- 'RenderingSpec' => [
- 'description' => '云应用服务实例规格',
- 'type' => 'string',
- 'example' => 'crs.cp.l1',
- ],
- 'StorageSize' => [
- 'description' => '云应用服务实例存储容量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'EgressIp' => [
- 'title' => '出站IP',
- 'description' => '出站IP',
- 'type' => 'string',
- 'example' => '1.1.8.8',
- ],
- 'AdditionalIngresses' => [
- 'title' => '其他可选的入口网络信息',
- 'description' => '其他可选的入口网络信息',
+ 'FailedCount' => ['description' => '失败实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'SuccessItems' => [
+ 'description' => '成功实例列表。',
'type' => 'array',
'items' => [
- 'description' => '可选的入口网络信息',
+ 'description' => '成功实例详情',
'type' => 'object',
'properties' => [
- 'Hostname' => [
- 'title' => '云应用服务实例域名/IP',
- 'description' => '云应用服务实例域名/IP',
- 'type' => 'string',
- 'example' => '101.66.165.213',
- ],
- 'Isp' => [
- 'title' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'description' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'type' => 'string',
- 'example' => 'cmcc',
- ],
- 'PortMappings' => [
- 'title' => '端口映射列表',
- 'description' => '端口映射列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '端口映射信息',
- 'type' => 'object',
- 'properties' => [
- 'ExternalPort' => [
- 'title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '12500/12519',
- ],
- 'InternalPort' => [
- 'title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '11120/11139',
- ],
- ],
- ],
- ],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-1ada8cd82783407b99fa202826fc6447'],
+ 'DownloadUrl' => ['description' => '截图下载地址', 'type' => 'string', 'example' => 'https://testts-1.oss-cn-beijing.aliyuncs.com/app/test-zip-file.zip'],
+ 'CreationTime' => ['description' => '截图创建时间', 'type' => 'string', 'example' => '2026-05-19T14:46:37+08:00'],
],
],
],
- 'InternalIp' => [
- 'description' => '内网IP',
- 'type' => 'string',
- 'example' => '10.1.17.32',
- ],
- 'ResourceAttributes' => [
- 'title' => '云应用服务实例属性信息',
- 'description' => '云应用服务实例属性信息',
+ 'SuccessCount' => ['description' => '成功实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Datatest' => [
+ 'description' => '数据预检查结果。',
'type' => 'object',
'properties' => [
- 'Zone' => [
- 'title' => '资源域,取值范围:Private、Public',
- 'description' => '资源域,取值范围:Private、Public',
- 'type' => 'string',
- 'example' => 'Public',
- 'enum' => [
- 'Private',
- 'Public',
- ],
- ],
- 'OutAccess' => [
- 'title' => '出网配置,取值范围:'."\n"
- .'1. ON:开启。资源具备访问公网能力。'."\n"
- .'2. OFF:关闭。',
- 'description' => '出网配置,取值范围:'."\n"
- .'1. ON:开启。资源具备访问公网能力。'."\n"
- .'2. OFF:关闭。',
- 'type' => 'string',
- 'example' => 'ON',
- 'enum' => [
- 'ON',
- 'OFF',
- ],
- ],
- 'InAccess' => [
- 'title' => '入网配置,取值范围:'."\n"
- .'1. ON:开启。资源可被外部访问。'."\n"
- .'2. OFF:关闭。',
- 'description' => '入网配置,取值范围:'."\n"
- .'1. ON:开启。资源可被外部访问。'."\n"
- .'2. OFF:关闭。',
- 'type' => 'string',
- 'example' => 'ON',
- 'enum' => [
- 'ON',
- 'OFF',
- ],
- ],
- 'EdgeMediaService' => [
- 'title' => '流化服务,取值范围:'."\n"
- .'1. ON:开启。'."\n"
- .'2. OFF:关闭。',
- 'description' => '流化服务,取值范围:'."\n"
- .'1. ON:开启。'."\n"
- .'2. OFF:关闭。',
- 'type' => 'string',
- 'example' => 'ON',
- 'enum' => [
- 'ON',
- 'OFF',
+ 'Result' => [
+ 'description' => '预检查结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SuccessCount' => ['description' => '成功实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'InstanceChargeType' => [
- 'title' => '实例计费类型',
- 'description' => '实例计费类型',
- 'type' => 'string',
- 'example' => 'PostPaid',
- ],
],
+ 'description' => '成功响应',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"CreationTime\\": \\"2024-05-07T02:27:06Z\\",\\n \\"SystemInfo\\": {\\n \\"Resolution\\": \\"1920*1080\\",\\n \\"Frequency\\": 60\\n },\\n \\"RenderingStatus\\": {\\n \\"Status\\": \\"Working\\",\\n \\"LatestAction\\": \\"MigrateLocalData\\",\\n \\"Description\\": \\"工作中\\"\\n },\\n \\"ConfigInfo\\": {\\n \\"NetworkConfig\\": {\\n \\"MaxIngressBandwidth\\": 100,\\n \\"MaxEgressBandwidth\\": 100,\\n \\"BandwidthStatus\\": \\"success\\",\\n \\"UpdateTime\\": \\"2023-08-17T09:54:35Z\\"\\n },\\n \\"Configuration\\": [\\n {\\n \\"ModuleName\\": \\"location\\",\\n \\"Attributes\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"Name\\": \\"lon\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"Isp\\": \\"telecom\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"RenderingSpec\\": \\"crs.cp.l1\\",\\n \\"StorageSize\\": 20,\\n \\"EgressIp\\": \\"1.1.8.8\\",\\n \\"AdditionalIngresses\\": [\\n {\\n \\"Hostname\\": \\"101.66.165.213\\",\\n \\"Isp\\": \\"cmcc\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"12500/12519\\",\\n \\"InternalPort\\": \\"11120/11139\\"\\n }\\n ]\\n }\\n ],\\n \\"InternalIp\\": \\"10.1.17.32\\",\\n \\"ResourceAttributes\\": {\\n \\"Zone\\": \\"Public\\",\\n \\"OutAccess\\": \\"ON\\",\\n \\"InAccess\\": \\"ON\\",\\n \\"EdgeMediaService\\": \\"ON\\"\\n },\\n \\"InstanceChargeType\\": \\"PostPaid\\"\\n}","type":"json"}]',
- 'title' => '查询云应用服务实例详细信息',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例批量截图',
+ 'summary' => '用于获取云应用服务实例的屏幕截图',
+ 'description' => '## 请求说明'."\n"
+ ."\n"
+ .'- **认证**:请求需要携带 `AliUid` 参数进行身份验证。'."\n"
+ .'- **实例指定方式**:可以通过 `RenderingInstanceIds`指定要截图的实例。'."\n"
+ .'- **截图质量**:通过 `Quality` 参数可以设置截图图片的质量,默认值为75(如果未配置),取值范围是1到100。'."\n"
+ .'- **响应处理**:返回结果中包含成功和失败的实例列表及其相关信息,包括下载链接以及截图完成时间等。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"FailedItems\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-072da95539d3402da90353b244191722\\",\\n \\"ErrCode\\": \\"Success\\",\\n \\"ErrMessage\\": \\"Not Applied\\"\\n }\\n ],\\n \\"FailedCount\\": 0,\\n \\"SuccessItems\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-1ada8cd82783407b99fa202826fc6447\\",\\n \\"DownloadUrl\\": \\"https://testts-1.oss-cn-beijing.aliyuncs.com/app/test-zip-file.zip\\",\\n \\"CreationTime\\": \\"2026-05-19T14:46:37+08:00\\"\\n }\\n ],\\n \\"SuccessCount\\": 1,\\n \\"Datatest\\": {\\n \\"Result\\": {\\n \\"SuccessCount\\": 1\\n }\\n }\\n}","type":"json"}]',
],
- 'GetRenderingInstanceStreamingInfo' => [
- 'summary' => '获取一个云应用服务实例的流连接信息,每次流化建联前都需要调用此接口获取最新连接信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchDeleteDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '199704',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '32388****39092996'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'Gateway' => [
- 'description' => '云应用服务实例流化网关域名',
- 'type' => 'string',
- 'example' => '10.178.208.22',
- ],
- 'Hostname' => [
- 'description' => '云应用服务实例串流域名/IP',
- 'type' => 'string',
- 'example' => '10.18.20.2',
- ],
- 'Port' => [
- 'description' => '流化连接端口',
- 'type' => 'string',
- 'example' => '10003',
- ],
- 'FlowId' => [
- 'description' => '本次连接的令牌',
- 'type' => 'string',
- 'example' => '792fy125-594c-4dde-ab35-9ff8hrf0a86f',
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '设备错误信息。(仅在出错时存在)', 'type' => 'string', 'example' => 'Device not found'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '323884****9092996'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"Gateway\\": \\"10.178.208.22\\",\\n \\"Hostname\\": \\"10.18.20.2\\",\\n \\"Port\\": \\"10003\\",\\n \\"FlowId\\": \\"792fy125-594c-4dde-ab35-9ff8hrf0a86f\\"\\n}","type":"json"}]',
- 'title' => '查询云应用服务实例流连接信息',
- ],
- 'RefreshRenderingInstanceStreaming' => [
- 'summary' => '调用 RefreshRenderingInstanceStreaming 刷新云应用服务实例流连接。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"Device not found\\",\\n \\"Id\\": \\"323884****9092996\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量删除设备',
+ 'summary' => '批量删除设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteDevices'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchDeleteDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchDeleteVsDomainConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvs4YZ3LQ',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DomainNames',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '您的加速域名,多个用英文半角逗号分隔', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'ClientInfo',
+ 'name' => 'FunctionNames',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '客户端信息。',
- 'type' => 'object',
- 'properties' => [
- 'ClientIp' => [
- 'description' => '客户端IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '172.21.128.110',
- ],
- 'NewClient' => [
- 'description' => '是否为新的客户端。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '功能列表名称,多个用逗号分隔', 'type' => 'string', 'required' => true, 'example' => 'https_force'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID。',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'Gateway' => [
- 'description' => '云应用服务实例流化网关域名。',
- 'type' => 'string',
- 'example' => '10.178.208.22',
- ],
- 'Hostname' => [
- 'description' => '云应用服务实例串流域名/IP。',
- 'type' => 'string',
- 'example' => 'cn-xxx.ecr.aliyuncs.com',
- ],
- 'Port' => [
- 'description' => '流连接端口。',
- 'type' => 'string',
- 'example' => '8080',
- ],
- 'FlowId' => [
- 'description' => '本次连接的令牌。',
- 'type' => 'string',
- 'example' => '792fy125-594c-4dde-ab35-9ff8hrf0a86f',
- ],
+ 'RequestId' => ['description' => '该条任务请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"Gateway\\": \\"10.178.208.22\\",\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"Port\\": \\"8080\\",\\n \\"FlowId\\": \\"792fy125-594c-4dde-ab35-9ff8hrf0a86f\\"\\n}","type":"json"}]',
- 'title' => '刷新云应用服务实例流连接',
- 'description' => '> 模板ID和模板类型至少指定一个。',
- ],
- 'SendRenderingInstanceCommands' => [
- 'summary' => '向一个云应用服务实例下发shell控制指令,支持同步/异步响应命令。'."\n"
- .'同步场景,不适用于耗时命令(最大耗时不能超过30s)。'."\n"
- .'异步场景,可通过GetRenderingInstanceCommandsStatus接口查询命令执行状态与结果。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '域名删除域名配置',
+ 'summary' => '批量删除域名配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVsDomainConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchDeleteVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchForbidVsStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213860',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Commands',
- 'in' => 'formData',
+ 'name' => 'Channel',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名称。'."\n"
+ .'> - 格式为:AppName/StreamName。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'live/stream1,live/stream2'],
+ ],
+ [
+ 'name' => 'LiveStreamType',
+ 'in' => 'query',
'schema' => [
- 'title' => 'shell命令字符串。支持输入多条命令,以";"分隔',
- 'description' => 'shell命令字符串。支持输入多条命令,以";"/换行符分隔,'."\n"
+ 'description' => '用于指定主播推流还是客户端拉流。取值范围:'."\n"
+ .'- publisher(主播推送)'."\n"
."\n"
- .'- 禁用rm/reboot等危险命令',
+ .'> 目前仅支持:publisher。',
'type' => 'string',
- 'deprecated' => false,
'required' => true,
- 'example' => 'date;ls -l /tmp',
+ 'example' => 'publisher',
+ 'enum' => ['publisher'],
],
],
[
- 'name' => 'Mode',
+ 'name' => 'Oneshot',
'in' => 'query',
'schema' => [
- 'title' => '命令响应模式,取值范围:'."\n"
- .'1. Sync:同步响应。默认值。'."\n"
- .'2. Async:异步响应',
- 'description' => '命令响应模式,取值范围:'."\n"
- .'1. Sync:同步响应。默认值。'."\n"
- .'2. Async:异步响应',
+ 'description' => '是否只断流不加入黑名单。取值范围:'."\n"
+ .'- yes(是)'."\n"
+ .'- no(否)',
'type' => 'string',
'required' => false,
- 'example' => 'Async',
- 'enum' => [
- 'Async',
- 'Sync',
- ],
+ 'example' => 'yes',
+ 'enum' => ['yes', 'no'],
],
],
[
- 'name' => 'Timeout',
+ 'name' => 'ControlStreamAction',
'in' => 'query',
'schema' => [
- 'title' => '命令执行的超时时间,单位秒。取值范围与Mode响应模式取值有关:'."\n"
- .'1. Mode=Sync,0-30,默认30'."\n"
- .'2. Mode=Async,0-3600,默认300',
- 'description' => '命令执行的超时时间,单位秒。取值范围与Mode响应模式取值有关:'."\n"
- .'1. Mode=Sync,0-30,默认30'."\n"
- .'2. Mode=Async,0-3600,默认300',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'string',
'required' => false,
- 'maximum' => '3600',
- 'minimum' => '0',
- 'example' => '60',
+ 'default' => 'forbid',
+ 'enum' => ['forbid'],
+ 'description' => '',
],
],
+ [
+ 'name' => 'ResumeTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '恢复流的时间。'."\n"
+ .'> UTC时间格式,例如:2015-12-01T17:37:00Z', 'type' => 'string', 'required' => false, 'example' => '2015-12-01T17:37:00Z'],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Result' => [
- 'title' => '命令的执行结果字符串',
- 'description' => '命令响应结果',
- 'type' => 'string',
- 'example' => 'Thu Jun 27 16:06:26 CST 2024',
- ],
- 'CmdId' => [
- 'title' => '命令请求的唯一ID。默认1天内有效,对于异步场景,对结果有关注的情况,建议在有效时间内尽快查询结果(最好在命令执行超期时间内)。',
- 'description' => '命令请求的唯一ID。默认1天内有效,对于异步场景,对结果有关注的情况,建议在有效时间内尽快查询结果(最好在命令执行超期时间内)。',
- 'type' => 'string',
- 'example' => 'cmd-81de027b66e442e99c1e0e09a16a0be5',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B058D71B-76EA-5DF6-ACAF-A617C1E7937F'],
+ 'ForbidResult' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ForbidResultInfo' => [
+ 'description' => '断流结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => ['description' => '操作结果。取值范围:'."\n"
+ .'- success(成功)'."\n"
+ .'- fail(失败)', 'type' => 'string', 'example' => 'success'],
+ 'Count' => ['description' => '成功或者失败的路数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Detail' => ['description' => '错误原因。取值范围:'."\n"
+ .'- ok(成功)'."\n"
+ .'- exceed-limit(黑名单条数超限)'."\n"
+ .'- internal-error(内部错误)', 'type' => 'string', 'example' => 'ok'],
+ 'Channels' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Channel' => [
+ 'description' => '流名称列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '流名称。'."\n"
+ .'> - 格式为:AppName/StreamName。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'example' => 'live/stream1,live/stream2'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B058D71B-76EA-5DF6-ACAF-A617C1E7937F\\",\\n \\"ForbidResult\\": {\\n \\"ForbidResultInfo\\": [\\n {\\n \\"Result\\": \\"success\\",\\n \\"Count\\": 2,\\n \\"Detail\\": \\"ok\\",\\n \\"Channels\\": {\\n \\"Channel\\": [\\n \\"live/stream1,live/stream2\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '批量禁止VS流',
+ 'summary' => '禁止某条流的推送,可以预设某个时刻将流恢复。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP 状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
+ .'| InvalidResumeTime.Malformed | Specified parameter ResumeTime is not valid. | 400 | 结束时间错误。 | '."\n"
+ .'| QuotaExceeded.Blacklist | Exceed max blacklist count limit|400|黑名单条数超出上限,默认10000条。|'."\n"
+ .'| ConfigAlreadyExists | Config has already exist.|400|配置已存在。|',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchForbidVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Result\\": \\"Thu Jun 27 16:06:26 CST 2024\\",\\n \\"CmdId\\": \\"cmd-81de027b66e442e99c1e0e09a16a0be5\\"\\n}","type":"json"}]',
- 'title' => '下发云应用服务实例控制指令',
],
- 'GetRenderingInstanceCommandsStatus' => [
- 'summary' => '查询控制命令的执行状态,获取命令是否执行成功、执行结果字符串等。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'BatchResumeVsStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213860',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '您的加速域名', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'Channel',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名称,格式为AppName/StreamName, 多个用,隔开', 'type' => 'string', 'required' => true, 'example' => 'live/stream1'],
+ ],
+ [
+ 'name' => 'LiveStreamType',
'in' => 'query',
'schema' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
+ 'description' => '用于指定主播推流还是客户端拉流, 目前支持“publisher”(主播推送)',
'type' => 'string',
'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
+ 'example' => 'publisher',
+ 'enum' => ['publisher'],
],
],
[
- 'name' => 'CmdId',
+ 'name' => 'ControlStreamAction',
'in' => 'query',
'schema' => [
- 'title' => '命令下发请求的唯一ID',
- 'description' => '命令下发请求的唯一ID',
'type' => 'string',
- 'deprecated' => false,
- 'required' => true,
- 'example' => 'cmd-81de027b66e442e99c1e0e09a16a0be5',
+ 'required' => false,
+ 'default' => 'resume',
+ 'enum' => ['resume'],
+ 'description' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Result' => [
- 'title' => '命令的执行结果字符串',
- 'description' => '命令的执行结果字符串',
- 'type' => 'string',
- 'example' => 'Thu Jun 27 16:06:26 CST 2024',
- ],
- 'Status' => [
- 'title' => '命令执行状态,取值范围:'."\n"
- .'1. Doing:执行中'."\n"
- .'2. Success:已成功'."\n"
- .'3. Failed:失败。超时时间内,失败会自动重试,客户可以选择继续等待或重新发起请求。',
- 'description' => '命令执行状态,取值范围:'."\n"
- .'1. Doing:执行中'."\n"
- .'2. Success:已成功'."\n"
- .'3. Failed:失败。超时时间内,失败会自动重试,客户可以选择继续等待或重新发起请求。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Message' => [
- 'title' => '描述信息。Status=Failed时,包含失败原因',
- 'description' => '描述信息。Status=Failed时,包含失败原因',
- 'type' => 'string',
- 'example' => 'conn failed!',
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'ResumeResult' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ResumeResultInfo' => [
+ 'description' => '恢复任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => ['description' => '操作结果,取值success/fail, 表示成功/失败', 'type' => 'string', 'example' => 'success'],
+ 'Count' => ['description' => '成功或者失败的路数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Detail' => ['description' => '错误原因, 取值ok/internal-error,表示成功/内部错误', 'type' => 'string', 'example' => 'ok'],
+ 'Channels' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Channel' => [
+ 'description' => '流列表,格式为AppName/StreamName',
+ 'type' => 'array',
+ 'items' => ['description' => '流列表,格式为AppName/StreamName', 'type' => 'string', 'example' => 'live/stream1'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Result\\": \\"Thu Jun 27 16:06:26 CST 2024\\",\\n \\"Status\\": \\"Success\\",\\n \\"Message\\": \\"conn failed!\\"\\n}","type":"json"}]',
- 'title' => '查看实例控制命令执行状态',
- ],
- 'ModifyRenderingInstance' => [
- 'summary' => '变配云应用服务实例',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ResumeResult\\": {\\n \\"ResumeResultInfo\\": [\\n {\\n \\"Result\\": \\"success\\",\\n \\"Count\\": 1,\\n \\"Detail\\": \\"ok\\",\\n \\"Channels\\": {\\n \\"Channel\\": [\\n \\"live/stream1\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '批量恢复某条监控流的推送',
+ 'summary' => '恢复某条流的推送。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP 状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BatchResumeVsStream'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchResumeVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchSetVsDomainConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREvsJ3UH6I',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingSpec',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例规格',
- 'description' => '云应用服务实例规格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'crs.cp.l1',
- ],
- ],
- [
- 'name' => 'StorageSize',
+ 'name' => 'DomainNames',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例使用云存储容量(注:非本地存储)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '您的加速域名。'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Functions',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID(注:只支持同系列规格的变配)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '功能列表。', 'type' => 'string', 'required' => true, 'example' => '[{“functionArgs”:[{“argName”:”domain_name”,”argValue”:”api.hellodtworld.com”}],”functionName”:”set_req_host_header”}]'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '6DFE7B89-8532-566F-B5CE-924B10FCE7AC',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6DFE7B89-8532-566F-B5CE-924B10FCE7AC\\"\\n}","type":"json"}]',
- 'title' => '云应用服务实例变配',
- ],
- 'RebootRenderingInstance' => [
- 'summary' => '重启一个云应用服务实例。'."\n"
- .'可通过查询接口DescribeRenderingInstance获取重启进度。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量配置域名',
+ 'summary' => '域名批量配置。',
+ 'requestParamsDescription' => '### Functions格式'."\n"
+ ."\n"
+ .'- [{“functionArgs”:[{“argName”:”domain_name”,”argValue”:”api.hellodtworld.com”}],”functionName”:”set_req_host_header”}]'."\n"
+ ."\n"
+ .'- 某些功能,如filetype_based_ttl_set,可以设置多条纪录,当需要更新其中某条纪录时,可通过该条纪录的configId来指定。[{“functionArgs”:[{“argName”:”file_type”,”argValue”:”jpg”},{“argName”:”ttl”,”argValue”:”18”},{“argName”:”weight”,”argValue”:”30”}],”functionName”:”filetype_based_ttl_set”,”configId”:5068995}]'."\n"
+ ."\n"
+ .'### 功能说明'."\n"
+ .'所有参数值均按照字符串类型处理。'."\n"
+ .'| 名称 | 参数 |'."\n"
+ .'| ---- | ---- |'."\n"
+ .'|referer_white_list_set:refer白名单|refer_domain_allow_list:白名单列表,多个逗号分隔;<br>allow_empty:是否允许空refer进入,取值范围:on/off|'."\n"
+ .'|referer_black_list_set:refer黑名单|refer_domain_deny_list:黑名单列表,多个逗号分隔;<br>allow_empty:是否允许空refer进入,取值范围:on/off|'."\n"
+ .'|filetype_based_ttl_set:文件过期时间设置|ttl:cache时间,单位:秒;<br>file_type:文件类型。支持多个,用(英文)逗号隔开,如:txt,jpg;<br>weight:权重。取值范围:1~199|'."\n"
+ .'|path_based_ttl_set:目录过期时间设置|ttl:cache时间,单位:秒;<br>path:目录,必须以”/”开头;<br>weight:权重。取值范围:1~99|'."\n"
+ .'|oss_auth:OSS鉴权Bucket|oss_bucket_id:用户bucket地址|'."\n"
+ .'|ip_black_list_set:IP黑名单|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
+ .'|ip_allow_list_set:IP白名单|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
+ .'|ip_white_list_set:IP免拦截|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
+ .'|error_page:错误页面重定向|error_code:错误码;<br>rewrite_page:重定向页面|'."\n"
+ .'|set_req_host_header:修改回源自定义头|domain_name:回源Host头内容|'."\n"
+ .'|set_hashkey_args:忽略URL参数|hashkey_args:保留参数的列表。多个用逗号(英文)分隔;<br>disable:disable等于on的时候表示忽略所有参数,off不忽略|'."\n"
+ .'|aliauth:阿里鉴权|auth_type:鉴权类型,取值范围:”no_auth”,”type_a”,”type_b”,”type_c”;<br>auth_key1:鉴权key1;<br>auth_key2:鉴权key2;<br>ali_auth_delta:自定义鉴权缓冲时间|'."\n"
+ .'|set_resp_header:设置响应头(浏览器端可见)| key:响应头,取值范围:Content-Type\\|Cache-Control\\|Content-Disposition\\|Content-Language\\|Expires\\|Access-Control-Allow-Origin\\|Access-Control-Allow-Methods\\|Access-Control-Allow-Headers\\|Access-Control-Max-Age\\|Access-Control-Expose-Headers;<br>value:响应头内容,删除填写null|'."\n"
+ .'|https_force:强制HTTPS跳转|enable:功能开关,取值范围:on/off|'."\n"
+ .'|http_force:强制HTTP跳转|enable:功能开关,取值范围:on/off|'."\n"
+ .'|https_option:HTTPS基础参数|http2:http2开关,取值范围:on/off|'."\n"
+ .'|l2_oss_key:L2 OSS回源私钥|private_oss_auth:是否开启私有OSS鉴权功能,取值范围:on/off|'."\n"
+ .'|forward_scheme:静态协议跟随回源|enable:开关,取值范围:on/off;<br>scheme_origin:回源站协议,支持http、https和follow|'."\n"
+ .'|green_manager 鉴黄功能|enable:是否开启鉴黄功能,取值范围:on/off|'."\n"
+ .'|tmd_signature:配置频次控制自定义规则|name:规则名称,域名内不可重复;<br>path:可重复,需校验URI路径合法性;<br>pathType:匹配规则。0:前缀匹配,1:完全匹配;<br>interval:监测时长,单位秒,参数限制必须>=10;<br>count:单IP访问次数;<br>action:阻断类型。0:封禁,1:人机识别;<br>ttl:阻断时长,单位:秒;<br>|'."\n"
+ .'|dynamic:全站加速相关配置|enable:开关(必填)。支持on/off;<br>static_route_type:静态加速文件后缀static_route_url:静态加速URI;<br>static_route_path:静态加速PATH;<br>dynamic_route_origin:回源路由scheme,支持http/https/follow;<br>|'."\n"
+ .'|set_req_header:自定义回源HTTP头|key:回源头;<br>value:回源头内容|'."\n"
+ .'|l2_oss_key:私有Bucket回源|private_oss_auth:私有Bucket回源开关,支持on/off|'."\n"
+ .'|range:range回源|enable:开关,支持on/off/force|'."\n"
+ .'|video_seek:视频拖拽播放|enable:开关,支持on/off|'."\n"
+ .'|ali_remove_args:忽略URL参数(删除)|ali_remove_args:(必填)删除指定的参数,多个参数之间用空格隔开,剩余参数将作为hashkey中URL的args部分;<br>keep_oss_args:支持on/off。on表示回源保留所有参数,off表示与缓存hashkey的参数一致|'."\n"
+ .'|https_tls_version:TLS协议版本|tls10:开启TLSv1.0。默认:on,支持on/off;<br>tls11:开启TLSv1.1。默认:on,支持on/off;<br>tls12:开启TLSv1.2。默认:on,支持on/off;<br>tls13:开启TLSv1.3。默认:off,支持on/off;<br>|'."\n"
+ .'|HSTS:HSTS|enabled:开关(必填)。默认:off,支持on/off;<br>https_hsts_max_age:(必填)过期时间,单位:s,建议填写5184000s(60天);<br>https_hsts_include_subdomains:HSTS头包含includeSubDomains参数,支持on/off。请谨慎开启,开启前,请确保该加速域名所有子域名都已开启HTTPS,否则会导致子域名自动跳转到HTTPS后无法访问|'."\n"
+ .'|filetype_force_ttl_code:文件状态码过期时间设置|file_type:(必填)文件类型。支持多个,用逗号(英文)隔开,如:txt,jpg;<br>code_string:(必填)状态码。例:302=0,301=0,4xx=2|'."\n"
+ .'|path_force_ttl_code:路径状态码过期时间设置|path:(必填)必须以/开头。举例:/image;<br>code_string:(必填)状态码。例:302=0,301=0,4xx=2|'."\n"
+ .'|gzip:页面Gzip优化|enable:功能开关(必填)。支持on/off|'."\n"
+ .'|tesla:页面优化加速|enable:功能开关(必填)。支持on/off|',
+ 'extraInfo' => '### 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'| ---- | ---- | ---- | ---- |'."\n"
+ .'| InvalidFunctions.Malformed | Specified Functions is malformed. | 400 | 指定的 Functions 不合法。 |'."\n"
+ .'| InvalidFunctionName.ValueNotSupported | FunctionName %s is not supported. | 400 | 不支持的FunctionName %s(%s为具体功能名)。 |'."\n"
+ .'| InvalidArgName.ValueNotSupported | ArgName %s is not supported. | 400 | 不支持的ArgName %s(%s为具体参数名)。 |'."\n"
+ .'| InvalidArgValue.Malformed | Specified ArgValue is malformed. | 400 | 指定的 ArgValue 不合法。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSetVsDomainConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchSetVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchStartDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '212048',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '32388487****92996-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '32388487****92996-cn-qingdao'],
+ 'Streams' => [
+ 'description' => '设备流列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '流的错误信息。(仅在出错时存在)', 'type' => 'string', 'example' => 'Stream not found'],
+ 'Name' => ['description' => '流名称。', 'type' => 'string', 'example' => '310101*****187542126'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '3238848****092997-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '重启云应用服务实例',
- ],
- 'RebootRenderingServer' => [
- 'summary' => '云应用服务实例主机重启',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Id\\": \\"32388487****92996-cn-qingdao\\",\\n \\"Streams\\": [\\n {\\n \\"Error\\": \\"Stream not found\\",\\n \\"Name\\": \\"310101*****187542126\\",\\n \\"Id\\": \\"3238848****092997-cn-qingdao\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量启动设备',
+ 'summary' => '批量启动设备拉流。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStartDevices'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStartDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchStartStreams' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceIds',
+ 'name' => 'Id',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '云应用服务实例ID列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用服务实例ID列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"render-6cdd65c6964c4ef2a635341f8c024191\\"]',
- ],
- 'required' => true,
- ],
+ 'schema' => ['description' => '流ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SuccessInstanceCount' => [
- 'description' => '成功的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SuccessInstances' => [
- 'description' => '云应用服务实例ID与关联结果描述信息',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
'type' => 'array',
'items' => [
- 'description' => '云应用服务实例ID与关联结果描述信息',
'type' => 'object',
'properties' => [
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-e6cf423c787e4e43b460a788da254fe3',
- ],
+ 'Error' => ['description' => '流的错误信息。'."\n"
+ .'>仅在流出错时存在。', 'type' => 'string', 'example' => 'stream not found'],
+ 'Name' => ['description' => '流名称。', 'type' => 'string', 'example' => '31000000*****0000002'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
],
+ 'description' => '',
],
],
- 'FailedInstanceCount' => [
- 'description' => '失败的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FailedInstances' => [
- 'description' => '云应用服务实例ID与关联失败信息',
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"stream not found\\",\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量启动流',
+ 'summary' => '批量启动流。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStartStreams'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStartStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BatchStopDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '32388487****92996'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '流重启触发时间。', 'type' => 'string', 'required' => false, 'example' => '2021-10-14T23:00:00Z'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-421cd2a1125947c19fcd5c7dd2c7d31e',
- ],
- 'ErrMessage' => [
- 'description' => '失败原因信息',
- 'type' => 'string',
- 'example' => 'Rejected due to timeout',
- ],
- 'ErrCode' => [
- 'description' => '失败错误码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300000',
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '32388487****92996'],
+ 'Streams' => [
+ 'description' => '设备流列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '流的错误信息。(仅在出错时存在)', 'type' => 'string', 'example' => 'Stream not found'],
+ 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '32388*****39092997'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323884****9092997'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-421cd2a1125947c19fcd5c7dd2c7d31e\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '重启云应用服务实例所属主机',
- ],
- 'ResetRenderingInstance' => [
- 'summary' => '重置一个云应用服务实例。'."\n"
- .'可通过查询接口DescribeRenderingInstance获取重置进度。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Id\\": \\"32388487****92996\\",\\n \\"Streams\\": [\\n {\\n \\"Error\\": \\"Stream not found\\",\\n \\"Name\\": \\"32388*****39092997\\",\\n \\"Id\\": \\"323884****9092997\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量停止设备',
+ 'summary' => '批量停止设备拉流。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStopDevices'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStopDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchStopStreams' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '234195',
- 'abilityTreeNodes' => [
- 'FEATUREvsUGIQL3',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'DataPackageId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '数据基线id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152',
- ],
+ 'schema' => ['description' => '流ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'ActionName',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Reset',
- 'default' => 'Reset',
- ],
+ 'schema' => ['description' => '停流触发时间,支持延迟停流。', 'type' => 'string', 'required' => false, 'example' => '2021-12-10T10:00:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '流的错误信息。'."\n"
+ .'> 仅在流出错时存在。', 'type' => 'string', 'example' => 'stream not found'],
+ 'Name' => ['description' => '流名称。', 'type' => 'string', 'example' => '3100000*****00000002'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '重置云应用服务实例',
- ],
- 'ModifyRenderingInstanceBandwidth' => [
- 'summary' => '更新一个云应用服务实例的限速带宽。'."\n"
- .'可以通过实例查询接口DescribeRenderingInstance,获取限速值与限速更新状态。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"stream not found\\",\\n \\"Name\\": \\"3100000*****00000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量停止流',
+ 'summary' => '批量停止流。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStopStreams'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStopStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchUnbindDirectories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '213857',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'MaxIngressBandwidth',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'MaxIngressBandwidth/MaxEgressBandwidth至少必选其一'."\n"
- .'● 入方向最大限流,单位Mb/s;'."\n"
- .'● 实例原始配置不限流;'."\n"
- .'● 无输入或输入0时,默认保留最后一次配置'."\n"
- .'● 输入小于0时,重置为不限流',
- 'description' => '入方向最大限流,单位Mb/s。MaxIngressBandwidth/MaxEgressBandwidth至少必选其一,'."\n"
- .'- 实例原始配置不限流;'."\n"
- .'- 无输入或输入0时,默认保留最后一次配置'."\n"
- .'- 输入小于0时,重置为不限流',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
- ],
- [
- 'name' => 'MaxEgressBandwidth',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'title' => 'MaxIngressBandwidth/MaxEgressBandwidth至少必选其一'."\n"
- .'● 出方向最大限流,单位Mb/s'."\n"
- .'● 实例原始配置不限流;'."\n"
- .'● 无输入或输入0时,默认保留最后一次配置'."\n"
- .'● 输入小于0时,重置为不限流',
- 'description' => '出方向最大限流,单位Mb/s。MaxIngressBandwidth/MaxEgressBandwidth至少必选其一,'."\n"
- .'- 实例原始配置不限流;'."\n"
- .'- 无输入或输入0时,默认保留最后一次配置'."\n"
- .'- 输入小于0时,重置为不限流',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '64DB7F34-11A8-45DC-A421-40ACF446282C'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '绑定的错误信息。'."\n"
+ .'> 仅在出错时存在。', 'type' => 'string', 'example' => 'An error occurred while processing your request.'],
+ 'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ 'DeviceId' => ['description' => '目录ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新云应用服务实例限速带宽',
- ],
- 'RenewRenderingInstance' => [
- 'summary' => '调用RenewRenderingInstance续费一个云应用服务实例',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"64DB7F34-11A8-45DC-A421-40ACF446282C\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"An error occurred while processing your request.\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '从目录内批量解绑多个设备',
+ 'summary' => '从目录内批量解绑多个设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindDirectories'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchUnbindParentPlatformDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'AutoRenew',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开启或关闭自动续费,取值:'."\n"
- .'* **true**:开启。'."\n"
- .'* **false**。关闭。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'Period',
+ 'name' => 'ParentPlatformId',
'in' => 'query',
- 'schema' => [
- 'description' => '包年包月的时长。 取值范围 1(默认) 2 3 4 5 6 7 8 9 12当选12的时候会被换算为一年,其余以月为周期单位',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- '8',
- '9',
- '12',
- ],
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '361*****212-cn-qingdao'],
],
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅在出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'ParentPlatformId' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '361*****212-cn-qingdao'],
+ 'DeviceId' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '云应用服务实例续费',
- ],
- 'ReleaseRenderingInstance' => [
- 'summary' => '调用ReleaseRenderingInstance释放一个云应用服务实例',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"ParentPlatformId\\": \\"361*****212-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量解除父平台设备绑定',
+ 'summary' => '从上级平台推送中批量解绑多个设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindParentPlatformDevices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchUnbindPurchasedDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '设备ID,多值用逗号分隔', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅当出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '云应用服务实例释放',
- ],
- 'CreateRenderingDataPackage' => [
- 'summary' => '创建云应用服务数据包',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量解绑已购买设备',
+ 'summary' => '从空间批量解绑多个已购设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindPurchasedDevices'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindPurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchUnbindTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREvsJ3UH6I',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID(注:只可针对crs.cp.*系列实例类型进行操作)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '模板ID,省略时解除实例上符合条件的所有绑定。', 'type' => 'string', 'required' => false, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'Description',
+ 'name' => 'TemplateType',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testdescription',
- 'maxLength' => 64,
- ],
+ 'schema' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)', 'type' => 'string', 'required' => false, 'example' => 'record'],
],
[
- 'name' => 'Category',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据类型。可选值:'."\n"
- .'- Package(默认值)。'."\n"
- .'- Baseline。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Package',
- 'enum' => [
- 'Package',
- 'Baseline',
- ],
- ],
+ 'schema' => ['description' => '实例ID,多值用逗号分隔。', 'type' => 'string', 'required' => true, 'example' => '323*****994-cn-qingdao'],
],
[
- 'name' => 'InstanceBillingCycle',
+ 'name' => 'InstanceType',
'in' => 'query',
- 'schema' => [
- 'description' => '计费类型,取值范围:'."\n"
- ."\n"
- .'- Hour:小时。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Hour',
- 'enum' => [
- 'Hour',
- 'Day',
- 'Month',
- ],
- ],
+ 'schema' => ['description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)', 'type' => 'string', 'required' => true, 'example' => 'group'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DataPackageId' => [
- 'description' => '云应用服务数据包ID',
- 'type' => 'string',
- 'example' => 'dp-9f8c57355d224ad7beaf95e145f22111'."\n"
- ."\n",
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Bindings' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅当操作出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao'],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DataPackageId\\": \\"dp-9f8c57355d224ad7beaf95e145f22111\\\\n\\\\n\\"\\n}","type":"json"}]',
- 'title' => '云应用服务数据包创建',
- ],
- 'ListRenderingDataPackages' => [
- 'summary' => '查询所有云应用数据包信息,支持分页查询。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Bindings\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '批量解除绑定模板到指定的实例',
+ 'summary' => '解除绑定模板到指定的多个实例,比如:解除绑定到空间和流的实例。',
+ 'description' => '> 模板ID和模板类型至少指定一个。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindTemplate'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BatchUnbindTemplates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '199255',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'Size',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据包大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => false, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'DataPackageId',
+ 'name' => 'TemplateType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据包id',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152',
- ],
+ 'schema' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)', 'type' => 'string', 'required' => false, 'example' => 'record'],
],
[
- 'name' => 'Status',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据包状态。取值:'."\n"
- .'- available(可绑定)'."\n"
- .'- packing(制作中)'."\n"
- .'- failed(失败)'."\n"
- .'- bonded(已绑定)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => '400941290881239938-cn-beijing'],
],
[
- 'name' => 'Category',
+ 'name' => 'InstanceType',
'in' => 'query',
+ 'schema' => ['description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)', 'type' => 'string', 'required' => true, 'example' => 'stream'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '类别,取值:'."\n"
- .'- Package 包'."\n"
- .'- Baseline 基线',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Baseline',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '90B377DF-C874-5BBD-B957-42C4C06AFECE'],
+ 'Results' => [
+ 'description' => '结果列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Error' => ['description' => '错误信息。'."\n"
+ .'> 仅当操作出错时存在。', 'type' => 'string', 'example' => 'some error'],
+ 'TemplateType' => ['description' => '模板类型。', 'type' => 'string', 'example' => 'snapshot'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao'],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"90B377DF-C874-5BBD-B957-42C4C06AFECE\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"TemplateType\\": \\"snapshot\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量解除绑定模板',
+ 'summary' => '批量解除绑定模板。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindTemplates'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '查询列表的页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'BindDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-30T16:00:00Z',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-24T03:30:46Z',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DataPackages' => [
- 'description' => '云应用服务数据包列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '数据包状态。取值:'."\n"
- .'available(可绑定)'."\n"
- .'packing(制作中)'."\n"
- .'failed(失败)'."\n"
- .'bonded(已绑定)',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Description' => [
- 'description' => '备注信息',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Category' => [
- 'description' => '类别,取值:'."\n"
- .'- Package 包'."\n"
- .'- Baseline 基线',
- 'type' => 'string',
- 'example' => 'Package',
- ],
- 'Size' => [
- 'description' => '数据包大小',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-342012a227dc4ddf91f024639e43051a',
- ],
- 'CreationTime' => [
- 'title' => '云渲染实例创建时间',
- 'description' => '云渲染实例创建时间',
- 'type' => 'string',
- 'example' => '2024-10-15T10:23:06+08:00',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-12-06T02:03:59Z',
- ],
- 'DataPackageId' => [
- 'title' => '云渲染实例ID',
- 'description' => '数据包id',
- 'type' => 'string',
- 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'."\n",
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '云渲染实例总数',
- 'description' => '云渲染实例总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3CB843A9-DD34-4881-B8D6-B0D539D111E4'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DataPackages\\": [\\n {\\n \\"Status\\": \\"available\\",\\n \\"Description\\": \\"test\\",\\n \\"Category\\": \\"Package\\",\\n \\"Size\\": 10,\\n \\"RenderingInstanceId\\": \\"render-342012a227dc4ddf91f024639e43051a\\",\\n \\"CreationTime\\": \\"2024-10-15T10:23:06+08:00\\",\\n \\"UpdateTime\\": \\"2024-12-06T02:03:59Z\\",\\n \\"DataPackageId\\": \\"dp-449ea3d16c0841b8bf33ec5bbc86a152\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
- 'title' => '查询数据包列表',
- ],
- 'RecoverRenderingDataPackage' => [
- 'summary' => '恢复数据到云渲染实例',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3CB843A9-DD34-4881-B8D6-B0D539D111E4\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '绑定设备到目录',
+ 'summary' => '绑定设备至目录。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindDirectory'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BindParentPlatformDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212048',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'ParentPlatformId',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '361*****212-cn-qingdao'],
],
[
- 'name' => 'DataPackageId',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务数据包ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'."\n",
- ],
- ],
- [
- 'name' => 'LoadMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据加载模式,取值:System/Process,默认为System。System表示系统级,稳定性高,耗时相对久,Process表示进程级,加载时效性高,稳定性相对差。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Process',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'errorCodes' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '恢复数据到云应用服务',
- ],
- 'ReleaseRenderingDataPackage' => [
- 'summary' => '释放云应用服务数据包',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '绑定父平台设备',
+ 'summary' => '绑定设备到上级平台推送。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindParentPlatformDevice'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindParentPlatformDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BindPurchasedDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREvsJ3UH6I',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'DataPackageId',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务数据包ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dp-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '空间所属区域。', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao'],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => true, 'example' => '3484*****8732174-cn-qingdao'],
+ ],
+ [
+ 'name' => 'DeviceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3939*****6580539-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '5BEF36E7-3838-5B92-BA32-87DBF1425ABC',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BEF36E7-3838-5B92-BA32-87DBF1425ABC\\"\\n}","type":"json"}]',
- 'title' => '云应用服务数据包释放',
- ],
- 'UploadPublicKey' => [
- 'summary' => '上传一个新的公钥信息。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<BindPurchasedDeviceResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</BindPurchasedDeviceResponse>","errorExample":""}]',
+ 'title' => '绑定已购买设备',
+ 'summary' => '绑定已购买设备至空间。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindPurchasedDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindPurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'BindTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '207881',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'KeyName',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥名称,不可重复。'."\n"
- .'取值规范:'."\n"
- .'1. 长度8-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首字符必须为字母或数字'."\n"
- .'4. 前缀不能为"group-"',
- 'description' => '公钥名称,不可重复。'."\n"
- .'取值规范:'."\n"
- .'1. 长度8-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首字符必须为字母或数字'."\n"
- .'4. 前缀不能为"group-"',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mykey-v1.0',
- 'maxLength' => 255,
- 'minLength' => 8,
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'KeyGroup',
+ 'name' => 'TemplateType',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥分组,用于公钥管理。'."\n"
- .'不同分组的公钥可以单独下发到具体设备。'."\n"
- .'取值规范:'."\n"
- .'1. 长度0-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首字符必须为字母或数字',
- 'description' => '公钥分组,用于公钥管理。'."\n"
- .'取值规范:'."\n"
- .'1. 长度0-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首字符必须为字母或数字',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'g-test',
- ],
+ 'schema' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)', 'type' => 'string', 'required' => false, 'example' => 'record'],
],
[
- 'name' => 'Content',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => '经过编码的公钥内容,默认编码格式Base64。',
- 'description' => '经过编码的公钥内容,默认编码格式Base64。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'verify_dffeb6610035dcb77b413a59c3*****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => '323*****994-cn-qingdao'],
],
[
- 'name' => 'Description',
+ 'name' => 'InstanceType',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥描述信息',
- 'description' => '公钥描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试使用',
- 'maxLength' => 255,
- ],
+ 'schema' => ['description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)', 'type' => 'string', 'required' => true, 'example' => 'group'],
],
[
- 'name' => 'KeyType',
+ 'name' => 'ApplyAll',
'in' => 'query',
- 'schema' => [
- 'description' => '公钥的类型。可取值:'."\n"
- ."\n"
- .'- **adb**:ADB Key'."\n"
- .'- **ssh**:SSH Key',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ssh',
- 'default' => 'adb',
- 'enum' => [
- 'adb',
- 'ssh',
- ],
- ],
+ 'schema' => ['description' => '是否强制应用到范围内的所有流,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Replace',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制替换已有绑定,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao'],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '上传公钥',
- ],
- 'ListPublicKeys' => [
- 'summary' => '查询满足条件的公钥信息列表,支持分页查询。',
- 'methods' => [
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '绑定模板到指定实例',
+ 'summary' => '绑定模板到指定的实例,比如:绑定到空间和流的实例。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CancelComfyTask' => [
+ 'summary' => '取消Comfy任务',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '207885',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'KeyName',
+ 'name' => 'TaskId',
'in' => 'query',
+ 'schema' => ['title' => '上传文件的文件名。文件名格式可以上传单文件名(例如:1.jpg)或路径格式(例如:dircectory1/1.jpg)当上传为路径格式时,会同时按照该路径进行保存。当fileName以/结尾,表示本次是一个创建目录的动作。创建目录时FileContent字段无效', 'description' => 'Comfy任务ID', 'type' => 'string', 'required' => true, 'example' => '6c8234f4-d1e1-4cea-b08b-7926fbdea144'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '公钥名称',
- 'description' => '公钥名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mykey',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息。', 'type' => 'string', 'example' => 'success'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '取消Comfy任务',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'ContinuousAdjust' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'KeyGroup',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥分组,用于公钥管理。',
- 'description' => '公钥分组名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'g-test',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Iris',
'in' => 'query',
- 'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '光圈速度参数,正值表示光圈变大。 '."\n"
+ .'取值:-1.0~1.0', 'type' => 'string', 'required' => false, 'example' => '0.5'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Focus',
'in' => 'query',
+ 'schema' => ['description' => '变焦速度参数,正值表示焦距变远。 '."\n"
+ .'取值:-1.0~1.0', 'type' => 'string', 'required' => false, 'example' => '0.5'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,取值1~100。'."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '持续调节镜头',
+ 'summary' => '持续调节镜头,如光圈、变焦等。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinuousAdjust'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'KeyType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '公钥的类型。可取值:'."\n"
- ."\n"
- .'- **adb**:ADB Key'."\n"
- .'- **ssh**:SSH Key',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ssh',
- 'enum' => [
- 'ssh',
- 'adb',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ContinuousAdjust',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
+ ],
+ ],
+ 'ContinuousMove' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'StartTime',
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-21T16:00:00Z',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Pan',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-22T02:23:00Z',
- ],
+ 'schema' => ['description' => '水平转动速度参数,正值表示向左水平转动。 '."\n"
+ .'取值:-1.0~1.0', 'type' => 'string', 'required' => false, 'example' => '0.5'],
+ ],
+ [
+ 'name' => 'Tilt',
+ 'in' => 'query',
+ 'schema' => ['description' => '垂直转动速度参数,正值表示向上水平转动。 '."\n"
+ .'取值:-1.0~1.0', 'type' => 'string', 'required' => false, 'example' => '0.5'],
+ ],
+ [
+ 'name' => 'Zoom',
+ 'in' => 'query',
+ 'schema' => ['description' => '缩放速度参数,正值表示放大。 '."\n"
+ .'取值:-1.0~1.0', 'type' => 'string', 'required' => false, 'example' => '0.5'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'PublicKeys' => [
- 'title' => '公钥信息列表',
- 'description' => '用户公钥信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '公钥信息',
- 'type' => 'object',
- 'properties' => [
- 'KeyName' => [
- 'title' => '公钥名称',
- 'description' => '公钥名称',
- 'type' => 'string',
- 'example' => 'mykey',
- ],
- 'Description' => [
- 'title' => '公钥描述信息',
- 'description' => '公钥描述信息',
- 'type' => 'string',
- 'example' => '测试使用',
- ],
- 'KeyType' => [
- 'description' => '公钥的类型。可取值:'."\n"
- ."\n"
- .'- **adb**:ADB Key'."\n"
- .'- **ssh**:SSH Key',
- 'type' => 'string',
- 'example' => 'ssh',
- ],
- 'KeyGroup' => [
- 'title' => '公钥分组',
- 'description' => '公钥分组',
- 'type' => 'string',
- 'example' => 'mygroup',
- ],
- 'Content' => [
- 'title' => '经过编码的公钥内容,默认编码格式:Base64',
- 'description' => '经过编码的公钥内容,默认编码格式:Base64',
- 'type' => 'string',
- 'example' => 'verify_30d89ccb0905c8c7882c1d14a991954b',
- ],
- 'UploadTime' => [
- 'title' => '公钥上传时间',
- 'description' => '公钥上传时间',
- 'type' => 'string',
- 'example' => '2024-06-11T14:26:48+08:00',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '记录总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码',
- 'description' => '查询列表的页码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PublicKeys\\": [\\n {\\n \\"KeyName\\": \\"mykey\\",\\n \\"Description\\": \\"测试使用\\",\\n \\"KeyType\\": \\"ssh\\",\\n \\"KeyGroup\\": \\"mygroup\\",\\n \\"Content\\": \\"verify_30d89ccb0905c8c7882c1d14a991954b\\",\\n \\"UploadTime\\": \\"2024-06-11T14:26:48+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
- 'title' => '查询公钥信息列表',
- ],
- 'ManageLogin' => [
- 'summary' => '安全登录管理。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '持续转动镜头',
+ 'summary' => '持续转动镜头,如水平、垂直、缩放等。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinuousMove'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ContinuousMove',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateComfyTask' => [
+ 'summary' => '启动Comfy任务',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '207906',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'WorkflowId',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['title' => '要启动的Comfy工作流ID', 'description' => '要启动的Comfy工作流ID', 'type' => 'string', 'required' => true, 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
],
[
- 'name' => 'KeyName',
+ 'name' => 'UserParameters',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥名称,与 KeyGroup 至少存在一个,二者都存在时,KeyName 优先级更高且必须属于KeyGroup。',
- 'description' => '公钥名称,与KeyGroup至少存在一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mykey',
- ],
+ 'schema' => ['title' => '用户相关参数', 'description' => '用户需要替换的工作流的参数', 'type' => 'string', 'required' => true, 'example' => '{"2":{"text":"masterpiece, best quality, beautiful cat, sunny day"},"3":{"text":"low quality, worst quality, blurry, watermark, text, signature"}}'],
],
[
- 'name' => 'KeyGroup',
+ 'name' => 'HiveId',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥分组,如果 KeyName 不存在,则下发 KeyGroup 内所有的公钥。',
- 'description' => '公钥分组,如果KeyName不存在,则下发KeyGroup内所有的公钥',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mygroup',
- ],
- ],
- [
- 'name' => 'ActionName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '管理动作,取值:'."\n"
- .'open - 打开登陆,默认值'."\n"
- .'close - 关闭登陆',
- 'description' => '管理动作名,取值:'."\n"
- .'1. open - 生效公钥,默认值'."\n"
- .'2. close - 失效公钥',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'open',
- 'default' => 'open',
- 'enum' => [
- 'open',
- 'close',
- ],
- ],
+ 'schema' => ['title' => '资源池标识', 'description' => '资源池标识', 'type' => 'string', 'required' => true, 'example' => 'hive-26cd567b35c04a0a90f017388207b232'],
],
],
'responses' => [
@@ -3308,81 +2618,47 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'LoginInfo' => [
- 'title' => '连接信息',
- 'description' => '连接信息',
- 'type' => 'object',
- 'properties' => [
- 'LoginHostname' => [
- 'title' => 'ssh 连接的host',
- 'description' => 'ssh 连接的host',
- 'type' => 'string',
- 'example' => '12.10.4.10',
- ],
- 'LoginPort' => [
- 'title' => 'ssh 连接端口',
- 'description' => 'ssh 连接端口',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10004',
- ],
- 'AdbLoginPort' => [
- 'description' => 'adb 连接端口',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10005',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '调用失败时,返回的错误码。更多信息,请参见错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'TaskId' => ['description' => '任务ID。异步文档格式转换任务的TaskId可以通过智能媒体管理控制台对应项目的任务查询页签获取。', 'type' => 'string', 'example' => '6c8234f4-d1e1-4cea-b08b-7926fbdea144'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '启动Comfy任务',
+ 'description' => '> 需要预先在绑定的截图模板中启用按需截图功能。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LoginInfo\\": {\\n \\"LoginHostname\\": \\"12.10.4.10\\",\\n \\"LoginPort\\": 10004,\\n \\"AdbLoginPort\\": 10005\\n }\\n}","type":"json"}]',
- 'title' => '云应用服务实例安全登录管理',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"TaskId\\": \\"6c8234f4-d1e1-4cea-b08b-7926fbdea144\\"\\n}","type":"json"}]',
],
- 'DeletePublicKey' => [
- 'summary' => '删除一个指定公钥。该公钥关联的所有云应用服务实例将自动失效登录授权。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateComfyUserDataDir' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
- 'abilityTreeCode' => '207905',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'KeyName',
+ 'name' => 'Path',
'in' => 'query',
- 'schema' => [
- 'title' => '公钥名称',
- 'description' => '公钥名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'appKey',
- ],
+ 'schema' => ['title' => '创建目录的路径,单层格式为 /dir1/ ,多层目录格式为 /dir1/dir2/', 'description' => '创建目录的路径,单层格式为 /dir1/ ,多层目录格式为 /dir1/dir2/', 'type' => 'string', 'required' => false, 'example' => '/userdir1'],
],
],
'responses' => [
@@ -3392,216 +2668,64 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '状态码。返回0代表成功。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息。Status=Failed时,包含失败原因', 'type' => 'string', 'example' => 'conn failed!'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建用户数据目录',
+ 'summary' => '创建一个用户数据的目录',
+ 'description' => '> 模板ID和模板类型至少指定一个。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除公钥',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"conn failed!\\"\\n}","type":"json"}]',
],
- 'UploadCloudApp' => [
- 'summary' => '上传/上架一个云应用包。'."\n"
- .'属于异步接口,可通过ListCloudApps接口查询上传进度。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateComfyWorkflow' => [
+ 'summary' => '上传Comfy工作流',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '207909',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'AppName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '是 应用名。安卓应用需使用其包名,如com.aaa.bbb。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度4-50'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'description' => '应用名。安卓应用建议使用其包名,如com.aaa.bbb。'."\n"
- ."\n"
- .'取值规范:'."\n"
- .'1. 长度4-50'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'com.aaa.bbb',
- 'maxLength' => 50,
- 'minLength' => 4,
- ],
- ],
- [
- 'name' => 'AppVersion',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '是 应用版本。安卓应用需使用其VersionName,如1.1.1。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度1-50'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'description' => '应用版本。安卓应用建议使用其VersionName,如1.1.1。'."\n"
- .'取值规范:'."\n"
- .'1. 长度1-50'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1.1.1',
- 'maxLength' => 50,
- 'minLength' => 1,
- ],
+ 'schema' => ['title' => '工作流名称', 'description' => '工作流名称', 'type' => 'string', 'required' => true, 'example' => '图生视频的工作流示例'],
],
[
- 'name' => 'DownloadUrl',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '应用包下载地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://xxx.xxx.xxx.apk',
- ],
+ 'schema' => ['title' => '工作流描述', 'description' => '工作流描述', 'type' => 'string', 'required' => false, 'example' => '这是一个图生视频的工作流'],
],
[
- 'name' => 'Md5',
+ 'name' => 'Workflow',
'in' => 'query',
'schema' => [
- 'description' => '应用包md5,用于检查应用包完整性',
+ 'title' => '工作流JSON',
+ 'description' => '工作流JSON',
'type' => 'string',
'required' => true,
- 'example' => '0CFBB7BD10CDD7279642ADAB8FEF3DEE',
- ],
- ],
- [
- 'name' => 'PkgFormat',
- 'in' => 'query',
- 'schema' => [
- 'title' => '安装包格式,默认是下载文件地址后缀。取值范围:'."\n"
- .'1. apk'."\n"
- .'2. tar.gz'."\n"
- .'3. tar'."\n"
- .'4. zip'."\n"
- .'5. rar',
- 'description' => '安装包格式,默认是下载文件地址后缀。取值范围:'."\n"
- .'1. apk'."\n"
- .'2. tar.gz'."\n"
- .'3. tar'."\n"
- .'4. zip'."\n"
- .'5. rar',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'apk',
- 'enum' => [
- 'apk',
- 'tar.gz',
- 'tar',
- 'zip',
- 'rar',
- ],
- ],
- ],
- [
- 'name' => 'PkgType',
- 'in' => 'query',
- 'schema' => [
- 'title' => '安装包类型,取值范围:'."\n"
- .'1. android'."\n"
- .'2. win'."\n"
- .'3. android_appmarket'."\n"
- .'无输入时,默认将根据PkgFormat(或根据DownloadUrl文件后缀自动解析出PkgFormat)自动映射安装包类型,PkgFormat与安装包类型默认映射关系,'."\n"
- .'1. android:apk,apk格式默认映射为android'."\n"
- .'2. win:tar.gz, tar, zip, rar'."\n"
- .'3.android_appmarket: apk',
- 'description' => '安装包类型。'."\n"
- ."\n"
- .'## 取值范围:'."\n"
- ."\n"
- .'1. android'."\n"
- .'2. win'."\n"
- .'3. android_appmarket:对应安卓应用市场场景,该场景下有apk真实PackageName限制'."\n"
- .'a. 不同AppName 的PackageName,不能重复'."\n"
- .'b. 同一AppName 不同AppVersion 可以关联 不同的PackageName'."\n"
- ."\n"
- .'## 默认值说明:'."\n"
- .'无输入时,默认将根据PkgFormat(或根据DownloadUrl文件后缀自动解析出PkgFormat)自动映射安装包类型,PkgFormat与安装包类型默认映射关系,'."\n"
- .'1. android:apk(apk格式,默认映射为android)'."\n"
- .'2. win:tar.gz, tar, zip, rar'."\n"
- .'3. android_appmarket:apk',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'android',
- 'enum' => [
- 'android',
- 'win',
- 'android_appmarket',
- ],
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'title' => '应用描述信息',
- 'description' => '应用描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试应用包',
- 'maxLength' => 255,
- ],
- ],
- [
- 'name' => 'PkgLabels',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '云应用标签,可多选,取值范围:'."\n"
- .'1. hot'."\n"
- .'2. game'."\n"
- .'3. app',
- 'description' => '云应用标签,可多选,取值范围:'."\n"
- .'1. hot'."\n"
- .'2. game'."\n"
- .'3. app',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用标签',
- 'description' => '云应用标签',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app',
- 'enum' => [
- 'app',
- 'game',
- 'hot',
- ],
- ],
- 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => '{}',
],
],
],
@@ -3612,795 +2736,485 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'AppId' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '内部错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'Message' => ['description' => '描述信息。Status=Failed时,包含失败原因', 'type' => 'string', 'example' => 'conn failed!'],
+ 'WorkflowId' => ['title' => '工作流ID', 'description' => '工作流ID', 'type' => 'string', 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5c'],
+ 'Status' => ['title' => '工作流状态', 'description' => '工作流状态', 'type' => 'string', 'example' => 'on'],
+ 'MissingNodes' => [
+ 'title' => '缺失节点列表',
+ 'description' => '缺失节点列表',
+ 'type' => 'array',
+ 'items' => ['title' => '节点名', 'description' => '节点名', 'type' => 'string', 'example' => '{}'],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '上传工作流',
+ 'description' => '> 需要预先在绑定的截图模板中启用按需截图功能。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\"\\n}","type":"json"}]',
- 'title' => '上传应用',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"conn failed!\\",\\n \\"WorkflowId\\": \\"wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5c\\",\\n \\"Status\\": \\"on\\",\\n \\"MissingNodes\\": [\\n \\"{}\\"\\n ]\\n}","type":"json"}]',
],
- 'ListCloudApps' => [
- 'summary' => '查询云应用列表,支持分页查询。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '207913',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'AppId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '设备名称。', 'type' => 'string', 'required' => false, 'example' => 'xxx路口摄像头'],
],
[
- 'name' => 'AppName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'title' => '应用名',
- 'description' => '应用名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aaa.bbb',
- ],
+ 'schema' => ['description' => '设备描述。', 'type' => 'string', 'required' => false, 'example' => 'xxx路口摄像头'],
],
[
- 'name' => 'AppVersion',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'title' => '应用版本',
- 'description' => '应用版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.0',
- ],
+ 'schema' => ['description' => '设备所属空间ID。', 'type' => 'string', 'required' => true, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'PkgType',
+ 'name' => 'ParentId',
'in' => 'query',
- 'schema' => [
- 'title' => '安装包类型,取值范围:'."\n"
- .'1. android'."\n"
- .'2. win'."\n"
- .'3. android_appmarket'."\n",
- 'description' => '安装包类型,取值范围:'."\n"
- .'1. android'."\n"
- .'2. win'."\n"
- .'3. android_appmarket',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'android',
- 'enum' => [
- 'android',
- 'win',
- 'android_appmarket',
- ],
- ],
+ 'schema' => ['description' => '上级设备ID,比如:摄像头所属的平台ID。', 'type' => 'string', 'required' => false, 'example' => '399*****774-cn-qingdao'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '设备所属目录ID。', 'type' => 'string', 'required' => false, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '设备类型。取值范围:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'required' => true, 'example' => 'ipc'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'AutoStart',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-29T16:00:00Z',
- ],
+ 'schema' => ['description' => '是否自动启动流,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-30T02:23:00Z',
- ],
+ 'schema' => ['description' => '设备国标ID。'."\n"
+ .'> 仅适用于国标协议。', 'type' => 'string', 'required' => false, 'example' => '31000000****00000002'],
],
[
- 'name' => 'LatestVersionOnly',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'title' => '是否仅输出应用最新提交的版本,默认false',
- 'description' => '是否仅输出应用最新提交的版本,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '设备IP。', 'type' => 'string', 'required' => false, 'example' => '10.10.10.10'],
],
[
- 'name' => 'PkgLabel',
+ 'name' => 'Port',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用标签,'."\n"
- .'1. 取值范围:'."\n"
- .' a. hot'."\n"
- .' b. game'."\n"
- .' c. app'."\n"
- .'2. 特殊情况:'."\n"
- .' a. 查询无标签的应用列表:输入"NULL"',
- 'description' => '云应用标签,'."\n"
- .'1. 取值范围:'."\n"
- .' a. hot'."\n"
- .' b. game'."\n"
- .' c. app'."\n"
- .'2. 特殊情况:'."\n"
- .' a. 查询无标签的应用列表:输入"NULL"',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app',
- ],
+ 'schema' => ['description' => '设备端口。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8080'],
],
[
- 'name' => 'Status',
+ 'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'title' => '应用上传状态,取值范围:'."\n"
- .'1. Success:终态,成功'."\n"
- .'2. Failed:终态,失败'."\n"
- .'3. Created'."\n"
- .'4. Doing',
- 'description' => '应用上传状态,取值范围:'."\n"
- .'1. Success:终态,成功'."\n"
- .'2. Failed:终态,失败'."\n"
- .'3. Created'."\n"
- .'4. Doing',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Success',
- ],
+ 'schema' => ['description' => '设备上的流URL。', 'type' => 'string', 'required' => false, 'example' => 'rtmp://xxx/xxx'],
+ ],
+ [
+ 'name' => 'Username',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备用户名。', 'type' => 'string', 'required' => false, 'example' => 'admin'],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备密码。', 'type' => 'string', 'required' => false, 'example' => 'admin'],
+ ],
+ [
+ 'name' => 'Vendor',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备厂商。', 'type' => 'string', 'required' => false, 'example' => '公司A'],
+ ],
+ [
+ 'name' => 'Dsn',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备序列号。', 'type' => 'string', 'required' => false, 'example' => '7D0*****4C0'],
+ ],
+ [
+ 'name' => 'Longitude',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备经度。', 'type' => 'string', 'required' => false, 'example' => '45.00'],
+ ],
+ [
+ 'name' => 'Latitude',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备维度。', 'type' => 'string', 'required' => false, 'example' => '119.20'],
+ ],
+ [
+ 'name' => 'AutoPos',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否启用设备位置订阅,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'PosInterval',
+ 'in' => 'query',
+ 'schema' => ['description' => '位置订阅周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300'],
+ ],
+ [
+ 'name' => 'AlarmMethod',
+ 'in' => 'query',
+ 'schema' => ['description' => '订阅的国标报警方式。取值范围:'."\n"
+ .'- 0(全部)'."\n"
+ .'- 5(视频报警)'."\n"
+ .'- 7(其他报警)'."\n"
+ ."\n"
+ .'> - 空值表示不订阅。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '0'],
+ ],
+ [
+ 'name' => 'Params',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备其他参数,格式为JSON序列化的字符串。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'CloudApps' => [
- 'title' => '云应用信息列表',
- 'description' => '云应用信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用信息',
- 'type' => 'object',
- 'properties' => [
- 'AppVersion' => [
- 'title' => '应用版本',
- 'description' => '应用版本',
- 'type' => 'string',
- 'example' => '1.5.0',
- ],
- 'Status' => [
- 'title' => '应用上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态'."\n"
- .'5. Deleting'."\n"
- .'6. DeleteFailed:终态',
- 'description' => '应用上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Description' => [
- 'title' => '应用描述信息',
- 'description' => '应用描述信息',
- 'type' => 'string',
- 'example' => 'demo',
- ],
- 'AppId' => [
- 'title' => '应用ID',
- 'description' => '应用ID',
- 'type' => 'string',
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
- 'PkgFormat' => [
- 'title' => '安装包格式',
- 'description' => '安装包格式',
- 'type' => 'string',
- 'example' => 'apk',
- ],
- 'StatusDescription' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => 'upload success',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-05-28T14:48:34+08:00',
- ],
- 'UploadTime' => [
- 'title' => '应用上传时间',
- 'description' => '应用上传时间',
- 'type' => 'string',
- 'example' => '2024-05-28T14:28:14+08:00',
- ],
- 'PkgType' => [
- 'title' => '安装包类型,android/win',
- 'description' => '安装包类型,android/win',
- 'type' => 'string',
- 'example' => 'android',
- ],
- 'AppName' => [
- 'title' => '应用名',
- 'description' => '应用名',
- 'type' => 'string',
- 'example' => 'com.aaa.bbb',
- ],
- 'StablePatchId' => [
- 'title' => '稳定版Patch包ID',
- 'description' => '稳定版Patch包ID',
- 'type' => 'string',
- 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '匹配的云应用信息总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码。',
- 'description' => '查询列表的页码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数。',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"CloudApps\\": [\\n {\\n \\"AppVersion\\": \\"1.5.0\\",\\n \\"Status\\": \\"Success\\",\\n \\"Description\\": \\"demo\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"PkgFormat\\": \\"apk\\",\\n \\"StatusDescription\\": \\"upload success\\",\\n \\"UpdateTime\\": \\"2024-05-28T14:48:34+08:00\\",\\n \\"UploadTime\\": \\"2024-05-28T14:28:14+08:00\\",\\n \\"PkgType\\": \\"android\\",\\n \\"AppName\\": \\"com.aaa.bbb\\",\\n \\"StablePatchId\\": \\"patch-7bdf679812484df08a956b73e0b3bdf6\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
- 'title' => '查询应用列表',
- ],
- 'UpdateCloudAppInfo' => [
- 'summary' => '更新一个云应用的信息,如更新描述信息、更新应用标签、上传Patch等。'."\n"
- .'支持上传补丁包/热更包、支持安卓云应用市场制作热更包,一个云应用最多可上传20个补丁包、一个云应用同时只允许一个Patch是上传中状态。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '添加设备',
+ 'summary' => '添加新的设备。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateDeviceAlarm' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '207912',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'AppId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'Description',
+ 'name' => 'ChannelId',
'in' => 'query',
- 'schema' => [
- 'title' => '应用描述信息',
- 'description' => '应用描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '用于测试使用',
- 'maxLength' => 255,
- ],
+ 'schema' => ['description' => '通道ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12'],
],
[
- 'name' => 'StablePatchId',
+ 'name' => 'ObjectType',
'in' => 'query',
- 'schema' => [
- 'title' => '稳定版PatchId。客户业务使用中(如会话启动)未指定PatchId情况,默认使用的PatchId。仅win场景支持。'."\n"
- .'特殊取值说明:'."\n"
- .'1. 输入值origin:表示取消patch版本,默认使用初始版本',
- 'description' => '稳定版PatchId。客户业务使用中(如会话启动)未指定PatchId情况,默认使用的PatchId。PkgType=android时不支持。'."\n"
- .'特殊取值说明:'."\n"
- .'1. 输入值origin:表示取消patch版本,默认使用初始版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
+ 'schema' => ['description' => '媒体对象类型。取值:'."\n"
+ .'- 0(无)'."\n"
+ .'- 1(JPEG图片)'."\n"
+ .'- 2(视频)'."\n"
+ .'- 3(GIF图片)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
- 'name' => 'Patch',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'Alarm',
+ 'in' => 'query',
+ 'schema' => ['description' => '告警类型。取值:'."\n"
+ ."\n"
+ .'- 0(其他)'."\n"
+ .'- 1(运动检测告警)'."\n"
+ .'- 2(智能告警)'."\n"
+ .'- 3(开关量告警)'."\n"
+ .'- 4(视频丢失告警)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'SubAlarm',
+ 'in' => 'query',
+ 'schema' => ['description' => '告警子类型。', 'type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '起始时间点。(单位:毫秒)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1632121707000'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间点。(单位:毫秒)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1632314789000'],
+ ],
+ [
+ 'name' => 'Expire',
+ 'in' => 'query',
+ 'schema' => ['description' => '媒体上传URL的过期时间。(单位:秒,默认60秒)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '待上传的Patch包信息,仅win场景支持',
- 'description' => '待上传的Patch包信息。'."\n"
- .'1. PkgType=android时不支持;'."\n"
- .'2. 同AppId同时只允许一个Patch上传中(即同AppId同时只允许一个Patch非终态)',
'type' => 'object',
'properties' => [
- 'PatchName' => [
- 'title' => 'Patch包名称或描述,AppId下唯一标记之一。仅win场景支持。'."\n"
- .'默认取值规范:'."\n"
- .'1. 不能等于origin、all'."\n"
- .'2. 长度1-50'."\n"
- .'3. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'4. 首、尾字符必须为字母或数字',
- 'description' => 'Patch包名称或描述,AppId下唯一标记之一。'."\n"
- .'默认取值规范:'."\n"
- .'1. 不能等于origin、all'."\n"
- .'2. 长度1-50'."\n"
- .'3. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'4. 首、尾字符必须为字母或数字',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'p1',
- 'maxLength' => 50,
- 'minLength' => 1,
- ],
- 'DownloadURL' => [
- 'title' => 'Patch包下载地址。'."\n"
- .'默认patch包格式与原始云应用包格式一致。RenderingInstanceId/DownloadURL 必选其一,'."\n"
- .'DownloadURL优先级高。',
- 'description' => 'Patch包下载地址。'."\n"
- .'RenderingInstanceId/DownloadURL 必选其一,'."\n"
- .'DownloadURL优先级高。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://test_host/app/test-tar-pkg.tar',
- ],
- 'Md5' => [
- 'title' => 'patch包md5,用于检查完整性。仅DownloadURL非空时有效,DownloadURL非空时必选。',
- 'description' => 'patch包md5,用于检查完整性。仅DownloadURL非空时有效,DownloadURL非空时必选。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '346f6404395adfg5bae1e45g4e943bf7',
- ],
- 'PkgFormat' => [
- 'title' => '安装包格式,默认是下载文件地址后缀。仅DownloadURL非空时有效,取值范围:'."\n"
- .'1. tar.gz'."\n"
- .'2. tar'."\n"
- .'3. zip'."\n"
- .'4. rar',
- 'description' => '安装包格式,默认是下载文件地址后缀。仅DownloadURL非空时有效,取值范围:'."\n"
- .'1. tar.gz'."\n"
- .'2. tar'."\n"
- .'3. zip'."\n"
- .'4. rar',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tar',
- 'enum' => [
- 'tar',
- 'tar.gz',
- 'zip',
- 'rar',
- ],
- ],
- 'RenderingInstanceId' => [
- 'title' => '制作patch包依赖的实例ID。仅安卓应用市场(PkgType=andrpid_appmarket)场景有效。RenderingInstanceId/DownloadURL 必选其一,'."\n"
- .'DownloadURL优先级高。',
- 'description' => '制作patch包依赖的实例ID。仅安卓应用市场(PkgType=andrpid_appmarket)场景有效。RenderingInstanceId/DownloadURL 必选其一,'."\n"
- .'DownloadURL优先级高。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-d7ec79fe47ce47aca2d8d7500d25a28a',
- ],
- 'AsStablePatch' => [
- 'title' => '上传成功后是否自动配置为稳定版Patch,默认false。',
- 'description' => '上传成功后是否自动配置为稳定版Patch,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'Url' => ['description' => '媒体上传的URL,可使用PUT上传。', 'type' => 'string', 'example' => 'rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e'],
+ 'AlarmId' => ['description' => '告警ID。', 'type' => 'string', 'example' => '0hyNgTdgv2D000195842'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '76E11E6A-4441-51C9-AF60-D354362257A7'],
+ 'Expire' => ['description' => 'URL的过期时长。(单位:秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '3600'],
+ 'AlarmDelay' => ['description' => '下次相同告警的最小间隔。(单位:秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '60'],
],
- 'required' => false,
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"AlarmId\\": \\"0hyNgTdgv2D000195842\\",\\n \\"RequestId\\": \\"76E11E6A-4441-51C9-AF60-D354362257A7\\",\\n \\"Expire\\": 3600,\\n \\"AlarmDelay\\": 60\\n}","type":"json"}]',
+ 'title' => '创建设备告警',
+ 'summary' => '上报设备告警。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDeviceAlarm'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PkgLabels',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '云应用标签,可多选,将重置云应用标签,'."\n"
- .'1. 取值范围:'."\n"
- .' a. hot'."\n"
- .' b. game'."\n"
- .' c. app'."\n"
- .'2. 特殊情况:'."\n"
- .' a. 删除所有标签:输入["NULL"]',
- 'description' => '云应用标签,可多选,将重置云应用标签,'."\n"
- .'1. 取值范围:'."\n"
- .' a. hot'."\n"
- .' b. game'."\n"
- .' c. app'."\n"
- .'2. 特殊情况:'."\n"
- .' a. 删除所有标签:输入["NULL"]',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用标签',
- 'description' => '云应用标签',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDeviceAlarm',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
],
],
],
+ ],
+ 'CreateDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '目录名称。', 'type' => 'string', 'required' => true, 'example' => '目录1'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '目录描述。', 'type' => 'string', 'required' => false, 'example' => '目录1'],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '目录所属空间ID。', 'type' => 'string', 'required' => true, 'example' => '348*****174-cn-qingdao'],
+ ],
+ [
+ 'name' => 'ParentId',
+ 'in' => 'query',
+ 'schema' => ['description' => '上级目录ID。'."\n"
+ ."\n"
+ .'> 创建设备空间时会默认创建空间对应的根目录,可通过 [DescribeDirectories](https://next.api.aliyun.com/document/vs/2018-12-12/DescribeDirectories) 接口查询对应根目录。', 'type' => 'string', 'required' => true, 'example' => '399*****774-cn-qingdao'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'PatchId' => [
- 'title' => '补丁包ID',
- 'description' => '补丁包ID',
- 'type' => 'string',
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\"\\n}","type":"json"}]',
- 'title' => '更新应用基本信息',
- ],
- 'ListCloudAppPatches' => [
- 'summary' => '查询一个云应用的Patch列表。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****488-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '创建目录',
+ 'summary' => '创建新的目录。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDirectory'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '207913',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'AppId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '空间名称', 'type' => 'string', 'required' => true, 'example' => '我的视频监控'],
],
[
- 'name' => 'PatchName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'title' => '补丁包名称',
- 'description' => '补丁包名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-1',
- ],
+ 'schema' => ['description' => '空间描述', 'type' => 'string', 'required' => false, 'example' => '我的视频监控'],
],
[
- 'name' => 'PatchId',
+ 'name' => 'App',
'in' => 'query',
- 'schema' => [
- 'title' => '补丁包ID',
- 'description' => '补丁包ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
+ 'schema' => ['description' => '空间使用的应用名称,默认取值:live', 'type' => 'string', 'required' => false, 'example' => 'live'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '空间所属区域,即服务中心', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'InProtocol',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '空间使用的接入协议,取值:'."\n"
+ .'- gb28181'."\n"
+ .'- rtmp', 'type' => 'string', 'required' => true, 'example' => 'rtmp'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'OutProtocol',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2015-11-29T00:00:00Z',
- ],
+ 'schema' => ['description' => '空间使用的播放协议,多值用逗号分隔,取值:'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'- rtmp', 'type' => 'string', 'required' => false, 'example' => 'flv,rtmp'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PushDomain',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2017-12-10T21:00:00Z',
- ],
+ 'schema' => ['description' => '空间使用的推流域名', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'PlayDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间使用的播流域名', 'type' => 'string', 'required' => false, 'example' => 'demo.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'LazyPull',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否启用按需拉流。取值:'."\n"
+ .'- false(默认)'."\n"
+ .'- true', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Callback',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间内设备/流状态更新时的回调', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Patches' => [
- 'title' => '云应用Patch列表',
- 'description' => '云应用Patch列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用Patch信息',
- 'description' => '云应用Patch信息',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'title' => '应用上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态'."\n"
- .'5. Deleting'."\n"
- .'6. DeleteFailed:终态',
- 'description' => '应用上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态'."\n"
- .'5. Deleting'."\n"
- .'6. DeleteFailed:终态',
- 'type' => 'string',
- 'example' => 'Doing',
- ],
- 'PatchName' => [
- 'title' => '补丁包名称',
- 'description' => '补丁包名称',
- 'type' => 'string',
- 'example' => 'patch-1',
- ],
- 'StatusDescription' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => 'Uploading',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-09-23T02:12:28',
- ],
- 'PatchId' => [
- 'title' => '补丁包ID',
- 'description' => '补丁包ID',
- 'type' => 'string',
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
- 'UploadTime' => [
- 'title' => '上传时间',
- 'description' => '上传时间',
- 'type' => 'string',
- 'example' => '2025-07-24T14:45:36+08:00',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '记录总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码。',
- 'description' => '查询列表的页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数。',
- 'description' => '分页查询时设置的每页行数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
+ 'GbId' => ['description' => '空间关联的国标Id。(仅适用于国标接入的空间)', 'type' => 'string', 'example' => '31000000****00000001'],
+ 'GbIp' => ['description' => '空间关联的国标信令网关服务器地址。(仅适用于国标接入的空间)', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'GbPort' => ['description' => '空间提供的国标信令服务器端口。(仅适用于国标接入的空间)', 'type' => 'integer', 'format' => 'int64', 'example' => '5060'],
+ 'Id' => ['description' => '空间Id', 'type' => 'string', 'example' => '33763****77224964-cn-qingdao'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Patches\\": [\\n {\\n \\"Status\\": \\"Doing\\",\\n \\"PatchName\\": \\"patch-1\\",\\n \\"StatusDescription\\": \\"Uploading\\",\\n \\"UpdateTime\\": \\"2024-09-23T02:12:28\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\",\\n \\"UploadTime\\": \\"2025-07-24T14:45:36+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]',
- 'title' => '查询云应用的Patch列表',
- 'description' => '>模板ID和模板类型至少指定一个。',
- ],
- 'InstallCloudApp' => [
- 'summary' => '安装一个云应用到一个指定云应用实例。'."\n"
- .'属于异步接口,可通过ListCloudAppInstallations接口查询安装进度。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"GbId\\": \\"31000000****00000001\\",\\n \\"GbIp\\": \\"10.10.10.10\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GbPort\\": 5060,\\n \\"Id\\": \\"33763****77224964-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '创建业务空间',
+ 'summary' => '创建新业务空间。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateHive' => [
+ 'summary' => '创建集群',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于创建一个空集群,用来管理负载。'."\n",
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4412,125 +3226,18 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '207914',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例ID。'."\n"
- .'RenderingInstanceId、RenderingInstanceIds、ProjectId至少必选其一。'."\n"
- .'优先级RenderingInstanceId > RenderingInstanceIds > ProjectId',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'AppId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
- ],
- [
- 'name' => 'RenderingInstanceIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '云应用服务实例ID列表',
- 'description' => '云应用服务实例ID列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-4523e7b93ca246febd10cd12347d70c0',
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- [
- 'name' => 'ProjectId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。',
- 'description' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '100',
- ],
- ],
- [
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
- .'1. 关于PageNumber取值范围:'."\n"
- .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
- .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
- .' ⅰ. 接口返回403+错误码Code 200301'."\n"
- .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
- .'2. 场景举例:'."\n"
- .' a. 项目下实例全量安装场景:项目实例数大于PageSize(默认100)时,可以多次调用Install(+1递增分页PageNumber)以实现全量安装。项目实例安装进度可通过ListCloudAppInstallations接口获取。'."\n"
- .' b. 项目下新增实例安装场景:用PageNumber=1开始即可。分页查询默认按实例关联时间倒序,PageNumber=1分页下是最新新增实例。',
- 'description' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
- .'1. 关于PageNumber取值范围:'."\n"
- .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
- .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
- .' ⅰ. 接口返回403+错误码Code 200301'."\n"
- .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
- .'2. 场景举例:'."\n"
- .' a. 项目下实例全量安装场景:项目实例数大于PageSize(默认100)时,可以多次调用Install(+1递增分页PageNumber)以实现全量安装。项目实例安装进度可通过ListCloudAppInstallations接口获取。'."\n"
- .' b. 项目下新增实例安装场景:用PageNumber=1开始即可。分页查询默认按实例关联时间倒序,PageNumber=1分页下是最新新增实例。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'Test'],
],
[
- 'name' => 'PatchId',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'title' => '要安装的Patch包ID,仅win场景支持。'."\n"
- .'1. 默认安装StablePatchId'."\n"
- .'2. 输入值origin,表示安装原始版本',
- 'description' => '要安装的Patch包ID,仅win场景支持。'."\n"
- .'1. 默认安装StablePatchId'."\n"
- .'2. 输入值origin,表示安装原始版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6',
- ],
+ 'schema' => ['description' => '备注描述', 'type' => 'string', 'required' => false, 'example' => 'G49单卡集群'],
],
],
'responses' => [
@@ -4540,231 +3247,175 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SuccessInstanceCount' => [
- 'title' => '成功的云应用服务实例量',
- 'description' => '成功的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SuccessInstances' => [
- 'title' => '成功的云应用服务实例列表',
- 'description' => '成功的云应用服务实例列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用服务实例',
- 'description' => '云应用服务实例',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-5130e2feb23f442fb9456a3d977f03d4',
- ],
- ],
- ],
- ],
- 'FailedInstanceCount' => [
- 'title' => '失败的云应用服务实例量',
- 'description' => '失败的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FailedInstances' => [
- 'title' => '失败的云应用服务实例列表',
- 'description' => '失败的云应用服务实例列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '失败的云应用服务实例',
- 'description' => '失败的云应用服务实例',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c',
- ],
- 'ErrMessage' => [
- 'title' => '失败原因信息',
- 'description' => '失败原因信息',
- 'type' => 'string',
- 'example' => 'Rejected due to timeout',
- ],
- 'ErrCode' => [
- 'description' => '失败错误码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300000',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => '', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'HiveId' => ['description' => '集群ID ', 'type' => 'string', 'example' => 'hive-6c1418bf513e400bb697307c077a0ec3'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建集群',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-5130e2feb23f442fb9456a3d977f03d4\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '安装应用',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"HiveId\\": \\"hive-6c1418bf513e400bb697307c077a0ec3\\"\\n}","type":"json"}]',
],
- 'ListCloudAppInstallations' => [
- 'summary' => '查询云应用的安装信息列表,返回信息包括云应用服务实例的安装状态,支持分页查询。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateParentPlatform' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '207921',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'AppId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '上级平台名称。', 'type' => 'string', 'required' => true, 'example' => '级联平台测试'],
],
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID,用于查询指定实例上安装的云应用',
- 'description' => '云应用服务实例ID,用于查询指定实例上安装的云应用',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '上级平台描述。', 'type' => 'string', 'required' => false, 'example' => '级联平台测试'],
],
[
- 'name' => 'AppName',
+ 'name' => 'Protocol',
'in' => 'query',
- 'schema' => [
- 'title' => '应用名',
- 'description' => '应用名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aaa.bbb',
- ],
+ 'schema' => ['description' => '上级平台协议。取值:'."\n"
+ .'- gb28181(国标)', 'type' => 'string', 'required' => false, 'example' => 'gb28181', 'default' => 'gb28181'],
],
[
- 'name' => 'AppVersion',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'title' => '应用版本',
- 'description' => '应用版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.0',
- ],
+ 'schema' => ['description' => '上级平台国标ID。', 'type' => 'string', 'required' => true, 'example' => '31000*****2170123451'],
],
[
- 'name' => 'ProjectId',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'project-b93ea81de76f48609eed3cd420f0399f',
- ],
+ 'schema' => ['description' => '上级平台SIP服务IP。', 'type' => 'string', 'required' => true, 'example' => '10.10.10.10'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Port',
'in' => 'query',
- 'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '上级平台SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5060'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ClientAuth',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '本地是否开启鉴权。取值:'."\n"
+ .'- true(默认)'."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ClientUsername',
'in' => 'query',
+ 'schema' => ['description' => '本地用户名。', 'type' => 'string', 'required' => false, 'example' => 'user01'],
+ ],
+ [
+ 'name' => 'ClientPassword',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地密码。', 'type' => 'string', 'required' => false, 'example' => 'admin123'],
+ ],
+ [
+ 'name' => 'AutoStart',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否自动启用。取值:'."\n"
+ .'- false(默认)'."\n"
+ .'- true', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-26T16:00:00Z',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '359*****374-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</CreateParentPlatformResponse>","errorExample":""}]',
+ 'title' => '添加上级平台',
+ 'summary' => '添加新的上级平台。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateParentPlatform'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EndTime',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateRenderingDataPackage' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREvsJ3UH6I'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RenderingInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '云应用服务实例ID(注:只可针对crs.cp.*系列实例类型进行操作)。', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => 'testdescription', 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'Category',
'in' => 'query',
'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
+ 'description' => '数据类型。可选值:'."\n"
+ .'- Package(默认值)。'."\n"
+ .'- Baseline。',
'type' => 'string',
'required' => false,
- 'example' => '2025-06-02T02:18:00Z',
+ 'example' => 'Package',
+ 'enum' => ['Package', 'Baseline'],
],
],
[
- 'name' => 'PatchId',
+ 'name' => 'InstanceBillingCycle',
'in' => 'query',
'schema' => [
- 'title' => 'Patch包ID,仅win场景支持。'."\n"
- .'1. 输入值origin,表示仅过滤出原始版本',
- 'description' => 'Patch包ID,仅win场景支持。'."\n"
- .'1. 输入值origin,表示仅过滤出原始版本',
+ 'description' => '计费类型,取值范围:'."\n"
+ ."\n"
+ .'- Hour:小时。',
'type' => 'string',
'required' => false,
- 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6',
+ 'example' => 'Hour',
+ 'enum' => ['Hour', 'Day', 'Month'],
],
],
],
@@ -4775,250 +3426,206 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'InstallationInfos' => [
- 'description' => '安装信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '安装信息',
- 'type' => 'object',
- 'properties' => [
- 'AppVersion' => [
- 'title' => '应用版本',
- 'description' => '应用版本',
- 'type' => 'string',
- 'example' => '1.5.0',
- ],
- 'Status' => [
- 'title' => '云应用安装状态,取值范围:'."\n"
- .'1. 中间态:install-init、installing、uninstall-init、uninstalling'."\n"
- .'2. 终态:installed、install-failed、uninstall-failed',
- 'description' => '云应用安装状态,取值范围:'."\n"
- .'1. 中间态:install-init、installing'."\n"
- .'2. 终态:installed、install-failed',
- 'type' => 'string',
- 'example' => 'installed',
- ],
- 'AppId' => [
- 'title' => '应用ID',
- 'description' => '应用ID',
- 'type' => 'string',
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'StatusDescription' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => 'install success',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-05-28T14:50:04+08:00',
- ],
- 'PatchId' => [
- 'title' => 'PatchId包ID',
- 'description' => 'PatchId包ID',
- 'type' => 'string',
- 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6',
- ],
- 'InstallationTime' => [
- 'title' => '安装时间',
- 'description' => '安装时间',
- 'type' => 'string',
- 'example' => '2024-05-28T14:48:34+08:00',
- ],
- 'AppName' => [
- 'title' => '应用名',
- 'description' => '应用名',
- 'type' => 'string',
- 'example' => 'com.aaa.bbb',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '安装记录总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码。',
- 'description' => '查询列表的页码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数。',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DataPackageId' => ['description' => '云应用服务数据包ID', 'type' => 'string', 'example' => 'dp-9f8c57355d224ad7beaf95e145f22111'."\n"
+ ."\n"],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务数据包创建',
+ 'summary' => '创建云应用服务数据包',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-11T06:23:01.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-02-27T09:22:47.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstallationInfos\\": [\\n {\\n \\"AppVersion\\": \\"1.5.0\\",\\n \\"Status\\": \\"installed\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"StatusDescription\\": \\"install success\\",\\n \\"UpdateTime\\": \\"2024-05-28T14:50:04+08:00\\",\\n \\"PatchId\\": \\"patch-7bdf679812484df08a956b73e0b3bdf6\\",\\n \\"InstallationTime\\": \\"2024-05-28T14:48:34+08:00\\",\\n \\"AppName\\": \\"com.aaa.bbb\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
- 'title' => '查询应用安装信息列表',
- ],
- 'UninstallCloudApp' => [
- 'summary' => '卸载一个指定云应用实例上的一个指定云应用。'."\n"
- .'属于异步接口。可通过ListCloudAppInstallations接口查询卸载进度,卸载成功后,查询接口将不再输出相关内容。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingDataPackage'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DataPackageId\\": \\"dp-9f8c57355d224ad7beaf95e145f22111\\\\n\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRenderingInstance' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '207920',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREvsJ3UH6I'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'RenderingSpec',
+ 'in' => 'query',
+ 'schema' => ['title' => '云渲染实例规格', 'description' => '云应用服务实例规格'."\n"
+ ."\n"
+ .'- 规格为crs.cp.*系列,付费方式可选择预付费或者后付费。'."\n"
+ .'- 规格为crs.vm.*系列,付费方式可选择预付费或者后付费。'."\n"
+ .'- 其它剩余系列,付费方式只支持预付费。', 'type' => 'string', 'required' => true, 'example' => 'crs.cp.l1'],
+ ],
+ [
+ 'name' => 'ClientInfo',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '云应用服务实例ID。'."\n"
- .'RenderingInstanceId、RenderingInstanceIds、ProjectId至少必选其一。'."\n"
- .'优先级RenderingInstanceId > RenderingInstanceIds > ProjectId',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
+ 'title' => '客户端信息',
+ 'description' => '客户端信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClientIp' => ['title' => '客户端IP地址', 'description' => '客户端IP地址', 'type' => 'string', 'required' => false, 'example' => '172.21.128.110'],
+ ],
'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
],
],
[
- 'name' => 'AppId',
+ 'name' => 'InternetMaxBandwidth',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '最大带宽,单位 Mbps,默认值10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'RenderingInstanceIds',
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => ['description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
+ ."\n"
+ .'开启或关闭自动续费,取值:'."\n"
+ .'* **true**:开启。'."\n"
+ .'* **false**:关闭。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'Period',
'in' => 'query',
- 'style' => 'json',
'schema' => [
- 'title' => '云应用服务实例ID列表',
- 'description' => '云应用服务实例ID列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-4523e7b93ca246febd10cd12347d70c0',
- ],
+ 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
+ ."\n"
+ .'包年包月的时长。取值范围(注:当选12的时候会被换算为一年,其余以月为周期单位):'."\n"
+ ."\n"
+ .'- 1(默认)'."\n"
+ .'- 2'."\n"
+ .'- 3'."\n"
+ .'- 4'."\n"
+ .'- 5'."\n"
+ .'- 6'."\n"
+ .'- 7'."\n"
+ .'- 8'."\n"
+ .'- 9'."\n"
+ .'- 12',
+ 'type' => 'string',
'required' => false,
- 'maxItems' => 100,
+ 'example' => '1',
+ 'enum' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '12'],
],
],
[
- 'name' => 'ProjectId',
+ 'name' => 'InstanceChargeType',
'in' => 'query',
'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
+ 'description' => '实例的付费方式,取值范围:'."\n"
+ ."\n"
+ .'- PrePaid(默认):预付费包年包月。'."\n"
+ .'- PostPaid:后付费按量付费。',
'type' => 'string',
'required' => false,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
+ 'example' => 'PrePaid',
+ 'enum' => ['PrePaid', 'PostPaid'],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'InternetChargeType',
'in' => 'query',
'schema' => [
- 'title' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。',
- 'description' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '> 只能有一种计费方式,如果已存在计费方式,则新值默认无效,以已存在的为准。注意用户第一次购买的时候该字段必填。'."\n"
+ ."\n"
+ .'网络计费类型,取值:'."\n"
+ .'- 95BandwidthByMonth:月95峰值带宽。',
+ 'type' => 'string',
'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '100',
+ 'example' => '95BandwidthByMonth',
+ 'enum' => ['95BandwidthByMonth', 'BandwidthByDay'],
],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StorageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '云应用服务实例使用云存储容量(注:非本地存储)。', 'type' => 'string', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'InstanceBillingCycle',
'in' => 'query',
'schema' => [
- 'title' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
- .'1. 关于PageNumber取值范围:'."\n"
- .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
- .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
- .' ⅰ. 接口返回403+错误码Code 200301'."\n"
- .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
- .'2. 场景举例:'."\n"
- .' a. 项目下实例全量卸载场景:项目实例数大于PageSize(默认100)时,可以多次调用unInstall接口(+1递增分页PageNumber)以实现全量卸载。项目实例卸载进度可通过ListCloudAppInstallations接口获取。',
- 'description' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
- .'1. 关于PageNumber取值范围:'."\n"
- .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
- .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
- .' ⅰ. 接口返回403+错误码Code 200301'."\n"
- .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
- .'2. 场景举例:'."\n"
- .' a. 项目下实例全量卸载场景:项目实例数大于PageSize(默认100)时,可以多次调用unInstall接口(+1递增分页PageNumber)以实现全量卸载。项目实例卸载进度可通过ListCloudAppInstallations接口获取。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '> 此值仅在 `InstanceChargeType` 为 `PostPaid`(按量付费)时有效。'."\n"
+ ."\n"
+ .'计费类型,取值范围:'."\n"
+ ."\n"
+ .'- Hour:小时。',
+ 'type' => 'string',
'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'example' => 'Hour',
+ 'enum' => ['Hour'],
],
],
[
- 'name' => 'PatchId',
+ 'name' => 'Attributes',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '要卸载的Patch包ID,仅win场景支持。'."\n"
- .'1. 默认卸载StablePatchId'."\n"
- .'2. 输入值origin,表示卸载原始版本'."\n"
- .'3. 输入值all,表示卸载所有已安装版本',
- 'description' => '要卸载的Patch包ID,仅win场景支持。'."\n"
- .'1. 默认卸载StablePatchId'."\n"
- .'2. 输入值origin,表示卸载原始版本'."\n"
- .'3. 输入值all,表示卸载所有已安装版本',
- 'type' => 'string',
+ 'description' => '> 非特殊需求,请保持默认值。有特殊需求的客户,请沟通确认后填写相关参数。'."\n"
+ ."\n"
+ .'属性信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Zone' => [
+ 'description' => '资源域。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Private' => 'Private', 'Public' => 'Public'],
+ 'example' => 'Public',
+ ],
+ 'OutAccess' => [
+ 'description' => '出网配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['OFF' => 'OFF', 'ON' => 'ON'],
+ 'example' => 'ON',
+ ],
+ 'InAccess' => [
+ 'description' => '入网配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['OFF' => 'OFF', 'ON' => 'ON'],
+ 'example' => 'ON',
+ ],
+ 'EdgeMediaService' => [
+ 'description' => '流化服务。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['OFF' => 'OFF', 'ON' => 'ON'],
+ 'example' => 'ON',
+ ],
+ ],
'required' => false,
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
],
],
],
@@ -5029,120 +3636,70 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SuccessInstanceCount' => [
- 'title' => '成功的云应用服务实例量',
- 'description' => '成功的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'SuccessInstances' => [
- 'title' => '成功的云应用服务实例列表',
- 'description' => '成功的云应用服务实例列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '云应用服务实例',
- 'description' => '云应用服务实例',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-e6cf423c787e4e43b460a788da254fe3',
- ],
- ],
- ],
- ],
- 'FailedInstanceCount' => [
- 'title' => '失败的云应用服务实例量',
- 'description' => '失败的云应用服务实例量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'FailedInstances' => [
- 'title' => '失败的云应用服务实例列表',
- 'description' => '失败的云应用服务实例列表',
- 'type' => 'array',
- 'items' => [
- 'title' => '失败的云应用服务实例',
- 'description' => '失败的云应用服务实例',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c',
- ],
- 'ErrMessage' => [
- 'title' => '失败原因信息',
- 'description' => '失败原因信息',
- 'type' => 'string',
- 'example' => 'Rejected due to timeout',
- ],
- 'ErrCode' => [
- 'description' => '失败错误码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300000',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstanceId' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例创建',
+ 'summary' => '调用CreateRenderingInstance创建一个云应用服务实例',
+ 'changeSet' => [
+ ['createdAt' => '2025-12-03T03:07:42.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-09-11T03:43:25.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-12-24T12:19:39.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '卸载应用',
- ],
- 'DeleteCloudApp' => [
- 'summary' => '删除一个云应用。使用中的云应用不允许删除。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRenderingInstanceGateway' => [
+ 'summary' => '创建自定义网关。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '208098',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '247654',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'AppId',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID,对应唯一的应用包',
- 'description' => '云应用ID,对应唯一的应用包',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ [
+ 'name' => 'GatewayInstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义网关实例ID。', 'type' => 'string', 'required' => true, 'example' => 'render-xxx'],
],
],
'responses' => [
@@ -5152,94 +3709,97 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除应用',
- ],
- 'DescribeRenderingInstanceConfiguration' => [
- 'summary' => '查询一个云应用服务实例系统配置的实时信息。',
- 'methods' => [
- 'get',
+ 'title' => '创建自定义网关',
+ 'description' => '> 模板ID和模板类型至少指定一个。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingInstanceGateway'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateRenderingProject' => [
+ 'summary' => '创建一个新的云应用服务项目,并设置会话等相关属性。',
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '213856',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['title' => '自定义项目名,将作为项目的唯一标记。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度1-128'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'description' => '自定义项目名,将作为项目的唯一标记。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度1-128'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'type' => 'string', 'required' => true, 'example' => 'du_merchant_d', 'maxLength' => 128, 'minLength' => 1],
],
[
- 'name' => 'Configuration',
+ 'name' => 'SessionAttribs',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'title' => '配置内容',
- 'description' => '需要查询的配置内容,默认查全量模块',
- 'type' => 'array',
- 'items' => [
- 'description' => '真机仿真模块',
- 'type' => 'object',
- 'properties' => [
- 'ModuleName' => [
- 'title' => '模块名称',
- 'description' => '模块名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'location',
- ],
- 'AttributeNames' => [
- 'title' => '模块对应的属性列表',
- 'description' => '需要查询的属性名称列表,默认查全量',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lon',
- ],
- 'required' => false,
- ],
+ 'title' => '会话属性',
+ 'description' => '会话属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartMode' => [
+ 'title' => '会话启动云应用服务的模式,取值范围,'."\n"
+ .'1. Async:异步'."\n"
+ .'2. Sync:同步',
+ 'description' => '会话启动云应用服务的模式,取值范围,'."\n"
+ .'1. Async:异步'."\n"
+ .'2. Sync:同步',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Async',
+ 'enum' => ['Async', 'Sync'],
],
- 'required' => false,
],
- 'deprecated' => false,
'required' => false,
],
],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目描述信息,0-255', 'description' => '项目描述信息,0-255', 'type' => 'string', 'required' => false, 'example' => '项目概述', 'maxLength' => 255],
+ ],
],
'responses' => [
200 => [
@@ -5248,342 +3808,324 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Configuration' => [
- 'title' => '配置内容',
- 'description' => '配置内容',
- 'type' => 'array',
- 'items' => [
- 'description' => '真机仿真模块属性',
- 'type' => 'object',
- 'properties' => [
- 'ModuleName' => [
- 'title' => '模块名称',
- 'description' => '真机仿真功能模块名,取值范围包括,'."\n"
- ."\n"
- .'1. ctl:控制模块'."\n"
- .'2. prop:属性模块'."\n"
- .'3. location:定位模块'."\n"
- .'4. battery:电池模块'."\n"
- .'5. network:网络模块'."\n"
- .'6. bluetooth:蓝牙模块'."\n"
- .'7. sim:SIM卡模块'."\n"
- .'8. display:设备模块'."\n"
- .'9. system:基础模块',
- 'type' => 'string',
- 'example' => 'location',
- ],
- 'Attributes' => [
- 'title' => '属性列表',
- 'description' => '模块对应的属性列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性信息',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'title' => '属性名',
- 'description' => '属性名',
- 'type' => 'string',
- 'example' => 'lon',
- ],
- 'Value' => [
- 'title' => '属性值',
- 'description' => '属性值',
- 'type' => 'any',
- 'example' => '100',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'ProjectId' => ['description' => '项目ID。您可以调用ListRenderingProjects查看项目的ID。', 'type' => 'string', 'example' => 'project-b93ea81de76f48609eed3cd420f0399f'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ProjectId\\": \\"project-b93ea81de76f48609eed3cd420f0399f\\"\\n}","type":"json"}]',
+ 'title' => ' 创建项目',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Configuration\\": [\\n {\\n \\"ModuleName\\": \\"location\\",\\n \\"Attributes\\": [\\n {\\n \\"Name\\": \\"lon\\",\\n \\"Value\\": \\"100\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询云应用服务实例配置信息',
],
- 'UpdateRenderingInstanceConfiguration' => [
- 'summary' => '更新一个云应用服务实例的配置参数。支持修改云安卓系统的prop/location/network 等各种配置,构建真机仿真。'."\n"
- .'可通过实例查询接口DescribeRenderingInstance,获取已设置的真机仿真配置值。'."\n"
- .'查询实时环境的配置参数,参考接口DescribeRenderingInstanceConfiguration。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateStreamSnapshot' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '213807',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'Configuration',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'Location',
+ 'in' => 'query',
'schema' => [
- 'title' => '配置内容',
- 'description' => '配置内容',
- 'type' => 'array',
- 'items' => [
- 'description' => '真机仿真模块属性',
- 'type' => 'object',
- 'properties' => [
- 'ModuleName' => [
- 'title' => '模块名称',
- 'description' => '真机仿真功能模块名,取值范围包括,'."\n"
- .'1. ctl:控制模块'."\n"
- .'2. prop:属性模块'."\n"
- .'3. location:定位模块'."\n"
- .'4. battery:电池模块'."\n"
- .'5. network:网络模块'."\n"
- .'6. bluetooth:蓝牙模块'."\n"
- .'7. sim:SIM卡模块'."\n"
- .'8. display:设备模块'."\n"
- .'9. system:基础模块',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'location',
- ],
- 'Attributes' => [
- 'title' => '模块对应的属性列表',
- 'description' => '模块对应的属性列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性信息',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'title' => '属性名称',
- 'description' => '属性名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lon',
- ],
- 'Value' => [
- 'title' => '属性值',
- 'description' => '属性值',
- 'type' => 'any',
- 'required' => true,
- 'example' => '100',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- ],
- ],
- 'required' => false,
- ],
- 'deprecated' => false,
- 'required' => true,
+ 'description' => '截图方式。取值范围:'."\n"
+ .'- center(云端截图)(默认)'."\n"
+ .'- device(设备截图)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['center' => '云端截图', 'device' => '设备截图'],
+ 'example' => 'device',
+ 'default' => 'center',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'OssObject' => ['description' => '截图文件的Object。', 'type' => 'string', 'example' => 'photos/live/340200*****100049/ondemand-1639126601767.jpg'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Width' => ['description' => '图片宽度。', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'],
+ 'Height' => ['description' => '图片高度。', 'type' => 'integer', 'format' => 'int64', 'example' => '720'],
+ 'Url' => ['description' => '截图文件的URL。', 'type' => 'string', 'example' => 'http://examplebucket.oss-*****.aliyuncs.com/photos/live/340200*****100049/ondemand-1639126601767.jpg'],
+ 'Timestamp' => ['description' => '截图时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639126601767'],
+ 'OssBucket' => ['description' => '截图文件的Bucket。', 'type' => 'string', 'example' => 'examplebucket'],
+ 'Format' => ['description' => '图片格式。', 'type' => 'string', 'example' => 'jpg'],
+ 'OssEndpoint' => ['description' => '截图文件的OSS Endpoint。', 'type' => 'string', 'example' => 'oss-cn-qingdao.aliyuncs.com'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新云应用服务实例配置参数',
- ],
- 'DeleteRenderingInstanceConfiguration' => [
- 'summary' => '清除一个云应用服务实例的配置设置。仅可删除通过UpdateRenderingInstanceConfiguration接口已配置的模块属性。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"OssObject\\": \\"photos/live/340200*****100049/ondemand-1639126601767.jpg\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"Url\\": \\"http://examplebucket.oss-*****.aliyuncs.com/photos/live/340200*****100049/ondemand-1639126601767.jpg\\",\\n \\"Timestamp\\": 1639126601767,\\n \\"OssBucket\\": \\"examplebucket\\",\\n \\"Format\\": \\"jpg\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '触发按需截图',
+ 'summary' => '对指定流,按需创建新的截图。',
+ 'description' => '> 需要预先在绑定的截图模板中启用按需截图功能。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamSnapshot'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateStreamSnapshot',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '213808',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '模板名称。', 'type' => 'string', 'required' => true, 'example' => '录制模板'],
],
[
- 'name' => 'Configuration',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'title' => '配置内容',
- 'description' => '配置内容,默认清理所有已配置模块',
- 'type' => 'array',
- 'items' => [
- 'description' => '真机仿真模块属性',
- 'type' => 'object',
- 'properties' => [
- 'ModuleName' => [
- 'title' => '模块名称',
- 'description' => '模块名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'location',
- ],
- 'AttributeNames' => [
- 'title' => '模块对应的属性列表',
- 'description' => '要清除配置的属性名列表,默认清理该模块所有已配置属性',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lon',
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'deprecated' => false,
- 'required' => false,
- ],
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板描述。', 'type' => 'string', 'required' => false, 'example' => '录制模板'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)'."\n"
+ .'- transcode(转码)'."\n"
+ .'- timeshift(时移)', 'type' => 'string', 'required' => true, 'example' => 'record'],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => ['description' => 'OSS所属区域,即服务中心。', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao'],
+ ],
+ [
+ 'name' => 'OssBucket',
+ 'in' => 'query',
+ 'schema' => ['description' => 'OSS的Bucket。', 'type' => 'string', 'required' => false, 'example' => 'bucketname'],
+ ],
+ [
+ 'name' => 'OssEndpoint',
+ 'in' => 'query',
+ 'schema' => ['description' => 'OSS的域名。', 'type' => 'string', 'required' => false, 'example' => 'oss-cn-qingdao.aliyuncs.com'],
+ ],
+ [
+ 'name' => 'OssFilePrefix',
+ 'in' => 'query',
+ 'schema' => ['description' => 'OSS文件前缀', 'type' => 'string', 'required' => false, 'example' => 'oss-prefix'],
+ ],
+ [
+ 'name' => 'Trigger',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板触发类型,默认auto。取值:'."\n"
+ .'- auto(自动)'."\n"
+ .'- ondemand(按需)', 'type' => 'string', 'required' => false, 'example' => 'auto'],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => '操作周期,单位秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
+ ],
+ [
+ 'name' => 'Retention',
+ 'in' => 'query',
+ 'schema' => ['description' => '时移保存周期,单位:天', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'],
+ ],
+ [
+ 'name' => 'FileFormat',
+ 'in' => 'query',
+ 'schema' => ['description' => '存储文件格式,多值用逗号分隔。取值:'."\n"
+ .'- mp4'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'> 青岛单元暂不支持flv、mp4录制', 'type' => 'string', 'required' => false, 'example' => 'hls'],
+ ],
+ [
+ 'name' => 'JpgOverwrite',
+ 'in' => 'query',
+ 'schema' => ['description' => 'JPG的存储路径,用于覆盖截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg'],
+ ],
+ [
+ 'name' => 'JpgSequence',
+ 'in' => 'query',
+ 'schema' => ['description' => 'JPG的存储路径,用于序列截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- {UnixTimestamp}、{Sequence}必填一个', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg'],
+ ],
+ [
+ 'name' => 'JpgOnDemand',
+ 'in' => 'query',
+ 'schema' => ['description' => 'JPG的存储路径,用于按需截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- {UnixTimestamp}、{Sequence}必填一个', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg'],
+ ],
+ [
+ 'name' => 'Mp4',
+ 'in' => 'query',
+ 'schema' => ['description' => 'MP4的存储路径。'."\n"
+ .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{Sequence}、{EscapedStartTime}、{EscapedEndTime}'."\n"
+ .'- 必须包含{EscapedStartTime}和{EscapedEndTime}', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ ],
+ [
+ 'name' => 'Flv',
+ 'in' => 'query',
+ 'schema' => ['description' => 'FLV的存储路径。格式参考Mp4说明。', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ ],
+ [
+ 'name' => 'HlsM3u8',
+ 'in' => 'query',
+ 'schema' => ['description' => 'HLS的存储路径,m3u8文件。格式参考Mp4说明。', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ ],
+ [
+ 'name' => 'HlsTs',
+ 'in' => 'query',
+ 'schema' => ['description' => 'HLS的存储路径,ts文件。'."\n"
+ .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- 必须包含{UnixTimestamp}和{Sequence}变量', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}'],
+ ],
+ [
+ 'name' => 'Callback',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板执行后的回调。'."\n"
+ ."\n"
+ .'> 注: 按需触发的模板不支持回调参数。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'],
+ ],
+ [
+ 'name' => 'TransConfigsJSON',
+ 'in' => 'query',
+ 'schema' => ['description' => '转码配置TransConfig类型的数组,JSON格式字符串', 'type' => 'string', 'required' => false, 'example' => '[{"Fps":25,"Gop":50,"Height":720,"VideoCodec":"h264","Width":1280,"Name":"sd","VideoBitrate":800}]'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Id' => ['description' => '模板ID。', 'type' => 'string', 'example' => '399*****735-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除云应用服务实例的配置设置',
- ],
- 'DescribeRenderingInstanceSettings' => [
- 'summary' => '调用 DescribeRenderingInstanceSettings 查询云应用服务实例配置',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****735-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '创建模板',
+ 'summary' => '创建新模板。',
+ 'requestParamsDescription' => '## TransConfig类型'."\n"
+ ."\n"
+ .'|参数 |类型 |必要 |示例值 |描述|'."\n"
+ .'| -----| ---- | ---- |----|---- |'."\n"
+ .'|Name |String |是 |sd |转码规则名称。转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母。|'."\n"
+ .'|VideoCodec |String |是 |h264 |视频编码取值:h264|'."\n"
+ .'|VideoBitrate |Long |是 |800 |视频比特率,单位:kbps|'."\n"
+ .'|Fps |Long |是 |25 |视频帧率,单位:fps|'."\n"
+ .'|Gop |Long |是 |50 |视频Gop,单位:帧|'."\n"
+ .'|Height |Long |是 |640 |视频高度|'."\n"
+ .'|Width |Long |是 |1280 |视频宽度|',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DelHiveEdgeWorkers' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvs4YZ3LQ',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'HiveId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '**集群ID**'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive-xxxx-xxx-xxx'],
],
[
- 'name' => 'AttributeNames',
+ 'name' => 'InstanceIds',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '实例配置名称列表。',
+ 'description' => '**负载ID列表**'."\n",
'type' => 'array',
- 'items' => [
- 'description' => '实例配置名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'navbar.hide',
- ],
- 'required' => false,
+ 'items' => ['description' => '负载ID', 'type' => 'string', 'required' => false, 'example' => 'ew-xxxx'],
+ 'required' => true,
+ 'example' => '["ew-xxxx"]',
],
],
],
@@ -5594,107 +4136,74 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => '', 'description' => '**请求 ID**'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'SuccessInstanceCount' => ['description' => '成功数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'FailedInstanceCount' => ['description' => '失败负载数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SuccessInstances' => [
+ 'description' => '成功负载列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '负载信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '负载ID', 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '描述信息', 'description' => '消息'."\n", 'type' => 'string', 'example' => 'SUCCESS'],
+ ],
+ ],
],
- 'Settings' => [
- 'description' => '实例配置列表。',
+ 'FailedInstances' => [
+ 'description' => '失败负载列表',
'type' => 'array',
'items' => [
- 'description' => '实例配置。',
'type' => 'object',
'properties' => [
- 'AttributeName' => [
- 'description' => '实例配置名称。',
- 'type' => 'string',
- 'example' => 'navbar.hide',
- ],
- 'AttributeValue' => [
- 'description' => '实例配置内容。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '负载ID'."\n", 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '失败原因', 'description' => '失败原因', 'type' => 'string', 'example' => 'Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\''],
],
+ 'description' => '',
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Settings\\": [\\n {\\n \\"AttributeName\\": \\"navbar.hide\\",\\n \\"AttributeValue\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询云应用服务实例配置',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '从集群解绑负载',
+ 'summary' => '用于从指定集群中解绑一个或多个负载实例。',
+ 'description' => '## 请求说明'."\n"
+ .'- **HiveId** 是必填参数,表示要操作的集群ID。'."\n"
+ .'- **InstanceIds** 是必填参数,需要提供一个负载ID列表,用于指定要从集群中解绑的负载实例。'."\n"
+ .'- 解绑操作成功后,会返回成功和失败的负载实例列表及其相关信息。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"FailedInstanceCount\\": 0,\\n \\"SuccessInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\'\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'UpdateRenderingInstanceSettings' => [
- 'summary' => '调用 UpdateRenderingInstanceSettings 更新云应用服务实例设置',
- 'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteCloudApp' => [
+ 'summary' => '删除一个云应用。使用中的云应用不允许删除。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvs4YZ3LQ',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '208098',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'Settings',
+ 'name' => 'AppId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '实例配置列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '实例配置。',
- 'type' => 'object',
- 'properties' => [
- 'AttributeName' => [
- 'description' => '实例配置名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'navbar.hide',
- ],
- 'AttributeValue' => [
- 'description' => '实例配置内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'required' => true, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
],
],
'responses' => [
@@ -5704,32 +4213,37 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新云应用服务实例设置',
- ],
- 'DeleteRenderingInstanceSettings' => [
- 'summary' => '调用 DeleteRenderingInstanceSettings 删除云应用服务实例设置',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '删除应用',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudApp'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteCloudApp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteComfyProduction' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5738,45 +4252,17 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvs4YZ3LQ',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
+ 'name' => 'ProductionId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'AttributeNames',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '属性名列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '属性名',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'statbar.hide' => 'statbar.hide',
- 'navbar.hide' => 'navbar.hide',
- ],
- 'example' => 'navbar.hide',
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => '生成物id', 'description' => '生成物id', 'type' => 'string', 'required' => false, 'example' => '3e5bda20-5cd4-4d55-8d23-88d624a18caa'],
],
],
'responses' => [
@@ -5786,124 +4272,50 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['title' => 'Id of the request', 'description' => '描述信息', 'type' => 'string', 'example' => 'success'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除生成物',
+ 'summary' => '删除生成物',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除云应用服务实例设置',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
],
- 'UploadFile' => [
- 'summary' => '上传一个文件。基于外链URL(公网可下载文件)实现文件上传到本地/云存储。'."\n"
- .'属于异步操作,可通过ListFiles接口查询上传进度。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteComfyUserData' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
- 'abilityTreeCode' => '215923',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'title' => '文件名。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度8-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'description' => '自定义文件名,不可重复,将作为文件的唯一标记之一。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度8-255'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mytest',
- 'maxLength' => 255,
- 'minLength' => 8,
- ],
- ],
- [
- 'name' => 'OriginUrl',
- 'in' => 'query',
- 'schema' => [
- 'title' => '文件下载地址。',
- 'description' => '文件下载地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://xxx.xxx.xxx.tar',
- ],
- ],
- [
- 'name' => 'Md5',
- 'in' => 'query',
- 'schema' => [
- 'title' => '文件md5,用于检查文件完整性',
- 'description' => '文件md5,用于检查文件完整性',
- 'type' => 'string',
- 'required' => true,
- 'example' => '150b6083f50dd08159d45a0d5e4b56f9',
- ],
- ],
- [
- 'name' => 'TargetPath',
- 'in' => 'query',
- 'schema' => [
- 'title' => '向云渲染实例推送的目标路径,必须是绝对路径,不支持输入目录。目标路径所在上级目录有范围限制,取值范围:'."\n"
- .'1. /data/local'."\n"
- .'2. /data/user'."\n"
- .'3. /data/data'."\n"
- .'4. /data/cache'."\n"
- .'5. /data/tmp'."\n"
- .'6. /storage',
- 'description' => '向云应用服务实例推送的目标路径,必须是绝对路径,不支持输入目录。目标路径所在上级目录有范围限制,取值范围:'."\n"
- .'1. /data/local'."\n"
- .'2. /data/user'."\n"
- .'3. /data/data'."\n"
- .'4. /data/cache'."\n"
- .'5. /data/tmp'."\n"
- .'6. /data/storage'."\n"
- .'7. /data/media/0',
- 'type' => 'string',
- 'required' => true,
- 'example' => '/data/tmp/test/xxx.tar',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'title' => '文件描述信息',
- 'description' => '文件描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试使用',
- 'maxLength' => 255,
- ],
+ 'schema' => ['title' => '删除的文件的文件名,或目录。(传入为路径格式为目录,以/结尾)'."\n"
+ .'文件名称', 'description' => '删除的文件的文件名,或目录。(传入为路径格式为目录,以/结尾)'."\n"
+ .'文件名称', 'type' => 'string', 'required' => false, 'example' => 'mytest'],
],
],
'responses' => [
@@ -5913,252 +4325,185 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'FileId' => [
- 'title' => '文件ID,对应唯一的文件,如f-xxx',
- 'description' => '文件ID,对应唯一的文件',
- 'type' => 'string',
- 'example' => 'f-1671330gr7934d4771813f7141d28db2f7',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息。', 'type' => 'string', 'example' => 'success'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除用户数据',
+ 'summary' => '删除用户数据的中的文件或目录',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"FileId\\": \\"f-1671330gr7934d4771813f7141d28db2f7\\"\\n}","type":"json"}]',
- 'title' => '上传文件',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
],
- 'ListFiles' => [
- 'summary' => '查询上传的文件列表,返回内容包含文件的上传状态,支持分页查询。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteComfyWorkflow' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215929',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'FileId',
+ 'name' => 'WorkflowId',
'in' => 'query',
+ 'schema' => ['description' => '工作流ID', 'type' => 'string', 'required' => true, 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '文件ID,对应唯一的可用文件',
- 'description' => '文件ID,对应唯一的可用文件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'string', 'example' => '0'],
+ 'Message' => ['description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除Comfy工作流',
+ 'summary' => '删除Comfy工作流',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'FileName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '文件名',
- 'description' => '文件名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'myfile',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3238848****092996'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '删除设备',
+ 'summary' => '删除空间下的设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDevice'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DeleteDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-30T16:00:00Z',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'EndTime',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-31T06:00:00Z',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '348*****174-cn-qingdao'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Files' => [
- 'title' => '文件信息列表',
- 'description' => '文件信息列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '文件信息',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'title' => '文件上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Making'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态',
- 'description' => '文件上传状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Description' => [
- 'title' => '文件描述信息',
- 'description' => '文件描述信息',
- 'type' => 'string',
- 'example' => '我的文件',
- ],
- 'TargetPath' => [
- 'title' => '向云渲染实例推送的目标路径',
- 'description' => '向云应用服务实例推送的目标路径',
- 'type' => 'string',
- 'example' => '/data/tmp/test/xxx.tar',
- ],
- 'StatusDescription' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => 'upload success',
- ],
- 'FileName' => [
- 'title' => '文件名',
- 'description' => '文件名',
- 'type' => 'string',
- 'example' => 'myfile',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-03-28T14:15:08+08:00',
- ],
- 'FileId' => [
- 'title' => '文件ID',
- 'description' => '文件ID',
- 'type' => 'string',
- 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7',
- ],
- 'UploadTime' => [
- 'title' => '上传开始时间',
- 'description' => '上传开始时间',
- 'type' => 'string',
- 'example' => '2024-03-28T14:10:12+08:00',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '匹配的文件记录总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码。',
- 'description' => '查询列表的页码',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数。',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Files\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"Description\\": \\"我的文件\\",\\n \\"TargetPath\\": \\"/data/tmp/test/xxx.tar\\",\\n \\"StatusDescription\\": \\"upload success\\",\\n \\"FileName\\": \\"myfile\\",\\n \\"UpdateTime\\": \\"2024-03-28T14:15:08+08:00\\",\\n \\"FileId\\": \\"f-1671accd4dafdag3er256cvgewt13f7141db2f7\\",\\n \\"UploadTime\\": \\"2024-03-28T14:10:12+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 200,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
- 'title' => '查询文件列表',
- ],
- 'UpdateFileInfo' => [
- 'summary' => '更新一个文件的基本信息,如描述信息。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '删除目录',
+ 'summary' => '删除目录。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDirectory'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteFile' => [
+ 'summary' => '删除一个文件对象。'."\n"
+ .'文件在上传/预推中时,不允许删除。文件删除后,所有相关的推送记录将失效,可重新推送同名文件。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6167,34 +4512,14 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
- 'abilityTreeCode' => '215941',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '215939',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
'name' => 'FileId',
'in' => 'query',
- 'schema' => [
- 'title' => '文件ID,对应唯一的文件。如f-xxx',
- 'description' => '文件ID,对应唯一的文件',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-16713accddtgtj6340jgnclhwsg1813f718db2f7',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'title' => '文件描述信息',
- 'description' => '文件描述信息',
- 'type' => 'string',
- 'required' => true,
- 'example' => '测试使用',
- 'maxLength' => 255,
- ],
+ 'schema' => ['title' => '文件ID,对应唯一的文件。如f-xxx', 'description' => '文件ID,对应唯一的文件', 'type' => 'string', 'required' => true, 'example' => 'f-167131acd45omat771813f7141d28db2f7'],
],
],
'responses' => [
@@ -6204,321 +4529,247 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新文件基本信息',
- ],
- 'PushFile' => [
- 'summary' => '推送一个文件到一个指定云应用服务实例。'."\n"
- .'属于异步操作,可通过ListFilePushStatuses接口查询推送进度。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '删除文件',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '215938',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'FileId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '文件ID',
- 'description' => '文件ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7',
- ],
+ 'schema' => ['description' => '空间Id', 'type' => 'string', 'required' => true, 'example' => '33763950751395843'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => 'Request Id', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '推送文件',
- ],
- 'ListFilePushStatuses' => [
- 'summary' => '查询文件的云应用服务实例推送状态信息列表,支持分页查询。',
- 'methods' => [
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '删除业务空间',
+ 'summary' => '删除业务空间。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteHive' => [
+ 'summary' => '根据指定ID删除一个空的集群。',
+ 'description' => '## 请求说明'."\n"
+ .'- 需要确保该集群内所有应用服务已清空,否则无法执行删除操作。'."\n"
+ .'- `HiveId` 是必填参数,用于标识待删除的集群。'."\n",
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215940',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'FileId',
+ 'name' => 'HiveId',
'in' => 'query',
+ 'schema' => ['description' => '云应用服务组ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'g-xxxx'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '文件ID,对应唯一的文件。如f-xxx',
- 'description' => '文件ID,对应唯一的文件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除集群',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteParentPlatform' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云渲染实例ID,用于查询指定实例上安装的云应用',
- 'description' => '云应用服务实例ID,用于查询指定实例上安装的文件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'FileName',
+ 'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '359*****374-cn-qingdao'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '文件名',
- 'description' => '文件名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'myfile',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteParentPlatformResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DeleteParentPlatformResponse>","errorExample":""}]',
+ 'title' => '删除上级平台',
+ 'summary' => '删除上级平台。',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteParentPlatform'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'title' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1。',
- 'description' => '查询列表的页码。起始值为1。'."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DeletePreset' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
- .'默认值:10。',
- 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
- .'默认值:10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-06-17T12:16:00Z',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PresetId',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-06-23T02:13:00Z',
- ],
+ 'schema' => ['description' => '预置位ID。', 'type' => 'string', 'required' => true, 'example' => '2'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'PushStatuses' => [
- 'title' => '文件预推信息列表',
- 'description' => '文件推送信息列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'title' => '文件预推状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态',
- 'description' => '文件推送状态,取值范围:'."\n"
- .'1. Created'."\n"
- .'2. Doing'."\n"
- .'3. Success:终态'."\n"
- .'4. Failed:终态',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'PushTime' => [
- 'title' => '预推开始时间',
- 'description' => '预推开始时间',
- 'type' => 'string',
- 'example' => '2024-03-26T16:32:20+08:00',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云渲染实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'."\n",
- ],
- 'StatusDescription' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => 'push success',
- ],
- 'FileName' => [
- 'title' => '文件名',
- 'description' => '文件名',
- 'type' => 'string',
- 'example' => 'myfile',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-03-26T17:02:10+08:00',
- ],
- 'FileId' => [
- 'title' => '文件ID',
- 'description' => '文件ID',
- 'type' => 'string',
- 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '记录总数',
- 'description' => '匹配的文件推送记录总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'title' => '查询列表的页码。',
- 'description' => '查询列表的页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '分页查询时设置的每页行数',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F18FD685-B194-4489-9609-F80A9490A258'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PushStatuses\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"PushTime\\": \\"2024-03-26T16:32:20+08:00\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\\\n\\",\\n \\"StatusDescription\\": \\"push success\\",\\n \\"FileName\\": \\"myfile\\",\\n \\"UpdateTime\\": \\"2024-03-26T17:02:10+08:00\\",\\n \\"FileId\\": \\"f-1671accd4dafdag3er256cvgewt13f7141db2f7\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
- 'title' => '查询文件推送状态信息列表',
- ],
- 'DeleteFile' => [
- 'summary' => '删除一个文件对象。'."\n"
- .'文件在上传/预推中时,不允许删除。文件删除后,所有相关的推送记录将失效,可重新推送同名文件。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"F18FD685-B194-4489-9609-F80A9490A258\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '删除预置位',
+ 'summary' => '删除预置位。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePreset'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeletePreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeletePublicKey' => [
+ 'summary' => '删除一个指定公钥。该公钥关联的所有云应用服务实例将自动失效登录授权。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6527,22 +4778,14 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
- 'abilityTreeCode' => '215939',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '207905',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'FileId',
+ 'name' => 'KeyName',
'in' => 'query',
- 'schema' => [
- 'title' => '文件ID,对应唯一的文件。如f-xxx',
- 'description' => '文件ID,对应唯一的文件',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-167131acd45omat771813f7141d28db2f7',
- ],
+ 'schema' => ['title' => '公钥名称', 'description' => '公钥名称', 'type' => 'string', 'required' => true, 'example' => 'appKey'],
],
],
'responses' => [
@@ -6552,68 +4795,80 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除文件',
- ],
- 'CreateRenderingInstanceGateway' => [
- 'summary' => '创建自定义网关。',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '删除公钥',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePublicKey'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeletePublicKey',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteRenderingInstanceConfiguration' => [
+ 'summary' => '清除一个云应用服务实例的配置设置。仅可删除通过UpdateRenderingInstanceConfiguration接口已配置的模块属性。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '247654',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '213808',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'GatewayInstanceId',
- 'in' => 'query',
+ 'name' => 'Configuration',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '自定义网关实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'render-xxx',
+ 'title' => '配置内容',
+ 'description' => '配置内容,默认清理所有已配置模块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '真机仿真模块属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModuleName' => ['title' => '模块名称', 'description' => '模块名称', 'type' => 'string', 'required' => true, 'example' => 'location'],
+ 'AttributeNames' => [
+ 'title' => '模块对应的属性列表',
+ 'description' => '要清除配置的属性名列表,默认清理该模块所有已配置属性',
+ 'type' => 'array',
+ 'items' => ['description' => '属性名', 'type' => 'string', 'required' => false, 'example' => 'lon'],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'deprecated' => false,
+ 'required' => false,
],
],
],
@@ -6624,47 +4879,46 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '创建自定义网关',
- 'description' => '> 模板ID和模板类型至少指定一个。',
- ],
- 'ListRenderingInstanceGateway' => [
- 'summary' => '查询自定义网关。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
+ 'title' => '删除云应用服务实例的配置设置',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteRenderingInstanceGateway' => [
+ 'summary' => '删除自定义网关。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '247655',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeCode' => '247658',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -6672,68 +4926,7 @@
[
'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'GatewayInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '网关实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-xxx',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询列表的页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- 'default' => '10',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-18T02:20:00Z',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-05-20T12:23:02Z',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
'responses' => [
@@ -6743,98 +4936,47 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'GatewayConfigurationInfos' => [
- 'description' => '自定义网关信息列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GatewayInstanceId' => [
- 'description' => '自定义网关实例ID。',
- 'type' => 'string',
- 'example' => 'render-xxx',
- ],
- 'Status' => [
- 'description' => '自定义网关状态,取值范围:'."\n"
- .'1. 中间态:creating, deleting, '."\n"
- .'2. 终态:available, failed',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID。',
- 'type' => 'string',
- 'example' => 'render-342012a227dc4ddf91f024639e43051a',
- ],
- 'CreationTime' => [
- 'description' => '云应用服务实例创建时间',
- 'type' => 'string',
- 'example' => '2024-10-15 10:19:13',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-11-02 12:08:26',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'description' => '安装记录总数',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'PageNumber' => [
- 'description' => '查询列表的页码',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '删除自定义网关',
+ 'description' => '> 需先停止上级平台再删除。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GatewayConfigurationInfos\\": [\\n {\\n \\"GatewayInstanceId\\": \\"render-xxx\\",\\n \\"Status\\": \\"available\\",\\n \\"RenderingInstanceId\\": \\"render-342012a227dc4ddf91f024639e43051a\\",\\n \\"CreationTime\\": \\"2024-10-15 10:19:13\\",\\n \\"UpdateTime\\": \\"2024-11-02 12:08:26\\"\\n }\\n ],\\n \\"TotalCount\\": \\"100\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\"\\n}","type":"json"}]',
- 'title' => '查询自定义网关',
- 'description' => '>模板ID和模板类型至少指定一个。',
],
- 'DeleteRenderingInstanceGateway' => [
- 'summary' => '删除自定义网关。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteRenderingInstanceSettings' => [
+ 'summary' => '调用 DeleteRenderingInstanceSettings 删除云应用服务实例设置',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '247658',
- 'abilityTreeNodes' => [
- 'FEATUREvs8VD2LG',
- ],
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -6842,11 +4984,23 @@
[
'name' => 'RenderingInstanceId',
'in' => 'query',
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ [
+ 'name' => 'AttributeNames',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
+ 'description' => '属性名列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性名',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['statbar.hide' => 'statbar.hide', 'navbar.hide' => 'navbar.hide'],
+ 'example' => 'navbar.hide',
+ ],
'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
],
],
],
@@ -6857,32 +5011,34 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除自定义网关',
- 'description' => '> 需先停止上级平台再删除。',
- ],
- 'CreateRenderingProject' => [
- 'summary' => '创建一个新的云应用服务项目,并设置会话等相关属性。',
- 'path' => '/',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
+ 'title' => '删除云应用服务实例设置',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceSettings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteRenderingProject' => [
+ 'summary' => '删除一个云应用服务项目,有在线会话等业务调度数据的项目不允许删除。',
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6891,74 +5047,16 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'ProjectName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '自定义项目名,将作为项目的唯一标记。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度1-128'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'description' => '自定义项目名,将作为项目的唯一标记。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度1-128'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'du_merchant_d',
- 'maxLength' => 128,
- 'minLength' => 1,
- ],
- ],
- [
- 'name' => 'SessionAttribs',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '会话属性',
- 'description' => '会话属性',
- 'type' => 'object',
- 'properties' => [
- 'StartMode' => [
- 'title' => '会话启动云应用服务的模式,取值范围,'."\n"
- .'1. Async:异步'."\n"
- .'2. Sync:同步',
- 'description' => '会话启动云应用服务的模式,取值范围,'."\n"
- .'1. Async:异步'."\n"
- .'2. Sync:同步',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Async',
- 'enum' => [
- 'Async',
- 'Sync',
- ],
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Description',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'title' => '项目描述信息,0-255',
- 'description' => '项目描述信息,0-255',
- 'type' => 'string',
- 'required' => false,
- 'example' => '项目概述',
- 'maxLength' => 255,
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
],
'responses' => [
@@ -6968,342 +5066,267 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'ProjectId' => [
- 'description' => '项目ID。您可以调用ListRenderingProjects查看项目的ID。',
- 'type' => 'string',
- 'example' => 'project-b93ea81de76f48609eed3cd420f0399f',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '删除项目',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ProjectId\\": \\"project-b93ea81de76f48609eed3cd420f0399f\\"\\n}","type":"json"}]',
- 'title' => ' 创建项目',
],
- 'ListRenderingProjects' => [
- 'summary' => '分页查询用户下的云应用服务项目基本信息列表。',
- 'description' => '## 请求说明'."\n"
- .'- 该接口用于分页查询指定用户下的渲染项目基本信息列表。'."\n"
- .'- 可通过 `ProjectId` 和 `ProjectName` 进行过滤查询。'."\n",
- 'path' => '/',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '删除模版',
+ 'summary' => '删除模板。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTemplate'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ProjectName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目名称',
- 'description' => '项目名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'idata_content',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DeleteVsPullStreamInfoConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'title' => '页码,起始值为1',
- 'description' => '页码,起始值为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '您的拉流域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-09-29T16:00:00Z',
- ],
+ 'schema' => ['description' => '直播流所属应用名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxApp'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'StreamName',
'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-10-03T02:18:00Z',
- ],
+ 'schema' => ['description' => '直播流名。', 'type' => 'string', 'required' => true, 'example' => 'xxxStream'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Projects' => [
- 'title' => '项目列表',
- 'description' => '项目列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '项目信息',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '项目描述信息',
- 'description' => '项目描述信息',
- 'type' => 'string',
- 'example' => 'description',
- ],
- 'ProjectName' => [
- 'title' => '项目名称',
- 'description' => '项目名称',
- 'type' => 'string',
- 'example' => 'prod-project',
- ],
- 'ProjectId' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- 'CreationTime' => [
- 'description' => '项目创建时间',
- 'type' => 'string',
- 'example' => '2024-09-09T18:44:49+08:00',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-10-09T18:44:49+08:00',
- ],
- 'SessionAttribs' => [
- 'title' => '项目会话属性',
- 'description' => '项目会话属性',
- 'type' => 'object',
- 'properties' => [
- 'StartMode' => [
- 'description' => '启动模式',
- 'type' => 'string',
- 'example' => 'Sync',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'title' => '匹配的项目总数',
- 'description' => '匹配的项目总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Projects\\": [\\n {\\n \\"Description\\": \\"description\\",\\n \\"ProjectName\\": \\"prod-project\\",\\n \\"ProjectId\\": \\"project-422bc38dfgh5eb44149f135ef76304f63b\\",\\n \\"CreationTime\\": \\"2024-09-09T18:44:49+08:00\\",\\n \\"UpdateTime\\": \\"2024-10-09T18:44:49+08:00\\",\\n \\"SessionAttribs\\": {\\n \\"StartMode\\": \\"Sync\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]',
- 'title' => '查询项目列表',
- ],
- 'UpdateRenderingProject' => [
- 'summary' => '更新一个项目的属性信息',
- 'path' => '',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '删除拉取流信息配置',
+ 'summary' => '删除拉流信息。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVsPullStreamInfoConfig'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteVsStreamsNotifyUrlConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
- [
- 'name' => 'ProjectName',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '自定义项目名,将作为项目的唯一标记。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度1-128'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字'."\n"
- .'ProjectName/SessionAttribs/Description 至少一项非空',
- 'description' => '自定义项目名,将作为项目的唯一标记。'."\n"
- .'默认取值规范:'."\n"
- .'1. 长度1-128'."\n"
- .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
- .'3. 首、尾字符必须为字母或数字'."\n"
- .'ProjectName/SessionAttribs/Description 至少一项非空',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'idata_content',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4C747C97-7ECD-4C61-8A92-67AD806331FF'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4C747C97-7ECD-4C61-8A92-67AD806331FF\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVsStreamsNotifyUrlConfigResponse>\\n <RequestId>4C747C97-7ECD-4C61-8A92-67AD806331FF</RequestId>\\n</DeleteVsStreamsNotifyUrlConfigResponse>","errorExample":""}]',
+ 'title' => '删除推流回调配置',
+ 'summary' => '删除推流回调配置。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVsStreamsNotifyUrlConfig'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SessionAttribs',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '会话属性',
- 'description' => '会话属性',
- 'type' => 'object',
- 'properties' => [
- 'StartMode' => [
- 'title' => '会话启动云应用服务的模式,取值范围,'."\n"
- .'1. Async:异步'."\n"
- .'2. Sync:同步',
- 'description' => '会话启动云应用服务的模式,取值范围,'."\n"
- .'1. Async:异步'."\n"
- .'2. Sync:同步',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Async',
- 'enum' => [
- 'Async',
- 'Sync',
- ],
- ],
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
],
],
+ ],
+ ],
+ 'DescribeAccountStat' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Description',
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '项目描述',
- 'description' => '项目描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '目录1',
- 'maxLength' => 255,
- ],
+ 'schema' => ['description' => '主账号ID。', 'type' => 'string', 'required' => false, 'example' => '1165*****601'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'TemplateNum' => ['description' => '当前模板数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'GroupLimit' => ['description' => '最大设备空间数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TemplateLimit' => ['description' => '最大模板数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'GroupNum' => ['description' => '当前服务地域下的空间数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'Id' => ['description' => '主账号ID。', 'type' => 'string', 'example' => '1165*****601'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新项目信息',
- ],
- 'AssociateRenderingProjectInstances' => [
- 'summary' => '云应用服务实例与项目进行关联。',
- 'description' => '## 请求说明'."\n"
- .'- 该接口用于将满足特定条件的实例与指定项目进行关联。'."\n",
- 'path' => '/',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateNum\\": 10,\\n \\"GroupLimit\\": 100,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TemplateLimit\\": 20,\\n \\"GroupNum\\": 6,\\n \\"Id\\": \\"1165*****601\\"\\n}","type":"json"}]',
+ 'title' => '查询账号状态',
+ 'summary' => '查询某个账号在指定地域下的所有资源信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccountStat'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeAccountStat',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeComfyProductionDownloadUrl' => [
+ 'summary' => '获取用户生成结果的下载链接',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7312,40 +5335,17 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'ProductionId',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'RenderingInstanceIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '云应用服务实例ID列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-4523e7b93ca246febd10cd12347d70c0',
- ],
- 'required' => true,
- ],
+ 'schema' => ['title' => '指定生成物ID进行下载', 'description' => '生成物ID', 'type' => 'string', 'required' => true, 'example' => '3e5bda20-5cd4-4d55-8d23-88d624a18caa'],
],
],
'responses' => [
@@ -7355,200 +5355,58 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SuccessInstanceCount' => [
- 'title' => '成功的云应用服务实例量',
- 'description' => '成功的云应用服务实例量',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'FailedInstanceCount' => [
- 'title' => '失败的云应用服务实例量',
- 'description' => '失败的云应用服务实例量',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'SuccessInstances' => [
- 'description' => '关联成功的实例列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用服务实例ID与关联结果描述信息',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-5130e2feb23f442fb9456a3d977f03d4',
- ],
- 'Message' => [
- 'title' => '描述信息',
- 'description' => '描述信息',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- ],
- ],
- ],
- 'FailedInstances' => [
- 'description' => '关联失败的实例列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用服务实例ID与关联失败信息',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c',
- ],
- 'Message' => [
- 'title' => '失败原因',
- 'description' => '失败原因',
- 'type' => 'string',
- 'example' => 'invalid id',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'DownloadUrl' => ['title' => '生成物的现在连接,使用阿里云Oss的SDK进行下载', 'description' => '生成物的现在连接,使用阿里云Oss的SDK进行下载', 'type' => 'string', 'example' => 'https://xxx.xxx.xxx'],
+ 'ExpiredTime' => ['title' => '下载链接过期时间', 'description' => '下载链接过期时间', 'type' => 'string', 'example' => '2029-03-28T16:00Z'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取生成结果的下载链接',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": \\"5\\",\\n \\"FailedInstanceCount\\": \\"0\\",\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-5130e2feb23f442fb9456a3d977f03d4\\",\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"Message\\": \\"invalid id\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '项目增加实例关联',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"DownloadUrl\\": \\"https://xxx.xxx.xxx\\",\\n \\"ExpiredTime\\": \\"2029-03-28T16:00Z\\"\\n}","type":"json"}]',
],
- 'ListRenderingProjectInstances' => [
- 'summary' => '分页查询项目关联的云应用服务实例信息列表。',
- 'description' => '## 请求说明'."\n"
- .'- 该接口支持通过多种筛选条件(如状态、实例ID等)来查询指定项目下的云应用服务实例。'."\n",
- 'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeComfyProductions' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'RenderingInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- ],
- [
- 'name' => 'State',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例业务调度状态,取值范围,'."\n"
- .'1. Idle:空闲'."\n"
- .'2. Locked:锁定中'."\n"
- .'3. InUse:使用中',
- 'description' => '项目实例状态,取值范围,'."\n"
- .'1. Idle:空闲'."\n"
- .'2. Locked:锁定中'."\n"
- .'3. InUse:使用中',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Idle',
- 'enum' => [
- 'Idle',
- 'Locked',
- 'InUse',
- ],
- ],
+ 'schema' => ['title' => '查询指定ComfyTask的生成物', 'description' => '查询指定ComfyTask的生成物', 'type' => 'string', 'required' => true, 'example' => '6c8234f4-d1e1-4cea-b08b-7926fbdea144'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '页码,起始值为1',
- 'description' => '页码,起始值为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-11-27T16:00:00Z',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-11-30T02:18:00Z',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -7558,113 +5416,89 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RenderingInstances' => [
- 'title' => '云应用服务实例列表',
- 'description' => '云应用服务实例列表',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['title' => 'Id of the request', 'description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'Productions' => [
'type' => 'array',
'items' => [
- 'description' => '云应用服务实例基本信息',
+ 'description' => '云产品简短名称。',
'type' => 'object',
'properties' => [
- 'AssociationTime' => [
- 'title' => '关联时间',
- 'description' => '关联时间',
- 'type' => 'string',
- 'example' => '2024-09-11T18:19:04+08:00',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例',
- 'description' => '云应用服务实例',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'StateInfo' => [
- 'title' => '业务调度状态信息',
- 'description' => '项目实例状态信息',
- 'type' => 'object',
- 'properties' => [
- 'Comment' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => '正在会话中',
- ],
- 'State' => [
- 'title' => '业务调度状态',
- 'description' => '项目实例状态',
- 'type' => 'string',
- 'example' => 'InUse',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-11-11T18:19:04+08:00',
- ],
- ],
- ],
+ 'ProductionId' => ['title' => '生成物ID', 'description' => '生成物ID', 'type' => 'string', 'example' => '3e5bda20-5cd4-4d55-8d23-88d624a18caa'],
+ 'ComfyTaskId' => ['title' => 'Comfy任务ID', 'description' => 'Comfy任务ID', 'type' => 'string', 'example' => '6c8234f4-d1e1-4cea-b08b-7926fbdea144'],
+ 'State' => ['title' => '生成物状态', 'description' => '生成物状态', 'type' => 'string', 'example' => 'NORMAL'],
+ 'FileName' => ['title' => '生成物文件名', 'description' => '生成物文件名', 'type' => 'string', 'example' => '1755051607877.mp4'],
+ 'CreationTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2026-02-06T20:20:26+08:00'],
+ 'UpdatedTime' => ['title' => '最后修改时间', 'description' => '最后修改时间', 'type' => 'string', 'example' => '1773707865'],
],
],
+ 'description' => '',
],
- 'TotalCount' => [
- 'title' => '云应用服务实例数目',
- 'description' => '云应用服务实例数目',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
+ 'PageNumber' => ['description' => '第几页。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '报警规则总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取生成物列表',
+ 'summary' => '列举用户的生成结果',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstances\\": [\\n {\\n \\"AssociationTime\\": \\"2024-09-11T18:19:04+08:00\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"StateInfo\\": {\\n \\"Comment\\": \\"正在会话中\\",\\n \\"State\\": \\"InUse\\",\\n \\"UpdateTime\\": \\"2024-11-11T18:19:04+08:00\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]',
- 'title' => '查询项目的实例关联信息',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"Productions\\": [\\n {\\n \\"ProductionId\\": \\"3e5bda20-5cd4-4d55-8d23-88d624a18caa\\",\\n \\"ComfyTaskId\\": \\"6c8234f4-d1e1-4cea-b08b-7926fbdea144\\",\\n \\"State\\": \\"NORMAL\\",\\n \\"FileName\\": \\"1755051607877.mp4\\",\\n \\"CreationTime\\": \\"2026-02-06T20:20:26+08:00\\",\\n \\"UpdatedTime\\": \\"1773707865\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1\\n}","type":"json"}]',
],
- 'GetRenderingProjectInstanceStateMetrics' => [
- 'summary' => '查询一个项目满足特定条件的项目实例各状态数据量统计值。',
- 'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeComfyTasks' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'WorkflowId',
+ 'in' => 'query',
+ 'schema' => ['title' => 'Comfy工作流ID,作为过滤条件使用', 'description' => 'Comfy工作流ID,作为过滤条件使用', 'type' => 'string', 'required' => false, 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
+ ],
+ [
+ 'name' => 'TaskState',
'in' => 'query',
'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
+ 'title' => '任务状态,作为过滤条件使用',
+ 'description' => '任务状态,作为过滤条件使用',
'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
+ 'required' => false,
+ 'example' => 'QUEUED',
+ 'enum' => ['QUEUED', 'SCHEDULING', 'SCHEDULED', 'EXECUTING', 'COMPLETED', 'FAILED', 'CANCELLED'],
],
],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页编号', 'description' => '分页编号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '每页显示的记录数量', 'description' => '每页显示的记录数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ ],
],
'responses' => [
200 => [
@@ -7673,53 +5507,50 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'StateMetrics' => [
- 'description' => '项目实例状态统计信息列表',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['title' => 'Id of the request', 'description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'Tasks' => [
+ 'description' => '任务列表',
'type' => 'array',
'items' => [
- 'description' => '项目实例状态统计信息',
'type' => 'object',
'properties' => [
- 'State' => [
- 'title' => '项目实例状态',
- 'description' => '项目实例状态',
- 'type' => 'string',
- 'example' => 'Idle',
- ],
- 'Count' => [
- 'title' => '实例数量',
- 'description' => '实例数量',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'TaskId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'string', 'example' => '6c8234f4-d1e1-4cea-b08b-7926fbdea144'],
+ 'WorkflowId' => ['title' => '任务所使用的Comfy工作流ID', 'description' => '任务所使用的Comfy工作流ID', 'type' => 'string', 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
+ 'HiveId' => ['title' => '任务所使用的资源池ID', 'description' => '任务所使用的资源池ID', 'type' => 'string', 'example' => 'hive-26cd567b35c04a0a90f017388207b2'],
+ 'TaskState' => ['title' => '任务状态', 'description' => '任务状态', 'type' => 'string', 'example' => 'RUNNING'],
+ 'CreationTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '1780387493000'],
+ 'UpdatedTime' => ['title' => '最后修改时间', 'description' => '最后修改时间', 'type' => 'string', 'example' => '1780387494000'],
+ 'EndTime' => ['title' => '任务结束时间', 'description' => '任务结束时间', 'type' => 'string', 'example' => '1780387494000'],
],
+ 'description' => '',
],
],
+ 'PageNumber' => ['description' => '第几页。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。'."\n"
+ .'> 仅限录制查询。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '任务数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询Comfy任务列表',
+ 'summary' => '查询Comfy任务列表',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"StateMetrics\\": [\\n {\\n \\"State\\": \\"Idle\\",\\n \\"Count\\": \\"10\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询项目实例状态统计信息',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskId\\": \\"6c8234f4-d1e1-4cea-b08b-7926fbdea144\\",\\n \\"WorkflowId\\": \\"wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f\\",\\n \\"HiveId\\": \\"hive-26cd567b35c04a0a90f017388207b2\\",\\n \\"TaskState\\": \\"RUNNING\\",\\n \\"CreationTime\\": \\"1780387493000\\",\\n \\"UpdatedTime\\": \\"1780387494000\\",\\n \\"EndTime\\": \\"1780387494000\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1\\n}","type":"json"}]',
],
- 'DisassociateRenderingProjectInstances' => [
- 'summary' => '云应用服务实例与项目解除关联关系。',
- 'path' => '/',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeComfyUserDataDownloadUrl' => [
+ 'summary' => '获取用户数据下载URL',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7728,40 +5559,17 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'RenderingInstanceIds',
+ 'name' => 'FileName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '云应用服务实例ID列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-a371588064324c57b7b0133a96cbd17a',
- ],
- 'required' => true,
- ],
+ 'schema' => ['title' => '下载文件的文件名。'."\n", 'description' => '下载文件的文件名。'."\n", 'type' => 'string', 'required' => true, 'example' => 'myfile'],
],
],
'responses' => [
@@ -7771,86 +5579,29 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SuccessInstances' => [
- 'description' => '解除关联成功的实例列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '解除关联成功的实例ID与结果描述信息',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-e6cf423c787e4e43b460a788da254fe3',
- ],
- 'Message' => [
- 'title' => '描述信息',
- 'description' => '描述信息',
- 'type' => 'string',
- 'example' => 'success',
- ],
- ],
- ],
- ],
- 'FailedInstances' => [
- 'description' => '解除关联失败的实例列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '解除关联失败的实例ID与失败描述信息',
- 'type' => 'object',
- 'properties' => [
- 'RenderingInstanceId' => [
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-421cd2a1125947c19fcd5c7dd2c7d31e',
- ],
- 'Message' => [
- 'title' => '失败原因',
- 'description' => '失败原因',
- 'type' => 'string',
- 'example' => '会话中',
- ],
- ],
- ],
- ],
- 'SuccessInstanceCount' => [
- 'title' => '成功的云应用服务实例量',
- 'description' => '成功的云应用服务实例量',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'FailedInstanceCount' => [
- 'title' => '失败的云应用服务实例量',
- 'description' => '失败的云应用服务实例量',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息。', 'type' => 'string', 'example' => 'success'],
+ 'DownloadUrl' => ['description' => '应用包下载地址', 'type' => 'string', 'example' => 'https://xxx.xxx.xxx.'],
+ 'ExpiredTime' => ['description' => '下载链接过期时间', 'type' => 'string', 'example' => '1752805579553'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\",\\n \\"Message\\": \\"success\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-421cd2a1125947c19fcd5c7dd2c7d31e\\",\\n \\"Message\\": \\"会话中\\"\\n }\\n ],\\n \\"SuccessInstanceCount\\": \\"5\\",\\n \\"FailedInstanceCount\\": \\"0\\"\\n}","type":"json"}]',
- 'title' => '项目解除实例关联',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取用户数据下载链接',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"DownloadUrl\\": \\"https://xxx.xxx.xxx.\\",\\n \\"ExpiredTime\\": \\"1752805579553\\"\\n}","type":"json"}]',
],
- 'DeleteRenderingProject' => [
- 'summary' => '删除一个云应用服务项目,有在线会话等业务调度数据的项目不允许删除。',
+ 'DescribeComfyUserDataUploadUrl' => [
'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7859,24 +5610,32 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
+ 'schema' => ['title' => '上传文件的文件名。文件名格式可以上传单文件名(例如:1.jpg)或路径格式(例如:dircectory1/1.jpg)', 'description' => '上传文件的文件名。文件名格式可以上传单文件名(例如:1.jpg)或路径格式(例如:dircectory1/1.jpg)', 'type' => 'string', 'required' => true, 'example' => 'myfile'],
+ ],
+ [
+ 'name' => 'FileSizeBytes',
+ 'in' => 'query',
+ 'schema' => ['title' => '待上传文件的实际Byte大小。该值必须为待上传文件的实际Byte大小,在通过上传URL时会对文件大小进行校验', 'description' => '待上传文件的实际Byte大小。该值必须为待上传文件的实际Byte大小,在通过上传URL时会对文件大小进行校验', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1024'],
+ ],
+ [
+ 'name' => 'FileMd5',
+ 'in' => 'query',
+ 'schema' => ['title' => '待上传文件的MD5值。该值必须为待上传文件的实际MD5值,在通过上传URL时会对文件大小进行校验', 'description' => '待上传文件的MD5值。该值必须为待上传文件的实际MD5值,在通过上传URL时会对文件大小进行校验', 'type' => 'string', 'required' => true, 'example' => '54d6911ba6d59dbe68990835a409f18c'],
+ ],
+ [
+ 'name' => 'ContentType',
+ 'in' => 'query',
+ 'schema' => ['title' => '上传文件类型', 'description' => '上传文件类型', 'type' => 'string', 'required' => true, 'example' => 'application/jpeg'],
],
],
'responses' => [
@@ -7886,32 +5645,31 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'UploadUrl' => ['title' => '用户文件上传链接', 'description' => '用户文件上传链接', 'type' => 'string', 'example' => 'oss-bucket.oss-cn-shanghai-cloudspe.aliyuncs.com/path/userid/test.png?x-oss-date=20260602T093618Z&x-oss-expires=29&x-oss-security-token=xxxxx%2F68FY2NI6nyNgueynMjneKjKXD6l5tS5h3S2%xxxxx%xxxx%xxxxxxx%2Fb%xxxx%sdffeeeaasdf%xxx%xx%xx%xxxx%2BeASOv2N8q%xxx%2B6XBxllroojFliSTfsqGI2YMHpoRwJmyfXK32BQPb2SvQ0AM23soq%2FspAI4f9vtFG0yv9fKWMw%xxxxxxxxx%xxxxxxxx%3D%3D&x-oss-signature-version=OSS4-HMAC&x-oss-credential=STS.xxxxx%2F20260dfa202%2Fcn-shanghai-cloud%2Foss%2Faliyun_v4_request&x-oss-signature=xxxxxxxxxxxxxx'],
+ 'ExpiredTime' => ['title' => '上传链接过期时间', 'description' => '上传链接过期时间', 'type' => 'string', 'example' => '2026-08-28T16:00Z'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除项目',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取用户文件上传URL',
+ 'summary' => '获取用户文件上传URL,使用该URL进行文件上传',
+ 'description' => '获取的URL需使用阿里云OSSSDK进行上传',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"SUCCESS\\",\\n \\"UploadUrl\\": \\"oss-bucket.oss-cn-shanghai-cloudspe.aliyuncs.com/path/userid/test.png?x-oss-date=20260602T093618Z&x-oss-expires=29&x-oss-security-token=xxxxx%2F68FY2NI6nyNgueynMjneKjKXD6l5tS5h3S2%xxxxx%xxxx%xxxxxxx%2Fb%xxxx%sdffeeeaasdf%xxx%xx%xx%xxxx%2BeASOv2N8q%xxx%2B6XBxllroojFliSTfsqGI2YMHpoRwJmyfXK32BQPb2SvQ0AM23soq%2FspAI4f9vtFG0yv9fKWMw%xxxxxxxxx%xxxxxxxx%3D%3D&x-oss-signature-version=OSS4-HMAC&x-oss-credential=STS.xxxxx%2F20260dfa202%2Fcn-shanghai-cloud%2Foss%2Faliyun_v4_request&x-oss-signature=xxxxxxxxxxxxxx\\",\\n \\"ExpiredTime\\": \\"2026-08-28T16:00Z\\"\\n}","type":"json"}]',
],
- 'StartRenderingSession' => [
- 'summary' => '为请求端(ClientId)调度一个空闲云应用服务实例,并完成服务启动。'."\n"
- .'如果请求端(ClientId)启动请求发起成功后重复发起启动请求,若已关联会话处于启动暂停(SessionStartSuspended)状态,则重启会话;若会话为其他状态,则直接返回会话信息。',
- 'path' => '/',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeComfyUserDatas' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7920,81 +5678,27 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'ClientId',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'title' => '终端客户的唯一ID',
- 'description' => '终端客户的唯一ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '04c30850-1d91-4da1-b811-66d0ee94af7d',
- ],
+ 'schema' => ['title' => '查询的文件的文件名。或要查询的目录(传入为路径格式,以/结尾)', 'description' => '查询的文件的文件名。或要查询的目录(传入为路径格式,以/结尾)', 'type' => 'string', 'required' => false, 'example' => 'myfile'],
],
[
- 'name' => 'AppId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
+ 'schema' => ['description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ClientParams',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '终端客户的参数信息',
- 'description' => '终端客户的参数信息',
- 'type' => 'object',
- 'properties' => [
- 'ClientIp' => [
- 'title' => '终端客户Ip,将默认用于位置就近实例调度',
- 'description' => '终端客户Ip,将默认用于位置就近实例调度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '106.11.43.1',
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PatchId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用补丁包ID。'."\n"
- .'1. 默认启动AppId稳定版本(未设置稳定Patch版本时,默认为原始版本)'."\n"
- .'2. 输入origin时,启动原始版本',
- 'description' => '云应用补丁包ID。'."\n"
- .'1. 默认启动AppId稳定版本(未设置稳定Patch版本时,默认为原始版本)'."\n"
- .'2. 输入origin时,启动原始版本',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-03fa76e8e13a49b63456b063dgh309b4',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -8004,119 +5708,51 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SessionId' => [
- 'title' => '会话ID',
- 'description' => '会话ID',
- 'type' => 'string',
- 'example' => 'session-i205217481741918129226',
- ],
- 'Hostname' => [
- 'title' => '实例hostname,默认为出口Eip',
- 'description' => '实例hostname,默认为访问Eip',
- 'type' => 'string',
- 'example' => 'cn-xxx.ecr.aliyuncs.com',
- ],
- 'PortMappings' => [
- 'title' => '端口映射信息',
- 'description' => '端口映射信息',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['title' => 'Id of the request', 'description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'UserDatas' => [
'type' => 'array',
'items' => [
- 'description' => '端口映射信息',
'type' => 'object',
'properties' => [
- 'ExternalPort' => [
- 'title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '10013/10020',
- ],
- 'InternalPort' => [
- 'title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '49008/49015',
- ],
- ],
- ],
- ],
- 'StateInfo' => [
- 'title' => '业务调度状态信息',
- 'description' => '会话状态信息',
- 'type' => 'object',
- 'properties' => [
- 'State' => [
- 'title' => '业务调度状态',
- 'description' => '会话状态',
- 'type' => 'string',
- 'example' => 'SessionStarting',
- ],
- 'Comment' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => '会话启动中',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2021-05-06T06:37Z',
- ],
- ],
- ],
- 'Location' => [
- 'title' => '云应用服务实例位置信息',
- 'description' => '云应用服务实例位置信息',
- 'type' => 'object',
- 'properties' => [
- 'ProvinceCode' => [
- 'title' => '云应用服务实例所属省份码',
- 'description' => '云应用服务实例所属省份码',
- 'type' => 'string',
- 'example' => '610000',
+ 'Type' => ['title' => '文件类型,取值为file或dir', 'description' => '文件类型,取值为file或dir', 'type' => 'string', 'example' => 'file'],
+ 'FileSize' => ['title' => '文件大小,单位字节', 'description' => '文件大小,单位字节', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'FileName' => ['title' => '文件名或目录名', 'description' => '文件名或目录名', 'type' => 'string', 'example' => 'myfile'],
+ 'UpdatedTime' => ['title' => '最后修改时间', 'description' => '最后修改时间', 'type' => 'string', 'example' => '1776646928000'],
],
+ 'description' => '',
],
+ 'description' => '',
],
- 'IsRepeatedRequest' => [
- 'title' => '是否是重复请求',
- 'description' => '是否是重复请求',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'PageNumber' => ['description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Total' => ['description' => '记录总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询用户数据集',
+ 'summary' => '列举用户数据的中所有文件和目录的信息。',
+ 'description' => '不指定 StartTime 和 EndTime 时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n"
+ .'最大查询范围 31 天。'."\n"
+ ."\n"
+ .'* 支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n"
+ .'* 最多可获取最近 90 天的数据。'."\n"
+ .'* 时间粒度为小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\",\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"StateInfo\\": {\\n \\"State\\": \\"SessionStarting\\",\\n \\"Comment\\": \\"会话启动中\\",\\n \\"UpdateTime\\": \\"2021-05-06T06:37Z\\"\\n },\\n \\"Location\\": {\\n \\"ProvinceCode\\": \\"610000\\"\\n },\\n \\"IsRepeatedRequest\\": false,\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
- 'title' => '启动会话',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"UserDatas\\": [\\n {\\n \\"Type\\": \\"file\\",\\n \\"FileSize\\": 1024,\\n \\"FileName\\": \\"myfile\\",\\n \\"UpdatedTime\\": \\"1776646928000\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 1\\n}","type":"json"}]',
],
- 'ListRenderingSessions' => [
- 'summary' => '分页查询指定条件下的云应用服务会话列表。',
- 'description' => '## 请求说明'."\n"
- .'- 该接口支持通过多种参数组合来过滤和分页查询用户的渲染会话列表。'."\n"
- .'- `SessionId` 和 `ClientId` 参数至少需要提供一个,但两者都不是必选的。如果同时提供了两个参数,则将根据这两个参数进行更精确的匹配。'."\n",
- 'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeComfyWorkflows' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8125,166 +5761,28 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
],
'parameters' => [
[
- 'name' => 'ProjectId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
- ],
- [
- 'name' => 'SessionId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '会话ID',
- 'description' => '会话ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'session-i205217481741918129226',
- ],
- ],
- [
- 'name' => 'ClientId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '终端客户的唯一ID',
- 'description' => '终端客户的唯一ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ae7990f4-203d-494b-a5ea-e0babe9fa13d',
- ],
- ],
- [
- 'name' => 'AppId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
- ],
- [
- 'name' => 'State',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例调度状态,取值范围,'."\n"
- .'1. SessionStarting:会话启动中'."\n"
- .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
- .'3. SessionStarted:会话已启动/使用中'."\n"
- .'4. SessionStartFailed:会话启动失败'."\n"
- .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
- .'6. SessionStopping:会话停止中'."\n"
- .'7. SessionStopFailed:会话停止失败',
- 'description' => '会话状态,取值范围,'."\n"
- .'1. SessionStarting:会话启动中'."\n"
- .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
- .'3. SessionStarted:会话已启动/使用中'."\n"
- .'4. SessionStartFailed:会话启动失败'."\n"
- .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
- .'6. SessionStopping:会话停止中'."\n"
- .'7. SessionStopFailed:会话停止失败',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SessionStarting',
- 'enum' => [
- 'SessionStarting',
- 'SessionStartSuspended',
- 'SessionStarted',
- 'SessionAbnormal',
- 'SessionStartFailed',
- 'SessionStopping',
- 'SessionStopFailed',
- ],
- ],
- ],
- [
- 'name' => 'RenderingInstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
+ 'schema' => ['description' => '工作流名称', 'type' => 'string', 'required' => false, 'example' => '图生视频工作流'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '页码,起始值为1',
- 'description' => '页码,起始值为1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数',
- 'description' => '分页查询时设置的每页行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-03-25T02:00:00Z',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-03-31T22:20:00Z',
- ],
- ],
- [
- 'name' => 'PatchId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '云应用补丁包ID。'."\n"
- .'1. 输入origin时,仅过滤启动了App原始版本的会话',
- 'description' => '云应用补丁包ID。'."\n"
- .'1. 输入origin时,仅过滤启动了App原始版本的会话',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
],
],
'responses' => [
@@ -8294,440 +5792,281 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Sessions' => [
- 'title' => '会话列表',
- 'description' => '会话列表',
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Message' => ['description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ 'Workflows' => [
+ 'title' => '工作流列表',
+ 'description' => '工作流列表',
'type' => 'array',
'items' => [
- 'description' => '会话信息',
'type' => 'object',
'properties' => [
- 'AppId' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'example' => 'cap-4e1a6a425495458ba78693b8ac6600ea',
- ],
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-a10722fb84b243f6ba02a89a2e5c838d',
- ],
- 'StartTime' => [
- 'title' => '启动时间',
- 'description' => '启动时间',
- 'type' => 'string',
- 'example' => '2024-07-04T01:23:00Z',
- ],
- 'ClientId' => [
- 'title' => '终端客户端ID',
- 'description' => '终端客户端ID',
- 'type' => 'string',
- 'example' => 'fd6b2134-7954-4754-8915-5fb8b0469622',
- ],
- 'PatchId' => [
- 'title' => '云应用补丁包ID。空值表示为原始版本',
- 'description' => '云应用补丁包ID。空值表示为原始版本',
- 'type' => 'string',
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
- 'SessionId' => [
- 'title' => '会话ID',
- 'description' => '会话ID',
- 'type' => 'string',
- 'example' => 'session-i205217481741918129226',
- ],
+ 'WorkflowId' => ['title' => '工作流ID', 'description' => '工作流ID', 'type' => 'string', 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
+ 'Name' => ['title' => '工作流名称', 'description' => '工作流名称', 'type' => 'string', 'example' => '图生视频工作流'],
+ 'CreationTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2026-02-03T07:31:45+08:00'],
+ 'Description' => ['title' => '工作流描述', 'description' => '工作流描述', 'type' => 'string', 'example' => '这是一个图生视频工作流'],
+ 'UpdatedTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '1778897586'],
],
+ 'description' => '',
],
],
- 'TotalCount' => [
- 'title' => '匹配的会话总数',
- 'description' => '匹配的会话总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
+ 'TotalCount' => ['title' => '工作流总数', 'description' => '工作流总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'PageNumber' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['title' => '每页大小', 'description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询Comfy工作流',
+ 'summary' => '查询所有Comfy工作流信息,支持分页查询。',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Sessions\\": [\\n {\\n \\"AppId\\": \\"cap-4e1a6a425495458ba78693b8ac6600ea\\",\\n \\"RenderingInstanceId\\": \\"render-a10722fb84b243f6ba02a89a2e5c838d\\",\\n \\"StartTime\\": \\"2024-07-04T01:23:00Z\\",\\n \\"ClientId\\": \\"fd6b2134-7954-4754-8915-5fb8b0469622\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\"\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]',
- 'title' => '查询会话列表',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"success\\",\\n \\"Workflows\\": [\\n {\\n \\"WorkflowId\\": \\"wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f\\",\\n \\"Name\\": \\"图生视频工作流\\",\\n \\"CreationTime\\": \\"2026-02-03T07:31:45+08:00\\",\\n \\"Description\\": \\"这是一个图生视频工作流\\",\\n \\"UpdatedTime\\": \\"1778897586\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]',
],
- 'DescribeRenderingSession' => [
- 'summary' => '查询会话的详情信息,包含会话当前状态、网络访问IP/端口、云应用服务实例位置等信息。',
- 'path' => '/',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3238848****092996-cn-qingdao'],
],
[
- 'name' => 'SessionId',
+ 'name' => 'IncludeStats',
'in' => 'query',
- 'schema' => [
- 'title' => '会话ID。SessionId/ClientId至少必选一项',
- 'description' => '会话ID。SessionId/ClientId至少必选一项',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'session-i205217481741918129226',
- ],
+ 'schema' => ['description' => '是否返回流统计信息,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ClientId',
+ 'name' => 'IncludeDirectory',
'in' => 'query',
- 'schema' => [
- 'title' => '终端客户的唯一ID。SessionId/ClientId至少必选一项',
- 'description' => '终端客户的唯一ID。SessionId/ClientId至少必选一项',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd27c89d6-4fe3-4855-a89c-ea721c708b0b',
- ],
+ 'schema' => ['description' => '是否返回目录信息,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SessionId' => [
- 'title' => '会话ID',
- 'description' => '会话ID',
- 'type' => 'string',
- 'example' => 'session-i205217481741918129226',
- ],
- 'ClientId' => [
- 'title' => '终端客户端ID',
- 'description' => '终端客户端ID',
- 'type' => 'string',
- 'example' => 'c91263a0-f9ac-45bd-bbe9-6e293ad32d91',
- ],
- 'AppId' => [
- 'title' => '云应用ID',
- 'description' => '云应用ID',
- 'type' => 'string',
- 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb',
- ],
- 'StartTime' => [
- 'title' => '启动时间',
- 'description' => '启动时间',
- 'type' => 'string',
- 'example' => '2025-05-18T02:20:00Z',
- ],
- 'Hostname' => [
- 'title' => '云应用服务实例域名/IP。默认该域名/IP相关信息将自动传递给边缘实例。',
- 'description' => '实例hostname,默认为访问Eip',
- 'type' => 'string',
- 'example' => '111.45.29.96',
- ],
- 'Isp' => [
- 'title' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'description' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- 'PortMappings' => [
- 'title' => '端口映射信息',
- 'description' => '端口映射信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '端口映射信息',
- 'type' => 'object',
- 'properties' => [
- 'ExternalPort' => [
- 'title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '10013/10020',
- ],
- 'InternalPort' => [
- 'title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '49008/49015',
- ],
- ],
- ],
- ],
- 'StateInfo' => [
- 'title' => '业务调度状态信息',
- 'description' => '会话状态信息',
+ 'Type' => ['description' => '设备类型。取值范围:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'example' => 'ipc'],
+ 'Status' => ['description' => '设备状态。取值范围:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)'."\n"
+ .'- failed(锁定)'."\n"
+ .'- new(未注册)', 'type' => 'string', 'example' => 'on'],
+ 'AlarmMethod' => ['description' => '订阅的国标报警方式。取值范围:'."\n"
+ .'- 0(全部)'."\n"
+ .'- 5(视频报警)'."\n"
+ .'- 7(其他报警)'."\n"
+ .'> - 空值表示不订阅。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'example' => '5'],
+ 'Dsn' => ['description' => '设备序列号。', 'type' => 'string', 'example' => '7D0*****4C0'],
+ 'Port' => ['description' => '设备端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '8080'],
+ 'PosInterval' => ['description' => '位置订阅周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'],
+ 'ParentId' => ['description' => '上级设备ID,比如:摄像头所属的平台ID。', 'type' => 'string', 'example' => '3238848****092995-cn-qingdao'],
+ 'Password' => ['description' => '设备密码。', 'type' => 'string', 'example' => 'admin'],
+ 'AutoPos' => ['description' => '是否启用设备位置订阅。', 'type' => 'boolean', 'example' => 'false'],
+ 'Params' => ['description' => '设备其他参数。', 'type' => 'string', 'example' => '{}'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '设备描述。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'Enabled' => ['description' => '设备是否启用。', 'type' => 'boolean', 'example' => 'true'],
+ 'Name' => ['description' => '设备名称。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'ChannelSyncTime' => ['description' => '通道同步时间。', 'type' => 'string', 'example' => '2019-02-28T17:01:17Z'],
+ 'CreatedTime' => ['description' => '设备创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => '3238848****092994-cn-qingdao'],
+ 'RegisteredTime' => ['description' => '设备注册时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Protocol' => ['description' => '设备注册协议。', 'type' => 'string', 'example' => 'gb28181'],
+ 'Ip' => ['description' => '设备IP。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'Url' => ['description' => '设备上的流URL。', 'type' => 'string', 'example' => 'rtmp://xxx/xxx'],
+ 'AutoStart' => ['description' => '是否自动启动流。', 'type' => 'boolean', 'example' => 'false'],
+ 'Vendor' => ['description' => '设备厂商。', 'type' => 'string', 'example' => '公司A'],
+ 'GbId' => ['description' => '设备国标ID。'."\n"
+ .'> 仅适用于国标协议。', 'type' => 'string', 'example' => '31000000****00000002'],
+ 'GroupId' => ['description' => '设备所属空间ID。', 'type' => 'string', 'example' => '3238848****092994-cn-qingdao'],
+ 'Longitude' => ['description' => '设备经度。', 'type' => 'string', 'example' => '45.00'],
+ 'Latitude' => ['description' => '设备维度。', 'type' => 'string', 'example' => '119.20'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '3238848****092996-cn-qingdao'],
+ 'Username' => ['description' => '设备用户名。', 'type' => 'string', 'example' => 'admin'],
+ 'Stats' => [
+ 'description' => '设备流统计信息。',
'type' => 'object',
'properties' => [
- 'State' => [
- 'title' => '业务调度状态',
- 'description' => '会话状态,取值范围,'."\n"
- .'1. SessionStarting:会话启动中'."\n"
- .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
- .'3. SessionStarted:会话已启动/使用中'."\n"
- .'4. SessionStartFailed:会话启动失败'."\n"
- .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
- .'6. SessionStopping:会话停止中'."\n"
- .'7. SessionStopFailed:会话停止失败',
- 'type' => 'string',
- 'example' => 'SessionStarted',
- ],
- 'Comment' => [
- 'title' => '状态描述信息',
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'example' => '已启动',
- ],
- 'UpdateTime' => [
- 'title' => '状态最新更新时间',
- 'description' => '状态最新更新时间',
- 'type' => 'string',
- 'example' => '2024-10-15T10:05:20+08:00',
- ],
+ 'FailedNum' => ['description' => '失败流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'StreamNum' => ['description' => '流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ChannelNum' => ['description' => '通道数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'OnlineNum' => ['description' => '在线流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'OfflineNum' => ['description' => '离线流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
- 'Location' => [
- 'title' => '云应用服务实例位置信息',
- 'description' => '云应用服务实例位置信息',
+ 'Directory' => [
+ 'description' => '目录信息。',
'type' => 'object',
'properties' => [
- 'ProvinceCode' => [
- 'title' => '云应用服务实例所属省份码',
- 'description' => '云应用服务实例所属省份码',
- 'type' => 'string',
- 'example' => '310000',
- ],
+ 'ParentId' => ['description' => '上级目录ID。', 'type' => 'string', 'example' => '3238848****092995-cn-qingdao'],
+ 'Description' => ['description' => '目录描述。', 'type' => 'string', 'example' => '目录1'],
+ 'GroupId' => ['description' => '目录所属空间ID。', 'type' => 'string', 'example' => '3238848****092994-cn-qingdao'],
+ 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => '目录1'],
+ 'CreatedTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '3238848****092994-cn-qingdao'],
],
],
- 'AdditionalIngresses' => [
- 'title' => '其他可选的入口网络信息',
- 'description' => '其他可选的入口网络信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '可选的入口网络信息',
- 'type' => 'object',
- 'properties' => [
- 'PortMappings' => [
- 'title' => '端口映射列表',
- 'description' => '端口映射列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '端口映射信息',
- 'type' => 'object',
- 'properties' => [
- 'ExternalPort' => [
- 'title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '11060/11079',
- ],
- 'InternalPort' => [
- 'title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。',
- 'type' => 'string',
- 'example' => '11060/11079',
- ],
- ],
- ],
- ],
- 'Isp' => [
- 'title' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'description' => '运营商编码,取值范围:'."\n"
- .'1. cmcc'."\n"
- .'2. unicom'."\n"
- .'3. telecom',
- 'type' => 'string',
- 'example' => 'unicom',
- ],
- 'Hostname' => [
- 'title' => '云应用服务实例域名/IP',
- 'description' => '云应用服务实例域名/IP',
- 'type' => 'string',
- 'example' => '111.45.29.96',
- ],
- ],
- ],
- ],
- 'RenderingInstanceId' => [
- 'title' => '云应用服务实例ID',
- 'description' => '云应用服务实例ID',
- 'type' => 'string',
- 'example' => 'render-9f8c57355d224ad7beaf95e145f22111',
- ],
- 'PatchId' => [
- 'title' => '云应用补丁包ID。空值表示为原始版本',
- 'description' => '云应用补丁包ID。空值表示为原始版本',
- 'type' => 'string',
- 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4',
- ],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\",\\n \\"ClientId\\": \\"c91263a0-f9ac-45bd-bbe9-6e293ad32d91\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"StartTime\\": \\"2025-05-18T02:20:00Z\\",\\n \\"Hostname\\": \\"111.45.29.96\\",\\n \\"Isp\\": \\"telecom\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"StateInfo\\": {\\n \\"State\\": \\"SessionStarted\\",\\n \\"Comment\\": \\"已启动\\",\\n \\"UpdateTime\\": \\"2024-10-15T10:05:20+08:00\\"\\n },\\n \\"Location\\": {\\n \\"ProvinceCode\\": \\"310000\\"\\n },\\n \\"AdditionalIngresses\\": [\\n {\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"11060/11079\\",\\n \\"InternalPort\\": \\"11060/11079\\"\\n }\\n ],\\n \\"Isp\\": \\"unicom\\",\\n \\"Hostname\\": \\"111.45.29.96\\"\\n }\\n ],\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\"\\n}","type":"json"}]',
- 'title' => '查询会话信息',
- ],
- 'StopRenderingSession' => [
- 'summary' => '关闭指定的云应用服务会话并回收相关实例资源。',
- 'description' => '## 请求说明'."\n",
- 'path' => '/',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"ipc\\",\\n \\"Status\\": \\"on\\",\\n \\"AlarmMethod\\": \\"5\\",\\n \\"Dsn\\": \\"7D0*****4C0\\",\\n \\"Port\\": 8080,\\n \\"PosInterval\\": 300,\\n \\"ParentId\\": \\"3238848****092995-cn-qingdao\\",\\n \\"Password\\": \\"admin\\",\\n \\"AutoPos\\": false,\\n \\"Params\\": \\"{}\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"ChannelSyncTime\\": \\"2019-02-28T17:01:17Z\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"DirectoryId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"RegisteredTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Url\\": \\"rtmp://xxx/xxx\\",\\n \\"AutoStart\\": false,\\n \\"Vendor\\": \\"公司A\\",\\n \\"GbId\\": \\"31000000****00000002\\",\\n \\"GroupId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"Longitude\\": \\"45.00\\",\\n \\"Latitude\\": \\"119.20\\",\\n \\"Id\\": \\"3238848****092996-cn-qingdao\\",\\n \\"Username\\": \\"admin\\",\\n \\"Stats\\": {\\n \\"FailedNum\\": 1,\\n \\"StreamNum\\": 1,\\n \\"ChannelNum\\": 1,\\n \\"OnlineNum\\": 1,\\n \\"OfflineNum\\": 1\\n },\\n \\"Directory\\": {\\n \\"ParentId\\": \\"3238848****092995-cn-qingdao\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"3238848****092994-cn-qingdao\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询设备',
+ 'summary' => '查询设备信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDevice'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDeviceChannels' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREvsGPC7NJ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ProjectId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'title' => '项目ID',
- 'description' => '项目ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b',
- ],
+ 'schema' => ['description' => '按设备ID查询', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'SessionId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '会话ID。SessionId/ClientId至少必选一项',
- 'description' => '会话ID。SessionId/ClientId至少必选一项',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'session-i205217481741918129226',
- ],
+ 'schema' => ['description' => '分页大小,默认为20', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'ClientId',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'title' => '终端客户的唯一ID。SessionId/ClientId至少必选一项',
- 'description' => '终端客户的唯一ID。SessionId/ClientId至少必选一项',
- 'type' => 'string',
- 'required' => false,
- 'example' => '04c30850-1d91-4da1-b811-66d0ee94af7d',
- ],
+ 'schema' => ['description' => '第几个分页,默认为1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'PageNum' => ['description' => '第几个分页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => '4641C72D-462E-4AEA-8485-FC267AF90B0A'],
+ 'TotalCount' => ['description' => '通道总数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageCount' => ['description' => '分页总数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Channels' => [
+ 'description' => '通道列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StreamStatus' => ['description' => '流状态', 'type' => 'string', 'example' => 'off'],
+ 'GbId' => ['description' => '国标ID', 'type' => 'string', 'example' => '3100000****000000002'],
+ 'Params' => ['description' => '设备其它配置。', 'type' => 'string', 'example' => '{}'],
+ 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'ChannelId' => ['description' => '通道ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'DeviceStatus' => ['description' => '设备状态', 'type' => 'string', 'example' => 'on'],
+ 'Name' => ['description' => '通道名称', 'type' => 'string', 'example' => '通道1'],
+ 'StreamId' => ['description' => '流ID', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '关闭会话',
- ],
- 'DescribeAccountStat' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"4641C72D-462E-4AEA-8485-FC267AF90B0A\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Channels\\": [\\n {\\n \\"StreamStatus\\": \\"off\\",\\n \\"GbId\\": \\"3100000****000000002\\",\\n \\"Params\\": \\"{}\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"ChannelId\\": 0,\\n \\"DeviceStatus\\": \\"on\\",\\n \\"Name\\": \\"通道1\\",\\n \\"StreamId\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询设备通道列表',
+ 'summary' => '查询设备通道列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceChannels'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDeviceGateway' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '主账号ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1165*****601',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '24611****70597051-cn-beijing'],
+ ],
+ [
+ 'name' => 'ClientIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '客户端的IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1'],
+ ],
+ [
+ 'name' => 'Expire',
+ 'in' => 'query',
+ 'schema' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
],
],
'responses' => [
@@ -8735,354 +6074,227 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TemplateNum' => [
- 'description' => '当前模板数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'GroupLimit' => [
- 'description' => '最大设备空间数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TemplateLimit' => [
- 'description' => '最大模板数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'GroupNum' => [
- 'description' => '当前服务地域下的空间数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'Id' => [
- 'description' => '主账号ID。',
- 'type' => 'string',
- 'example' => '1165*****601',
- ],
+ 'Host' => ['description' => '云服务的服务地址。', 'type' => 'string', 'example' => '192.168.0.1'],
+ 'Token' => ['description' => '令牌码。', 'type' => 'string', 'example' => 'f5578fbc-694c-461d-a2a2-eb090775cef0'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Port' => ['description' => '端口号。', 'type' => 'integer', 'format' => 'int64', 'example' => '8080'],
+ 'Protocol' => ['description' => '设备注册协议。', 'type' => 'string', 'example' => 'gb28181'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateNum\\": 10,\\n \\"GroupLimit\\": 100,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TemplateLimit\\": 20,\\n \\"GroupNum\\": 6,\\n \\"Id\\": \\"1165*****601\\"\\n}","type":"json"}]',
- 'title' => '查询账号状态',
- 'summary' => '查询某个账号在指定地域下的所有资源信息。',
- ],
- 'DescribeVsUserResourcePackage' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Host\\": \\"192.168.0.1\\",\\n \\"Token\\": \\"f5578fbc-694c-461d-a2a2-eb090775cef0\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Port\\": 8080,\\n \\"Protocol\\": \\"gb28181\\"\\n}","type":"json"}]',
+ 'title' => '查询设备网关',
+ 'summary' => '查询设备网关。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceGateway'],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'ResourcePackageInfos' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ResourcePackageInfo' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DisplayName' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- 'CommodityCode' => [
- 'type' => 'string',
- ],
- 'CurrCapacity' => [
- 'type' => 'string',
- ],
- 'InitCapacity' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '',
],
- 'OpenVsService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDeviceURL' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
+ ],
[
- 'APP' => [],
+ 'name' => 'Stream',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名。', 'type' => 'string', 'required' => true, 'example' => 'live001'],
+ ],
+ [
+ 'name' => 'OutProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => '流协议。取值:'."\n"
+ .'- rtmp'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'> 模式为推流时,仅支持rtmp', 'type' => 'string', 'required' => true, 'example' => 'rtmp'],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => ['description' => '流模式。取值:'."\n"
+ .'- play(播放)'."\n"
+ .'- push(推流)', 'type' => 'string', 'required' => false, 'example' => 'push', 'default' => 'play'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'default' => 'live', 'description' => ''],
+ ],
+ [
+ 'name' => 'Auth',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'true', 'description' => ''],
+ ],
+ [
+ 'name' => 'Expire',
+ 'in' => 'query',
+ 'schema' => ['description' => '鉴权有效时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'string',
- 'example' => '150275784',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Url' => ['description' => '流的URL。', 'type' => 'string', 'example' => 'rtmp://demo.aliyundoc.com/live/live001?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'ExpireTime' => ['description' => 'URL过期时间点。 '."\n"
+ .'unix时间戳,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1639130258'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"150275784\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '开通服务',
- 'summary' => '开通服务。',
- ],
- 'CreateGroup' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/live001?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ExpireTime\\": 1639130258\\n}","type":"json"}]',
+ 'title' => '查询设备URL',
+ 'summary' => '查询设备流的URL信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceURL'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备ID。'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '348*****380-cn-qingdao'],
+ ],
+ [
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '空间名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => '我的视频监控',
- ],
+ 'schema' => ['description' => '设备名称。'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '摄像头A'],
],
[
- 'name' => 'Description',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '空间描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => '我的视频监控',
- ],
+ 'schema' => ['description' => '按设备类型查询。取值范围:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'required' => false, 'example' => 'ipc'],
],
[
- 'name' => 'App',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的应用名称,默认取值:live',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'live',
- ],
+ 'schema' => ['description' => '按设备所属空间ID查询。', 'type' => 'string', 'required' => false, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'Region',
+ 'name' => 'ParentId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间所属区域,即服务中心',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '按设备所属上级设备ID查询。', 'type' => 'string', 'required' => false, 'example' => '399*****774-cn-qingdao'],
],
[
- 'name' => 'InProtocol',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的接入协议,取值:'."\n"
- .'- gb28181'."\n"
- .'- rtmp',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rtmp',
- ],
+ 'schema' => ['description' => '按设备所属目录ID查询。', 'type' => 'string', 'required' => false, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'OutProtocol',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的播放协议,多值用逗号分隔,取值:'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'- rtmp',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'flv,rtmp',
- ],
+ 'schema' => ['description' => '按设备国标ID查询。', 'type' => 'string', 'required' => false, 'example' => '310000000****0000002'],
],
[
- 'name' => 'PushDomain',
+ 'name' => 'Dsn',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的推流域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '设备序列号,唯一标识。', 'type' => 'string', 'required' => false, 'example' => '7D0*****4C0'],
],
[
- 'name' => 'PlayDomain',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的播流域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'demo.aliyundoc.com',
- ],
+ 'schema' => ['description' => '按设备状态查询。', 'type' => 'string', 'required' => false, 'example' => 'on'],
],
[
- 'name' => 'LazyPull',
+ 'name' => 'Vendor',
'in' => 'query',
- 'schema' => [
- 'description' => '是否启用按需拉流。取值:'."\n"
- .'- false(默认)'."\n"
- .'- true',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '按设备厂商查询。', 'type' => 'string', 'required' => false, 'example' => '8yd*****qem'],
],
[
- 'name' => 'Callback',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '空间内设备/流状态更新时的回调',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://example.com/callback',
- ],
+ 'schema' => ['description' => '按给定字段排序。取值:'."\n"
+ .'> id(默认)', 'type' => 'string', 'required' => false, 'example' => 'id'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'GbId' => [
- 'description' => '空间关联的国标Id。(仅适用于国标接入的空间)',
- 'type' => 'string',
- 'example' => '31000000****00000001',
- ],
- 'GbIp' => [
- 'description' => '空间关联的国标信令网关服务器地址。(仅适用于国标接入的空间)',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'GbPort' => [
- 'description' => '空间提供的国标信令服务器端口。(仅适用于国标接入的空间)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5060',
- ],
- 'Id' => [
- 'description' => '空间Id',
- 'type' => 'string',
- 'example' => '33763****77224964-cn-qingdao',
- ],
- ],
- ],
+ [
+ 'name' => 'SortDirection',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方式。取值范围:'."\n"
+ .'- asc(升序)(默认)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
- ],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"GbId\\": \\"31000000****00000001\\",\\n \\"GbIp\\": \\"10.10.10.10\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GbPort\\": 5060,\\n \\"Id\\": \\"33763****77224964-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '创建业务空间',
- 'summary' => '创建新业务空间。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页大小,默认值:20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
- ],
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'description' => '空间Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '33763950751395843',
- ],
+ 'schema' => ['description' => '第几个分页,默认值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'IncludeStats',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否返回流统计信息,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'IncludeDirectory',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否返回目录信息,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -9090,157 +6302,239 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'Request Id',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '77'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Devices' => [
+ 'description' => '设备列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '设备类型。取值范围:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'example' => 'ipc'],
+ 'Status' => ['description' => '设备状态。取值范围:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)'."\n"
+ .'- failed(锁定)'."\n"
+ .'- new(未注册)', 'type' => 'string', 'example' => 'on'],
+ 'AlarmMethod' => ['description' => '订阅的国标报警方式。取值范围:'."\n"
+ .'- 0(全部)'."\n"
+ .'- 5(视频报警)'."\n"
+ .'- 7(其他报警)'."\n"
+ .'> - 空值表示不订阅。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'example' => '0'],
+ 'Dsn' => ['description' => '设备序列号。'."\n"
+ .'> 仅适用于AUVSP、ODCAP协议。', 'type' => 'string', 'example' => '7D0*****4C0'],
+ 'Port' => ['description' => '设备端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '8080'],
+ 'PosInterval' => ['description' => '位置订阅周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'],
+ 'AutoDirectory' => ['description' => '是否启用平台设备的目录上报。', 'type' => 'boolean', 'example' => 'true'],
+ 'ParentId' => ['description' => '上级设备ID,比如:摄像头所属的平台ID。', 'type' => 'string', 'example' => '3238848****092995'],
+ 'Password' => ['description' => '设备密码。', 'type' => 'string', 'example' => 'admin'],
+ 'AutoPos' => ['description' => '是否启用设备位置订阅。', 'type' => 'boolean', 'example' => 'false'],
+ 'Params' => ['description' => '设备其他参数。', 'type' => 'string', 'example' => '{}'],
+ 'Description' => ['description' => '设备描述。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'Enabled' => ['description' => '是否启用设备。', 'type' => 'boolean', 'example' => 'true'],
+ 'Name' => ['description' => '设备名称。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'ChannelSyncTime' => ['description' => '通道同步时间。', 'type' => 'string', 'example' => '2019-02-28T17:01:17Z'],
+ 'CreatedTime' => ['description' => '设备创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'DirectoryId' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ 'RegisteredTime' => ['description' => '设备注册时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Protocol' => ['description' => '设备协议。', 'type' => 'string', 'example' => 'gb28181'],
+ 'Ip' => ['description' => '设备IP。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'Url' => ['description' => '设备上的流URL。', 'type' => 'string', 'example' => 'rtmp://xxx/xxx'],
+ 'AutoStart' => ['description' => '是否自动启动流。', 'type' => 'boolean', 'example' => 'false'],
+ 'Vendor' => ['description' => '设备厂商。', 'type' => 'string', 'example' => '公司A'],
+ 'GbId' => ['description' => '设备国标ID。'."\n"
+ .'> 仅适用于国标协议。', 'type' => 'string', 'example' => '310000000****0000002'],
+ 'GroupId' => ['description' => '设备所属空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'Longitude' => ['description' => '设备经度。', 'type' => 'string', 'example' => '45.00'],
+ 'Latitude' => ['description' => '设备维度。', 'type' => 'string', 'example' => '119.20'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'Username' => ['description' => '设备用户名。', 'type' => 'string', 'example' => 'admin'],
+ 'Stats' => [
+ 'description' => '设备流统计信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FailedNum' => ['description' => '失败流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'StreamNum' => ['description' => '流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ChannelNum' => ['description' => '通道数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OnlineNum' => ['description' => '在线流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'OfflineNum' => ['description' => '离线流数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ ],
+ ],
+ 'Directory' => [
+ 'description' => '目录信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParentId' => ['description' => '上级目录ID。', 'type' => 'string', 'example' => '399*****774-cn-qingdao'],
+ 'Description' => ['description' => '目录描述。', 'type' => 'string', 'example' => '目录1'],
+ 'GroupId' => ['description' => '目录所属空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => '目录1'],
+ 'CreatedTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '删除业务空间',
- 'summary' => '删除业务空间。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 77,\\n \\"PageCount\\": 5,\\n \\"Devices\\": [\\n {\\n \\"Type\\": \\"ipc\\",\\n \\"Status\\": \\"on\\",\\n \\"AlarmMethod\\": \\"0\\",\\n \\"Dsn\\": \\"7D0*****4C0\\",\\n \\"Port\\": 8080,\\n \\"PosInterval\\": 300,\\n \\"AutoDirectory\\": true,\\n \\"ParentId\\": \\"3238848****092995\\",\\n \\"Password\\": \\"admin\\",\\n \\"AutoPos\\": false,\\n \\"Params\\": \\"{}\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"ChannelSyncTime\\": \\"2019-02-28T17:01:17Z\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"RegisteredTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Url\\": \\"rtmp://xxx/xxx\\",\\n \\"AutoStart\\": false,\\n \\"Vendor\\": \\"公司A\\",\\n \\"GbId\\": \\"310000000****0000002\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Longitude\\": \\"45.00\\",\\n \\"Latitude\\": \\"119.20\\",\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"Username\\": \\"admin\\",\\n \\"Stats\\": {\\n \\"FailedNum\\": 0,\\n \\"StreamNum\\": 0,\\n \\"ChannelNum\\": 0,\\n \\"OnlineNum\\": 0,\\n \\"OfflineNum\\": 0\\n },\\n \\"Directory\\": {\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询设备列表',
+ 'summary' => '查询设备列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyGroup' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDevices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDirectories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '32388487739092994-cn-qingdao',
- ],
+ 'schema' => ['description' => '目录所属空间ID。', 'type' => 'string', 'required' => true, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'Name',
+ 'name' => 'ParentId',
'in' => 'query',
- 'schema' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'myGroup',
- ],
+ 'schema' => ['description' => '按上级目录ID查询。', 'type' => 'string', 'required' => false, 'example' => '399*****774-cn-qingdao'],
],
[
- 'name' => 'Description',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '空间描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '用于测试使用',
- ],
+ 'schema' => ['description' => '按给定字段排序,默认按ID排序。', 'type' => 'string', 'required' => false, 'example' => 'ID'],
],
[
- 'name' => 'Region',
+ 'name' => 'SortDirection',
'in' => 'query',
- 'schema' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => '排序方式,默认升序。取值:'."\n"
+ .'- asc(升序)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'InProtocol',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的接入协议。取值:'."\n"
- .'- gb28181'."\n"
- .'- rtmp',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gb28181',
- ],
+ 'schema' => ['description' => '分页大小,默认为20', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'OutProtocol',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的播放协议,多值用逗号分隔。取值:'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'- rtmp',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'flv,rtmp,hls',
- ],
+ 'schema' => ['description' => '第几个分页,默认为1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'Enabled',
+ 'name' => 'NoPagination',
'in' => 'query',
- 'schema' => [
- 'description' => '空间是否启用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否禁用分页,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
- [
- 'name' => 'PushDomain',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '空间使用的推流域名。(仅限于rtmp接入的空间)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mypush.com',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '空间总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Directories' => [
+ 'description' => '目录列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParentId' => ['description' => '上级目录ID。', 'type' => 'string', 'example' => '399*****774-cn-qingdao'],
+ 'Description' => ['description' => '目录描述。', 'type' => 'string', 'example' => '目录2'],
+ 'GroupId' => ['description' => '目录所属空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => '目录2'],
+ 'CreatedTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2021-09-10T10:00:00Z'],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Directories\\": [\\n {\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"Description\\": \\"目录2\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录2\\",\\n \\"CreatedTime\\": \\"2021-09-10T10:00:00Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询目录列表',
+ 'summary' => '查询目录列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDirectories'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PlayDomain',
- 'in' => 'query',
- 'schema' => [
- 'description' => '空间使用的播流域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'myplay.com',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'LazyPull',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否启用按需拉流。取值:'."\n"
- .'- false(默认)'."\n"
- .'- true',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Callback',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '空间内设备/流状态更新时的回调。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://example.com/callback',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '399*****488-cn-qingdao'],
],
],
'responses' => [
@@ -9248,65 +6542,61 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'example' => '32388487739092994-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'ParentId' => ['description' => '上级目录ID。', 'type' => 'string', 'example' => '399*****774-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '目录描述。', 'type' => 'string', 'example' => '目录1'],
+ 'GroupId' => ['description' => '目录所属空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'Name' => ['description' => '目录名称。', 'type' => 'string', 'example' => '目录1'],
+ 'CreatedTime' => ['description' => '目录创建时间。', 'type' => 'string', 'example' => '2021-09-10T10:00:00Z'],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"32388487739092994-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '修改业务空间',
- 'summary' => '修改空间信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGroup' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2021-09-10T10:00:00Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询目录',
+ 'summary' => '查询目录。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDirectory'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '337639*****224964-cn-qingdao',
- ],
+ 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => true, 'example' => '337639*****224964-cn-qingdao'],
],
[
'name' => 'IncludeStats',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回空间设备统计信息,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否返回空间设备统计信息,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -9314,167 +6604,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '空间状态。',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'LazyPull' => [
- 'description' => '是否启用按需拉流。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Callback' => [
- 'description' => '空间内设备状态更新时的回调。',
- 'type' => 'string',
- 'example' => 'http://example.com/callback',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '空间描述。',
- 'type' => 'string',
- 'example' => '上海高速监控',
- ],
- 'App' => [
- 'description' => '空间使用的应用名称。',
- 'type' => 'string',
- 'example' => 'live',
- ],
- 'Region' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Enabled' => [
- 'description' => '空间是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'InProtocol' => [
- 'description' => '空间使用的接入协议,取值范围:'."\n"
- .'- gb28181'."\n"
- .'- rtmp',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'OutProtocol' => [
- 'description' => '空间使用的播放协议,取值范围:'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'- rtmp'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'flv,hls,rtmp',
- ],
- 'Name' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'example' => '上海高速监控',
- ],
- 'PushDomain' => [
- 'description' => '空间使用的推流域名。',
- 'type' => 'string',
- 'example' => 'demo.aliyundoc.com',
- ],
- 'CreatedTime' => [
- 'description' => '空间的创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'PlayDomain' => [
- 'description' => '空间使用的播流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'GbPort' => [
- 'description' => '空间关联的国标信令服务器端口。'."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5060',
- ],
- 'GbId' => [
- 'description' => '空间关联的国标ID。'."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '3100000*****0000001',
- ],
- 'GbIp' => [
- 'description' => '空间关联的国标信令服务器IP地址。'."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'AliasId' => [
- 'description' => '空间ID别名。',
- 'type' => 'string',
- 'example' => '337639*****24964-cn-qingdao',
- ],
- 'Id' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'example' => '337639****224964-cn-qingdao',
- ],
+ 'Status' => ['description' => '空间状态。', 'type' => 'string', 'example' => 'on'],
+ 'LazyPull' => ['description' => '是否启用按需拉流。', 'type' => 'boolean', 'example' => 'false'],
+ 'Callback' => ['description' => '空间内设备状态更新时的回调。', 'type' => 'string', 'example' => 'http://example.com/callback'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '空间描述。', 'type' => 'string', 'example' => '上海高速监控'],
+ 'App' => ['description' => '空间使用的应用名称。', 'type' => 'string', 'example' => 'live'],
+ 'Region' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Enabled' => ['description' => '空间是否启用。', 'type' => 'boolean', 'example' => 'true'],
+ 'InProtocol' => ['description' => '空间使用的接入协议,取值范围:'."\n"
+ .'- gb28181'."\n"
+ .'- rtmp', 'type' => 'string', 'example' => 'gb28181'],
+ 'OutProtocol' => ['description' => '空间使用的播放协议,取值范围:'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'- rtmp'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'example' => 'flv,hls,rtmp'],
+ 'Name' => ['description' => '空间名称。', 'type' => 'string', 'example' => '上海高速监控'],
+ 'PushDomain' => ['description' => '空间使用的推流域名。', 'type' => 'string', 'example' => 'demo.aliyundoc.com'],
+ 'CreatedTime' => ['description' => '空间的创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'PlayDomain' => ['description' => '空间使用的播流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'GbPort' => ['description' => '空间关联的国标信令服务器端口。'."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'integer', 'format' => 'int64', 'example' => '5060'],
+ 'GbId' => ['description' => '空间关联的国标ID。'."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '3100000*****0000001'],
+ 'GbIp' => ['description' => '空间关联的国标信令服务器IP地址。'."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'AliasId' => ['description' => '空间ID别名。', 'type' => 'string', 'example' => '337639*****24964-cn-qingdao'],
+ 'Id' => ['description' => '空间ID。', 'type' => 'string', 'example' => '337639****224964-cn-qingdao'],
'GbTcpPorts' => [
'description' => '空间提供的国标信令服务器TCP端口。'."\n"
.'> 仅适用于使用国标协议接入的空间。',
'type' => 'array',
- 'items' => [
- 'description' => '空间提供的国标信令服务器TCP端口。'."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '[6060, 6160]',
- ],
+ 'items' => ['description' => '空间提供的国标信令服务器TCP端口。'."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '[6060, 6160]'],
],
'GbUdpPorts' => [
'description' => '空间提供的国标信令服务器UDP端口。'."\n"
.'> 仅适用于使用国标协议接入的空间。',
'type' => 'array',
- 'items' => [
- 'description' => '空间提供的国标信令服务器UDP端口。'."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' 5060,'."\n"
- .' 5160'."\n"
- .']',
- ],
+ 'items' => ['description' => '空间提供的国标信令服务器UDP端口。'."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '['."\n"
+ .' 5060,'."\n"
+ .' 5160'."\n"
+ .']'],
],
'Stats' => [
'description' => '空间内设备的统计信息。',
'type' => 'object',
'properties' => [
- 'PlatformNum' => [
- 'description' => '空间内平台个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'DeviceNum' => [
- 'description' => '空间内设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'IpcNum' => [
- 'description' => '空间内摄像头个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'IedNum' => [
- 'description' => '空间内智能设备个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'PlatformNum' => ['description' => '空间内平台个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'DeviceNum' => ['description' => '空间内设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'IpcNum' => ['description' => '空间内摄像头个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'IedNum' => ['description' => '空间内智能设备个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
+ 'description' => '',
],
],
],
@@ -9485,54 +6671,50 @@
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeGroups' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '33763950877224964-cn-qingdao',
- ],
+ 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => false, 'example' => '33763950877224964-cn-qingdao'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '我的视频监控',
- ],
+ 'schema' => ['description' => '空间名称。', 'type' => 'string', 'required' => false, 'example' => '我的视频监控'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao'],
],
[
'name' => 'InProtocol',
@@ -9543,10 +6725,7 @@
.'- rtmp',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'rtmp' => 'rtmp',
- 'gb28181' => 'gb28181',
- ],
+ 'enumValueTitles' => ['rtmp' => 'rtmp', 'gb28181' => 'gb28181'],
'example' => 'rtmp',
],
],
@@ -9559,67 +6738,37 @@
.'- off(已停用)',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'off' => '已停用',
- 'on' => '已启用',
- ],
+ 'enumValueTitles' => ['off' => '已停用', 'on' => '已启用'],
'example' => 'on',
],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '按字段排序。取值范围:'."\n"
- .'- Id(默认)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Id',
- ],
+ 'schema' => ['description' => '按字段排序。取值范围:'."\n"
+ .'- Id(默认)', 'type' => 'string', 'required' => false, 'example' => 'Id'],
],
[
'name' => 'SortDirection',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- asc(升序)(默认值)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '排序方式。取值范围:'."\n"
+ .'- asc(升序)(默认值)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'description' => '第几页。默认:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '第几页。默认:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'IncludeStats',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回空间设备统计信息。默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否返回空间设备统计信息。默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -9627,194 +6776,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '空间总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '空间总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Groups' => [
'description' => '空间列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '空间状态。取值范围:'."\n"
- .'- on(已启用)'."\n"
- .'- off(已停用)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'LazyPull' => [
- 'description' => '是否启用按需拉流。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'PlayDomain' => [
- 'description' => '空间使用的播流域名。',
- 'type' => 'string',
- 'example' => 'demo.aliyundoc.com',
- ],
- 'GbPort' => [
- 'description' => '空监关联的国标信令服务器端口。'."\n"
- ."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5060',
- ],
- 'Callback' => [
- 'description' => '空间内设备状态更新时的回调。',
- 'type' => 'string',
- 'example' => 'http://example.com/callback',
- ],
- 'GbId' => [
- 'description' => '空间提供的国标ID。'."\n"
- ."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '31000000000000000001',
- ],
- 'GbIp' => [
- 'description' => '空间提供的国标信令服务器地址。'."\n"
- ."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'Description' => [
- 'description' => '空间描述。',
- 'type' => 'string',
- 'example' => '测试视图计算',
- ],
- 'Region' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'App' => [
- 'description' => '空间使用的应用名称。',
- 'type' => 'string',
- 'example' => 'live',
- ],
- 'AliasId' => [
- 'description' => '空间ID别名。',
- 'type' => 'string',
- 'example' => '337639*****24964-cn-qingdao',
- ],
- 'Enabled' => [
- 'description' => '空间是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'InProtocol' => [
- 'description' => '空间使用的接入协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'OutProtocol' => [
- 'description' => '空间使用的播放协议。',
- 'type' => 'string',
- 'example' => 'rtmp,flv,hls',
- ],
- 'PushDomain' => [
- 'description' => '空间使用的推流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'Name' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'example' => '我的空间',
- ],
- 'CreatedTime' => [
- 'description' => '空间创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Id' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'example' => '33763950877224964-cn-qingdao',
- ],
+ 'Status' => ['description' => '空间状态。取值范围:'."\n"
+ .'- on(已启用)'."\n"
+ .'- off(已停用)', 'type' => 'string', 'example' => 'on'],
+ 'LazyPull' => ['description' => '是否启用按需拉流。', 'type' => 'boolean', 'example' => 'false'],
+ 'PlayDomain' => ['description' => '空间使用的播流域名。', 'type' => 'string', 'example' => 'demo.aliyundoc.com'],
+ 'GbPort' => ['description' => '空监关联的国标信令服务器端口。'."\n"
+ ."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'integer', 'format' => 'int64', 'example' => '5060'],
+ 'Callback' => ['description' => '空间内设备状态更新时的回调。', 'type' => 'string', 'example' => 'http://example.com/callback'],
+ 'GbId' => ['description' => '空间提供的国标ID。'."\n"
+ ."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '31000000000000000001'],
+ 'GbIp' => ['description' => '空间提供的国标信令服务器地址。'."\n"
+ ."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'Description' => ['description' => '空间描述。', 'type' => 'string', 'example' => '测试视图计算'],
+ 'Region' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'App' => ['description' => '空间使用的应用名称。', 'type' => 'string', 'example' => 'live'],
+ 'AliasId' => ['description' => '空间ID别名。', 'type' => 'string', 'example' => '337639*****24964-cn-qingdao'],
+ 'Enabled' => ['description' => '空间是否启用。', 'type' => 'boolean', 'example' => 'true'],
+ 'InProtocol' => ['description' => '空间使用的接入协议。', 'type' => 'string', 'example' => 'gb28181'],
+ 'OutProtocol' => ['description' => '空间使用的播放协议。', 'type' => 'string', 'example' => 'rtmp,flv,hls'],
+ 'PushDomain' => ['description' => '空间使用的推流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'Name' => ['description' => '空间名称。', 'type' => 'string', 'example' => '我的空间'],
+ 'CreatedTime' => ['description' => '空间创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Id' => ['description' => '空间ID。', 'type' => 'string', 'example' => '33763950877224964-cn-qingdao'],
'GbTcpPorts' => [
'type' => 'array',
- 'items' => [
- 'description' => '空间提供的国标信令服务器TCP端口。'."\n"
- ."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '[6060,6160]',
- ],
+ 'items' => ['description' => '空间提供的国标信令服务器TCP端口。'."\n"
+ ."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '[6060,6160]'],
+ 'description' => '',
],
'GbUdpPorts' => [
'type' => 'array',
- 'items' => [
- 'description' => '空间提供的国标信令服务器UDP端口。'."\n"
- ."\n"
- .'> 仅适用于使用国标协议接入的空间。',
- 'type' => 'string',
- 'example' => '[5060,5160]',
- ],
+ 'items' => ['description' => '空间提供的国标信令服务器UDP端口。'."\n"
+ ."\n"
+ .'> 仅适用于使用国标协议接入的空间。', 'type' => 'string', 'example' => '[5060,5160]'],
+ 'description' => '',
],
'Stats' => [
'description' => '空间设备统计信息。',
'type' => 'object',
'properties' => [
- 'PlatformNum' => [
- 'description' => '空间内平台数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'DeviceNum' => [
- 'description' => '空间内设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'IpcNum' => [
- 'description' => '空间内摄像头数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'IedNum' => [
- 'description' => '空间内智能设备数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
+ 'PlatformNum' => ['description' => '空间内平台数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'DeviceNum' => ['description' => '空间内设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'IpcNum' => ['description' => '空间内摄像头数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'IedNum' => ['description' => '空间内智能设备数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
@@ -9825,246 +6853,323 @@
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroups'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeParentPlatform' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx路口摄像头',
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '359*****374-cn-qingdao'],
],
- [
- 'name' => 'Description',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx路口摄像头',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '上级平台状态。取值:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)'."\n"
+ .'- failed(失败)', 'type' => 'string', 'example' => 'on'],
+ 'ClientPort' => ['description' => '本地SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '5160'],
+ 'ClientGbId' => ['description' => '本地国标ID。', 'type' => 'string', 'example' => '31010*****317542006'],
+ 'Protocol' => ['description' => '上级平台协议。取值:'."\n"
+ .'- gb28181(国标)', 'type' => 'string', 'example' => 'gb28181'],
+ 'Ip' => ['description' => '上级平台SIP服务IP。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'Port' => ['description' => '上级平台SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '5060'],
+ 'ClientPassword' => ['description' => '本地密码。', 'type' => 'string', 'example' => 'admin123'],
+ 'ClientUsername' => ['description' => '本地用户名。', 'type' => 'string', 'example' => 'user01'],
+ 'AutoStart' => ['description' => '是否自动启用。取值:'."\n"
+ .'- false(默认)'."\n"
+ .'- true', 'type' => 'boolean', 'example' => 'false'],
+ 'ClientAuth' => ['description' => '本地是否开启鉴权。取值:'."\n"
+ .'- true(默认)'."\n"
+ .'- false', 'type' => 'boolean', 'example' => 'true'],
+ 'GbId' => ['description' => '上级平台国标ID。', 'type' => 'string', 'example' => '31000*****2170123451'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '上级平台描述。', 'type' => 'string', 'example' => '级联平台描述'],
+ 'ClientIp' => ['description' => '本地SIP服务IP。', 'type' => 'string', 'example' => '192.168.0.1'],
+ 'Name' => ['description' => '上级平台名称。', 'type' => 'string', 'example' => '国标级联平台测试'],
+ 'CreatedTime' => ['description' => '上级平台创建时间。', 'type' => 'string', 'example' => '2018-12-10T21:00:00Z'],
+ 'Id' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '359*****374-cn-qingdao'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备所属空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****174-cn-qingdao',
- ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"on\\",\\n \\"ClientPort\\": 5160,\\n \\"ClientGbId\\": \\"31010*****317542006\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Port\\": 5060,\\n \\"ClientPassword\\": \\"admin123\\",\\n \\"ClientUsername\\": \\"user01\\",\\n \\"AutoStart\\": false,\\n \\"ClientAuth\\": true,\\n \\"GbId\\": \\"31000*****2170123451\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"级联平台描述\\",\\n \\"ClientIp\\": \\"192.168.0.1\\",\\n \\"Name\\": \\"国标级联平台测试\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"359*****374-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformResponse>\\n <Status>on</Status>\\n <ClientPort>5160</ClientPort>\\n <ClientGbId>31010*****317542006</ClientGbId>\\n <Protocol>gb28181</Protocol>\\n <Ip>10.10.10.10</Ip>\\n <Port>5060</Port>\\n <ClientPassword>admin123</ClientPassword>\\n <ClientUsername>user01</ClientUsername>\\n <AutoStart>false</AutoStart>\\n <ClientAuth>true</ClientAuth>\\n <GbId>31000*****2170123451</GbId>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <Description>级联平台描述</Description>\\n <ClientIp>192.168.0.1</ClientIp>\\n <Name>国标级联平台测试</Name>\\n <CreatedTime>2018-12-10T21:00:00Z</CreatedTime>\\n <Id>359*****374-cn-qingdao</Id>\\n</DescribeParentPlatformResponse>","errorExample":""}]',
+ 'title' => '查询上级平台',
+ 'summary' => '查询上级平台信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatform'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ParentId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上级设备ID,比如:摄像头所属的平台ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****774-cn-qingdao',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeParentPlatformDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'DirectoryId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备所属目录ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Type',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备类型。取值范围:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ipc',
- ],
+ 'schema' => ['description' => '按上级平台ID查询。', 'type' => 'string', 'required' => true, 'example' => '359*****374-cn-qingdao'],
],
[
- 'name' => 'AutoStart',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动启动流,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '按给定字段排序,默认按id排序。', 'type' => 'string', 'required' => false, 'example' => 'id'],
],
[
- 'name' => 'GbId',
+ 'name' => 'SortDirection',
'in' => 'query',
- 'schema' => [
- 'description' => '设备国标ID。'."\n"
- .'> 仅适用于国标协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '31000000****00000002',
- ],
+ 'schema' => ['description' => '排序方式,默认升序。取值:'."\n"
+ .'- asc(升序)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'Ip',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设备IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10.10.10.10',
- ],
+ 'schema' => ['description' => '分页大小,默认为20', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'Port',
+ 'name' => 'PageNum',
'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认为1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '设备端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '8080',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Devices' => [
+ 'description' => '设备列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParentId' => ['description' => '上级设备ID。', 'type' => 'string', 'example' => '3614*****766212-cn-qingdao'],
+ 'GbId' => ['description' => '设备国标ID。', 'type' => 'string', 'example' => '310101*****7542007'],
+ 'GroupId' => ['description' => '设备所属空间ID。', 'type' => 'string', 'example' => '3484*****8732174-cn-qingdao'],
+ 'Name' => ['description' => '设备名称。', 'type' => 'string', 'example' => '测试设备1'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '3487*****323380-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Devices\\": [\\n {\\n \\"ParentId\\": \\"3614*****766212-cn-qingdao\\",\\n \\"GbId\\": \\"310101*****7542007\\",\\n \\"GroupId\\": \\"3484*****8732174-cn-qingdao\\",\\n \\"Name\\": \\"测试设备1\\",\\n \\"Id\\": \\"3487*****323380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformDevicesResponse>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <TotalCount>1</TotalCount>\\n <PageCount>1</PageCount>\\n <Devices>\\n <ParentId>3614*****766212-cn-qingdao</ParentId>\\n <GbId>310101*****7542007</GbId>\\n <GroupId>3484*****8732174-cn-qingdao</GroupId>\\n <Name>测试设备1</Name>\\n <Id>3487*****323380-cn-qingdao</Id>\\n </Devices>\\n</DescribeParentPlatformDevicesResponse>","errorExample":""}]',
+ 'title' => '查询上级平台下的设备列表',
+ 'summary' => '查询上级平台下的设备列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatformDevices'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Url',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备上的流URL。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rtmp://xxx/xxx',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeParentPlatforms' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Username',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'admin',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Password',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备密码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'admin',
- ],
+ 'schema' => ['description' => '按上级平台国标ID查询。', 'type' => 'string', 'required' => false, 'example' => '31000*****2170123451'],
],
[
- 'name' => 'Vendor',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '公司A',
- ],
+ 'schema' => ['description' => '按上级平台状态查询。', 'type' => 'string', 'required' => false, 'example' => 'on'],
],
[
- 'name' => 'Dsn',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '设备序列号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7D0*****4C0',
- ],
+ 'schema' => ['description' => '按给定字段排序,默认按id排序。', 'type' => 'string', 'required' => false, 'example' => 'id'],
],
[
- 'name' => 'Longitude',
+ 'name' => 'SortDirection',
'in' => 'query',
- 'schema' => [
- 'description' => '设备经度。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '45.00',
- ],
+ 'schema' => ['description' => '排序方式,默认升序。取值:'."\n"
+ .'- asc(升序)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'Latitude',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设备维度。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '119.20',
- ],
+ 'schema' => ['description' => '分页大小,默认为20', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'AutoPos',
+ 'name' => 'PageNum',
'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认为1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '是否启用设备位置订阅,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '上级平台总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Platforms' => [
+ 'description' => '上级平台列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '上级平台状态。取值:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)'."\n"
+ .'- failed(失败)', 'type' => 'string', 'example' => 'on'],
+ 'ClientPort' => ['description' => '本地SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '5160'],
+ 'Protocol' => ['description' => '上级平台协议。取值:'."\n"
+ .'- gb28181(国标)', 'type' => 'string', 'example' => 'gb28181'],
+ 'ClientGbId' => ['description' => '本地国标ID。', 'type' => 'string', 'example' => '31010*****317542006'],
+ 'Ip' => ['description' => '上级平台SIP服务IP。', 'type' => 'string', 'example' => '10.10.10.10'],
+ 'Port' => ['description' => '上级平台SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'example' => '5060'],
+ 'ClientUsername' => ['description' => '本地用户名。', 'type' => 'string', 'example' => 'user01'],
+ 'ClientPassword' => ['description' => '本地密码。', 'type' => 'string', 'example' => 'admin123'],
+ 'AutoStart' => ['description' => '是否自动启用。取值:'."\n"
+ .'- false(默认)'."\n"
+ .'- true', 'type' => 'boolean', 'example' => 'false'],
+ 'ClientAuth' => ['description' => '本地是否开启鉴权。取值:'."\n"
+ .'- true(默认)'."\n"
+ .'- false', 'type' => 'boolean', 'example' => 'true'],
+ 'GbId' => ['description' => '上级平台国标ID。', 'type' => 'string', 'example' => '31000*****2170123451'],
+ 'Description' => ['description' => '上级平台描述。', 'type' => 'string', 'example' => '国标级联平台描述'],
+ 'ClientIp' => ['description' => '本地SIP服务IP。', 'type' => 'string', 'example' => '192.168.0.1'],
+ 'Name' => ['description' => '上级平台名称。', 'type' => 'string', 'example' => '国标级联平台测试'],
+ 'CreatedTime' => ['description' => '上级平台创建时间。', 'type' => 'string', 'example' => '2018-12-10T21:00:00Z'],
+ 'Id' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '359*****374-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Platforms\\": [\\n {\\n \\"Status\\": \\"on\\",\\n \\"ClientPort\\": 5160,\\n \\"Protocol\\": \\"gb28181\\",\\n \\"ClientGbId\\": \\"31010*****317542006\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Port\\": 5060,\\n \\"ClientUsername\\": \\"user01\\",\\n \\"ClientPassword\\": \\"admin123\\",\\n \\"AutoStart\\": false,\\n \\"ClientAuth\\": true,\\n \\"GbId\\": \\"31000*****2170123451\\",\\n \\"Description\\": \\"国标级联平台描述\\",\\n \\"ClientIp\\": \\"192.168.0.1\\",\\n \\"Name\\": \\"国标级联平台测试\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"359*****374-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformsResponse>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <TotalCount>1</TotalCount>\\n <PageCount>1</PageCount>\\n <Platforms>\\n <Status>on</Status>\\n <ClientPort>5160</ClientPort>\\n <Protocol>gb28181</Protocol>\\n <ClientGbId>31010*****317542006</ClientGbId>\\n <Ip>10.10.10.10</Ip>\\n <Port>5060</Port>\\n <ClientUsername>user01</ClientUsername>\\n <ClientPassword>admin123</ClientPassword>\\n <AutoStart>false</AutoStart>\\n <ClientAuth>true</ClientAuth>\\n <GbId>31000*****2170123451</GbId>\\n <Description>国标级联平台描述</Description>\\n <ClientIp>192.168.0.1</ClientIp>\\n <Name>国标级联平台测试</Name>\\n <CreatedTime>2018-12-10T21:00:00Z</CreatedTime>\\n <Id>359*****374-cn-qingdao</Id>\\n </Platforms>\\n</DescribeParentPlatformsResponse>","errorExample":""}]',
+ 'title' => '查询上级平台列表',
+ 'summary' => '查询上级平台列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatforms'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PosInterval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '位置订阅周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '300',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatforms',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribePresets' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AlarmMethod',
- 'in' => 'query',
- 'schema' => [
- 'description' => '订阅的国标报警方式。取值范围:'."\n"
- .'- 0(全部)'."\n"
- .'- 5(视频报警)'."\n"
- .'- 7(其他报警)'."\n"
- ."\n"
- .'> - 空值表示不订阅。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Params',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备其他参数,格式为JSON序列化的字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
@@ -10072,55 +7177,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9FE0CA83-BFD3-4EBD-A429-FABB9B9AE772'],
+ 'Presets' => [
+ 'description' => '预置位列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '预置位名称。', 'type' => 'string', 'example' => '预置位2'],
+ 'Id' => ['description' => '预置位ID。', 'type' => 'string', 'example' => '2'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '添加设备',
- 'summary' => '添加新的设备。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"9FE0CA83-BFD3-4EBD-A429-FABB9B9AE772\\",\\n \\"Presets\\": [\\n {\\n \\"Name\\": \\"预置位2\\",\\n \\"Id\\": \\"2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询预置位',
+ 'summary' => '获取预置位列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePresets'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePresets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePublishStreamStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3238848****092996',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -10128,45 +7243,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int64'],
+ 'Message' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '删除设备',
- 'summary' => '删除空间下的设备。',
- ],
- 'BatchDeleteDevices' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePublishStreamStatus'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": 0,\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'DescribePurchasedDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '32388****39092996',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3614*****66212-cn-qingdao'],
],
],
'responses' => [
@@ -10174,277 +7281,262 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '设备错误信息。(仅在出错时存在)',
- 'type' => 'string',
- 'example' => 'Device not found',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '323884****9092996',
- ],
- ],
- ],
- ],
+ 'Type' => ['description' => '设备类型。取值:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'example' => 'ipc'],
+ 'SubType' => ['description' => '设备子类型。取值:'."\n"
+ .'- bullet(枪机)'."\n"
+ .'- dome(球机)'."\n"
+ .'- ptz(PTZ)', 'type' => 'string', 'example' => 'dome'],
+ 'Vendor' => ['description' => '设备厂商。', 'type' => 'string', 'example' => '8yd*****qem'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '设备描述。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'RegisterCode' => ['description' => '设备注册码。', 'type' => 'string', 'example' => '12345*****67890'],
+ 'GroupId' => ['description' => '空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'GroupName' => ['description' => '空间名称。', 'type' => 'string', 'example' => '测试空间'],
+ 'Region' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Name' => ['description' => '设备名称。', 'type' => 'string', 'example' => 'test'],
+ 'CreatedTime' => ['description' => '设备创建时间。', 'type' => 'string', 'example' => '2018-12-10T21:00:00Z'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '33763****77224964-cn-qingdao'],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '2117*****0447'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"Device not found\\",\\n \\"Id\\": \\"323884****9092996\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量删除设备',
- 'summary' => '批量删除设备。',
- ],
- 'ModifyDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Type\\": \\"ipc\\",\\n \\"SubType\\": \\"dome\\",\\n \\"Vendor\\": \\"8yd*****qem\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"RegisterCode\\": \\"12345*****67890\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"GroupName\\": \\"测试空间\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Name\\": \\"test\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"33763****77224964-cn-qingdao\\",\\n \\"OrderId\\": \\"2117*****0447\\"\\n}","type":"json"}]',
+ 'title' => '查询已购买设备',
+ 'summary' => '查询已购买设备信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePurchasedDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribePurchasedDevices' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '按设备ID查询。', 'type' => 'string', 'required' => false, 'example' => '4070*****1132-cn-qingdao'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx路口摄像头',
- ],
+ 'schema' => ['description' => '按设备名称查询。', 'type' => 'string', 'required' => false, 'example' => 'xxx路口摄像头'],
],
[
- 'name' => 'Description',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx路口摄像头',
- ],
+ 'schema' => ['description' => '按设备类型查询。取值:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'required' => false, 'example' => 'ipc'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'SubType',
'in' => 'query',
- 'schema' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****174-cn-qingdao',
- ],
+ 'schema' => ['description' => '按设备子类型查询。取值:'."\n"
+ .'- bullet(枪机)'."\n"
+ .'- dome(球机)'."\n"
+ .'- ptz(PTZ)', 'type' => 'string', 'required' => false, 'example' => 'dome'],
],
[
- 'name' => 'ParentId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '父设备ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****774-cn-qingdao',
- ],
+ 'schema' => ['description' => '按设备所属空间ID查询。', 'type' => 'string', 'required' => false, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'DirectoryId',
+ 'name' => 'Vendor',
'in' => 'query',
- 'schema' => [
- 'description' => '设备所属目录ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '按设备厂商查询。', 'type' => 'string', 'required' => false, 'example' => '公司A'],
],
[
- 'name' => 'Type',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '设备类型。取值范围:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ipc',
- ],
+ 'schema' => ['description' => '按给定字段排序。取值:'."\n"
+ .'- id(默认)', 'type' => 'string', 'required' => false, 'example' => 'id'],
],
[
- 'name' => 'AutoStart',
+ 'name' => 'SortDirection',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动启动流,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '排序方式,默认升序。取值:'."\n"
+ .'- asc(升序)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'GbId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设备国标ID。'."\n"
- .'> 仅适用于国标协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3100000****000000002',
- ],
+ 'schema' => ['description' => '分页大小,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'Ip',
+ 'name' => 'PageNum',
'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '设备IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10.10.10.10',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Devices' => [
+ 'description' => '设备列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '按设备类型查询。取值:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'example' => 'ipc'],
+ 'SubType' => ['description' => '按设备子类型查询。取值:'."\n"
+ .'- bullet(枪机)'."\n"
+ .'- dome(球机)'."\n"
+ .'- ptz(PTZ)', 'type' => 'string', 'example' => 'dome'],
+ 'Vendor' => ['description' => '设备厂商。', 'type' => 'string', 'example' => '公司A'],
+ 'Description' => ['description' => '设备描述。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'RegisterCode' => ['description' => '设备注册码。', 'type' => 'string', 'example' => '1234*****67890'],
+ 'GroupId' => ['description' => '设备所属空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'GroupName' => ['description' => '空间名称。', 'type' => 'string', 'example' => '测试空间'],
+ 'Region' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Name' => ['description' => '设备名称。', 'type' => 'string', 'example' => 'xxx路口摄像头'],
+ 'CreatedTime' => ['description' => '设备创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '2117*****0447'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Devices\\": [\\n {\\n \\"Type\\": \\"ipc\\",\\n \\"SubType\\": \\"dome\\",\\n \\"Vendor\\": \\"公司A\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"RegisterCode\\": \\"1234*****67890\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"GroupName\\": \\"测试空间\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"OrderId\\": \\"2117*****0447\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询已购买设备列表',
+ 'summary' => '查询已购买设备列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePurchasedDevices'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Port',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '8080',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeRecords' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Url',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备上的流URL。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rtmp://xxx/xxx',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Username',
+ 'name' => 'Type',
'in' => 'query',
'schema' => [
- 'description' => '设备用户名。',
+ 'description' => '按存储记录类型查询。取值范围:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)',
'type' => 'string',
- 'required' => false,
- 'example' => 'admin',
+ 'required' => true,
+ 'enumValueTitles' => ['record' => 'record', 'snapshot' => 'snapshot'],
+ 'example' => 'record',
],
],
[
- 'name' => 'Password',
+ 'name' => 'StreamId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备密码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'admin',
- ],
+ 'schema' => ['description' => '按流ID查询。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'Vendor',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '公司A',
- ],
+ 'schema' => ['description' => '按开始时间查询。', 'type' => 'string', 'required' => true, 'example' => '2021-11-22T00:00:00Z'],
],
[
- 'name' => 'Longitude',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备经度。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '45.00',
- ],
+ 'schema' => ['description' => '按结束时间查询。', 'type' => 'string', 'required' => true, 'example' => '2021-11-24T00:00:00Z'],
],
[
- 'name' => 'Latitude',
+ 'name' => 'PrivateBucket',
'in' => 'query',
- 'schema' => [
- 'description' => '设备维度。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '119.20',
- ],
+ 'schema' => ['description' => '是否使用私有Bucket。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
],
[
- 'name' => 'AutoPos',
+ 'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '是否启用设备位置订阅,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '按给定字段排序,取值范围:'."\n"
+ .'- Id(默认)', 'type' => 'string', 'required' => false, 'example' => 'Id'],
],
[
- 'name' => 'PosInterval',
+ 'name' => 'SortDirection',
'in' => 'query',
'schema' => [
- 'description' => '位置订阅周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '排序方式。取值范围:'."\n"
+ .'- asc(升序)(默认)'."\n"
+ .'- desc(降序)',
+ 'type' => 'string',
'required' => false,
- 'example' => '300',
+ 'enumValueTitles' => ['asc' => 'asc', 'desc' => 'desc'],
+ 'example' => 'asc',
],
],
[
- 'name' => 'AlarmMethod',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '订阅的国标报警方式。取值范围:'."\n"
- .'- 0(全部)'."\n"
- .'- 5(视频报警)'."\n"
- .'- 7(其他报警)'."\n"
- .'> - 空值表示不订阅。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '分页大小,默认值:20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'Params',
+ 'name' => 'PageNum',
'in' => 'query',
- 'schema' => [
- 'description' => '设备其他参数,格式为JSON序列化的字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '第几个分页,默认值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -10452,311 +7544,337 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'PageNum' => ['description' => '第几个分页。'."\n"
+ .'> 仅限录制查询。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'NextStartTime' => ['description' => '查询下个记录的开始时间。'."\n"
+ .'> 仅限截图查询。', 'type' => 'string', 'example' => '2018-12-10T11:00:00Z'],
+ 'PageSize' => ['description' => '分页大小。'."\n"
+ .'> 仅限录制查询。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '存储记录总数。'."\n"
+ .'> 仅限录制查询。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageCount' => ['description' => '分页总数。'."\n"
+ .'> 仅限录制查询。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Records' => [
+ 'description' => '存储记录列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '存储记录类型。取值范围:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)', 'type' => 'string', 'example' => 'record'],
+ 'Height' => ['description' => '高度。', 'type' => 'integer', 'format' => 'int64', 'example' => '1080'],
+ 'Url' => ['description' => '存储文件的URL。', 'type' => 'string', 'example' => 'http://my_oss_bucket.oss-cn-qingdao.aliyuncs.com/record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8'],
+ 'OssBucket' => ['description' => '存储文件的Bucket。', 'type' => 'string', 'example' => 'my_oss_bucket'],
+ 'FileFormat' => ['description' => '存储文件格式。取值范围:'."\n"
+ .'- mp4'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'- jpg', 'type' => 'string', 'example' => 'hls'],
+ 'StreamId' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
+ 'OssObject' => ['description' => '存储文件的Object。', 'type' => 'string', 'example' => 'record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8'],
+ 'EndTime' => ['description' => '存储记录结束时间。', 'type' => 'string', 'example' => '2021-11-23T18:33:48'],
+ 'StartTime' => ['description' => '存储记录开始时间。', 'type' => 'string', 'example' => '2021-11-23T18:19:32'],
+ 'Width' => ['description' => '宽度。', 'type' => 'integer', 'format' => 'int64', 'example' => '1920'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '388*****204-cn-qingdao'],
+ 'Id' => ['description' => '存储记录ID。'."\n"
+ .'> 仅限录制查询。', 'type' => 'string', 'example' => '2be2a673-6033-4874-b6f2-f2bc0a1*****'],
+ 'OssEndpoint' => ['description' => 'OSS接入点。', 'type' => 'string', 'example' => 'oss-cn-qingdao.aliyuncs.com'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '修改设备',
- 'summary' => '修改设备信息。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"NextStartTime\\": \\"2018-12-10T11:00:00Z\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Records\\": [\\n {\\n \\"Type\\": \\"record\\",\\n \\"Height\\": 1080,\\n \\"Url\\": \\"http://my_oss_bucket.oss-cn-qingdao.aliyuncs.com/record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"StreamId\\": \\"323*****997-cn-qingdao\\",\\n \\"OssObject\\": \\"record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8\\",\\n \\"EndTime\\": \\"2021-11-23T18:33:48\\",\\n \\"StartTime\\": \\"2021-11-23T18:19:32\\",\\n \\"Width\\": 1920,\\n \\"TemplateId\\": \\"388*****204-cn-qingdao\\",\\n \\"Id\\": \\"2be2a673-6033-4874-b6f2-f2bc0a1*****\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询录制记录列表',
+ 'summary' => '查询录制记录列表。',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecords'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRecords',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeRenderingInstance' => [
+ 'summary' => '查询一个云应用服务实例的详细信息。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199425',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3238848****092996-cn-qingdao',
- ],
- ],
- [
- 'name' => 'IncludeStats',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否返回流统计信息,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'IncludeDirectory',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回目录信息,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '设备类型。取值范围:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'example' => 'ipc',
- ],
- 'Status' => [
- 'description' => '设备状态。取值范围:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)'."\n"
- .'- failed(锁定)'."\n"
- .'- new(未注册)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'AlarmMethod' => [
- 'description' => '订阅的国标报警方式。取值范围:'."\n"
- .'- 0(全部)'."\n"
- .'- 5(视频报警)'."\n"
- .'- 7(其他报警)'."\n"
- .'> - 空值表示不订阅。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'Dsn' => [
- 'description' => '设备序列号。',
- 'type' => 'string',
- 'example' => '7D0*****4C0',
- ],
- 'Port' => [
- 'description' => '设备端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8080',
- ],
- 'PosInterval' => [
- 'description' => '位置订阅周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '300',
- ],
- 'ParentId' => [
- 'description' => '上级设备ID,比如:摄像头所属的平台ID。',
- 'type' => 'string',
- 'example' => '3238848****092995-cn-qingdao',
- ],
- 'Password' => [
- 'description' => '设备密码。',
- 'type' => 'string',
- 'example' => 'admin',
- ],
- 'AutoPos' => [
- 'description' => '是否启用设备位置订阅。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Params' => [
- 'description' => '设备其他参数。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'Enabled' => [
- 'description' => '设备是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Name' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'ChannelSyncTime' => [
- 'description' => '通道同步时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:01:17Z',
- ],
- 'CreatedTime' => [
- 'description' => '设备创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '3238848****092994-cn-qingdao',
- ],
- 'RegisteredTime' => [
- 'description' => '设备注册时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Protocol' => [
- 'description' => '设备注册协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'Ip' => [
- 'description' => '设备IP。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'Url' => [
- 'description' => '设备上的流URL。',
- 'type' => 'string',
- 'example' => 'rtmp://xxx/xxx',
- ],
- 'AutoStart' => [
- 'description' => '是否自动启动流。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Vendor' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'example' => '公司A',
- ],
- 'GbId' => [
- 'description' => '设备国标ID。'."\n"
- .'> 仅适用于国标协议。',
- 'type' => 'string',
- 'example' => '31000000****00000002',
- ],
- 'GroupId' => [
- 'description' => '设备所属空间ID。',
- 'type' => 'string',
- 'example' => '3238848****092994-cn-qingdao',
- ],
- 'Longitude' => [
- 'description' => '设备经度。',
- 'type' => 'string',
- 'example' => '45.00',
- ],
- 'Latitude' => [
- 'description' => '设备维度。',
- 'type' => 'string',
- 'example' => '119.20',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '3238848****092996-cn-qingdao',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'CreationTime' => ['title' => '实例创建时间', 'description' => '实例创建时间', 'type' => 'string', 'example' => '2024-05-07T02:27:06Z'],
+ 'SystemInfo' => [
+ 'description' => '系统信息,包括分辨率等',
+ 'type' => 'object',
+ 'properties' => [
+ 'Resolution' => ['description' => '分辨率。取值:'."\n"
+ ."\n"
+ .'- 1920*864'."\n"
+ ."\n"
+ .'- 1080*1920'."\n"
+ ."\n"
+ .'- 1920*1080'."\n"
+ ."\n"
+ .'- 720*1280'."\n"
+ ."\n"
+ .'- 2400*1080'."\n"
+ ."\n"
+ .'- 1080*2400'."\n"
+ ."\n"
+ .'- 1280*720'."\n"
+ ."\n"
+ .'- 864*1920', 'type' => 'string', 'example' => '1920*1080'],
+ 'Frequency' => ['description' => '实例刷新率,单位HZ', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ ],
],
- 'Username' => [
- 'description' => '设备用户名。',
- 'type' => 'string',
- 'example' => 'admin',
+ 'RenderingStatus' => [
+ 'title' => '实例操作状态',
+ 'description' => '实例操作状态',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['title' => '实例操作状态,取值范围,'."\n"
+ .'1. Preparing:初始化准备中'."\n"
+ .'2. Rebooting:重启中'."\n"
+ .'3. Resetting:重置中'."\n"
+ .'4. Working:工作中,属于终态'."\n"
+ .'5. Failure:操作失败,属于终态', 'description' => '实例操作状态,取值范围,'."\n"
+ .'1. Preparing:初始化准备中'."\n"
+ .'2. Rebooting:重启中'."\n"
+ .'3. Resetting:重置中'."\n"
+ .'4. Working:工作中,属于终态'."\n"
+ .'5. Failure:操作失败,属于终态', 'type' => 'string', 'example' => 'Working'],
+ 'LatestAction' => ['title' => '实例最近一次操作动作', 'description' => '实例最近一次操作动作名', 'type' => 'string', 'example' => 'MigrateLocalData'],
+ 'Description' => ['title' => '状态描述', 'description' => '状态描述', 'type' => 'string', 'example' => '工作中'],
+ ],
],
- 'Stats' => [
- 'description' => '设备流统计信息。',
+ 'ConfigInfo' => [
+ 'title' => '实例配置信息',
+ 'description' => '实例配置信息',
'type' => 'object',
'properties' => [
- 'FailedNum' => [
- 'description' => '失败流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'StreamNum' => [
- 'description' => '流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'NetworkConfig' => [
+ 'title' => '出/入方向带宽限速。单位Mb/s。',
+ 'description' => '出/入方向带宽限速。单位Mb/s。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxIngressBandwidth' => ['description' => '入方向最大限流,单位Mb/s。0表示无限流配置', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MaxEgressBandwidth' => ['description' => '出方向最大限流,单位Mb/s。0表示无限流配置', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'BandwidthStatus' => ['description' => '带宽生效状态,取值:'."\n"
+ ."\n"
+ .'1. waiting:生效中'."\n"
+ .'2. success:已生效'."\n"
+ .'3. failed:生效失败', 'type' => 'string', 'example' => 'success'],
+ 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '2023-08-17T09:54:35Z'],
+ ],
],
- 'ChannelNum' => [
- 'description' => '通道数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'Configuration' => [
+ 'title' => '已生效真机仿真配置',
+ 'description' => '已配置的真机仿真模块信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '已配置的真机仿真模块属性信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModuleName' => ['description' => '真机仿真功能模块名,取值范围包括,'."\n"
+ .'1. ctl:控制模块'."\n"
+ .'2. prop:属性模块'."\n"
+ .'3. location:定位模块'."\n"
+ .'4. battery:电池模块'."\n"
+ .'5. network:网络模块'."\n"
+ .'6. bluetooth:蓝牙模块'."\n"
+ .'7. sim:SIM卡模块'."\n"
+ .'8. display:设备模块'."\n"
+ .'9. system:基础模块', 'type' => 'string', 'example' => 'location'],
+ 'Attributes' => [
+ 'title' => '属性列表',
+ 'description' => '属性列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '属性值', 'type' => 'any', 'example' => '100'],
+ 'Name' => ['description' => '属性名', 'type' => 'string', 'example' => 'lon'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'OnlineNum' => [
- 'description' => '在线流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ ],
+ ],
+ 'Hostname' => ['title' => '实例hostname,默认为出口Eip', 'description' => '云应用服务实例域名/访问IP', 'type' => 'string', 'example' => 'cn-xxx.ecr.aliyuncs.com'],
+ 'Isp' => ['title' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'description' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'type' => 'string', 'example' => 'telecom'],
+ 'PortMappings' => [
+ 'title' => '端口映射信息',
+ 'description' => '端口映射信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '端口映射信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalPort' => ['title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '10013/10020'],
+ 'InternalPort' => ['title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '49008/49015'],
],
- 'OfflineNum' => [
- 'description' => '离线流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ ],
+ ],
+ 'RenderingSpec' => ['description' => '云应用服务实例规格', 'type' => 'string', 'example' => 'crs.cp.l1'],
+ 'StorageSize' => ['description' => '云应用服务实例存储容量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'EgressIp' => ['title' => '出站IP', 'description' => '出站IP', 'type' => 'string', 'example' => '1.1.8.8'],
+ 'AdditionalIngresses' => [
+ 'title' => '其他可选的入口网络信息',
+ 'description' => '其他可选的入口网络信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '可选的入口网络信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Hostname' => ['title' => '云应用服务实例域名/IP', 'description' => '云应用服务实例域名/IP', 'type' => 'string', 'example' => '101.66.165.213'],
+ 'Isp' => ['title' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'description' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'type' => 'string', 'example' => 'cmcc'],
+ 'PortMappings' => [
+ 'title' => '端口映射列表',
+ 'description' => '端口映射列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '端口映射信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalPort' => ['title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '12500/12519'],
+ 'InternalPort' => ['title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '11120/11139'],
+ ],
+ ],
+ ],
],
],
],
- 'Directory' => [
- 'description' => '目录信息。',
+ 'InternalIp' => ['description' => '内网IP', 'type' => 'string', 'example' => '10.1.17.32'],
+ 'ResourceAttributes' => [
+ 'title' => '云应用服务实例属性信息',
+ 'description' => '云应用服务实例属性信息',
'type' => 'object',
'properties' => [
- 'ParentId' => [
- 'description' => '上级目录ID。',
- 'type' => 'string',
- 'example' => '3238848****092995-cn-qingdao',
- ],
- 'Description' => [
- 'description' => '目录描述。',
+ 'Zone' => [
+ 'title' => '资源域,取值范围:Private、Public',
+ 'description' => '资源域,取值范围:Private、Public',
'type' => 'string',
- 'example' => '目录1',
+ 'example' => 'Public',
+ 'enum' => ['Private', 'Public'],
],
- 'GroupId' => [
- 'description' => '目录所属空间ID。',
+ 'OutAccess' => [
+ 'title' => '出网配置,取值范围:'."\n"
+ .'1. ON:开启。资源具备访问公网能力。'."\n"
+ .'2. OFF:关闭。',
+ 'description' => '出网配置,取值范围:'."\n"
+ .'1. ON:开启。资源具备访问公网能力。'."\n"
+ .'2. OFF:关闭。',
'type' => 'string',
- 'example' => '3238848****092994-cn-qingdao',
+ 'example' => 'ON',
+ 'enum' => ['ON', 'OFF'],
],
- 'Name' => [
- 'description' => '目录名称。',
+ 'InAccess' => [
+ 'title' => '入网配置,取值范围:'."\n"
+ .'1. ON:开启。资源可被外部访问。'."\n"
+ .'2. OFF:关闭。',
+ 'description' => '入网配置,取值范围:'."\n"
+ .'1. ON:开启。资源可被外部访问。'."\n"
+ .'2. OFF:关闭。',
'type' => 'string',
- 'example' => '目录1',
+ 'example' => 'ON',
+ 'enum' => ['ON', 'OFF'],
],
- 'CreatedTime' => [
- 'description' => '目录创建时间。',
+ 'EdgeMediaService' => [
+ 'title' => '流化服务,取值范围:'."\n"
+ .'1. ON:开启。'."\n"
+ .'2. OFF:关闭。',
+ 'description' => '流化服务,取值范围:'."\n"
+ .'1. ON:开启。'."\n"
+ .'2. OFF:关闭。',
'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
+ 'example' => 'ON',
+ 'enum' => ['ON', 'OFF'],
],
- 'Id' => [
- 'description' => '目录ID。',
+ ],
+ ],
+ 'InstanceChargeType' => ['title' => '实例计费类型', 'description' => '实例计费类型', 'type' => 'string', 'example' => 'PostPaid'],
+ 'ResourceStatus' => [
+ 'title' => '计算资源状态信息',
+ 'description' => '计算资源状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '计算资源运行态,取值范围,'."\n"
+ .'1. running:边缘实例状态正常'."\n"
+ .'2. operating:边缘实例运维中'."\n"
+ .'3. error:检测到边缘异常。',
+ 'description' => '计算资源运行态,取值范围,'."\n"
+ .'1. running:边缘实例状态正常'."\n"
+ .'2. operating:边缘实例运维中'."\n"
+ .'3. error:检测到边缘异常。',
'type' => 'string',
- 'example' => '3238848****092994-cn-qingdao',
+ 'example' => 'running',
+ 'enum' => ['running', 'error', 'operating'],
],
],
],
@@ -10764,516 +7882,406 @@
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"ipc\\",\\n \\"Status\\": \\"on\\",\\n \\"AlarmMethod\\": \\"5\\",\\n \\"Dsn\\": \\"7D0*****4C0\\",\\n \\"Port\\": 8080,\\n \\"PosInterval\\": 300,\\n \\"AutoDirectory\\": true,\\n \\"ParentId\\": \\"3238848****092995-cn-qingdao\\",\\n \\"Password\\": \\"admin\\",\\n \\"AutoPos\\": false,\\n \\"Params\\": \\"{}\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"ChannelSyncTime\\": \\"2019-02-28T17:01:17Z\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"DirectoryId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"RegisteredTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Url\\": \\"rtmp://xxx/xxx\\",\\n \\"AutoStart\\": false,\\n \\"Vendor\\": \\"公司A\\",\\n \\"GbId\\": \\"31000000****00000002\\",\\n \\"GroupId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"Longitude\\": \\"45.00\\",\\n \\"Latitude\\": \\"119.20\\",\\n \\"Id\\": \\"3238848****092996-cn-qingdao\\",\\n \\"Username\\": \\"admin\\",\\n \\"Stats\\": {\\n \\"FailedNum\\": 1,\\n \\"StreamNum\\": 1,\\n \\"ChannelNum\\": 1,\\n \\"OnlineNum\\": 1,\\n \\"OfflineNum\\": 1\\n },\\n \\"Directory\\": {\\n \\"ParentId\\": \\"3238848****092995-cn-qingdao\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"3238848****092994-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"3238848****092994-cn-qingdao\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询设备',
- 'summary' => '查询设备信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDevices' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"CreationTime\\": \\"2024-05-07T02:27:06Z\\",\\n \\"SystemInfo\\": {\\n \\"Resolution\\": \\"1920*1080\\",\\n \\"Frequency\\": 60\\n },\\n \\"RenderingStatus\\": {\\n \\"Status\\": \\"Working\\",\\n \\"LatestAction\\": \\"MigrateLocalData\\",\\n \\"Description\\": \\"工作中\\"\\n },\\n \\"ConfigInfo\\": {\\n \\"NetworkConfig\\": {\\n \\"MaxIngressBandwidth\\": 100,\\n \\"MaxEgressBandwidth\\": 100,\\n \\"BandwidthStatus\\": \\"success\\",\\n \\"UpdateTime\\": \\"2023-08-17T09:54:35Z\\"\\n },\\n \\"Configuration\\": [\\n {\\n \\"ModuleName\\": \\"location\\",\\n \\"Attributes\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"Name\\": \\"lon\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"Isp\\": \\"telecom\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"RenderingSpec\\": \\"crs.cp.l1\\",\\n \\"StorageSize\\": 20,\\n \\"EgressIp\\": \\"1.1.8.8\\",\\n \\"AdditionalIngresses\\": [\\n {\\n \\"Hostname\\": \\"101.66.165.213\\",\\n \\"Isp\\": \\"cmcc\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"12500/12519\\",\\n \\"InternalPort\\": \\"11120/11139\\"\\n }\\n ]\\n }\\n ],\\n \\"InternalIp\\": \\"10.1.17.32\\",\\n \\"ResourceAttributes\\": {\\n \\"Zone\\": \\"Public\\",\\n \\"OutAccess\\": \\"ON\\",\\n \\"InAccess\\": \\"ON\\",\\n \\"EdgeMediaService\\": \\"ON\\"\\n },\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"ResourceStatus\\": {\\n \\"Status\\": \\"running\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询云应用服务实例详细信息',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-27T05:35:36.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-10T09:57:07.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-05-29T05:45:38.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-12-24T07:31:18.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeRenderingInstanceConfiguration' => [
+ 'summary' => '查询一个云应用服务实例系统配置的实时信息。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '213856',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备名称。'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '摄像头A',
- ],
- ],
- [
- 'name' => 'Type',
+ 'name' => 'Configuration',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '按设备类型查询。取值范围:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
+ 'title' => '配置内容',
+ 'description' => '需要查询的配置内容,默认查全量模块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '真机仿真模块',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModuleName' => ['title' => '模块名称', 'description' => '模块名称', 'type' => 'string', 'required' => true, 'example' => 'location'],
+ 'AttributeNames' => [
+ 'title' => '模块对应的属性列表',
+ 'description' => '需要查询的属性名称列表,默认查全量',
+ 'type' => 'array',
+ 'items' => ['description' => '属性名', 'type' => 'string', 'required' => false, 'example' => 'lon'],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'deprecated' => false,
'required' => false,
- 'example' => 'ipc',
],
],
- [
- 'name' => 'GroupId',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '按设备所属空间ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****174-cn-qingdao',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Configuration' => [
+ 'title' => '配置内容',
+ 'description' => '配置内容',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '真机仿真模块属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModuleName' => ['title' => '模块名称', 'description' => '真机仿真功能模块名,取值范围包括,'."\n"
+ ."\n"
+ .'1. ctl:控制模块'."\n"
+ .'2. prop:属性模块'."\n"
+ .'3. location:定位模块'."\n"
+ .'4. battery:电池模块'."\n"
+ .'5. network:网络模块'."\n"
+ .'6. bluetooth:蓝牙模块'."\n"
+ .'7. sim:SIM卡模块'."\n"
+ .'8. display:设备模块'."\n"
+ .'9. system:基础模块', 'type' => 'string', 'example' => 'location'],
+ 'Attributes' => [
+ 'title' => '属性列表',
+ 'description' => '模块对应的属性列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['title' => '属性名', 'description' => '属性名', 'type' => 'string', 'example' => 'lon'],
+ 'Value' => ['title' => '属性值', 'description' => '属性值', 'type' => 'any', 'example' => '100'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
- [
- 'name' => 'ParentId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备所属上级设备ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****774-cn-qingdao',
- ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Configuration\\": [\\n {\\n \\"ModuleName\\": \\"location\\",\\n \\"Attributes\\": [\\n {\\n \\"Name\\": \\"lon\\",\\n \\"Value\\": \\"100\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询云应用服务实例配置信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstanceConfiguration'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'DirectoryId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备所属目录ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****488-cn-qingdao',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeRenderingInstanceSettings' => [
+ 'summary' => '调用 DescribeRenderingInstanceSettings 查询云应用服务实例配置',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'GbId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备国标ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '310000000****0000002',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
[
- 'name' => 'Dsn',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备序列号,唯一标识。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '7D0*****4C0',
- ],
+ 'schema' => ['description' => '云应用服务实例ID。', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'Status',
+ 'name' => 'AttributeNames',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '按设备状态查询。',
- 'type' => 'string',
+ 'description' => '实例配置名称列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '实例配置名称。', 'type' => 'string', 'required' => false, 'example' => 'navbar.hide'],
'required' => false,
- 'example' => 'on',
],
],
- [
- 'name' => 'Vendor',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '按设备厂商查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8yd*****qem',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Settings' => [
+ 'description' => '实例配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '实例配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeName' => ['description' => '实例配置名称。', 'type' => 'string', 'example' => 'navbar.hide'],
+ 'AttributeValue' => ['description' => '实例配置内容。', 'type' => 'string', 'example' => '1'],
+ ],
+ ],
+ ],
+ ],
],
],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序。取值:'."\n"
- .'> id(默认)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'id',
- ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Settings\\": [\\n {\\n \\"AttributeName\\": \\"navbar.hide\\",\\n \\"AttributeValue\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询云应用服务实例配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstanceSettings'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SortDirection',
- 'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- asc(升序)(默认)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstanceSettings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeRenderingSession' => [
+ 'summary' => '查询会话的详情信息,包含会话当前状态、网络访问IP/端口、云应用服务实例位置等信息。',
+ 'path' => '/',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值:20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageNum',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'IncludeStats',
+ 'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回流统计信息,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['title' => '会话ID。SessionId/ClientId至少必选一项', 'description' => '会话ID。SessionId/ClientId至少必选一项', 'type' => 'string', 'required' => false, 'example' => 'session-i205217481741918129226'],
],
[
- 'name' => 'IncludeDirectory',
+ 'name' => 'ClientId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回目录信息,默认值:false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['title' => '终端客户的唯一ID。SessionId/ClientId至少必选一项', 'description' => '终端客户的唯一ID。SessionId/ClientId至少必选一项', 'type' => 'string', 'required' => false, 'example' => 'd27c89d6-4fe3-4855-a89c-ea721c708b0b'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SessionId' => ['title' => '会话ID', 'description' => '会话ID', 'type' => 'string', 'example' => 'session-i205217481741918129226'],
+ 'ClientId' => ['title' => '终端客户端ID', 'description' => '终端客户端ID', 'type' => 'string', 'example' => 'c91263a0-f9ac-45bd-bbe9-6e293ad32d91'],
+ 'AppId' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ 'StartTime' => ['title' => '启动时间', 'description' => '启动时间', 'type' => 'string', 'example' => '2025-05-18T02:20:00Z'],
+ 'Hostname' => ['title' => '云应用服务实例域名/IP。默认该域名/IP相关信息将自动传递给边缘实例。', 'description' => '实例hostname,默认为访问Eip', 'type' => 'string', 'example' => '111.45.29.96'],
+ 'Isp' => ['title' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'description' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'type' => 'string', 'example' => 'telecom'],
+ 'PortMappings' => [
+ 'title' => '端口映射信息',
+ 'description' => '端口映射信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '端口映射信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalPort' => ['title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '10013/10020'],
+ 'InternalPort' => ['title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '49008/49015'],
+ ],
+ ],
],
- 'TotalCount' => [
- 'description' => '设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '77',
+ 'StateInfo' => [
+ 'title' => '业务调度状态信息',
+ 'description' => '会话状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'State' => ['title' => '业务调度状态', 'description' => '会话状态,取值范围,'."\n"
+ .'1. SessionStarting:会话启动中'."\n"
+ .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
+ .'3. SessionStarted:会话已启动/使用中'."\n"
+ .'4. SessionStartFailed:会话启动失败'."\n"
+ .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
+ .'6. SessionStopping:会话停止中'."\n"
+ .'7. SessionStopFailed:会话停止失败', 'type' => 'string', 'example' => 'SessionStarted'],
+ 'Comment' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => '已启动'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-10-15T10:05:20+08:00'],
+ ],
],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
+ 'Location' => [
+ 'title' => '云应用服务实例位置信息',
+ 'description' => '云应用服务实例位置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProvinceCode' => ['title' => '云应用服务实例所属省份码', 'description' => '云应用服务实例所属省份码', 'type' => 'string', 'example' => '310000'],
+ ],
],
- 'Devices' => [
- 'description' => '设备列表。',
+ 'AdditionalIngresses' => [
+ 'title' => '其他可选的入口网络信息',
+ 'description' => '其他可选的入口网络信息',
'type' => 'array',
'items' => [
+ 'description' => '可选的入口网络信息',
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '设备类型。取值范围:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'example' => 'ipc',
- ],
- 'Status' => [
- 'description' => '设备状态。取值范围:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)'."\n"
- .'- failed(锁定)'."\n"
- .'- new(未注册)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'AlarmMethod' => [
- 'description' => '订阅的国标报警方式。取值范围:'."\n"
- .'- 0(全部)'."\n"
- .'- 5(视频报警)'."\n"
- .'- 7(其他报警)'."\n"
- .'> - 空值表示不订阅。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'Dsn' => [
- 'description' => '设备序列号。'."\n"
- .'> 仅适用于AUVSP、ODCAP协议。',
- 'type' => 'string',
- 'example' => '7D0*****4C0',
- ],
- 'Port' => [
- 'description' => '设备端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8080',
- ],
- 'PosInterval' => [
- 'description' => '位置订阅周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '300',
- ],
- 'AutoDirectory' => [
- 'description' => '是否启用平台设备的目录上报。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ParentId' => [
- 'description' => '上级设备ID,比如:摄像头所属的平台ID。',
- 'type' => 'string',
- 'example' => '3238848****092995',
- ],
- 'Password' => [
- 'description' => '设备密码。',
- 'type' => 'string',
- 'example' => 'admin',
- ],
- 'AutoPos' => [
- 'description' => '是否启用设备位置订阅。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Params' => [
- 'description' => '设备其他参数。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'Description' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'Enabled' => [
- 'description' => '是否启用设备。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Name' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'ChannelSyncTime' => [
- 'description' => '通道同步时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:01:17Z',
- ],
- 'CreatedTime' => [
- 'description' => '设备创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- 'RegisteredTime' => [
- 'description' => '设备注册时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Protocol' => [
- 'description' => '设备协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'Ip' => [
- 'description' => '设备IP。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'Url' => [
- 'description' => '设备上的流URL。',
- 'type' => 'string',
- 'example' => 'rtmp://xxx/xxx',
- ],
- 'AutoStart' => [
- 'description' => '是否自动启动流。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Vendor' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'example' => '公司A',
- ],
- 'GbId' => [
- 'description' => '设备国标ID。'."\n"
- .'> 仅适用于国标协议。',
- 'type' => 'string',
- 'example' => '310000000****0000002',
- ],
- 'GroupId' => [
- 'description' => '设备所属空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'Longitude' => [
- 'description' => '设备经度。',
- 'type' => 'string',
- 'example' => '45.00',
- ],
- 'Latitude' => [
- 'description' => '设备维度。',
- 'type' => 'string',
- 'example' => '119.20',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'Username' => [
- 'description' => '设备用户名。',
- 'type' => 'string',
- 'example' => 'admin',
- ],
- 'Stats' => [
- 'description' => '设备流统计信息。',
- 'type' => 'object',
- 'properties' => [
- 'FailedNum' => [
- 'description' => '失败流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'StreamNum' => [
- 'description' => '流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ChannelNum' => [
- 'description' => '通道数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OnlineNum' => [
- 'description' => '在线流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'OfflineNum' => [
- 'description' => '离线流数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- ],
- ],
- 'Directory' => [
- 'description' => '目录信息。',
- 'type' => 'object',
- 'properties' => [
- 'ParentId' => [
- 'description' => '上级目录ID。',
- 'type' => 'string',
- 'example' => '399*****774-cn-qingdao',
- ],
- 'Description' => [
- 'description' => '目录描述。',
- 'type' => 'string',
- 'example' => '目录1',
- ],
- 'GroupId' => [
- 'description' => '目录所属空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'Name' => [
- 'description' => '目录名称。',
- 'type' => 'string',
- 'example' => '目录1',
- ],
- 'CreatedTime' => [
- 'description' => '目录创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Id' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
+ 'PortMappings' => [
+ 'title' => '端口映射列表',
+ 'description' => '端口映射列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '端口映射信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalPort' => ['title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '11060/11079'],
+ 'InternalPort' => ['title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '11060/11079'],
],
],
],
+ 'Isp' => ['title' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'description' => '运营商编码,取值范围:'."\n"
+ .'1. cmcc'."\n"
+ .'2. unicom'."\n"
+ .'3. telecom', 'type' => 'string', 'example' => 'unicom'],
+ 'Hostname' => ['title' => '云应用服务实例域名/IP', 'description' => '云应用服务实例域名/IP', 'type' => 'string', 'example' => '111.45.29.96'],
],
],
],
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'PatchId' => ['title' => '云应用补丁包ID。空值表示为原始版本', 'description' => '云应用补丁包ID。空值表示为原始版本', 'type' => 'string', 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 77,\\n \\"PageCount\\": 5,\\n \\"Devices\\": [\\n {\\n \\"Type\\": \\"ipc\\",\\n \\"Status\\": \\"on\\",\\n \\"AlarmMethod\\": \\"0\\",\\n \\"Dsn\\": \\"7D0*****4C0\\",\\n \\"Port\\": 8080,\\n \\"PosInterval\\": 300,\\n \\"AutoDirectory\\": true,\\n \\"ParentId\\": \\"3238848****092995\\",\\n \\"Password\\": \\"admin\\",\\n \\"AutoPos\\": false,\\n \\"Params\\": \\"{}\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"ChannelSyncTime\\": \\"2019-02-28T17:01:17Z\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"RegisteredTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Url\\": \\"rtmp://xxx/xxx\\",\\n \\"AutoStart\\": false,\\n \\"Vendor\\": \\"公司A\\",\\n \\"GbId\\": \\"310000000****0000002\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Longitude\\": \\"45.00\\",\\n \\"Latitude\\": \\"119.20\\",\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"Username\\": \\"admin\\",\\n \\"Stats\\": {\\n \\"FailedNum\\": 0,\\n \\"StreamNum\\": 0,\\n \\"ChannelNum\\": 0,\\n \\"OnlineNum\\": 0,\\n \\"OfflineNum\\": 0\\n },\\n \\"Directory\\": {\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询设备列表',
- 'summary' => '查询设备列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SyncCatalogs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\",\\n \\"ClientId\\": \\"c91263a0-f9ac-45bd-bbe9-6e293ad32d91\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"StartTime\\": \\"2025-05-18T02:20:00Z\\",\\n \\"Hostname\\": \\"111.45.29.96\\",\\n \\"Isp\\": \\"telecom\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"StateInfo\\": {\\n \\"State\\": \\"SessionStarted\\",\\n \\"Comment\\": \\"已启动\\",\\n \\"UpdateTime\\": \\"2024-10-15T10:05:20+08:00\\"\\n },\\n \\"Location\\": {\\n \\"ProvinceCode\\": \\"310000\\"\\n },\\n \\"AdditionalIngresses\\": [\\n {\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"11060/11079\\",\\n \\"InternalPort\\": \\"11060/11079\\"\\n }\\n ],\\n \\"Isp\\": \\"unicom\\",\\n \\"Hostname\\": \\"111.45.29.96\\"\\n }\\n ],\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\"\\n}","type":"json"}]',
+ 'title' => '查询会话信息',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-19T08:44:42.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-10T09:57:07.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3238****739092996-cn-shenzhen',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
],
'responses' => [
@@ -11281,50 +8289,119 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '3238****739092996-cn-shenzhen',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Status' => ['description' => '流状态。取值:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)', 'type' => 'string', 'example' => 'on'],
+ 'PlayDomain' => ['description' => '流所属播流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'Protocol' => ['description' => '流协议。', 'type' => 'string', 'example' => 'gb28181'],
+ 'DeviceId' => ['description' => '流所属的设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'Height' => ['description' => '视频流分辨率高度。', 'type' => 'integer', 'format' => 'int32', 'example' => '720'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'GroupId' => ['description' => '流所属的空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'Width' => ['description' => '视频流分辨率宽度。', 'type' => 'integer', 'format' => 'int32', 'example' => '1280'],
+ 'App' => ['description' => '流所属应用。', 'type' => 'string', 'example' => 'live'],
+ 'Enabled' => ['description' => '流是否启用。', 'type' => 'boolean', 'example' => 'true'],
+ 'Name' => ['description' => '流名称。', 'type' => 'string', 'example' => '31000000*****0000002'],
+ 'PushDomain' => ['description' => '流所属推流域名。', 'type' => 'string', 'example' => 'demo.aliyundoc.com'],
+ 'CreatedTime' => ['description' => '流创建时间。', 'type' => 'string', 'example' => '2019-02-28T17:00:17Z'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"3238****739092996-cn-shenzhen\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '同步平台通道',
- 'summary' => '同步平台通道信息。',
- ],
- 'UnlockDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"on\\",\\n \\"PlayDomain\\": \\"example.aliyundoc.com\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Height\\": 720,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Width\\": 1280,\\n \\"App\\": \\"live\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"PushDomain\\": \\"demo.aliyundoc.com\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询流详情',
+ 'summary' => '查询流信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeStreamURL' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323884****9092996',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '流类型,默认live。取值:'."\n"
+ .'- live(直播流)'."\n"
+ .'- vod(点播流,例如NVR上的历史流)', 'type' => 'string', 'required' => false, 'example' => 'live', 'default' => 'live'],
+ ],
+ [
+ 'name' => 'OutProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => '流播放协议。取值:'."\n"
+ .'- rtmp'."\n"
+ .'- flv'."\n"
+ .'- hls', 'type' => 'string', 'required' => true, 'example' => 'rtmp'],
+ ],
+ [
+ 'name' => 'Auth',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否需要生成签名URL。取值:'."\n"
+ .'- true'."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
+ ],
+ [
+ 'name' => 'AuthKey',
+ 'in' => 'query',
+ 'schema' => ['description' => '播放域名关联的主key,用于生成鉴权URL。'."\n"
+ ."\n"
+ .'> 通过 [DescribeVsDomainConfigs](https://next.api.aliyun.com/document/vs/2018-12-12/DescribeVsDomainConfigs) 接口查询对应的AuthKey信息', 'type' => 'string', 'required' => false, 'example' => 'ocs*****ace'],
+ ],
+ [
+ 'name' => 'Expire',
+ 'in' => 'query',
+ 'schema' => ['description' => 'URL的过期时长,单位:秒', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,适用于vod流类型。 '."\n"
+ .'unix时间戳,单位:秒', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1571639499'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,适用于vod流类型。 '."\n"
+ .'unix时间戳,单位:秒', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1571649499'],
+ ],
+ [
+ 'name' => 'Transcode',
+ 'in' => 'query',
+ 'schema' => ['description' => '转码规则名称(需要先绑定转码模板)。', 'type' => 'string', 'required' => false, 'example' => 'sd'],
],
],
'responses' => [
@@ -11332,52 +8409,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'example' => '323884****9092996',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Url' => ['description' => '流的URL。', 'type' => 'string', 'example' => 'rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'ExpireTime' => ['description' => 'URL过期时间点。 '."\n"
+ .'unix时间戳,单位:秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1557977029'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323884****9092996\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '解锁设备',
- 'summary' => '解锁设备。',
- ],
- 'StartDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ExpireTime\\": 1557977029\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '获取流URL',
+ 'summary' => '获取流URL信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamURL'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreamURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeStreamVodList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323884****9092996',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '18526049*****219118918-cn-beijing'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '点播记录开始时间点(uinx时间戳,单位:秒)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1639077653'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '点播记录结束时间点(uinx时间戳,单位:秒)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1634873413'],
],
],
'responses' => [
@@ -11385,63 +8476,122 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '323884****9092996',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Records' => [
+ 'description' => '点播记录列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => ['description' => '点播记录结束时间点(uinx时间戳,单位:秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1634873413'],
+ 'StartTime' => ['description' => '点播记录开始时间点(uinx时间戳,单位:秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1639077653'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323884****9092996\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '启动设备',
- 'summary' => '启动设备拉流,会启动设备上的所有流。',
- 'description' => '目前每个设备仅支持单路流,效果等同于StartStream。',
- ],
- 'StopDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Records\\": [\\n {\\n \\"EndTime\\": 1634873413,\\n \\"StartTime\\": 1639077653\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '获取流视频点播列表',
+ 'summary' => '获取流点播记录列表,例如来自NVR的历史流列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamVodList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreamVodList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeStreams' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '流ID。'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '流重启触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-10T10:00:00Z',
- ],
+ 'schema' => ['description' => '按空间ID查询。', 'type' => 'string', 'required' => false, 'example' => '348*****174-cn-qingdao'],
+ ],
+ [
+ 'name' => 'DeviceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '按设备ID查询。', 'type' => 'string', 'required' => false, 'example' => '348*****380-cn-qingdao'],
+ ],
+ [
+ 'name' => 'ParentId',
+ 'in' => 'query',
+ 'schema' => ['description' => '流所在设备的父设备ID。', 'type' => 'string', 'required' => false, 'example' => '399*****774-cn-qingdao'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '按名称查询。'."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '3100000*****00000002'],
+ ],
+ [
+ 'name' => 'Domain',
+ 'in' => 'query',
+ 'schema' => ['description' => '按域名查询。', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'App',
+ 'in' => 'query',
+ 'schema' => ['description' => '按应用查询。', 'type' => 'string', 'required' => false, 'example' => 'live'],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['description' => '按给定字段排序,取值范围:'."\n"
+ .'- Id(默认)'."\n"
+ .'- GroupId'."\n"
+ .'- Name'."\n"
+ .'- DeviceId'."\n"
+ .'- Protocol'."\n"
+ .'> 不支持填入多个字段。', 'type' => 'string', 'required' => false, 'example' => 'Id'],
+ ],
+ [
+ 'name' => 'SortDirection',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方式。取值范围:'."\n"
+ .'- asc(升序)(默认)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页大小,默认值:20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'PageNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -11449,54 +8599,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'TotalCount' => ['description' => '流总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Streams' => [
+ 'description' => '流列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '流状态。取值范围:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)', 'type' => 'string', 'example' => 'on'],
+ 'PlayDomain' => ['description' => '流所属播流域名。', 'type' => 'string', 'example' => 'demo.aliyundoc.com'],
+ 'Protocol' => ['description' => '流协议。', 'type' => 'string', 'example' => 'gb28181'],
+ 'DeviceId' => ['description' => '流所属的设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'Height' => ['description' => '视频流分辨率高度。', 'type' => 'integer', 'format' => 'int32', 'example' => '720'],
+ 'GroupId' => ['description' => '流所属的空间ID。', 'type' => 'string', 'example' => '348*****174-cn-qingdao'],
+ 'App' => ['description' => '流所属应用。', 'type' => 'string', 'example' => 'live'],
+ 'Width' => ['description' => '视频流分辨率宽度。', 'type' => 'integer', 'format' => 'int32', 'example' => '1280'],
+ 'Enabled' => ['description' => '流是否启用。', 'type' => 'boolean', 'example' => 'true'],
+ 'Name' => ['description' => '流名称。', 'type' => 'string', 'example' => '31000000*****0000002'],
+ 'PushDomain' => ['description' => '流所属推流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'CreatedTime' => ['description' => '流创建时间。', 'type' => 'string', 'example' => '2018-12-10T17:00:00Z'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '停止设备',
- 'summary' => '停止设备拉流,会停止设备上的所有流。',
- 'description' => '停止设备拉流,会停止设备上的所有流。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Streams\\": [\\n {\\n \\"Status\\": \\"on\\",\\n \\"PlayDomain\\": \\"demo.aliyundoc.com\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Height\\": 720,\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"App\\": \\"live\\",\\n \\"Width\\": 1280,\\n \\"Enabled\\": true,\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"PushDomain\\": \\"example.aliyundoc.com\\",\\n \\"CreatedTime\\": \\"2018-12-10T17:00:00Z\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询流列表',
+ 'summary' => '查询流的列表信息,支持通过流的ID,名称,空间ID,设备ID等过滤筛选。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'BatchStartDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreams'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '32388487****92996-cn-qingdao',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
],
],
'responses' => [
@@ -11504,96 +8682,140 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
+ 'Type' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)'."\n"
+ .'- transcode(转码)'."\n"
+ .'- timeshift(时移)', 'type' => 'string', 'example' => 'record'],
+ 'Trigger' => ['description' => '模板触发类型。取值:'."\n"
+ .'- auto(自动)'."\n"
+ .'- ondemand(按需)'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'auto'],
+ 'HlsTs' => ['description' => 'HLS的存储路径,ts文件。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}'],
+ 'Mp4' => ['description' => 'MP4的存储路径。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'JpgOverwrite' => ['description' => 'JPG的存储路径,用于覆盖截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg'],
+ 'Callback' => ['description' => '模板执行后的回调。', 'type' => 'string', 'example' => 'http://example.com/callback'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => '录制模板'],
+ 'Region' => ['description' => 'OSS所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Retention' => ['description' => '时移保存周期,单位:天'."\n"
+ .'> 仅限时移模板。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'HlsM3u8' => ['description' => 'HLS的存储路径,m3u8文件。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => '录制模板'],
+ 'Flv' => ['description' => 'FLV的存储路径。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'CreatedTime' => ['description' => '模板创建时间。', 'type' => 'string', 'example' => '2020-12-10T10:00:00Z'],
+ 'OssEndpoint' => ['description' => 'OSS的域名。', 'type' => 'string', 'example' => 'oss-cn-qingdao.aliyuncs.com'],
+ 'OssFilePrefix' => ['description' => 'OSS文件前缀', 'type' => 'string', 'example' => 'oss-prefix'],
+ 'JpgOnDemand' => ['description' => 'JPG的存储路径,用于按需截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg'],
+ 'OssBucket' => ['description' => 'OSS的Bucket。', 'type' => 'string', 'example' => 'my_oss_bucket'],
+ 'FileFormat' => ['description' => '存储文件格式,多值用逗号分隔。取值:mp4,flv,hls,jpg', 'type' => 'string', 'example' => 'hls'],
+ 'JpgSequence' => ['description' => 'JPG的存储路径,用于序列截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg'],
+ 'Interval' => ['description' => '操作周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3600'],
+ 'Id' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
+ 'TransConfigs' => [
+ 'description' => '转码配置列表。'."\n"
+ .'> 仅限转码模板。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '32388487****92996-cn-qingdao',
- ],
- 'Streams' => [
- 'description' => '设备流列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '流的错误信息。(仅在出错时存在)',
- 'type' => 'string',
- 'example' => 'Stream not found',
- ],
- 'Name' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => '310101*****187542126',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '3238848****092997-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'Gop' => ['description' => '视频Gop,单位:帧', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'Width' => ['description' => '视频宽度', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'],
+ 'VideoBitrate' => ['description' => '视频比特率,单位:kbps', 'type' => 'integer', 'format' => 'int64', 'example' => '800'],
+ 'Height' => ['description' => '视频高度', 'type' => 'integer', 'format' => 'int64', 'example' => '720'],
+ 'VideoCodec' => ['description' => '视频编码', 'type' => 'string', 'example' => 'h264'],
+ 'Fps' => ['description' => '视频帧率,单位:fps', 'type' => 'integer', 'format' => 'int64', 'example' => '25'],
+ 'Name' => ['description' => '转码规则名称,转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母', 'type' => 'string', 'example' => 'sd'],
+ 'Id' => ['description' => '转码配置ID。', 'type' => 'string', 'example' => '399*****430-cn-qingdao'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Id\\": \\"32388487****92996-cn-qingdao\\",\\n \\"Streams\\": [\\n {\\n \\"Error\\": \\"Stream not found\\",\\n \\"Name\\": \\"310101*****187542126\\",\\n \\"Id\\": \\"3238848****092997-cn-qingdao\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量启动设备',
- 'summary' => '批量启动设备拉流。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"record\\",\\n \\"Trigger\\": \\"auto\\",\\n \\"HlsTs\\": \\"osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}\\",\\n \\"Mp4\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"JpgOverwrite\\": \\"osspath/snapshot/{AppName}/{StreamName}.jpg\\",\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"录制模板\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Retention\\": 3,\\n \\"HlsM3u8\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Name\\": \\"录制模板\\",\\n \\"Flv\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"CreatedTime\\": \\"2020-12-10T10:00:00Z\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"OssFilePrefix\\": \\"oss-prefix\\",\\n \\"JpgOnDemand\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"JpgSequence\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg\\",\\n \\"Interval\\": 3600,\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"TransConfigs\\": [\\n {\\n \\"Gop\\": 50,\\n \\"Width\\": 1280,\\n \\"VideoBitrate\\": 800,\\n \\"Height\\": 720,\\n \\"VideoCodec\\": \\"h264\\",\\n \\"Fps\\": 25,\\n \\"Name\\": \\"sd\\",\\n \\"Id\\": \\"399*****430-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询模板',
+ 'summary' => '查询模板信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'BatchStopDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeTemplates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '32388487****92996',
- ],
+ 'schema' => ['description' => '模板ID', 'type' => 'string', 'required' => false, 'example' => '323434****83423432'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '流重启触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-14T23:00:00Z',
- ],
+ 'schema' => ['description' => '按模板类型查询。', 'type' => 'string', 'required' => false, 'example' => 'record'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '按绑定的实例ID查询。', 'type' => 'string', 'required' => false, 'example' => '323*****998-cn-qingdao'],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => ['description' => '按给定字段排序,默认按ID排序。', 'type' => 'string', 'required' => false, 'example' => 'id'],
+ ],
+ [
+ 'name' => 'SortDirection',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方式,默认升序。取值:'."\n"
+ .'- asc(升序)'."\n"
+ .'- desc(降序)', 'type' => 'string', 'required' => false, 'example' => 'asc'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页大小,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'PageNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -11601,174 +8823,182 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
+ 'PageNum' => ['description' => '第几个分页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F3F88C96-CA6E-573E-B8F7-5BE83A1A0BCF'],
+ 'TotalCount' => ['description' => '模板总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageCount' => ['description' => '分页总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'Templates' => [
+ 'description' => '模板列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '32388487****92996',
- ],
- 'Streams' => [
- 'description' => '设备流列表。',
+ 'Type' => ['description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)'."\n"
+ .'- transcode(转码)'."\n"
+ .'- timeshift(时移)', 'type' => 'string', 'example' => 'record'],
+ 'Trigger' => ['description' => '模板触发类型。取值:'."\n"
+ .'- auto(自动)'."\n"
+ .'- ondemand(按需)'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'auto'],
+ 'OssFilePrefix' => ['description' => 'OSS文件前缀。', 'type' => 'string', 'example' => 'my_prefix'],
+ 'HlsTs' => ['description' => 'HLS的存储路径,ts文件。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}'],
+ 'Mp4' => ['description' => 'MP4的存储路径。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'JpgOnDemand' => ['description' => 'JPG的存储路径,用于按需截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg'],
+ 'OssBucket' => ['description' => 'OSS的Bucket。', 'type' => 'string', 'example' => 'my_oss_bucket'],
+ 'JpgSequence' => ['description' => 'JPG的存储路径,用于序列截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg'],
+ 'JpgOverwrite' => ['description' => 'JPG的存储路径,用于覆盖截图。'."\n"
+ .'> 仅限截图模板。', 'type' => 'string', 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg'],
+ 'FileFormat' => ['description' => '存储文件格式,多值用逗号分隔。取值:mp4,flv,hls,jpg', 'type' => 'string', 'example' => 'hls'],
+ 'Callback' => ['description' => '模板执行后的回调。', 'type' => 'string', 'example' => 'http://example.com/callback'],
+ 'Interval' => ['description' => '操作周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '3600'],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => '录制模板'],
+ 'Region' => ['description' => 'OSS所属区域,即服务中心。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Retention' => ['description' => '时移保存周期,单位:天'."\n"
+ .'> 仅限时移模板。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'HlsM3u8' => ['description' => 'HLS的存储路径,m3u8文件。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'Flv' => ['description' => 'FLV的存储路径。'."\n"
+ .'> 仅限录制模板。', 'type' => 'string', 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => '录制模板'],
+ 'CreatedTime' => ['description' => '模板创建时间。', 'type' => 'string', 'example' => '2018-12-10T10:00:00Z'],
+ 'OssEndpoint' => ['description' => 'OSS的域名。', 'type' => 'string', 'example' => 'oss-cn-qingdao.aliyuncs.com'],
+ 'Id' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
+ 'TransConfigs' => [
+ 'description' => '转码配置列表。'."\n"
+ .'> 仅限转码模板。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Error' => [
- 'description' => '流的错误信息。(仅在出错时存在)',
- 'type' => 'string',
- 'example' => 'Stream not found',
- ],
- 'Name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '32388*****39092997',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323884****9092997',
- ],
+ 'Gop' => ['description' => '视频Gop,单位:帧', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'Width' => ['description' => '视频宽度', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'],
+ 'VideoBitrate' => ['description' => '视频比特率,单位:kbps', 'type' => 'integer', 'format' => 'int64', 'example' => '800'],
+ 'Height' => ['description' => '视频高度', 'type' => 'integer', 'format' => 'int64', 'example' => '720'],
+ 'VideoCodec' => ['description' => '视频编码', 'type' => 'string', 'example' => 'h264'],
+ 'Fps' => ['description' => '视频帧率,单位:fps', 'type' => 'integer', 'format' => 'int64', 'example' => '25'],
+ 'Name' => ['description' => '转码规则名称,转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母', 'type' => 'string', 'example' => 'sd'],
+ 'id' => ['description' => '转码配置ID。', 'type' => 'string', 'example' => '399788187729597430-cn-qingdao'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Id\\": \\"32388487****92996\\",\\n \\"Streams\\": [\\n {\\n \\"Error\\": \\"Stream not found\\",\\n \\"Name\\": \\"32388*****39092997\\",\\n \\"Id\\": \\"323884****9092997\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量停止设备',
- 'summary' => '批量停止设备拉流。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"F3F88C96-CA6E-573E-B8F7-5BE83A1A0BCF\\",\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Templates\\": [\\n {\\n \\"Type\\": \\"record\\",\\n \\"Trigger\\": \\"auto\\",\\n \\"OssFilePrefix\\": \\"my_prefix\\",\\n \\"HlsTs\\": \\"osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}\\",\\n \\"Mp4\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"JpgOnDemand\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"JpgSequence\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg\\",\\n \\"JpgOverwrite\\": \\"osspath/snapshot/{AppName}/{StreamName}.jpg\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"Interval\\": 3600,\\n \\"Description\\": \\"录制模板\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Retention\\": 3,\\n \\"HlsM3u8\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Flv\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Name\\": \\"录制模板\\",\\n \\"CreatedTime\\": \\"2018-12-10T10:00:00Z\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"TransConfigs\\": [\\n {\\n \\"Gop\\": 50,\\n \\"Width\\": 1280,\\n \\"VideoBitrate\\": 800,\\n \\"Height\\": 720,\\n \\"VideoCodec\\": \\"h264\\",\\n \\"Fps\\": 25,\\n \\"Name\\": \\"sd\\",\\n \\"id\\": \\"399788187729597430-cn-qingdao\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询模板列表',
+ 'summary' => '查询模板列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateDeviceAlarm' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplates'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVodStreamURL' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- [
- 'name' => 'ChannelId',
+ 'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'description' => '通道ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '12',
- ],
+ 'schema' => ['description' => '点播视频的文件URL', 'type' => 'string', 'required' => true, 'example' => 'http://xxx/xxx.mp4'],
],
[
- 'name' => 'ObjectType',
+ 'name' => 'TxId',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体对象类型。取值:'."\n"
- .'- 0(无)'."\n"
- .'- 1(JPEG图片)'."\n"
- .'- 2(视频)'."\n"
- .'- 3(GIF图片)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '0',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- [
- 'name' => 'Alarm',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '告警类型。取值:'."\n"
- ."\n"
- .'- 0(其他)'."\n"
- .'- 1(运动检测告警)'."\n"
- .'- 2(智能告警)'."\n"
- .'- 3(开关量告警)'."\n"
- .'- 4(视频丢失告警)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => ['description' => '流播放URL', 'type' => 'string', 'example' => 'rtsp://domain/live/stream?sign=xxxxxx'],
+ 'OutProtocol' => ['description' => '流播放协议', 'type' => 'string', 'example' => 'rtsp'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Port' => ['description' => '流播放端口', 'type' => 'integer', 'format' => 'int64', 'example' => '8080'],
+ 'TxId' => ['type' => 'string'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'SubAlarm',
- 'in' => 'query',
- 'schema' => [
- 'description' => '告警子类型。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtsp://domain/live/stream?sign=xxxxxx\\",\\n \\"OutProtocol\\": \\"rtsp\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Port\\": 8080,\\n \\"TxId\\": \\"\\"\\n}","type":"json"}]',
+ 'title' => '获取vod流URL',
+ 'summary' => '获取点播流的URL信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVodStreamURL'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '起始时间点。(单位:毫秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1632121707000',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVodStreamURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsCertificateDetail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间点。(单位:毫秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1632314789000',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Expire',
+ 'name' => 'CertName',
'in' => 'query',
- 'schema' => [
- 'description' => '媒体上传URL的过期时间。(单位:秒,默认60秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['description' => '证书名称', 'type' => 'string', 'required' => true, 'example' => 'cert-539xxxx'],
],
],
'responses' => [
@@ -11776,105 +9006,57 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '媒体上传的URL,可使用PUT上传。',
- 'type' => 'string',
- 'example' => 'rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e',
- ],
- 'AlarmId' => [
- 'description' => '告警ID。',
- 'type' => 'string',
- 'example' => '0hyNgTdgv2D000195842',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '76E11E6A-4441-51C9-AF60-D354362257A7',
- ],
- 'Expire' => [
- 'description' => 'URL的过期时长。(单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3600',
- ],
- 'AlarmDelay' => [
- 'description' => '下次相同告警的最小间隔。(单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '60',
- ],
+ 'CertName' => ['description' => '证书名称', 'type' => 'string', 'example' => 'cert-539xxxxx'],
+ 'Key' => ['description' => '密钥。', 'type' => 'string', 'example' => 'xxxxx'],
+ 'Cert' => ['description' => '证书内容', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----xxxxx-----END CERTIFICATE-----'],
+ 'CertId' => ['description' => '证书id', 'type' => 'integer', 'format' => 'int64', 'example' => '63000000'],
+ 'RequestId' => ['description' => '本次操作请求ID', 'type' => 'string', 'example' => 'D94D0E1E-E71B-562D-8C18-969BB3653FBD'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"AlarmId\\": \\"0hyNgTdgv2D000195842\\",\\n \\"RequestId\\": \\"76E11E6A-4441-51C9-AF60-D354362257A7\\",\\n \\"Expire\\": 3600,\\n \\"AlarmDelay\\": 60\\n}","type":"json"}]',
- 'title' => '创建设备告警',
- 'summary' => '上报设备告警。',
- ],
- 'ModifyDeviceAlarm' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertName\\": \\"cert-539xxxxx\\",\\n \\"Key\\": \\"xxxxx\\",\\n \\"Cert\\": \\"-----BEGIN CERTIFICATE-----xxxxx-----END CERTIFICATE-----\\",\\n \\"CertId\\": 63000000,\\n \\"RequestId\\": \\"D94D0E1E-E71B-562D-8C18-969BB3653FBD\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '获取证书详情',
+ 'summary' => '获取证书详细信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsCertificateDetail'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsCertificateDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsCertificateList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- [
- 'name' => 'ChannelId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '通道ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'AlarmId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '告警ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '0dGo7jLwwf1000296232',
- ],
- ],
- [
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '告警状态。取值:'."\n"
- ."\n"
- .'- 1(上传完成)'."\n"
- .'- 2(上传失败)'."\n"
- .'- 3(一般错误)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '域名', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
],
'responses' => [
@@ -11882,74 +9064,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '本次调用的请求id', 'type' => 'string', 'example' => '6E310519-E035-51AB-80D4-C1CBECD39EB5'],
+ 'CertificateListModel' => [
+ 'description' => '证书id',
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => ['description' => '证书个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'CertList' => [
+ 'description' => '证书列表信息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LastTime' => ['description' => '时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1632462708'],
+ 'Fingerprint' => ['description' => '证书指纹。', 'type' => 'string', 'example' => '3EB2585309AE5C8F369****7CDA6A8F5CEC8B2D4'],
+ 'CertName' => ['description' => '证书名称', 'type' => 'string', 'example' => 'cert-5391062'],
+ 'Issuer' => ['description' => '证书发行商', 'type' => 'string', 'example' => 'xxxxCert Inc'],
+ 'CertId' => ['description' => '证书id'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6338888'],
+ 'Common' => ['description' => '证书中的CN属性,一般是一个域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '修改设备报警',
- 'summary' => '更新设备告警状态。',
- ],
- 'ModifyDeviceCapture' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E310519-E035-51AB-80D4-C1CBECD39EB5\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": [\\n {\\n \\"LastTime\\": 1632462708,\\n \\"Fingerprint\\": \\"3EB2585309AE5C8F369****7CDA6A8F5CEC8B2D4\\",\\n \\"CertName\\": \\"cert-5391062\\",\\n \\"Issuer\\": \\"xxxxCert Inc\\",\\n \\"CertId\\": 6338888,\\n \\"Common\\": \\"example.aliyundoc.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '获取证书列表',
+ 'summary' => '获取域名证书列表信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsCertificateList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsCertificateList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDevicesData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '按空间ID查询。'."\n", 'type' => 'string', 'required' => false, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'Image',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '抓图控制。取值:'."\n"
- .'- 0(关闭)'."\n"
- .'- 1(开启)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '获取数据的起始时间。 '."\n"
+ .'> - 日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ'."\n"
+ .'> - 最小数据粒度为5分钟。'."\n"
+ .'> - 不填的话,默认读取过去 24 小时数据。', 'type' => 'string', 'required' => false, 'example' => '2022-01-04T16:00:00Z'],
],
[
- 'name' => 'Video',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '视频录制控制。取值:'."\n"
- .'- 0(关闭)'."\n"
- .'- 1(开启短录制)'."\n"
- .'- 2(开启长录制)',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '获取数据的结束时间,需要大于起始时间。'."\n"
+ ."\n"
+ .'> - 日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ'."\n"
+ .'> - 最小数据粒度为5分钟。'."\n"
+ .'> - 不填的话,默认读取过去 24 小时数据。', 'type' => 'string', 'required' => false, 'example' => '2022-01-30T16:00:00Z'],
],
],
'responses' => [
@@ -11957,79 +9159,113 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DevicesDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '每个时间间隔的接入设备用量。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeStamp' => ['description' => '统计数据的时间点。', 'type' => 'string', 'example' => '2022-01-04T16:00:00Z'],
+ 'DevicesDataValue' => ['description' => '接入设备用量数值。单位:个。', 'type' => 'string', 'example' => '128'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '修改设备捕获',
- 'summary' => '修改设备图传配置。',
- ],
- 'ModifyDeviceChannels' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DevicesDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2022-01-04T16:00:00Z\\",\\n \\"DevicesDataValue\\": \\"128\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取接入设备用量数据',
+ 'summary' => '获取接入设备用量数据。',
+ 'description' => '不指定 StartTime 和 EndTime 时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n"
+ .'最大查询范围 31 天。'."\n"
+ ."\n"
+ .'* 支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n"
+ .'* 最多可获取最近 90 天的数据。'."\n"
+ .'* 时间粒度为小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDevicesData'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDevicesData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeVsDomainBpsData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '域名,若参数为空,默认返回所有加速域名合并后数据<br>可输入需要查询的加速域名<br>支持批量域名查询,多个域名用逗号(半角)分隔', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'Dsn',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备序列号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '210235C3GN32090008286cf17e130d',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-12-26T16:00:00Z'],
],
[
- 'name' => 'DeviceStatus',
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-02T02:30:48Z'],
+ ],
+ [
+ 'name' => 'Interval',
'in' => 'query',
'schema' => [
- 'description' => '设备状态。取值:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)',
+ 'description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒'."\n",
'type' => 'string',
'required' => false,
- 'example' => 'on',
+ 'example' => '300',
+ 'enum' => ['300', '3600', '86400'],
],
],
[
- 'name' => 'Channels',
+ 'name' => 'IspNameEn',
'in' => 'query',
- 'schema' => [
- 'description' => 'Channel数组,JSON格式字符串。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"ChannelId":12333,"Name":"测试","DeviceStatus":"on"}]',
- ],
+ 'schema' => ['description' => '运营商英文名,通过DescribeCdnRegionAndIsp接口获得,不传为所有运营商'."\n", 'type' => 'string', 'required' => false, 'example' => 'unicom'],
+ ],
+ [
+ 'name' => 'LocationNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域英文名,通过DescribeCdnRegionAndIsp接口获得,不传为所有区域'."\n", 'type' => 'string', 'required' => false, 'example' => 'guangdong'],
],
],
'responses' => [
@@ -12037,77 +9273,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8F4D95B6-EB19-5245-AD77-95EDA83E53B7',
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-10-01T07:10:48Z'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-09-18T16:00:00Z'],
+ 'RequestId' => ['description' => '本次操作请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '域名', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '每条记录的时间间隔。单位:秒。', 'type' => 'string', 'example' => '2100'],
+ 'BpsDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '每个时间间隔的网络带宽数据。'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '每个时间间隔的网络带宽数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BpsValue' => ['description' => 'bps数据值,单位:bit/second', 'type' => 'string', 'example' => '1000'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F4D95B6-EB19-5245-AD77-95EDA83E53B7\\"\\n}","type":"json"}]',
- 'title' => '修改设备通道',
- 'summary' => '更新设备通道列表。',
- 'requestParamsDescription' => '### Channel类型'."\n"
- ."\n"
- .'| 参数 | 类型 | 必要 | 描述 |'."\n"
- .'|-------------|------|-----|------|'."\n"
- .'|ChannelId |Long |是|通道ID。|'."\n"
- .'|Name |String|否|通道名称。|'."\n"
- .'|DeviceStatus |String|否|设备状态。取值范围:<ul><li>on(在线)</li><li> off(离线)</li></ul>|'."\n"
- .'|Params |String|否|设备其他参数,JSON格式字符串。|',
- ],
- 'DescribeDeviceChannels' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-10-01T07:10:48Z\\",\\n \\"StartTime\\": \\"2021-09-18T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"2100\\",\\n \\"BpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"BpsValue\\": \\"1000\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '查询域名网络带宽监控数据',
+ 'summary' => '查询域名网络带宽监控数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainBpsData'],
+ ],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备ID查询',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainBpsData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsDomainCertificateInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'PageNum',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '域名', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
],
'responses' => [
@@ -12115,145 +9354,118 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => '4641C72D-462E-4AEA-8485-FC267AF90B0A',
- ],
- 'TotalCount' => [
- 'description' => '通道总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageCount' => [
- 'description' => '分页总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Channels' => [
- 'description' => '通道列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'StreamStatus' => [
- 'description' => '流状态',
- 'type' => 'string',
- 'example' => 'off',
- ],
- 'GbId' => [
- 'description' => '国标ID',
- 'type' => 'string',
- 'example' => '3100000****000000002',
- ],
- 'Params' => [
- 'description' => '设备其它配置。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'DeviceId' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'ChannelId' => [
- 'description' => '通道ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'DeviceStatus' => [
- 'description' => '设备状态',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'Name' => [
- 'description' => '通道名称',
- 'type' => 'string',
- 'example' => '通道1',
- ],
- 'StreamId' => [
- 'description' => '流ID',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'CertInfos' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'CertInfo' => [
+ 'description' => '证书信息。'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '证书信息。'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '证书状态。'."\n"
+ .' - **success**:已生效。'."\n"
+ ."\n"
+ .' - **checking**:检测域名是否在阿里云CDN。'."\n"
+ ."\n"
+ .' - **cname_error**:域名没有切到阿里云CDN。'."\n"
+ ."\n"
+ .' - **top_domain_cname_error**:顶级域名没有切到阿里云CDN。'."\n"
+ ."\n"
+ .' - **domain_invalid**:域名包含非法字符。'."\n"
+ ."\n"
+ .' - **unsupport_wildcard**:不支持泛域名。'."\n"
+ ."\n"
+ .' - **applying**:证书申请中。'."\n"
+ ."\n"
+ .' - **get_token_timeout**:证书申请超时。'."\n"
+ ."\n"
+ .' - **check_token_timeout**:校验超时。'."\n"
+ ."\n"
+ .' - **get_cert_timeout**:获取证书超时。'."\n"
+ ."\n"
+ .' - **failed**:证书申请失败。', 'type' => 'string', 'example' => 'success'],
+ 'CertLife' => ['description' => '证书时长单位。'."\n"
+ ."\n"
+ .'- **months**:月。'."\n"
+ ."\n"
+ .'- **years**:年。', 'type' => 'string', 'example' => 'months'],
+ 'CertExpireTime' => ['description' => '证书过期时间。格式为:<i>yyyy-MM-dd</i>T<i>HH:mm:ss</i>Z(UTC时间)。', 'type' => 'string', 'example' => '2018-06-03T22:03:39Z'],
+ 'SSLPub' => ['description' => '证书公钥。', 'type' => 'string', 'example' => 'asdadaxxxx'],
+ 'CertType' => ['description' => '证书类型。'."\n"
+ ."\n"
+ .'- **free**:个人测试证书(免费版)。'."\n"
+ ."\n"
+ .'- **cas**:云盾证书。'."\n"
+ ."\n"
+ .'- **upload**:自定义上传。', 'type' => 'string', 'example' => 'free'],
+ 'ServerCertificateStatus' => ['description' => 'https开启状态。'."\n"
+ ."\n"
+ .'- **on**:已开启。'."\n"
+ .'- **off**:未开启。', 'type' => 'string', 'example' => 'on'],
+ 'CertDomainName' => ['description' => '证书匹配的域名。'."\n", 'type' => 'string', 'example' => 'example.com'],
+ 'CertName' => ['description' => '证书名称。', 'type' => 'string', 'example' => 'myname'],
+ 'CertOrg' => ['description' => '该证书签发的CA名称。', 'type' => 'string', 'example' => 'Let\'s Encrypt'],
+ 'DomainName' => ['description' => '加速域名。'."\n", 'type' => 'string', 'example' => 'example.com'],
+ ],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"4641C72D-462E-4AEA-8485-FC267AF90B0A\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Channels\\": [\\n {\\n \\"StreamStatus\\": \\"off\\",\\n \\"GbId\\": \\"3100000****000000002\\",\\n \\"Params\\": \\"{}\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"ChannelId\\": 0,\\n \\"DeviceStatus\\": \\"on\\",\\n \\"Name\\": \\"通道1\\",\\n \\"StreamId\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询设备通道列表',
- 'summary' => '查询设备通道列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDeviceGateway' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"CertLife\\": \\"months\\",\\n \\"CertExpireTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"SSLPub\\": \\"asdadaxxxx\\",\\n \\"CertType\\": \\"free\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertDomainName\\": \\"example.com\\",\\n \\"CertName\\": \\"myname\\",\\n \\"CertOrg\\": \\"Let\'s Encrypt\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取指定加速域名证书信息',
+ 'summary' => '获取指定加速域名证书信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainCertificateInfo'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainCertificateInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '24611****70597051-cn-beijing',
- ],
- ],
- [
- 'name' => 'ClientIp',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.0.1',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'Expire',
+ 'name' => 'FunctionNames',
'in' => 'query',
- 'schema' => [
- 'description' => '过期时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['description' => '功能列表名称。'."\n"
+ ."\n"
+ .'> 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => true, 'example' => 'path_based_ttl_set,oss_auth'],
],
],
'responses' => [
@@ -12261,134 +9473,208 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Host' => [
- 'description' => '云服务的服务地址。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
- ],
- 'Token' => [
- 'description' => '令牌码。',
- 'type' => 'string',
- 'example' => 'f5578fbc-694c-461d-a2a2-eb090775cef0',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Port' => [
- 'description' => '端口号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8080',
- ],
- 'Protocol' => [
- 'description' => '设备注册协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D94D0E1E-E71B-562D-8C18-969BB3653FBD'],
+ 'DomainConfigs' => [
+ 'description' => '域名配置。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '状态。取值包括:'."\n"
+ .'- success'."\n"
+ .'- testing'."\n"
+ .'- failed'."\n"
+ .'- configuring', 'type' => 'string', 'example' => 'success'],
+ 'ConfigId' => ['description' => '配置ID。', 'type' => 'string', 'example' => '6295'],
+ 'FunctionName' => ['description' => 'function名称。', 'type' => 'string', 'example' => 'aliauth'],
+ 'FunctionArgs' => [
+ 'description' => '各个function。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ArgName' => ['description' => '配置名称。', 'type' => 'string', 'example' => 'auth_type'],
+ 'ArgValue' => ['description' => '配置值。', 'type' => 'string', 'example' => 'req_auth'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Host\\": \\"192.168.0.1\\",\\n \\"Token\\": \\"f5578fbc-694c-461d-a2a2-eb090775cef0\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Port\\": 8080,\\n \\"Protocol\\": \\"gb28181\\"\\n}","type":"json"}]',
- 'title' => '查询设备网关',
- 'summary' => '查询设备网关。',
- ],
- 'DescribeDeviceURL' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D94D0E1E-E71B-562D-8C18-969BB3653FBD\\",\\n \\"DomainConfigs\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"ConfigId\\": \\"6295\\",\\n \\"FunctionName\\": \\"aliauth\\",\\n \\"FunctionArgs\\": [\\n {\\n \\"ArgName\\": \\"auth_type\\",\\n \\"ArgValue\\": \\"req_auth\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询域名配置',
+ 'summary' => '查询域名配置,一次可查询多个功能配置。',
+ 'requestParamsDescription' => '### 功能说明'."\n"
+ .'| 名称 | 参数 |'."\n"
+ .'| ---- | ---- |'."\n"
+ .'| referer_white_list_set | refer白名单。 |'."\n"
+ .'| referer_black_list_set | refer黑名单。 |'."\n"
+ .'| filetype_based_ttl_set | 文件过期时间设置。 |'."\n"
+ .'| path_based_ttl_set | 目录过期时间设置。 |'."\n"
+ .'| cc_defense | 防CC攻击。 |'."\n"
+ .'| oss_auth | OSS鉴权Bucket。 |'."\n"
+ .'| ip_black_list_set | IP黑名单。 |'."\n"
+ .'| ip_white_list_set | IP白名单。 |'."\n"
+ .'| error_page | 错误页面重定向。 |'."\n"
+ .'| tesla | 页面优化加速。 |'."\n"
+ .'| set_req_host_header | 修改回源自定义头。 |'."\n"
+ .'| set_hashkey_args | 忽略URL参数。 |'."\n"
+ .'| aliauth | 阿里鉴权。 |'."\n"
+ .'| set_resp_header | 设置响应头(浏览器端可见)。 |'."\n"
+ .'| video_seek | 视频切片拖拽开关。 |'."\n"
+ .'| range | Range请求功能。 |'."\n"
+ .'| gzip | 页面Gzip优化。 |'."\n"
+ .'| https_force | 强制HTTPS跳转。 |'."\n"
+ .'| http_force | 强制HTTP跳转。 |'."\n"
+ .'| alilive | 视频直播配置。 |'."\n"
+ .'| forward_scheme | 静态协议跟随回源。 |'."\n"
+ .'| tmd_signature | 配置频次控制自定义规则。 |'."\n"
+ .'| cdn_waf | WAF基础防护。 |',
+ 'extraInfo' => '### 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'| ---- | ---- | ---- | ---- |'."\n"
+ .'| InvalidFunctionName.ValueNotSupported | FunctionName %s is not supported. | 400 | 不支持的FunctionName %s(%s为具体功能名)。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainDetail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
- [
- 'name' => 'Stream',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '流名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'live001',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B'],
+ 'DomainConfig' => [
+ 'description' => '域名配置列表信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreated' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2021-07-19T10:27:23Z'],
+ 'Description' => ['description' => '域名描述信息。', 'type' => 'string', 'example' => '测试使用'],
+ 'SSLProtocol' => ['description' => 'HTTPS证书是否启用。取值:'."\n"
+ ."\n"
+ .'- **on**:启用。'."\n"
+ ."\n"
+ .'- **off**(默认值):不启用。', 'type' => 'string', 'example' => 'off'],
+ 'Region' => ['description' => '域名所在区域。', 'type' => 'string', 'example' => 'cn-qingdao'],
+ 'Scope' => ['description' => '加速区域。取值范围:'."\n"
+ .'- **domestic**'."\n"
+ .'- **overseas**'."\n"
+ .'- **global**', 'type' => 'string', 'example' => 'domestic'],
+ 'Cname' => ['description' => '为视图计算域名生成的一个CNAME域名,需要在域名解析服务商处将域名CNAME解析到该域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com.*****.com'],
+ 'DomainStatus' => ['description' => '视图计算加速域名运行状态。取值:'."\n"
+ ."\n"
+ .'- **online**:启用。'."\n"
+ ."\n"
+ .'- **offline**:停用。'."\n"
+ ."\n"
+ .'- **configuring**:配置中。', 'type' => 'string', 'example' => 'online'],
+ 'GmtModified' => ['description' => '最近修改时间。', 'type' => 'string', 'example' => '2021-07-19T10:27:23Z'],
+ 'DomainName' => ['description' => '视图计算域名名称。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DomainType' => ['description' => '域名类型。'."\n"
+ ."\n"
+ .'> 固定值:vs', 'type' => 'string', 'example' => 'vs'],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\",\\n \\"DomainConfig\\": {\\n \\"GmtCreated\\": \\"2021-07-19T10:27:23Z\\",\\n \\"Description\\": \\"测试使用\\",\\n \\"SSLProtocol\\": \\"off\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Scope\\": \\"domestic\\",\\n \\"Cname\\": \\"example.aliyundoc.com.*****.com\\",\\n \\"DomainStatus\\": \\"online\\",\\n \\"GmtModified\\": \\"2021-07-19T10:27:23Z\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DomainType\\": \\"vs\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '查询域名信息',
+ 'summary' => '获取指定视图计算域名配置的基本信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => '### 特殊错误码'."\n"
+ .'|ErrorCode错误码|Message错误信息|HTTP状态|语义|'."\n"
+ .'|:-----|:-----|:-----|:-----|'."\n"
+ .'|InvalidDomain.NotFound|The domain provided does not belong to you.|404|域名不存在或不属于当前用户。|'."\n"
+ .'|ServiceBusy|The specified Domain is configuring, please retry again later.|403|域名正在配置中,请稍后再试。|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainDetail'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'OutProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流协议。取值:'."\n"
- .'- rtmp'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'> 模式为推流时,仅支持rtmp',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rtmp',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsDomainPvData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Mode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流模式。取值:'."\n"
- .'- play(播放)'."\n"
- .'- push(推流)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'push',
- 'default' => 'play',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Type',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'live',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'Auth',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'true',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为1小时<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-10-10T17:00:00Z'],
],
[
- 'name' => 'Expire',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '鉴权有效时长,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-15T15:59:59Z'],
],
],
'responses' => [
@@ -12396,274 +9682,187 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '流的URL。',
- 'type' => 'string',
- 'example' => 'rtmp://demo.aliyundoc.com/live/live001?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'ExpireTime' => [
- 'description' => 'URL过期时间点。 '."\n"
- .'unix时间戳,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639130258',
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-11-12T15:59:59Z'],
+ 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2021-11-22T00:00:00Z'],
+ 'RequestId' => ['description' => '该条任务请求Id', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '每条记录的时间间隔,固定值1小时或1天。', 'type' => 'string', 'example' => '3600'],
+ 'PvDataInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'UsageData' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '详细使用数据', 'type' => 'string', 'example' => '100'],
+ 'TimeStamp' => ['description' => '时间片起始时刻', 'type' => 'string', 'example' => '2021-11-22T00:00:00Z'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/live001?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ExpireTime\\": 1639130258\\n}","type":"json"}]',
- 'title' => '查询设备URL',
- 'summary' => '查询设备流的URL信息。',
- ],
- 'DescribePurchasedDevice' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => 'StartTime、EndTime参数错误'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3614*****66212-cn-qingdao',
- ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-11-12T15:59:59Z\\",\\n \\"StartTime\\": \\"2021-11-22T00:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-11-22T00:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取域名PV数据',
+ 'summary' => '获取域名PV数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainPvData'],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '设备类型。取值:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'example' => 'ipc',
- ],
- 'SubType' => [
- 'description' => '设备子类型。取值:'."\n"
- .'- bullet(枪机)'."\n"
- .'- dome(球机)'."\n"
- .'- ptz(PTZ)',
- 'type' => 'string',
- 'example' => 'dome',
- ],
- 'Vendor' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'example' => '8yd*****qem',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'RegisterCode' => [
- 'description' => '设备注册码。',
- 'type' => 'string',
- 'example' => '12345*****67890',
- ],
- 'GroupId' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'GroupName' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'example' => '测试空间',
- ],
- 'Region' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Name' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'CreatedTime' => [
- 'description' => '设备创建时间。',
- 'type' => 'string',
- 'example' => '2018-12-10T21:00:00Z',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '33763****77224964-cn-qingdao',
- ],
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'string',
- 'example' => '2117*****0447',
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainPvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Type\\": \\"ipc\\",\\n \\"SubType\\": \\"dome\\",\\n \\"Vendor\\": \\"8yd*****qem\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"RegisterCode\\": \\"12345*****67890\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"GroupName\\": \\"测试空间\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Name\\": \\"test\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"33763****77224964-cn-qingdao\\",\\n \\"OrderId\\": \\"2117*****0447\\"\\n}","type":"json"}]',
- 'title' => '查询已购买设备',
- 'summary' => '查询已购买设备信息。',
],
- 'DescribePurchasedDevices' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeVsDomainPvUvData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '按设备ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4070*****1132-cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'Name',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '按设备名称查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxx路口摄像头',
- ],
+ 'schema' => ['description' => '起始时间,UTC格式,例如:2016-06-29T19:00:00Z', 'type' => 'string', 'required' => false, 'example' => '2021-10-14T23:00:00Z'],
],
[
- 'name' => 'Type',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '按设备类型查询。取值:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ipc',
- ],
+ 'schema' => ['description' => '结束时间,UTC格式,例如:2016-06-30T19:00:00Z', 'type' => 'string', 'required' => false, 'example' => '2021-11-24T00:00:00Z'],
],
- [
- 'name' => 'SubType',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '按设备子类型查询。取值:'."\n"
- .'- bullet(枪机)'."\n"
- .'- dome(球机)'."\n"
- .'- ptz(PTZ)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dome',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-11-24T00:00:00Z'],
+ 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2021-12-12T10:00:00Z'],
+ 'RequestId' => ['description' => '本次操作请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '时间间隔,单位:秒。', 'type' => 'string', 'example' => '3600'],
+ 'PvUvDataInfos' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'PvUvDataInfo' => [
+ 'description' => '数据信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PV' => ['description' => 'PV数据。', 'type' => 'string', 'example' => '100'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2021-10-14T23:00:00Z'],
+ 'UV' => ['description' => 'UV数据。', 'type' => 'string', 'example' => '100'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => 'StartTime、EndTime参数错误'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-11-24T00:00:00Z\\",\\n \\"StartTime\\": \\"2021-12-12T10:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvUvDataInfos\\": {\\n \\"PvUvDataInfo\\": [\\n {\\n \\"PV\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-10-14T23:00:00Z\\",\\n \\"UV\\": \\"100\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取vs域名pv和uv数据',
+ 'summary' => '获取vs域名pv和uv数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainPvUvData'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备所属空间ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****174-cn-qingdao',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainPvUvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsDomainRecordData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Vendor',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按设备厂商查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '公司A',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'SortBy',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序。取值:'."\n"
- .'- id(默认)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'id',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'SortDirection',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式,默认升序。取值:'."\n"
- .'- asc(升序)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-09-29T16:00:00Z'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ'."\n", 'type' => 'string', 'required' => false, 'example' => '2021-11-19T15:59:59Z'],
],
[
- 'name' => 'PageNum',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域信息', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
],
'responses' => [
@@ -12671,164 +9870,87 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Devices' => [
- 'description' => '设备列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '按设备类型查询。取值:'."\n"
- .'- ipc(摄像头)'."\n"
- .'- platform(平台)'."\n"
- .'- ied(智能设备)',
- 'type' => 'string',
- 'example' => 'ipc',
- ],
- 'SubType' => [
- 'description' => '按设备子类型查询。取值:'."\n"
- .'- bullet(枪机)'."\n"
- .'- dome(球机)'."\n"
- .'- ptz(PTZ)',
- 'type' => 'string',
- 'example' => 'dome',
- ],
- 'Vendor' => [
- 'description' => '设备厂商。',
- 'type' => 'string',
- 'example' => '公司A',
- ],
- 'Description' => [
- 'description' => '设备描述。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'RegisterCode' => [
- 'description' => '设备注册码。',
- 'type' => 'string',
- 'example' => '1234*****67890',
- ],
- 'GroupId' => [
- 'description' => '设备所属空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'GroupName' => [
- 'description' => '空间名称。',
- 'type' => 'string',
- 'example' => '测试空间',
- ],
- 'Region' => [
- 'description' => '空间所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Name' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'example' => 'xxx路口摄像头',
- ],
- 'CreatedTime' => [
- 'description' => '设备创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'string',
- 'example' => '2117*****0447',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RecordDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '每个时间间隔的录制时长信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2021-11-19T15:59:59Z'],
+ 'StreamCountValue' => ['description' => '流数。', 'type' => 'string', 'example' => '1'],
+ 'RecordValue' => ['description' => '截图数。', 'type' => 'string', 'example' => '100'],
+ ],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Devices\\": [\\n {\\n \\"Type\\": \\"ipc\\",\\n \\"SubType\\": \\"dome\\",\\n \\"Vendor\\": \\"公司A\\",\\n \\"Description\\": \\"xxx路口摄像头\\",\\n \\"RegisterCode\\": \\"1234*****67890\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"GroupName\\": \\"测试空间\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Name\\": \\"xxx路口摄像头\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"OrderId\\": \\"2117*****0447\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询已购买设备列表',
- 'summary' => '查询已购买设备列表。',
- ],
- 'BindPurchasedDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RecordDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2021-11-19T15:59:59Z\\",\\n \\"StreamCountValue\\": \\"1\\",\\n \\"RecordValue\\": \\"100\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取 vs 域名记录数据',
+ 'summary' => '获取 vs 域名记录数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainRecordData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainRecordData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainRegionData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '空间所属区域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3484*****8732174-cn-qingdao',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-10-30T16:00:00Z'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3939*****6580539-cn-qingdao',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-31T15:59:59Z'],
],
],
'responses' => [
@@ -12836,111 +9958,232 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'EndTime' => ['description' => '结束时间'."\n", 'type' => 'string', 'example' => '2021-10-31T15:59:59Z'],
+ 'StartTime' => ['description' => '开始时间'."\n", 'type' => 'string', 'example' => '2021-10-30T16:00:00Z'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '时间间隔。', 'type' => 'string', 'example' => '3600'],
+ 'Value' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RegionProportionData' => [
+ 'description' => '数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalQuery' => ['description' => '总请求次数', 'type' => 'string', 'example' => '3'],
+ 'TotalBytes' => ['description' => '总流量', 'type' => 'string', 'example' => '2400057'],
+ 'AvgResponseRate' => ['description' => '平均响应速度,单位:byte/秒', 'type' => 'string', 'example' => '154.3345765545624'],
+ 'AvgResponseTime' => ['description' => '平均响应时间,单位:毫秒。', 'type' => 'string', 'example' => '5183.666666666667'],
+ 'ReqErrRate' => ['description' => '请求错误率,例如返回90即为90%。', 'type' => 'string', 'example' => '0'],
+ 'AvgObjectSize' => ['description' => '响应平均大小。单位:byte。', 'type' => 'string', 'example' => '2888253.7875'],
+ 'Bps' => ['description' => '带宽。', 'type' => 'string', 'example' => '380.9614285714286'],
+ 'Qps' => ['description' => '每秒查询率。'."\n", 'type' => 'string', 'example' => '0.001746031746031746'],
+ 'RegionEname' => ['description' => '地区英文名称。', 'type' => 'string', 'example' => 'chongqing'],
+ 'Region' => ['description' => '地区信息。', 'type' => 'string', 'example' => '重庆市'],
+ 'Proportion' => ['description' => '访问占比数据。例如:返回90即为90% 。'."\n", 'type' => 'string', 'example' => '0.01155980271270037'],
+ 'BytesProportion' => ['description' => '总流量占比,例如返回90即为90%。', 'type' => 'string', 'example' => '0.003544181046236794'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<BindPurchasedDeviceResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</BindPurchasedDeviceResponse>","errorExample":""}]',
- 'title' => '绑定已购买设备',
- 'summary' => '绑定已购买设备至空间。',
- ],
- 'UnbindPurchasedDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-10-31T15:59:59Z\\",\\n \\"StartTime\\": \\"2021-10-30T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"Value\\": {\\n \\"RegionProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"3\\",\\n \\"TotalBytes\\": \\"2400057\\",\\n \\"AvgResponseRate\\": \\"154.3345765545624\\",\\n \\"AvgResponseTime\\": \\"5183.666666666667\\",\\n \\"ReqErrRate\\": \\"0\\",\\n \\"AvgObjectSize\\": \\"2888253.7875\\",\\n \\"Bps\\": \\"380.9614285714286\\",\\n \\"Qps\\": \\"0.001746031746031746\\",\\n \\"RegionEname\\": \\"chongqing\\",\\n \\"Region\\": \\"重庆市\\",\\n \\"Proportion\\": \\"0.01155980271270037\\",\\n \\"BytesProportion\\": \\"0.003544181046236794\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取域名区域数据',
+ 'summary' => '获取域名区域数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainRegionData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainRegionData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainReqBpsData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'DeviceId',
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2022-01-15T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-16T07:00:46Z'],
+ ],
+ [
+ 'name' => 'Interval',
'in' => 'query',
'schema' => [
- 'description' => '设备ID。',
+ 'description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒'."\n",
'type' => 'string',
- 'required' => true,
- 'example' => '3939*****6580539-cn-qingdao',
+ 'required' => false,
+ 'enumValueTitles' => [300 => '300', 3600 => '3600', 86400 => '86400'],
+ 'example' => '300',
],
],
+ [
+ 'name' => 'IspNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'],
+ ],
+ [
+ 'name' => 'LocationNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2021-09-24T03:30:46Z'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2021-12-24T16:00:00Z'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '每条记录的时间间隔,以秒为单位。', 'type' => 'string', 'example' => '3600'],
+ 'ReqBpsDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2021-12-24T16:00:00Z'],
+ 'ReqBpsValue' => ['description' => 'bps数据值,单位:bit/second'."\n", 'type' => 'string', 'example' => '1000'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<UnbindPurchasedDeviceResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</UnbindPurchasedDeviceResponse>","errorExample":""}]',
- 'title' => '解绑已购买设备',
- 'summary' => '从空间解绑已购买设备。',
- ],
- 'BatchBindPurchasedDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-24T03:30:46Z\\",\\n \\"StartTime\\": \\"2021-12-24T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"ReqBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2021-12-24T16:00:00Z\\",\\n \\"ReqBpsValue\\": \\"1000\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取域名网络请求监控数据',
+ 'summary' => '获取域名网络请求监控数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainReqBpsData'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainReqBpsData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainReqTrafficData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Region',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备分组id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****174-cn-qingdao',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-09-30T16:00:00Z'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-13T10:00:41Z'],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询数据的时间粒度。单位:秒。取值:'."\n"
+ .'- **300**(默认值)。'."\n"
+ .'- **3600**。'."\n"
+ .'- **86400**。'."\n"
+ ."\n"
+ .'> 不传或传值不支持时,使用默认值**300**秒。', 'type' => 'string', 'required' => false, 'example' => '3600'],
+ ],
+ [
+ 'name' => 'IspNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'unicom'],
+ ],
+ [
+ 'name' => 'LocationNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。', 'type' => 'string', 'required' => false, 'example' => 'shanghai'],
],
],
'responses' => [
@@ -12948,85 +10191,90 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '结果列表。',
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '设备错误信息。(仅在出错时存在)',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'GroupId' => [
- 'description' => '空间ID。',
- 'type' => 'string',
- 'example' => '238*****380-cn-qingdao',
- ],
- 'DeviceId' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'Region' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
+ 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2021-09-22T03:40:41Z'],
+ 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2021-09-21T16:00:00Z'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '查询数据的时间粒度。', 'type' => 'string', 'example' => '3600'],
+ 'ReqTrafficDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '每个时间间隔的请求数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '每个时间间隔的请求数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReqTrafficValue' => ['description' => '总流量。', 'type' => 'string', 'example' => '10000'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2021-09-22T03:40:41Z'],
+ ],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"GroupId\\": \\"238*****380-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Region\\": \\"cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量绑定购买设备',
- 'summary' => '批量绑定购买设备。',
- ],
- 'BatchUnbindDirectories' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-22T03:40:41Z\\",\\n \\"StartTime\\": \\"2021-09-21T16:00:00Z\\",\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"ReqTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"ReqTrafficValue\\": \\"10000\\",\\n \\"TimeStamp\\": \\"2021-09-22T03:40:41Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取 vs 域名请求流量数据',
+ 'summary' => '获取 vs 域名请求流量数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainReqTrafficData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainReqTrafficData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainSnapshotData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'DirectoryId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-10-05T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-10-18T16:00:00Z'],
],
],
'responses' => [
@@ -13034,70 +10282,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '64DB7F34-11A8-45DC-A421-40ACF446282C',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '绑定的错误信息。'."\n"
- .'> 仅在出错时存在。',
- 'type' => 'string',
- 'example' => 'An error occurred while processing your request.',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- 'DeviceId' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SnapshotDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '快照周期数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '快照周期数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'SnapshotValue' => ['description' => '截图量数值。', 'type' => 'string', 'example' => '1'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-12-10T20:00:00Z'],
+ ],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"64DB7F34-11A8-45DC-A421-40ACF446282C\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"An error occurred while processing your request.\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '从目录内批量解绑多个设备',
- 'summary' => '从目录内批量解绑多个设备。',
- ],
- 'BatchUnbindPurchasedDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SnapshotDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"SnapshotValue\\": \\"1\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取域名快照数据',
+ 'summary' => '获取域名快照数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainSnapshotData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainSnapshotData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainTrafficData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'DeviceId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => false, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-08-18T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-09-21T02:50:42Z'],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒', 'type' => 'string', 'required' => false, 'example' => '3600'],
+ ],
+ [
+ 'name' => 'IspNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'],
+ ],
+ [
+ 'name' => 'LocationNameEn',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。', 'type' => 'string', 'required' => false, 'example' => 'beijing'],
],
],
'responses' => [
@@ -13105,89 +10384,90 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅当出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'DeviceId' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
+ 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2021-09-20T07:10:42Z'],
+ 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2021-10-25T16:00:00Z'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '时间间隔,单位:秒。', 'type' => 'string', 'example' => '3600'],
+ 'TrafficDataPerInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DataModule' => [
+ 'description' => '每个时间间隔的流量数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '每个时间间隔的流量数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TrafficValue' => ['description' => '流量数据值。单位:Byte。', 'type' => 'string', 'example' => '100'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2021-09-20T07:10:42Z'],
+ ],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量解绑已购买设备',
- 'summary' => '从空间批量解绑多个已购设备。',
- ],
- 'StartStream' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-20T07:10:42Z\\",\\n \\"StartTime\\": \\"2021-10-25T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TrafficValue\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-09-20T07:10:42Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取域名流量数据',
+ 'summary' => '获取域名流量数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainTrafficData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainTrafficData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsDomainUvData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'NVR历史流,开始时间点(Unix时间戳,单位:秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1589336385',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为1小时<br> 不写默认读取过去24小时数据', 'type' => 'string', 'required' => false, 'example' => '2021-10-12T10:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'NVR历史流,结束时间点(Unix时间戳,单位:秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1599336385',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2021-11-24T00:00:00Z'],
],
],
'responses' => [
@@ -13195,77 +10475,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Name' => [
- 'description' => '流名。',
- 'type' => 'string',
- 'example' => '31000000000000000002',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
+ 'EndTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2015-11-30T00:00:00Z'],
+ 'StartTime' => ['description' => '开始时间', 'type' => 'string', 'example' => '2015-11-29T00:00:00Z'],
+ 'RequestId' => ['description' => '本次操作请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainName' => ['description' => '视图计算域名名称', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'DataInterval' => ['description' => '每条记录的时间间隔,以秒为单位,固定值1小时。', 'type' => 'string', 'example' => '3600'],
+ 'UvDataInterval' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'UsageData' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '独立访客量(UV)。', 'type' => 'string', 'example' => '100'],
+ 'TimeStamp' => ['description' => '时间片起始时刻。', 'type' => 'string', 'example' => '2015-11-29T15:00:00Z'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Name\\": \\"31000000000000000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '启动流',
- 'summary' => '启动流。',
- ],
- 'StopStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidTime.ValueNotSupported', 'errorMessage' => 'StartTime or EndTime is miss match.', 'description' => 'StartTime、EndTime参数错误'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2015-11-30T00:00:00Z\\",\\n \\"StartTime\\": \\"2015-11-29T00:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"UvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"TimeStamp\\": \\"2015-11-29T15:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取 vs 域名 uv 数据',
+ 'summary' => '获取 vs 域名 uv 数据 。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainUvData'],
+ ],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '32388487****92997-cn-qingdao',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainUvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsPullStreamInfoConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '31000000*****0000002',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '流重启触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-12T10:00:00Z',
- ],
+ 'schema' => ['description' => '您的拉流域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
],
'responses' => [
@@ -13273,53 +10556,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '32388487****92997-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'LiveAppRecordList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'LiveAppRecord' => [
+ 'description' => '拉流配置。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2016-05-15T07:30:00Z'],
+ 'AppName' => ['description' => '直播流所属应用名称。', 'type' => 'string', 'example' => 'xxxApp'],
+ 'SourceUrl' => ['description' => '拉流源站。', 'type' => 'string', 'example' => 'http://test'],
+ 'StartTime' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2016-05-15T01:30:00Z'],
+ 'StreamName' => ['description' => '流名称。', 'type' => 'string', 'example' => 'xxxStream'],
+ 'DomainName' => ['description' => '流所属拉流域名。', 'type' => 'string', 'example' => 'example.com'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"32388487****92997-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '停止流',
- 'summary' => '停止流。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'BatchStartStreams' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LiveAppRecordList\\": {\\n \\"LiveAppRecord\\": [\\n {\\n \\"EndTime\\": \\"2016-05-15T07:30:00Z\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"SourceUrl\\": \\"http://test\\",\\n \\"StartTime\\": \\"2016-05-15T01:30:00Z\\",\\n \\"StreamName\\": \\"xxxStream\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取拉流信息配置',
+ 'summary' => '查询域名下拉流配置信息。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| Missing DomainName | DomainName is mandatory for this action. | 400 |缺少参数。 | '."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsPullStreamInfoConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsStreamsNotifyUrlConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
],
'responses' => [
@@ -13327,82 +10635,144 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '流的错误信息。'."\n"
- .'>仅在流出错时存在。',
- 'type' => 'string',
- 'example' => 'stream not found',
- ],
- 'Name' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => '31000000*****0000002',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'LiveStreamsNotifyConfig' => [
+ 'description' => '配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthType' => ['type' => 'string', 'description' => ''],
+ 'AuthKey' => ['type' => 'string', 'description' => ''],
+ 'DomainName' => ['description' => '您的推流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'NotifyUrl' => ['description' => '回调地址。', 'type' => 'string', 'example' => 'https://example.com/callback'],
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"stream not found\\",\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量启动流',
- 'summary' => '批量启动流。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'BatchStopStreams' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LiveStreamsNotifyConfig\\": {\\n \\"AuthType\\": \\"\\",\\n \\"AuthKey\\": \\"\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"NotifyUrl\\": \\"https://example.com/callback\\"\\n }\\n}","type":"json"}]',
+ 'title' => '获取 VS 流通知 URL 配置',
+ 'summary' => '查询推流回调配置。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 | '."\n"
+ .'| InvalidConfig.NotFound| Config does not exist.| 404| 当前域名下未找到回调配置。|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsNotifyUrlConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsStreamsOnlineList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['description' => '应用名称。', 'type' => 'string', 'required' => false, 'example' => 'xxxApp'],
+ ],
+ [
+ 'name' => 'StreamName',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名称。', 'type' => 'string', 'required' => false, 'example' => 'xxxStream'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小。默认值:3000。'."\n"
+ ."\n"
+ .'取值范围:[1,3000]', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '2000'],
+ ],
+ [
+ 'name' => 'PageNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '第几个分页,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'StreamType',
'in' => 'query',
'schema' => [
- 'description' => '流ID,多值用逗号分隔。',
+ 'description' => '流类型。取值范围:'."\n"
+ .'- all(所有流)(默认)'."\n"
+ .'- raw(原始流)'."\n"
+ .'- trans(转码流)',
'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
+ 'required' => false,
+ 'example' => 'all',
+ 'enum' => ['all', 'raw', 'trans'],
],
],
[
'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['description' => '起始时间。'."\n"
+ .'> 为UTC格式,例如:2016-06-29T19:00:00Z', 'type' => 'string', 'required' => false, 'example' => '2016-06-29T19:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间。'."\n"
+ .'> - 为UTC格式,例如:2016-06-30T19:00:00Z'."\n"
+ .'> - EndTime和StartTime之间的间隔不能超过30天。', 'type' => 'string', 'required' => false, 'example' => '2016-06-30T19:00:00Z'],
+ ],
+ [
+ 'name' => 'QueryType',
+ 'in' => 'query',
'schema' => [
- 'description' => '停流触发时间,支持延迟停流。',
+ 'description' => '指定是否模糊匹配流名称。取值范围:'."\n"
+ .'- fuzzy(模糊匹配)'."\n"
+ .'- strict(精准匹配)',
'type' => 'string',
'required' => false,
- 'example' => '2021-12-10T10:00:00Z',
+ 'example' => 'fuzzy',
+ 'enum' => ['fuzzy', 'strict'],
+ ],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '排序方式。取值范围:'."\n"
+ .'- stream_name_desc(按直播流名称倒序)'."\n"
+ .'- stream_name_asc(按直播流名称升序)'."\n"
+ .'- publish_time_desc(按推流时间倒序)'."\n"
+ .'- publish_time_asc(按推流时间升序)(默认值)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'publish_time_asc',
+ 'enum' => ['stream_name_desc', 'stream_name_asc', 'stream_publish_time_desc', 'stream_publish_asc'],
],
],
],
@@ -13411,306 +10781,172 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '流的错误信息。'."\n"
- .'> 仅在流出错时存在。',
- 'type' => 'string',
- 'example' => 'stream not found',
- ],
- 'Name' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => '3100000*****00000002',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageNum' => ['description' => '分页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B31FC4AD-3592-573E-8063-878F722B322A'],
+ 'TotalNum' => ['description' => '符合条件的总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'OnlineInfo' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'LiveStreamOnlineInfo' => [
+ 'description' => '正在推送流的信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PublishTime' => ['description' => '开始推流时刻,UTC时间。', 'type' => 'string', 'example' => '2015-12-02T06:58:04Z'],
+ 'AppName' => ['description' => '流所属应用名称。', 'type' => 'string', 'example' => 'xxxApp'],
+ 'PublishType' => ['description' => '推流类型。取值范围:'."\n"
+ .'- edge(边缘推流)'."\n"
+ .'- center(中心推流)', 'type' => 'string', 'example' => 'edge'],
+ 'PublishUrl' => ['description' => '推流完整URL地址。', 'type' => 'string', 'example' => 'rtmp://example.com/xchen'],
+ 'Transcoded' => ['description' => '是否为转码流。取值范围:'."\n"
+ .'- yes(是)'."\n"
+ .'- no(否)', 'type' => 'string', 'example' => 'no'],
+ 'StreamName' => ['description' => '流名称。', 'type' => 'string', 'example' => 'testxchen_small'],
+ 'DomainName' => ['description' => '流所属加速域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'TranscodeId' => ['description' => '转码模板ID。'."\n"
+ .'> - 若转码过,会返回转码模板ID。'."\n"
+ .'> - 对于原始流,返回当前AppName下配置的转码模板ID列表,用英文逗号(,)分隔。', 'type' => 'string', 'example' => '123'],
+ 'PublishDomain' => ['description' => '推流域名。', 'type' => 'string', 'example' => 'push.example.com'],
+ ],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"stream not found\\",\\n \\"Name\\": \\"3100000*****00000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量停止流',
- 'summary' => '批量停止流。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalPage\\": 1,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"B31FC4AD-3592-573E-8063-878F722B322A\\",\\n \\"TotalNum\\": 10,\\n \\"OnlineInfo\\": {\\n \\"LiveStreamOnlineInfo\\": [\\n {\\n \\"PublishTime\\": \\"2015-12-02T06:58:04Z\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"PublishType\\": \\"edge\\",\\n \\"PublishUrl\\": \\"rtmp://example.com/xchen\\",\\n \\"Transcoded\\": \\"no\\",\\n \\"StreamName\\": \\"testxchen_small\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TranscodeId\\": \\"123\\",\\n \\"PublishDomain\\": \\"push.example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '查询所有正在推的流的信息',
+ 'summary' => '查看指定域名下(或者指定域名下某个应用)的所有正在推的流的信息。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsOnlineList'],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '流状态。取值:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'PlayDomain' => [
- 'description' => '流所属播流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'Protocol' => [
- 'description' => '流协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'DeviceId' => [
- 'description' => '流所属的设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'Height' => [
- 'description' => '视频流分辨率高度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '720',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'GroupId' => [
- 'description' => '流所属的空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'Width' => [
- 'description' => '视频流分辨率宽度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1280',
- ],
- 'App' => [
- 'description' => '流所属应用。',
- 'type' => 'string',
- 'example' => 'live',
- ],
- 'Enabled' => [
- 'description' => '流是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Name' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => '31000000*****0000002',
- ],
- 'PushDomain' => [
- 'description' => '流所属推流域名。',
- 'type' => 'string',
- 'example' => 'demo.aliyundoc.com',
- ],
- 'CreatedTime' => [
- 'description' => '流创建时间。',
- 'type' => 'string',
- 'example' => '2019-02-28T17:00:17Z',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsOnlineList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"on\\",\\n \\"PlayDomain\\": \\"example.aliyundoc.com\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Height\\": 720,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Width\\": 1280,\\n \\"App\\": \\"live\\",\\n \\"Enabled\\": true,\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"PushDomain\\": \\"demo.aliyundoc.com\\",\\n \\"CreatedTime\\": \\"2019-02-28T17:00:17Z\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询流详情',
- 'summary' => '查询流信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'DescribeStreams' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeVsStreamsPublishList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '您的域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'description' => '按空间ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****174-cn-qingdao',
- ],
+ 'schema' => ['description' => '直播流所属应用名称。', 'type' => 'string', 'required' => false, 'example' => 'xxxApp'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'StreamName',
'in' => 'query',
- 'schema' => [
- 'description' => '按设备ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '直播流名称。', 'type' => 'string', 'required' => false, 'example' => 'xxxStream'],
],
[
- 'name' => 'ParentId',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '流所在设备的父设备ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****774-cn-qingdao',
- ],
+ 'schema' => ['description' => '起始时间。'."\n"
+ .'> UTC格式。例如:2016-06-29T19:00:00Z', 'type' => 'string', 'required' => true, 'example' => '2016-06-29T19:00:00Z'],
],
[
- 'name' => 'Name',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '按名称查询。'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3100000*****00000002',
- ],
+ 'schema' => ['description' => '结束时间。'."\n"
+ .'> - UTC格式。例如:2016-06-30T19:00:00Z'."\n"
+ .'> - EndTime和StartTime之间的间隔不能超过30天。', 'type' => 'string', 'required' => true, 'example' => '2016-06-30T19:00:00Z'],
],
[
- 'name' => 'Domain',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '按域名查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '每页大小。默认值:3000。 '."\n"
+ .'取值范围:[1,3000]', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3000', 'default' => '2000'],
],
[
- 'name' => 'App',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '按应用查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'live',
- ],
+ 'schema' => ['description' => '第几页。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'SortBy',
+ 'name' => 'StreamType',
'in' => 'query',
'schema' => [
- 'description' => '按给定字段排序,取值范围:'."\n"
- .'- Id(默认)'."\n"
- .'- GroupId'."\n"
- .'- Name'."\n"
- .'- DeviceId'."\n"
- .'- Protocol'."\n"
- .'> 不支持填入多个字段。',
+ 'description' => '流类型。取值范围:'."\n"
+ .'- all(所有流)(默认)'."\n"
+ .'- raw(原始流)'."\n"
+ .'- trans(转码流)',
'type' => 'string',
'required' => false,
- 'example' => 'Id',
+ 'example' => 'all',
+ 'enum' => ['all', 'raw', 'trans'],
],
],
[
- 'name' => 'SortDirection',
+ 'name' => 'QueryType',
'in' => 'query',
'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- asc(升序)(默认)'."\n"
- .'- desc(降序)',
+ 'description' => '指定是否模糊匹配流名称。取值范围:'."\n"
+ .'- fuzzy(模糊匹配)'."\n"
+ .'- strict(精准匹配)',
'type' => 'string',
'required' => false,
- 'example' => 'asc',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值:20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
+ 'example' => 'fuzzy',
+ 'enum' => ['fuzzy', 'strict'],
],
],
[
- 'name' => 'PageNum',
+ 'name' => 'OrderBy',
'in' => 'query',
'schema' => [
- 'description' => '第几个分页,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '排序方式。取值范围:'."\n"
+ .'- stream_name_desc(按直播流名称倒序)'."\n"
+ .'- stream_name_asc(按直播流名称升序)'."\n"
+ .'- publish_time_desc(按推流时间倒序)'."\n"
+ .'- publish_time_asc(按推流时间升序)(默认值)',
+ 'type' => 'string',
'required' => false,
- 'example' => '1',
+ 'enumValueTitles' => [],
+ 'example' => 'publish_time_asc',
+ 'enum' => ['stream_name_desc', 'stream_name_asc', 'publish_time_desc', 'publish_asc'],
],
],
],
@@ -13719,459 +10955,483 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '流总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Streams' => [
- 'description' => '流列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '流状态。取值范围:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'PlayDomain' => [
- 'description' => '流所属播流域名。',
- 'type' => 'string',
- 'example' => 'demo.aliyundoc.com',
- ],
- 'Protocol' => [
- 'description' => '流协议。',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'DeviceId' => [
- 'description' => '流所属的设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'Height' => [
- 'description' => '视频流分辨率高度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '720',
- ],
- 'GroupId' => [
- 'description' => '流所属的空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'App' => [
- 'description' => '流所属应用。',
- 'type' => 'string',
- 'example' => 'live',
- ],
- 'Width' => [
- 'description' => '视频流分辨率宽度。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1280',
- ],
- 'Enabled' => [
- 'description' => '流是否启用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Name' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => '31000000*****0000002',
- ],
- 'PushDomain' => [
- 'description' => '流所属推流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'CreatedTime' => [
- 'description' => '流创建时间。',
- 'type' => 'string',
- 'example' => '2018-12-10T17:00:00Z',
- ],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageNum' => ['description' => '分页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '3000'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '119F7639-4646-51A4-B6C1-300D391C0104'],
+ 'TotalNum' => ['description' => '符合条件的总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'PublishInfo' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'LiveStreamPublishInfo' => [
+ 'description' => '推流记录信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EdgeNodeAddr' => ['description' => 'CDN上行节点IP。', 'type' => 'string', 'example' => '192.168.0.1'],
+ 'PublishUrl' => ['description' => '推流完整URL地址。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8'],
+ 'StreamName' => ['description' => '直播流名称。', 'type' => 'string', 'example' => 'xxxStream'],
+ 'DomainName' => ['description' => '流所属加速域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'StopTime' => ['description' => '停止推流时刻。 格式为UTC时间。', 'type' => 'string', 'example' => '2016-06-29T19:00:00Z'],
+ 'TranscodeId' => ['description' => '转码模板ID。'."\n"
+ .'> 若转码过,会返回转码模板ID。', 'type' => 'string', 'example' => '3888920****8138204-cn-qingdao'],
+ 'PublishDomain' => ['description' => '推流域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'AppName' => ['description' => '流所属应用名称。', 'type' => 'string', 'example' => 'xxxApp'],
+ 'PublishTime' => ['description' => '开始推流时刻。格式为UTC时间。', 'type' => 'string', 'example' => '2016-06-29T19:00:00Z'],
+ 'PublishType' => ['description' => '推流类型。取值范围:'."\n"
+ .'- edge(边缘推流)'."\n"
+ .'- center(中心推流)', 'type' => 'string', 'example' => 'center'],
+ 'Transcoded' => ['description' => '是否为转码流。取值范围:'."\n"
+ .'- yes(是)'."\n"
+ .'- no(否)', 'type' => 'string', 'example' => 'yes'],
+ 'ClientAddr' => ['description' => '主播IP。', 'type' => 'string', 'example' => '192.168.0.1'],
+ 'StreamUrl' => ['description' => '直播流的URL。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8'],
+ ],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Streams\\": [\\n {\\n \\"Status\\": \\"on\\",\\n \\"PlayDomain\\": \\"demo.aliyundoc.com\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\",\\n \\"Height\\": 720,\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"App\\": \\"live\\",\\n \\"Width\\": 1280,\\n \\"Enabled\\": true,\\n \\"Name\\": \\"31000000*****0000002\\",\\n \\"PushDomain\\": \\"example.aliyundoc.com\\",\\n \\"CreatedTime\\": \\"2018-12-10T17:00:00Z\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询流列表',
- 'summary' => '查询流的列表信息,支持通过流的ID,名称,空间ID,设备ID等过滤筛选。',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalPage\\": 1,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 3000,\\n \\"RequestId\\": \\"119F7639-4646-51A4-B6C1-300D391C0104\\",\\n \\"TotalNum\\": 200,\\n \\"PublishInfo\\": {\\n \\"LiveStreamPublishInfo\\": [\\n {\\n \\"EdgeNodeAddr\\": \\"192.168.0.1\\",\\n \\"PublishUrl\\": \\"https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8\\",\\n \\"StreamName\\": \\"xxxStream\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"StopTime\\": \\"2016-06-29T19:00:00Z\\",\\n \\"TranscodeId\\": \\"3888920****8138204-cn-qingdao\\",\\n \\"PublishDomain\\": \\"example.aliyundoc.com\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"PublishTime\\": \\"2016-06-29T19:00:00Z\\",\\n \\"PublishType\\": \\"center\\",\\n \\"Transcoded\\": \\"yes\\",\\n \\"ClientAddr\\": \\"192.168.0.1\\",\\n \\"StreamUrl\\": \\"https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '获取VS流推流记录',
+ 'summary' => '获取某一时间段内某个域名(或域名下某应用或某个流)的推流记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeStreamURL' => [
- 'methods' => [
- 'post',
- 'get',
+ 'extraInfo' => '#特殊错误码 '."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'| :----- | :----- | :----- | :----- |'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
+ .'| InvalidStartTime.Malformed | Specified parameter StartTime is not valid. | 400 | 开始时间错误。 |'."\n"
+ .'| InvalidEndTime.Malformed | Specified parameter EndTime is not valid. | 400 | 结束时间错误。 |'."\n"
+ .'| InvalidEndTime.Mismatch | Specified end time does not math the specified start time. | 400 | 结束时间与开始时间不匹配。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsPublishList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsPublishList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsTopDomainsByFlow' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取当月数据', 'type' => 'string', 'required' => false, 'example' => '2021-12-12T10:00:00Z'],
],
[
- 'name' => 'Type',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '流类型,默认live。取值:'."\n"
- .'- live(直播流)'."\n"
- .'- vod(点播流,例如NVR上的历史流)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'live',
- 'default' => 'live',
- ],
+ 'schema' => ['description' => '结束时间需大于起始时间;日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ', 'type' => 'string', 'required' => false, 'example' => '2018-12-10T18:00:00Z'],
],
[
- 'name' => 'OutProtocol',
+ 'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '流播放协议。取值:'."\n"
- .'- rtmp'."\n"
- .'- flv'."\n"
- .'- hls',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rtmp',
- ],
+ 'schema' => ['description' => '域名获取数量限制,默认为20,取值支持1~100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '3', 'default' => '20'],
],
- [
- 'name' => 'Auth',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '是否需要生成签名URL。取值:'."\n"
- .'- true'."\n"
- .'- false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainOnlineCount' => ['description' => '账户下**正在运行**的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
+ 'EndTime' => ['description' => '按结束时间查询。', 'type' => 'string', 'example' => '2018-12-10T18:00:00Z'],
+ 'StartTime' => ['description' => '按开始时间查询。', 'type' => 'string', 'example' => '2021-12-10T10:00:00Z'],
+ 'RequestId' => ['description' => '本次操作请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DomainCount' => ['description' => '账号下的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TopDomains' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TopDomain' => [
+ 'description' => '域名列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '排名域名列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxBps' => ['description' => '带宽峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Rank' => ['description' => '排名。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'TotalAccess' => ['description' => '访问次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'TrafficPercent' => ['description' => '流量占比。', 'type' => 'string', 'example' => '30.64191989360235'],
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.aliyundoc.com'],
+ 'TotalTraffic' => ['description' => '总流量。', 'type' => 'string', 'example' => '100'],
+ 'MaxBpsTime' => ['description' => '带宽峰值时刻。', 'type' => 'string', 'example' => '1457111400'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'InvalidStartTime.Malformed', 'errorMessage' => 'The format of the specified StartTime is invalid.', 'description' => '开始时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Malformed', 'errorMessage' => 'The format of the specified EndTime is invalid.', 'description' => '截止时间格式不对'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'InvalidStartTime.ValueNotSupported', 'errorMessage' => 'The specified StartTime is invalid.', 'description' => '不支持该开始时间'],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainOnlineCount\\": 12,\\n \\"EndTime\\": \\"2018-12-10T18:00:00Z\\",\\n \\"StartTime\\": \\"2021-12-10T10:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainCount\\": 20,\\n \\"TopDomains\\": {\\n \\"TopDomain\\": [\\n {\\n \\"MaxBps\\": 100,\\n \\"Rank\\": 1,\\n \\"TotalAccess\\": 100,\\n \\"TrafficPercent\\": \\"30.64191989360235\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"TotalTraffic\\": \\"100\\",\\n \\"MaxBpsTime\\": \\"1457111400\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取顶级域名',
+ 'summary' => '获取用户按流量排名的域名'."\n"
+ ."\n"
+ .'不指定StartTime和EndTime时,默认读取当月的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n"
+ ."\n"
+ .'* 最多可获取90天的数据。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsTopDomainsByFlow'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'AuthKey',
- 'in' => 'query',
- 'schema' => [
- 'description' => '播放域名关联的主key,用于生成鉴权URL。'."\n"
- ."\n"
- .'> 通过 [DescribeVsDomainConfigs](https://next.api.aliyun.com/document/vs/2018-12-12/DescribeVsDomainConfigs) 接口查询对应的AuthKey信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ocs*****ace',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsTopDomainsByFlow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DescribeVsUpPeakPublishStreamData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Expire',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'URL的过期时长,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,适用于vod流类型。 '."\n"
- .'unix时间戳,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1571639499',
- ],
+ 'schema' => ['description' => '拉流开始时间,UTC格式, StartTime和EndTime时间间隔在30天内', 'type' => 'string', 'required' => true, 'example' => '2017-12-10T20:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,适用于vod流类型。 '."\n"
- .'unix时间戳,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1571649499',
- ],
+ 'schema' => ['description' => '拉流结束时间,UTC格式, StartTime和EndTime时间间隔在30天内,且EndTime超过当前时间', 'type' => 'string', 'required' => true, 'example' => '2017-12-10T21:00:00Z'],
],
[
- 'name' => 'Transcode',
+ 'name' => 'DomainSwitch',
'in' => 'query',
'schema' => [
- 'description' => '转码规则名称(需要先绑定转码模板)。',
+ 'description' => '域名统计开关,取值:on或者off;on:开启域名统计级别,off:用户级别数据。默认统计用户级别数据',
'type' => 'string',
'required' => false,
- 'example' => 'sd',
+ 'example' => 'on',
+ 'enum' => ['on', 'off'],
],
],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '输入域名,查域名粒度数据', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '流的URL。',
- 'type' => 'string',
- 'example' => 'rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'ExpireTime' => [
- 'description' => 'URL过期时间点。 '."\n"
- .'unix时间戳,单位:秒',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1557977029',
+ 'RequestId' => ['description' => '该条任务请求ID', 'type' => 'string', 'example' => '27A3C548-A699-48F9-97CD-F35D81075AF3'],
+ 'DescribeVsUpPeakPublishStreamDatas' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DescribeVsUpPeakPublishStreamData' => [
+ 'description' => '每日峰值并发推流数据',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'QueryTime' => ['description' => '查询的每日时间', 'type' => 'string', 'example' => '1522166400000'],
+ 'BandWidth' => ['type' => 'string', 'description' => ''],
+ 'StatName' => ['description' => '统计数据属性名称。当DomainSwitch取值为on时,显示用户直播域名;为off或者不传值是显示用户Id。', 'type' => 'string', 'example' => 'example.com'],
+ 'PeakTime' => ['description' => '每日峰值并发推流数的峰值时刻', 'type' => 'string', 'example' => '1522252320000'],
+ 'PublishStreamNum' => ['description' => '每日峰值并发推流数', 'type' => 'integer', 'format' => 'int32', 'example' => '31'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Url\\": \\"rtmp://demo.aliyundoc.com/live/310101*****7542007?auth_key=1639130258-0-0-b2b04fe85ece6*****a6b1a42bc7e\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ExpireTime\\": 1557977029\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '获取流URL',
- 'summary' => '获取流URL信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeVodStreamURL' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"27A3C548-A699-48F9-97CD-F35D81075AF3\\",\\n \\"DescribeVsUpPeakPublishStreamDatas\\": {\\n \\"DescribeVsUpPeakPublishStreamData\\": [\\n {\\n \\"QueryTime\\": \\"1522166400000\\",\\n \\"BandWidth\\": \\"\\",\\n \\"StatName\\": \\"example.com\\",\\n \\"PeakTime\\": \\"1522252320000\\",\\n \\"PublishStreamNum\\": 31\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeVsUpPeakPublishStreamDataResponse>\\n <RequestId>27A3C548-A699-48F9-97CD-F35D81075AF3</RequestId>\\n <DescribeVsUpPeakPublishStreamDatas>\\n <QueryTime>1522166400000</QueryTime>\\n <StatName>example.com</StatName>\\n <PeakTime>1522252320000</PeakTime>\\n <PublishStreamNum>31</PublishStreamNum>\\n </DescribeVsUpPeakPublishStreamDatas>\\n</DescribeVsUpPeakPublishStreamDataResponse>","errorExample":""}]',
+ 'title' => '查询用户每日上行并发推流数峰值',
+ 'summary' => '查询用户的每日上行并发推流数峰值。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsUpPeakPublishStreamData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsUpPeakPublishStreamData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeVsUserResourcePackage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string'],
+ 'ResourcePackageInfos' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ResourcePackageInfo' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'CommodityCode' => ['type' => 'string'],
+ 'CurrCapacity' => ['type' => 'string'],
+ 'InitCapacity' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'parameters' => [
+ 'changeSet' => [
+ ['createdAt' => '2024-01-24T16:00:09.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsUserResourcePackage'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Url',
- 'in' => 'query',
- 'schema' => [
- 'description' => '点播视频的文件URL',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'http://xxx/xxx.mp4',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsUserResourcePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"ResourcePackageInfos\\": {\\n \\"ResourcePackageInfo\\": [\\n {\\n \\"DisplayName\\": \\"\\",\\n \\"Status\\": \\"\\",\\n \\"CommodityCode\\": \\"\\",\\n \\"CurrCapacity\\": \\"\\",\\n \\"InitCapacity\\": \\"\\",\\n \\"InstanceId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeVsVerifyContent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TxId',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '流播放URL',
- 'type' => 'string',
- 'example' => 'rtsp://domain/live/stream?sign=xxxxxx',
- ],
- 'OutProtocol' => [
- 'description' => '流播放协议',
- 'type' => 'string',
- 'example' => 'rtsp',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Port' => [
- 'description' => '流播放端口',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8080',
- ],
- 'TxId' => [
- 'type' => 'string',
- ],
+ 'Content' => ['description' => '校验内容。', 'type' => 'string', 'example' => 'verify_dffeb6610035dcb77b413a59c3*****'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"rtsp://domain/live/stream?sign=xxxxxx\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"OutProtocol\\": \\"rtsp\\",\\n \\"Port\\": 8080\\n}","type":"json"}]',
- 'title' => '获取vod流URL',
- 'summary' => '获取点播流的URL信息。',
- ],
- 'DescribeStreamVodList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c3*****\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsVerifyContent'],
+ ],
],
+ 'ramActions' => [],
+ ],
+ 'DisassociateRenderingProjectInstances' => [
+ 'summary' => '云应用服务实例与项目解除关联关系。',
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '18526049*****219118918-cn-beijing',
- ],
- ],
- [
- 'name' => 'StartTime',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '点播记录开始时间点(uinx时间戳,单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1639077653',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '点播记录结束时间点(uinx时间戳,单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '云应用服务实例ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-a371588064324c57b7b0133a96cbd17a'],
'required' => true,
- 'example' => '1634873413',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SuccessInstances' => [
+ 'description' => '解除关联成功的实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '解除关联成功的实例ID与结果描述信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-e6cf423c787e4e43b460a788da254fe3'],
+ 'Message' => ['title' => '描述信息', 'description' => '描述信息', 'type' => 'string', 'example' => 'success'],
+ ],
+ ],
],
- 'Records' => [
- 'description' => '点播记录列表',
+ 'FailedInstances' => [
+ 'description' => '解除关联失败的实例列表',
'type' => 'array',
'items' => [
+ 'description' => '解除关联失败的实例ID与失败描述信息',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '点播记录结束时间点(uinx时间戳,单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1634873413',
- ],
- 'StartTime' => [
- 'description' => '点播记录开始时间点(uinx时间戳,单位:秒)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639077653',
- ],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-421cd2a1125947c19fcd5c7dd2c7d31e'],
+ 'Message' => ['title' => '失败原因', 'description' => '失败原因', 'type' => 'string', 'example' => '会话中'],
],
],
],
+ 'SuccessInstanceCount' => ['title' => '成功的云应用服务实例量', 'description' => '成功的云应用服务实例量', 'type' => 'string', 'example' => '5'],
+ 'FailedInstanceCount' => ['title' => '失败的云应用服务实例量', 'description' => '失败的云应用服务实例量', 'type' => 'string', 'example' => '0'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\",\\n \\"Message\\": \\"success\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-421cd2a1125947c19fcd5c7dd2c7d31e\\",\\n \\"Message\\": \\"会话中\\"\\n }\\n ],\\n \\"SuccessInstanceCount\\": \\"5\\",\\n \\"FailedInstanceCount\\": \\"0\\"\\n}","type":"json"}]',
+ 'title' => '项目解除实例关联',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:DisassociateRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Records\\": [\\n {\\n \\"EndTime\\": 1634873413,\\n \\"StartTime\\": 1639077653\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取流视频点播列表',
- 'summary' => '获取流点播记录列表,例如来自NVR的历史流列表。',
],
'ForbidVsStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14182,32 +11442,17 @@
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '您的加速域名', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'description' => '应用名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxApp',
- ],
+ 'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'example' => 'xxxApp'],
],
[
'name' => 'StreamName',
'in' => 'query',
- 'schema' => [
- 'description' => '流名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxStream',
- ],
+ 'schema' => ['description' => '流名称', 'type' => 'string', 'required' => true, 'example' => 'xxxStream'],
],
[
'name' => 'LiveStreamType',
@@ -14217,9 +11462,7 @@
'type' => 'string',
'required' => true,
'example' => 'publisher',
- 'enum' => [
- 'publisher',
- ],
+ 'enum' => ['publisher'],
],
],
[
@@ -14230,10 +11473,7 @@
'type' => 'string',
'required' => false,
'example' => 'yes',
- 'enum' => [
- 'yes',
- 'no',
- ],
+ 'enum' => ['yes', 'no'],
],
],
[
@@ -14243,20 +11483,14 @@
'type' => 'string',
'required' => false,
'default' => 'forbid',
- 'enum' => [
- 'forbid',
- ],
+ 'enum' => ['forbid'],
+ 'description' => '',
],
],
[
'name' => 'ResumeTime',
'in' => 'query',
- 'schema' => [
- 'description' => '恢复流的时间 UTC时间格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2015-12-01T17:37:00Z',
- ],
+ 'schema' => ['description' => '恢复流的时间 UTC时间格式', 'type' => 'string', 'required' => false, 'example' => '2015-12-01T17:37:00Z'],
],
],
'responses' => [
@@ -14264,12 +11498,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID',
- 'type' => 'string',
- 'example' => '119F7639-4646-51A4-B6C1-300D391C0104',
- ],
+ 'RequestId' => ['description' => '该条任务请求ID', 'type' => 'string', 'example' => '119F7639-4646-51A4-B6C1-300D391C0104'],
],
+ 'description' => '',
],
],
],
@@ -14288,261 +11519,205 @@
.'| InvalidResumeTime.Malformed | Specified parameter ResumeTime is not valid. | 400 | 结束时间错误 |'."\n"
.'| QuotaExceeded.Blacklist | Exceed max blacklist count limit | 400 | 黑名单条数超出上限,默认1000条 |'."\n"
.'| ConfigAlreadyExists | Config has already exist. | 400 | 配置已存在 |',
- ],
- 'ResumeVsStream' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ForbidVsStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ForbidVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetRenderingInstanceCommandsStatus' => [
+ 'summary' => '查询控制命令的执行状态,获取命令是否执行成功、执行结果字符串等。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213860',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
'parameters' => [
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
- ],
- [
- 'name' => 'AppName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxxApp',
- ],
- ],
- [
- 'name' => 'StreamName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxxStream',
- ],
+ 'schema' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'LiveStreamType',
+ 'name' => 'CmdId',
'in' => 'query',
- 'schema' => [
- 'description' => '流类型。'."\n"
- .'> 目前仅支持:publisher',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'publisher',
- 'enum' => [
- 'publisher',
- ],
- ],
- ],
- [
- 'name' => 'ControlStreamAction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'resume',
- 'enum' => [
- 'resume',
- ],
- ],
+ 'schema' => ['title' => '命令下发请求的唯一ID', 'description' => '命令下发请求的唯一ID', 'type' => 'string', 'deprecated' => false, 'required' => true, 'example' => 'cmd-81de027b66e442e99c1e0e09a16a0be5'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664 ',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Result' => ['title' => '命令的执行结果字符串', 'description' => '命令的执行结果字符串', 'type' => 'string', 'example' => 'Thu Jun 27 16:06:26 CST 2024'],
+ 'Status' => ['title' => '命令执行状态,取值范围:'."\n"
+ .'1. Doing:执行中'."\n"
+ .'2. Success:已成功'."\n"
+ .'3. Failed:失败。超时时间内,失败会自动重试,客户可以选择继续等待或重新发起请求。', 'description' => '命令执行状态,取值范围:'."\n"
+ .'1. Doing:执行中'."\n"
+ .'2. Success:已成功'."\n"
+ .'3. Failed:失败。超时时间内,失败会自动重试,客户可以选择继续等待或重新发起请求。', 'type' => 'string', 'example' => 'Success'],
+ 'Message' => ['title' => '描述信息。Status=Failed时,包含失败原因', 'description' => '描述信息。Status=Failed时,包含失败原因', 'type' => 'string', 'example' => 'conn failed!'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\\\t\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '恢复某条流的推送',
- 'summary' => '恢复某条流的推送。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => '#特殊错误码 '."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'| :----- | :----- | :----- | :----- |'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
- ],
- 'BatchForbidVsStream' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Result\\": \\"Thu Jun 27 16:06:26 CST 2024\\",\\n \\"Status\\": \\"Success\\",\\n \\"Message\\": \\"conn failed!\\"\\n}","type":"json"}]',
+ 'title' => '查看实例控制命令执行状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRenderingInstanceCommandsStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingInstanceCommandsStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#accountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetRenderingInstanceStreamingInfo' => [
+ 'summary' => '获取一个云应用服务实例的流连接信息,每次流化建联前都需要调用此接口获取最新连接信息。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '199704',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
'parameters' => [
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'Channel',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流名称。'."\n"
- .'> - 格式为:AppName/StreamName。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'live/stream1,live/stream2',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
- [
- 'name' => 'LiveStreamType',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '用于指定主播推流还是客户端拉流。取值范围:'."\n"
- .'- publisher(主播推送)'."\n"
- ."\n"
- .'> 目前仅支持:publisher。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'publisher',
- 'enum' => [
- 'publisher',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'Gateway' => ['description' => '云应用服务实例流化网关域名', 'type' => 'string', 'example' => '10.178.208.22'],
+ 'Hostname' => ['description' => '云应用服务实例串流域名/IP', 'type' => 'string', 'example' => '10.18.20.2'],
+ 'Port' => ['description' => '流化连接端口', 'type' => 'string', 'example' => '10003'],
+ 'FlowId' => ['description' => '本次连接的令牌', 'type' => 'string', 'example' => '792fy125-594c-4dde-ab35-9ff8hrf0a86f'],
],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"Gateway\\": \\"10.178.208.22\\",\\n \\"Hostname\\": \\"10.18.20.2\\",\\n \\"Port\\": \\"10003\\",\\n \\"FlowId\\": \\"792fy125-594c-4dde-ab35-9ff8hrf0a86f\\"\\n}","type":"json"}]',
+ 'title' => '查询云应用服务实例流连接信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRenderingInstanceStreamingInfo'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Oneshot',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否只断流不加入黑名单。取值范围:'."\n"
- .'- yes(是)'."\n"
- .'- no(否)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yes',
- 'enum' => [
- 'yes',
- 'no',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingInstanceStreamingInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
+ ],
+ ],
+ 'GetRenderingProjectInstanceStateMetrics' => [
+ 'summary' => '查询一个项目满足特定条件的项目实例各状态数据量统计值。',
+ 'path' => '/',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ControlStreamAction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'forbid',
- 'enum' => [
- 'forbid',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
+ ],
+ 'parameters' => [
[
- 'name' => 'ResumeTime',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '恢复流的时间。'."\n"
- .'> UTC时间格式,例如:2015-12-01T17:37:00Z',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2015-12-01T17:37:00Z',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B058D71B-76EA-5DF6-ACAF-A617C1E7937F',
- ],
- 'ForbidResult' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ForbidResultInfo' => [
- 'description' => '断流结果。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Result' => [
- 'description' => '操作结果。取值范围:'."\n"
- .'- success(成功)'."\n"
- .'- fail(失败)',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Count' => [
- 'description' => '成功或者失败的路数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Detail' => [
- 'description' => '错误原因。取值范围:'."\n"
- .'- ok(成功)'."\n"
- .'- exceed-limit(黑名单条数超限)'."\n"
- .'- internal-error(内部错误)',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Channels' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Channel' => [
- 'description' => '流名称列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '流名称。'."\n"
- .'> - 格式为:AppName/StreamName。'."\n"
- .'> - 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'live/stream1,live/stream2',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'StateMetrics' => [
+ 'description' => '项目实例状态统计信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目实例状态统计信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'State' => ['title' => '项目实例状态', 'description' => '项目实例状态', 'type' => 'string', 'example' => 'Idle'],
+ 'Count' => ['title' => '实例数量', 'description' => '实例数量', 'type' => 'string', 'example' => '10'],
],
],
],
@@ -14550,29 +11725,30 @@
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B058D71B-76EA-5DF6-ACAF-A617C1E7937F\\",\\n \\"ForbidResult\\": {\\n \\"ForbidResultInfo\\": [\\n {\\n \\"Result\\": \\"success\\",\\n \\"Count\\": 2,\\n \\"Detail\\": \\"ok\\",\\n \\"Channels\\": {\\n \\"Channel\\": [\\n \\"live/stream1,live/stream2\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '批量禁止VS流',
- 'summary' => '禁止某条流的推送,可以预设某个时刻将流恢复。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP 状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
- .'| InvalidResumeTime.Malformed | Specified parameter ResumeTime is not valid. | 400 | 结束时间错误。 | '."\n"
- .'| QuotaExceeded.Blacklist | Exceed max blacklist count limit|400|黑名单条数超出上限,默认10000条。|'."\n"
- .'| ConfigAlreadyExists | Config has already exist.|400|配置已存在。|',
- ],
- 'BatchResumeVsStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"StateMetrics\\": [\\n {\\n \\"State\\": \\"Idle\\",\\n \\"Count\\": \\"10\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '查询项目实例状态统计信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingProjectInstanceStateMetrics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GotoPreset' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14581,49 +11757,14 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'Channel',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流名称,格式为AppName/StreamName, 多个用,隔开',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'live/stream1',
- ],
- ],
- [
- 'name' => 'LiveStreamType',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '用于指定主播推流还是客户端拉流, 目前支持“publisher”(主播推送)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'publisher',
- 'enum' => [
- 'publisher',
- ],
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'ControlStreamAction',
+ 'name' => 'PresetId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'default' => 'resume',
- 'enum' => [
- 'resume',
- ],
- ],
+ 'schema' => ['description' => '预置位ID。', 'type' => 'string', 'required' => true, 'example' => '2'],
],
],
'responses' => [
@@ -14631,2141 +11772,2368 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'ResumeResult' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ResumeResultInfo' => [
- 'description' => '恢复任务结果。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Result' => [
- 'description' => '操作结果,取值success/fail, 表示成功/失败',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Count' => [
- 'description' => '成功或者失败的路数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Detail' => [
- 'description' => '错误原因, 取值ok/internal-error,表示成功/内部错误',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Channels' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Channel' => [
- 'description' => '流列表,格式为AppName/StreamName',
- 'type' => 'array',
- 'items' => [
- 'description' => '流列表,格式为AppName/StreamName',
- 'type' => 'string',
- 'example' => 'live/stream1',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30295DF1-1DC7-48BA-BE5A-D58E61EB2375'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"ResumeResult\\": {\\n \\"ResumeResultInfo\\": [\\n {\\n \\"Result\\": \\"success\\",\\n \\"Count\\": 1,\\n \\"Detail\\": \\"ok\\",\\n \\"Channels\\": {\\n \\"Channel\\": [\\n \\"live/stream1\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '批量恢复某条监控流的推送',
- 'summary' => '恢复某条流的推送。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP 状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名 |',
- ],
- 'CreateStreamSnapshot' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"30295DF1-1DC7-48BA-BE5A-D58E61EB2375\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '移动至预置位',
+ 'summary' => '移动至预置位。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GotoPreset'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:GotoPreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'InstallCloudApp' => [
+ 'summary' => '安装一个云应用到一个指定云应用实例。'."\n"
+ .'属于异步接口,可通过ListCloudAppInstallations接口查询安装进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207914',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['title' => '云应用服务实例ID。'."\n"
+ .'RenderingInstanceId、RenderingInstanceIds、ProjectId至少必选其一。'."\n"
+ .'优先级RenderingInstanceId > RenderingInstanceIds > ProjectId', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'Location',
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'required' => true, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ ],
+ [
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '截图方式。取值范围:'."\n"
- .'- center(云端截图)(默认)'."\n"
- .'- device(设备截图)',
- 'type' => 'string',
+ 'title' => '云应用服务实例ID列表',
+ 'description' => '云应用服务实例ID列表',
+ 'type' => 'array',
+ 'items' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-4523e7b93ca246febd10cd12347d70c0'],
'required' => false,
- 'enumValueTitles' => [
- 'center' => '云端截图',
- 'device' => '设备截图',
- ],
- 'example' => 'device',
- 'default' => 'center',
+ 'maxItems' => 100,
],
],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。', 'description' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '100'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
+ .'1. 关于PageNumber取值范围:'."\n"
+ .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
+ .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
+ .' ⅰ. 接口返回403+错误码Code 200301'."\n"
+ .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
+ .'2. 场景举例:'."\n"
+ .' a. 项目下实例全量安装场景:项目实例数大于PageSize(默认100)时,可以多次调用Install(+1递增分页PageNumber)以实现全量安装。项目实例安装进度可通过ListCloudAppInstallations接口获取。'."\n"
+ .' b. 项目下新增实例安装场景:用PageNumber=1开始即可。分页查询默认按实例关联时间倒序,PageNumber=1分页下是最新新增实例。', 'description' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
+ .'1. 关于PageNumber取值范围:'."\n"
+ .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
+ .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
+ .' ⅰ. 接口返回403+错误码Code 200301'."\n"
+ .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
+ .'2. 场景举例:'."\n"
+ .' a. 项目下实例全量安装场景:项目实例数大于PageSize(默认100)时,可以多次调用Install(+1递增分页PageNumber)以实现全量安装。项目实例安装进度可通过ListCloudAppInstallations接口获取。'."\n"
+ .' b. 项目下新增实例安装场景:用PageNumber=1开始即可。分页查询默认按实例关联时间倒序,PageNumber=1分页下是最新新增实例。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PatchId',
+ 'in' => 'query',
+ 'schema' => ['title' => '要安装的Patch包ID,仅win场景支持。'."\n"
+ .'1. 默认安装StablePatchId'."\n"
+ .'2. 输入值origin,表示安装原始版本', 'description' => '要安装的Patch包ID,仅win场景支持。'."\n"
+ .'1. 默认安装StablePatchId'."\n"
+ .'2. 输入值origin,表示安装原始版本', 'type' => 'string', 'required' => false, 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'OssObject' => [
- 'description' => '截图文件的Object。',
- 'type' => 'string',
- 'example' => 'photos/live/340200*****100049/ondemand-1639126601767.jpg',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Width' => [
- 'description' => '图片宽度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1280',
- ],
- 'Height' => [
- 'description' => '图片高度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '720',
- ],
- 'Url' => [
- 'description' => '截图文件的URL。',
- 'type' => 'string',
- 'example' => 'http://examplebucket.oss-*****.aliyuncs.com/photos/live/340200*****100049/ondemand-1639126601767.jpg',
- ],
- 'Timestamp' => [
- 'description' => '截图时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639126601767',
- ],
- 'OssBucket' => [
- 'description' => '截图文件的Bucket。',
- 'type' => 'string',
- 'example' => 'examplebucket',
- ],
- 'Format' => [
- 'description' => '图片格式。',
- 'type' => 'string',
- 'example' => 'jpg',
- ],
- 'OssEndpoint' => [
- 'description' => '截图文件的OSS Endpoint。',
- 'type' => 'string',
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SuccessInstanceCount' => ['title' => '成功的云应用服务实例量', 'description' => '成功的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SuccessInstances' => [
+ 'title' => '成功的云应用服务实例列表',
+ 'description' => '成功的云应用服务实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '云应用服务实例',
+ 'description' => '云应用服务实例',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-5130e2feb23f442fb9456a3d977f03d4'],
+ ],
+ ],
],
- 'Id' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
+ 'FailedInstanceCount' => ['title' => '失败的云应用服务实例量', 'description' => '失败的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FailedInstances' => [
+ 'title' => '失败的云应用服务实例列表',
+ 'description' => '失败的云应用服务实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '失败的云应用服务实例',
+ 'description' => '失败的云应用服务实例',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c'],
+ 'ErrMessage' => ['title' => '失败原因信息', 'description' => '失败原因信息', 'type' => 'string', 'example' => 'Rejected due to timeout'],
+ 'ErrCode' => ['description' => '失败错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '300000'],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"OssObject\\": \\"photos/live/340200*****100049/ondemand-1639126601767.jpg\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"Url\\": \\"http://examplebucket.oss-*****.aliyuncs.com/photos/live/340200*****100049/ondemand-1639126601767.jpg\\",\\n \\"Timestamp\\": 1639126601767,\\n \\"OssBucket\\": \\"examplebucket\\",\\n \\"Format\\": \\"jpg\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '触发按需截图',
- 'summary' => '对指定流,按需创建新的截图。',
- 'description' => '> 需要预先在绑定的截图模板中启用按需截图功能。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetVsStreamsNotifyUrlConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-5130e2feb23f442fb9456a3d977f03d4\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '安装应用',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:InstallCloudApp',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListCloudAppInstallations' => [
+ 'summary' => '查询云应用的安装信息列表,返回信息包括云应用服务实例的安装状态,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207921',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'AppId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'required' => false, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
],
[
- 'name' => 'NotifyUrl',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置直播流信息推送到的URL地址。'."\n"
- .'> 必须以 http:// 或者 https:// 开头。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'http://xxx.com/xx',
- ],
+ 'schema' => ['title' => '云渲染实例ID,用于查询指定实例上安装的云应用', 'description' => '云应用服务实例ID,用于查询指定实例上安装的云应用', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'AuthType',
+ 'name' => 'AppName',
'in' => 'query',
- 'schema' => [
- 'description' => '鉴权类型,取值范围:'."\n"
- .'- **no_auth**(关闭)'."\n"
- .'- **type_a**(A方式)'."\n"
- .'- **type_b**(B方式)'."\n"
- .'- **type_c**(C方式)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'type_a',
- ],
+ 'schema' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'required' => false, 'example' => 'com.aaa.bbb'],
],
[
- 'name' => 'AuthKey',
+ 'name' => 'AppVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '播放域名关联的主Key,用于生成鉴权URL。'."\n"
- .'> 通过 [DescribeVsDomainConfigs](https://help.aliyun.com/document_detail/464513.html) 接口查询对应的AuthKey信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ocs*****ace',
- ],
+ 'schema' => ['title' => '应用版本', 'description' => '应用版本', 'type' => 'string', 'required' => false, 'example' => '1.0'],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'project-b93ea81de76f48609eed3cd420f0399f'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-05-26T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-06-02T02:18:00Z'],
+ ],
+ [
+ 'name' => 'PatchId',
+ 'in' => 'query',
+ 'schema' => ['title' => 'Patch包ID,仅win场景支持。'."\n"
+ .'1. 输入值origin,表示仅过滤出原始版本', 'description' => 'Patch包ID,仅win场景支持。'."\n"
+ .'1. 输入值origin,表示仅过滤出原始版本', 'type' => 'string', 'required' => false, 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'InstallationInfos' => [
+ 'description' => '安装信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '安装信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppVersion' => ['title' => '应用版本', 'description' => '应用版本', 'type' => 'string', 'example' => '1.5.0'],
+ 'Status' => ['title' => '云应用安装状态,取值范围:'."\n"
+ .'1. 中间态:install-init、installing、uninstall-init、uninstalling'."\n"
+ .'2. 终态:installed、install-failed、uninstall-failed', 'description' => '云应用安装状态,取值范围:'."\n"
+ .'1. 中间态:install-init、installing'."\n"
+ .'2. 终态:installed、install-failed', 'type' => 'string', 'example' => 'installed'],
+ 'AppId' => ['title' => '应用ID', 'description' => '应用ID', 'type' => 'string', 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ 'RenderingInstanceId' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'StatusDescription' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => 'install success'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-05-28T14:50:04+08:00'],
+ 'PatchId' => ['title' => 'PatchId包ID', 'description' => 'PatchId包ID', 'type' => 'string', 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6'],
+ 'InstallationTime' => ['title' => '安装时间', 'description' => '安装时间', 'type' => 'string', 'example' => '2024-05-28T14:48:34+08:00'],
+ 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'com.aaa.bbb'],
+ ],
+ ],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '安装记录总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['title' => '查询列表的页码。', 'description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数。', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '设置 VS 流通知 URL 配置',
- 'summary' => '设置推流回调配置。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
- .'| InvalidNotifyUrl.Malformed | Specified parameter NotifyUrl is not valid. | 400 | 不是一个合法的 HTTP 地址。 |'."\n"
- .'| InvalidNotifyUrl.Unsafe | Specified NotifyUrl is not safe. | 400 | 非安全的 NotifyUrl 值。 |',
- ],
- 'DeleteVsStreamsNotifyUrlConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstallationInfos\\": [\\n {\\n \\"AppVersion\\": \\"1.5.0\\",\\n \\"Status\\": \\"installed\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"StatusDescription\\": \\"install success\\",\\n \\"UpdateTime\\": \\"2024-05-28T14:50:04+08:00\\",\\n \\"PatchId\\": \\"patch-7bdf679812484df08a956b73e0b3bdf6\\",\\n \\"InstallationTime\\": \\"2024-05-28T14:48:34+08:00\\",\\n \\"AppName\\": \\"com.aaa.bbb\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ 'title' => '查询应用安装信息列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudAppInstallations'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudAppInstallations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListCloudAppPatches' => [
+ 'summary' => '查询一个云应用的Patch列表。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207913',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'AppId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'required' => true, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ ],
+ [
+ 'name' => 'PatchName',
+ 'in' => 'query',
+ 'schema' => ['title' => '补丁包名称', 'description' => '补丁包名称', 'type' => 'string', 'required' => false, 'example' => 'patch-1'],
+ ],
+ [
+ 'name' => 'PatchId',
+ 'in' => 'query',
+ 'schema' => ['title' => '补丁包ID', 'description' => '补丁包ID', 'type' => 'string', 'required' => false, 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2015-11-29T00:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2017-12-10T21:00:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4C747C97-7ECD-4C61-8A92-67AD806331FF',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Patches' => [
+ 'title' => '云应用Patch列表',
+ 'description' => '云应用Patch列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '云应用Patch信息',
+ 'description' => '云应用Patch信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['title' => '应用上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态'."\n"
+ .'5. Deleting'."\n"
+ .'6. DeleteFailed:终态', 'description' => '应用上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态'."\n"
+ .'5. Deleting'."\n"
+ .'6. DeleteFailed:终态', 'type' => 'string', 'example' => 'Doing'],
+ 'PatchName' => ['title' => '补丁包名称', 'description' => '补丁包名称', 'type' => 'string', 'example' => 'patch-1'],
+ 'StatusDescription' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => 'Uploading'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-09-23T02:12:28'],
+ 'PatchId' => ['title' => '补丁包ID', 'description' => '补丁包ID', 'type' => 'string', 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
+ 'UploadTime' => ['title' => '上传时间', 'description' => '上传时间', 'type' => 'string', 'example' => '2025-07-24T14:45:36+08:00'],
+ ],
+ ],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '记录总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['title' => '查询列表的页码。', 'description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数。', 'description' => '分页查询时设置的每页行数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4C747C97-7ECD-4C61-8A92-67AD806331FF\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVsStreamsNotifyUrlConfigResponse>\\n <RequestId>4C747C97-7ECD-4C61-8A92-67AD806331FF</RequestId>\\n</DeleteVsStreamsNotifyUrlConfigResponse>","errorExample":""}]',
- 'title' => '删除推流回调配置',
- 'summary' => '删除推流回调配置。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
- ],
- 'DescribeVsStreamsNotifyUrlConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Patches\\": [\\n {\\n \\"Status\\": \\"Doing\\",\\n \\"PatchName\\": \\"patch-1\\",\\n \\"StatusDescription\\": \\"Uploading\\",\\n \\"UpdateTime\\": \\"2024-09-23T02:12:28\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\",\\n \\"UploadTime\\": \\"2025-07-24T14:45:36+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]',
+ 'title' => '查询云应用的Patch列表',
+ 'description' => '>模板ID和模板类型至少指定一个。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudAppPatches',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListCloudApps' => [
+ 'summary' => '查询云应用列表,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207913',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'required' => false, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'required' => false, 'example' => 'com.aaa.bbb'],
+ ],
+ [
+ 'name' => 'AppVersion',
+ 'in' => 'query',
+ 'schema' => ['title' => '应用版本', 'description' => '应用版本', 'type' => 'string', 'required' => false, 'example' => '1.0'],
+ ],
+ [
+ 'name' => 'PkgType',
'in' => 'query',
'schema' => [
- 'description' => '您的加速域名。',
+ 'title' => '安装包类型,取值范围:'."\n"
+ .'1. android'."\n"
+ .'2. win'."\n"
+ .'3. android_appmarket'."\n",
+ 'description' => '安装包类型,取值范围:'."\n"
+ .'1. android'."\n"
+ .'2. win'."\n"
+ .'3. android_appmarket',
'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
+ 'required' => false,
+ 'example' => 'android',
+ 'enum' => ['android', 'win', 'android_appmarket'],
],
],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-09-29T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-09-30T02:23:00Z'],
+ ],
+ [
+ 'name' => 'LatestVersionOnly',
+ 'in' => 'query',
+ 'schema' => ['title' => '是否仅输出应用最新提交的版本,默认false', 'description' => '是否仅输出应用最新提交的版本,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'PkgLabel',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用标签,'."\n"
+ .'1. 取值范围:'."\n"
+ .' a. hot'."\n"
+ .' b. game'."\n"
+ .' c. app'."\n"
+ .'2. 特殊情况:'."\n"
+ .' a. 查询无标签的应用列表:输入"NULL"', 'description' => '云应用标签,'."\n"
+ .'1. 取值范围:'."\n"
+ .' a. hot'."\n"
+ .' b. game'."\n"
+ .' c. app'."\n"
+ .'2. 特殊情况:'."\n"
+ .' a. 查询无标签的应用列表:输入"NULL"', 'type' => 'string', 'required' => false, 'example' => 'app'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['title' => '应用上传状态,取值范围:'."\n"
+ .'1. Success:终态,成功'."\n"
+ .'2. Failed:终态,失败'."\n"
+ .'3. Created'."\n"
+ .'4. Doing', 'description' => '应用上传状态,取值范围:'."\n"
+ .'1. Success:终态,成功'."\n"
+ .'2. Failed:终态,失败'."\n"
+ .'3. Created'."\n"
+ .'4. Doing', 'type' => 'string', 'required' => false, 'example' => 'Success'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'LiveStreamsNotifyConfig' => [
- 'description' => '配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'AuthType' => [
- 'type' => 'string',
- ],
- 'AuthKey' => [
- 'type' => 'string',
- ],
- 'DomainName' => [
- 'description' => '您的推流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'NotifyUrl' => [
- 'description' => '回调地址。',
- 'type' => 'string',
- 'example' => 'https://example.com/callback',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'CloudApps' => [
+ 'title' => '云应用信息列表',
+ 'description' => '云应用信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppVersion' => ['title' => '应用版本', 'description' => '应用版本', 'type' => 'string', 'example' => '1.5.0'],
+ 'Status' => ['title' => '应用上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态'."\n"
+ .'5. Deleting'."\n"
+ .'6. DeleteFailed:终态', 'description' => '应用上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态', 'type' => 'string', 'example' => 'Success'],
+ 'Description' => ['title' => '应用描述信息', 'description' => '应用描述信息', 'type' => 'string', 'example' => 'demo'],
+ 'AppId' => ['title' => '应用ID', 'description' => '应用ID', 'type' => 'string', 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ 'PkgFormat' => ['title' => '安装包格式', 'description' => '安装包格式', 'type' => 'string', 'example' => 'apk'],
+ 'StatusDescription' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => 'upload success'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-05-28T14:48:34+08:00'],
+ 'UploadTime' => ['title' => '应用上传时间', 'description' => '应用上传时间', 'type' => 'string', 'example' => '2024-05-28T14:28:14+08:00'],
+ 'PkgType' => ['title' => '安装包类型,android/win', 'description' => '安装包类型,android/win', 'type' => 'string', 'example' => 'android'],
+ 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'com.aaa.bbb'],
+ 'StablePatchId' => ['title' => '稳定版Patch包ID', 'description' => '稳定版Patch包ID', 'type' => 'string', 'example' => 'patch-7bdf679812484df08a956b73e0b3bdf6'],
],
],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '匹配的云应用信息总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['title' => '查询列表的页码。', 'description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数。', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LiveStreamsNotifyConfig\\": {\\n \\"AuthType\\": \\"\\",\\n \\"AuthKey\\": \\"\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"NotifyUrl\\": \\"https://example.com/callback\\"\\n }\\n}","type":"json"}]',
- 'title' => '获取 VS 流通知 URL 配置',
- 'summary' => '查询推流回调配置。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 | '."\n"
- .'| InvalidConfig.NotFound| Config does not exist.| 404| 当前域名下未找到回调配置。|',
- ],
- 'AddVsPullStreamInfoConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"CloudApps\\": [\\n {\\n \\"AppVersion\\": \\"1.5.0\\",\\n \\"Status\\": \\"Success\\",\\n \\"Description\\": \\"demo\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\",\\n \\"PkgFormat\\": \\"apk\\",\\n \\"StatusDescription\\": \\"upload success\\",\\n \\"UpdateTime\\": \\"2024-05-28T14:48:34+08:00\\",\\n \\"UploadTime\\": \\"2024-05-28T14:28:14+08:00\\",\\n \\"PkgType\\": \\"android\\",\\n \\"AppName\\": \\"com.aaa.bbb\\",\\n \\"StablePatchId\\": \\"patch-7bdf679812484df08a956b73e0b3bdf6\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ 'title' => '查询应用列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudApps'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudApps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListEdgeWorkers' => [
+ 'summary' => '支持分页查询云应用服务的负载信息。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'Spec',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '规格', 'type' => 'string', 'required' => false, 'example' => 'ew.gn8t6xlarge-rb.x1p'],
],
[
- 'name' => 'AppName',
+ 'name' => 'Statuses',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxApp',
+ 'description' => '状态列表'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'Idle'],
+ 'required' => false,
],
],
[
- 'name' => 'StreamName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxStream',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '查询列表的页码。起始值为1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'SourceUrl',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的直播流所在的源站。'."\n"
- .'> 支持多个,用英文分号(;)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'up.******.com.cn',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值为100行。默认值:10。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
],
[
'name' => 'StartTime',
'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2026-05-25T06:35:26+08:00'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '续费场景必传'."\n", 'type' => 'string', 'required' => false, 'example' => '2025-05-14T15:20:37+08:00'],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '拉流开始时间。'."\n"
- .'> UTC时间格式,StartTime和EndTime时间间隔在7天内。',
- 'type' => 'string',
+ 'description' => '负载ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '负载 ID', 'type' => 'string', 'required' => false, 'example' => 'ew-xxxxxx'],
'required' => false,
- 'example' => '2017-08-28T07:30:30Z',
+ 'example' => 'ew-xxxxxx',
],
],
[
- 'name' => 'EndTime',
+ 'name' => 'HiveIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '拉流结束时间。'."\n"
- .'> UTC时间格式,StartTime和EndTime时间间隔在7天内,且EndTime必须超过当前时间。',
- 'type' => 'string',
+ 'description' => '集群ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '集群 ID', 'type' => 'string', 'required' => false, 'example' => 'hive-4fbf3928d40e43948b98acdb4fb5aaed'],
'required' => false,
- 'example' => '2017-08-28T09:30:30Z',
+ 'example' => '["hive-4fbf3928d40e43948b98acdb4fb5aaed"]',
],
],
[
- 'name' => 'Always',
+ 'name' => 'PlanIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'description' => '套餐ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '套餐 ID', 'type' => 'string', 'required' => false, 'example' => 'pk-4fbf3928d40e43948b98acdb4fb5aaed'],
'required' => false,
- 'enum' => [
- 'yes',
- 'no',
- ],
+ 'example' => '["pk-4fbf3928d40e43948b98acdb4fb5aaed"]',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '3CB843A9-DD34-4881-B8D6-B0D539D111E4',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'Instances' => [
+ 'description' => '负载列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云渲染实例ID', 'description' => '负载ID', 'type' => 'string', 'example' => 'as-d135ca4425c24b99b79cd0b6c552cac9'],
+ 'Spec' => ['title' => '云渲染实例当前操作状态', 'description' => '规格', 'type' => 'string', 'example' => 'crs.xic.s1'],
+ 'CreationTime' => ['title' => '云渲染实例创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-05-14T15:20:37+08:00'],
+ 'PlanId' => ['description' => '套餐包ID', 'type' => 'string', 'example' => 'pk-db3394401cc8403f85e4d72d99b52449'],
+ 'HiveId' => ['description' => '集群ID', 'type' => 'string', 'example' => 'hive-58mq6jynvgxxmlid3pt39x6gk-0'],
+ 'ExpireTime' => ['description' => '过期时间', 'type' => 'string', 'example' => '2025-05-14T15:20:37+08:00'],
+ 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'Idle'],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalCount' => ['title' => '云渲染实例总数', 'description' => '总量'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['description' => '查询列表的页码。起始值为1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值为100行。默认值:100。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'Param.Missing.StartTime',
- 'errorMessage' => 'You must specify StartTime.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
- ],
- [
- 'errorCode' => 'Duration.Exceed',
- 'errorMessage' => 'The duration between StartTime and EndTime is too long.',
- ],
- [
- 'errorCode' => 'ConfigAlreadyExists',
- 'errorMessage' => 'The specified configuration already exists.',
- ],
- ],
- 403 => [
- [
- 'errorCode' => 'Deny.TooMany.Stream',
- 'errorMessage' => 'The operation is denied because the maximum number of streams is exceeded.',
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3CB843A9-DD34-4881-B8D6-B0D539D111E4\\"\\n}","type":"json"}]',
- 'title' => '添加拉流信息配置',
- 'summary' => '添加拉流配置信息。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
- .'| Missing DomainName | DomainName is mandatory for this action. | 400 |缺少参数。 | '."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidStartTime.Malformed |Specified StartTime is malformed.| 400 | StartTime格式错误。 |'."\n"
- .'|InvalidEndTime.Malformed |Specified EndTime is malformed. | 400 | EndTime格式错误。 |'."\n"
- .'|InvalidEndTime.Missmatch |Specified end time does not math the specified start time or current time.| 400 | StartTime 和 EndTime 时间范围应在一周内,且EndTime超过当前时间。 |'."\n"
- .'| ConfigAlreadyExists | Config has already exist. | 400 | 配置数据已存在。| '."\n"
- .'| PullStreamOverLimit | Pull stream is over limit for this domainName. | 400 | 该域名拉流流量已超过流量限制。 |',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询负载信息',
+ 'description' => '## 请求说明'."\n"
+ ."\n"
+ .'- 该 API 用于查询云应用服务的负载信息,支持通过多种参数进行过滤和分页查询。'."\n"
+ .'- 可选参数包括 `Spec`(规格)、`Statuses`(状态列表)、`InstanceIds`(实例ID列表)、`PlanIds`(套餐ID列表)、`HiveIds`(集群ID列表)等。'."\n"
+ .'- 分页查询时,可以通过 `PageNumber` 和 `PageSize` 参数来控制返回的数据量,默认每页10条记录,最大支持100条记录。'."\n"
+ .'- 时间范围查询可通过 `StartTime` 和 `EndTime` 参数指定。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"as-d135ca4425c24b99b79cd0b6c552cac9\\",\\n \\"Spec\\": \\"crs.xic.s1\\",\\n \\"CreationTime\\": \\"2025-05-14T15:20:37+08:00\\",\\n \\"PlanId\\": \\"pk-db3394401cc8403f85e4d72d99b52449\\",\\n \\"HiveId\\": \\"hive-58mq6jynvgxxmlid3pt39x6gk-0\\",\\n \\"ExpireTime\\": \\"2025-05-14T15:20:37+08:00\\",\\n \\"Status\\": \\"Idle\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]',
],
- 'DeleteVsPullStreamInfoConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListFilePushStatuses' => [
+ 'summary' => '查询文件的云应用服务实例推送状态信息列表,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215940',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'FileId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的拉流域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['title' => '文件ID,对应唯一的文件。如f-xxx', 'description' => '文件ID,对应唯一的文件', 'type' => 'string', 'required' => false, 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7'],
],
[
- 'name' => 'AppName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '直播流所属应用名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxApp',
- ],
+ 'schema' => ['title' => '云渲染实例ID,用于查询指定实例上安装的云应用', 'description' => '云应用服务实例ID,用于查询指定实例上安装的文件', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'StreamName',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '直播流名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxStream',
- ],
+ 'schema' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'required' => false, 'example' => 'myfile'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
+ .'默认值:10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-06-17T12:16:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-06-23T02:13:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'PushStatuses' => [
+ 'title' => '文件预推信息列表',
+ 'description' => '文件推送信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['title' => '文件预推状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态', 'description' => '文件推送状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态', 'type' => 'string', 'example' => 'Success'],
+ 'PushTime' => ['title' => '预推开始时间', 'description' => '预推开始时间', 'type' => 'string', 'example' => '2024-03-26T16:32:20+08:00'],
+ 'RenderingInstanceId' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'."\n"],
+ 'StatusDescription' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => 'push success'],
+ 'FileName' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'example' => 'myfile'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-03-26T17:02:10+08:00'],
+ 'FileId' => ['title' => '文件ID', 'description' => '文件ID', 'type' => 'string', 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7'],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '匹配的文件推送记录总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['title' => '查询列表的页码。', 'description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '删除拉取流信息配置',
- 'summary' => '删除拉流信息。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
- ],
- 'UpdateVsPullStreamInfoConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PushStatuses\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"PushTime\\": \\"2024-03-26T16:32:20+08:00\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\\\n\\",\\n \\"StatusDescription\\": \\"push success\\",\\n \\"FileName\\": \\"myfile\\",\\n \\"UpdateTime\\": \\"2024-03-26T17:02:10+08:00\\",\\n \\"FileId\\": \\"f-1671accd4dafdag3er256cvgewt13f7141db2f7\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ 'title' => '查询文件推送状态信息列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFilePushStatuses'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListFilePushStatuses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListFiles' => [
+ 'summary' => '查询上传的文件列表,返回内容包含文件的上传状态,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215929',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'FileId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的拉流域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '文件ID,对应唯一的可用文件', 'description' => '文件ID,对应唯一的可用文件', 'type' => 'string', 'required' => false, 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7'],
],
[
- 'name' => 'AppName',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '直播流所属应用名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxApp',
- ],
+ 'schema' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'required' => false, 'example' => 'myfile'],
],
[
- 'name' => 'StreamName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '直播流名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'xxxStream',
- ],
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'SourceUrl',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '用户的直播流所在的源站。'."\n"
- .'> 支持多个,用英文分号(;)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'up.xxx.com.cn',
- ],
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,取值范围1~100。'."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '拉流开始时间。'."\n"
- .'> UTC时间格式,StartTime和EndTime时间间隔在7天内。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-10T10:00:00Z',
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-10-30T16:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '拉流结束时间。'."\n"
- .'> UTC时间格式,StartTime和EndTime时间间隔在7天内,且EndTime必须超过当前时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2018-12-10T18:00:00Z',
- ],
- ],
- [
- 'name' => 'Always',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'yes',
- 'no',
- ],
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-10-31T06:00:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Files' => [
+ 'title' => '文件信息列表',
+ 'description' => '文件信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文件信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['title' => '文件上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Making'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态', 'description' => '文件上传状态,取值范围:'."\n"
+ .'1. Created'."\n"
+ .'2. Doing'."\n"
+ .'3. Success:终态'."\n"
+ .'4. Failed:终态', 'type' => 'string', 'example' => 'Success'],
+ 'Description' => ['title' => '文件描述信息', 'description' => '文件描述信息', 'type' => 'string', 'example' => '我的文件'],
+ 'TargetPath' => ['title' => '向云渲染实例推送的目标路径', 'description' => '向云应用服务实例推送的目标路径', 'type' => 'string', 'example' => '/data/tmp/test/xxx.tar'],
+ 'StatusDescription' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => 'upload success'],
+ 'FileName' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'example' => 'myfile'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-03-28T14:15:08+08:00'],
+ 'FileId' => ['title' => '文件ID', 'description' => '文件ID', 'type' => 'string', 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7'],
+ 'UploadTime' => ['title' => '上传开始时间', 'description' => '上传开始时间', 'type' => 'string', 'example' => '2024-03-28T14:10:12+08:00'],
+ ],
+ ],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '匹配的文件记录总数', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'PageNumber' => ['title' => '查询列表的页码。', 'description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数。', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'Param.Missing.StartTime',
- 'errorMessage' => 'You must specify StartTime.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
- ],
- [
- 'errorCode' => 'Duration.Exceed',
- 'errorMessage' => 'The duration between StartTime and EndTime is too long.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Files\\": [\\n {\\n \\"Status\\": \\"Success\\",\\n \\"Description\\": \\"我的文件\\",\\n \\"TargetPath\\": \\"/data/tmp/test/xxx.tar\\",\\n \\"StatusDescription\\": \\"upload success\\",\\n \\"FileName\\": \\"myfile\\",\\n \\"UpdateTime\\": \\"2024-03-28T14:15:08+08:00\\",\\n \\"FileId\\": \\"f-1671accd4dafdag3er256cvgewt13f7141db2f7\\",\\n \\"UploadTime\\": \\"2024-03-28T14:10:12+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 200,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ 'title' => '查询文件列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFiles'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListFiles',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '更新拉流信息配置',
- 'summary' => '更新拉流信息,修改已经添加的拉流任务中的源站地址的开始时间和结束时间。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
- .'| InvalidStartTime.Malformed | Specified StartTime is malformed. | 400 | 拉流开始时间格式错误。|'."\n"
- .'| InvalidEndTime.Malformed | Specified EndTime is malformed. | 400 | 拉流结束时间格式错误。|'."\n"
- .'| InvalidEndTime.Mismatch | StartTime is after EndTime. | 400 | 拉流起始时间晚于拉流结束时间。|'."\n"
- .'| Duration.Exceed | Duration between StartTime and EndTime is too long. | 400 | 查询时间范围过长。|',
],
- 'DescribeVsPullStreamInfoConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListHives' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'HiveId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的拉流域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '云应用服务组ID'."\n", 'type' => 'string', 'required' => false, 'example' => 'g-xxxx'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '名称'."\n", 'type' => 'string', 'required' => false, 'example' => 'test001'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '查询列表的页码。起始值为1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值为100行。默认值:10。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '创建时间'."\n", 'type' => 'string', 'required' => false, 'example' => '2025-05-14T15:20:37+08:00'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-05-14T15:20:37+08:00'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'LiveAppRecordList' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'LiveAppRecord' => [
- 'description' => '拉流配置。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2016-05-15T07:30:00Z',
- ],
- 'AppName' => [
- 'description' => '直播流所属应用名称。',
- 'type' => 'string',
- 'example' => 'xxxApp',
- ],
- 'SourceUrl' => [
- 'description' => '拉流源站。',
- 'type' => 'string',
- 'example' => 'http://test',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2016-05-15T01:30:00Z',
- ],
- 'StreamName' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => 'xxxStream',
- ],
- 'DomainName' => [
- 'description' => '流所属拉流域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'Hives' => [
+ 'description' => '集群列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'HiveId' => ['title' => '云渲染实例ID', 'description' => '集群ID'."\n", 'type' => 'string', 'example' => 'hive-3b506f0868a7451ba15e0e890706033a'],
+ 'Name' => ['title' => '云渲染实例当前操作状态', 'description' => '名称'."\n", 'type' => 'string', 'example' => 'yy-test2'],
+ 'Description' => ['description' => '描述'."\n", 'type' => 'string', 'example' => '基础型S1'],
+ 'CreationTime' => ['title' => '云渲染实例创建时间', 'description' => '创建时间'."\n", 'type' => 'string', 'example' => '2025-05-14T15:20:37+08:00'],
],
+ 'description' => '',
],
],
+ 'TotalCount' => ['title' => '云渲染实例总数', 'description' => '总量'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LiveAppRecordList\\": {\\n \\"LiveAppRecord\\": [\\n {\\n \\"EndTime\\": \\"2016-05-15T07:30:00Z\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"SourceUrl\\": \\"http://test\\",\\n \\"StartTime\\": \\"2016-05-15T01:30:00Z\\",\\n \\"StreamName\\": \\"xxxStream\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取拉流信息配置',
- 'summary' => '查询域名下拉流配置信息。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| Missing DomainName | DomainName is mandatory for this action. | 400 |缺少参数。 | '."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询集群信息',
+ 'summary' => '分页查询所有集群信息,支持按条件筛选。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该 API 用于查询用户创建的所有集群信息。'."\n"
+ .'- 支持通过 `HiveId` 和 `Name` 参数进行过滤查询。'."\n"
+ .'- 分页参数 `PageNumber` 和 `PageSize` 可以控制返回结果的数量和页码,默认每页显示10条记录,最大支持100条。'."\n"
+ .'- `StartTime` 和 `EndTime` 参数可用于指定时间范围内的集群信息查询,但非必填项。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"Hives\\": [\\n {\\n \\"HiveId\\": \\"hive-3b506f0868a7451ba15e0e890706033a\\",\\n \\"Name\\": \\"yy-test2\\",\\n \\"Description\\": \\"基础型S1\\",\\n \\"CreationTime\\": \\"2025-05-14T15:20:37+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
],
- 'StartTransferStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListPublicKeys' => [
+ 'summary' => '查询满足条件的公钥信息列表,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207885',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'KeyName',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['title' => '公钥名称', 'description' => '公钥名称', 'type' => 'string', 'required' => false, 'example' => 'mykey'],
],
[
- 'name' => 'Url',
+ 'name' => 'KeyGroup',
'in' => 'query',
- 'schema' => [
- 'description' => '转推的目的地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['title' => '公钥分组,用于公钥管理。', 'description' => '公钥分组名', 'type' => 'string', 'required' => false, 'example' => 'g-test'],
],
[
- 'name' => 'Transcode',
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1。', 'description' => '查询列表的页码。起始值为1。'."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值为100行。'."\n"
+ .'默认值:10。', 'description' => '分页查询时设置的每页行数,取值1~100。'."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'KeyType',
'in' => 'query',
'schema' => [
- 'description' => '转码规则名称(需要先绑定转码模板)',
+ 'description' => '公钥的类型。可取值:'."\n"
+ ."\n"
+ .'- **adb**:ADB Key'."\n"
+ .'- **ssh**:SSH Key',
'type' => 'string',
'required' => false,
- 'example' => 'sd',
+ 'example' => 'ssh',
+ 'enum' => ['ssh', 'adb'],
],
],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-09-21T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-09-22T02:23:00Z'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'PublicKeys' => [
+ 'title' => '公钥信息列表',
+ 'description' => '用户公钥信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公钥信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyName' => ['title' => '公钥名称', 'description' => '公钥名称', 'type' => 'string', 'example' => 'mykey'],
+ 'Description' => ['title' => '公钥描述信息', 'description' => '公钥描述信息', 'type' => 'string', 'example' => '测试使用'],
+ 'KeyType' => ['description' => '公钥的类型。可取值:'."\n"
+ ."\n"
+ .'- **adb**:ADB Key'."\n"
+ .'- **ssh**:SSH Key', 'type' => 'string', 'example' => 'ssh'],
+ 'KeyGroup' => ['title' => '公钥分组', 'description' => '公钥分组', 'type' => 'string', 'example' => 'mygroup'],
+ 'Content' => ['title' => '经过编码的公钥内容,默认编码格式:Base64', 'description' => '经过编码的公钥内容,默认编码格式:Base64', 'type' => 'string', 'example' => 'verify_30d89ccb0905c8c7882c1d14a991954b'],
+ 'UploadTime' => ['title' => '公钥上传时间', 'description' => '公钥上传时间', 'type' => 'string', 'example' => '2024-06-11T14:26:48+08:00'],
+ ],
+ ],
],
+ 'TotalCount' => ['title' => '记录总数', 'description' => '记录总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'PageNumber' => ['title' => '查询列表的页码', 'description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['title' => '分页查询时设置的每页行数', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '启动传输流',
- 'summary' => '启动转推流到外部的地址。',
- ],
- 'StopTransferStream' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PublicKeys\\": [\\n {\\n \\"KeyName\\": \\"mykey\\",\\n \\"Description\\": \\"测试使用\\",\\n \\"KeyType\\": \\"ssh\\",\\n \\"KeyGroup\\": \\"mygroup\\",\\n \\"Content\\": \\"verify_30d89ccb0905c8c7882c1d14a991954b\\",\\n \\"UploadTime\\": \\"2024-06-11T14:26:48+08:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ 'title' => '查询公钥信息列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-09-12T08:34:15.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPublicKeys'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListPublicKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListRenderingDataPackages' => [
+ 'summary' => '查询所有云应用数据包信息,支持分页查询。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323434****83423432',
- ],
+ 'schema' => ['description' => '数据包大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'Transcode',
+ 'name' => 'DataPackageId',
'in' => 'query',
- 'schema' => [
- 'description' => '转码规则名称(需要先绑定转码模板)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sd',
- ],
+ 'schema' => ['description' => '数据包id', 'type' => 'string', 'required' => false, 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据包状态。取值:'."\n"
+ .'- available(可绑定)'."\n"
+ .'- packing(制作中)'."\n"
+ .'- failed(失败)'."\n"
+ .'- bonded(已绑定)', 'type' => 'string', 'required' => false, 'example' => 'available'],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => ['description' => '类别,取值:'."\n"
+ .'- Package 包'."\n"
+ .'- Baseline 基线', 'type' => 'string', 'required' => false, 'example' => 'Baseline'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '查询列表的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '每页显示的条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-10-30T16:00:00Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-09-24T03:30:46Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'DataPackages' => [
+ 'description' => '云应用服务数据包列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '数据包状态。取值:'."\n"
+ .'available(可绑定)'."\n"
+ .'packing(制作中)'."\n"
+ .'failed(失败)'."\n"
+ .'bonded(已绑定)', 'type' => 'string', 'example' => 'available'],
+ 'Description' => ['description' => '备注信息', 'type' => 'string', 'example' => 'test'],
+ 'Category' => ['description' => '类别,取值:'."\n"
+ .'- Package 包'."\n"
+ .'- Baseline 基线', 'type' => 'string', 'example' => 'Package'],
+ 'Size' => ['description' => '数据包大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-342012a227dc4ddf91f024639e43051a'],
+ 'CreationTime' => ['title' => '云渲染实例创建时间', 'description' => '云渲染实例创建时间', 'type' => 'string', 'example' => '2024-10-15T10:23:06+08:00'],
+ 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '2024-12-06T02:03:59Z'],
+ 'DataPackageId' => ['title' => '云渲染实例ID', 'description' => '数据包id', 'type' => 'string', 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'."\n"],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalCount' => ['title' => '云渲染实例总数', 'description' => '云渲染实例总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '停止传输流',
- 'summary' => '停止流。',
- ],
- 'DescribeVsStreamsOnlineList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DataPackages\\": [\\n {\\n \\"Status\\": \\"available\\",\\n \\"Description\\": \\"test\\",\\n \\"Category\\": \\"Package\\",\\n \\"Size\\": 10,\\n \\"RenderingInstanceId\\": \\"render-342012a227dc4ddf91f024639e43051a\\",\\n \\"CreationTime\\": \\"2024-10-15T10:23:06+08:00\\",\\n \\"UpdateTime\\": \\"2024-12-06T02:03:59Z\\",\\n \\"DataPackageId\\": \\"dp-449ea3d16c0841b8bf33ec5bbc86a152\\\\n\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
+ 'title' => '查询数据包列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-02-27T09:02:56.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingDataPackages'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingDataPackages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListRenderingInstanceGateway' => [
+ 'summary' => '查询自定义网关。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '247655',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'AppName',
+ 'name' => 'GatewayInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxApp',
- ],
+ 'schema' => ['description' => '网关实例ID。', 'type' => 'string', 'required' => false, 'example' => 'render-xxx'],
],
[
- 'name' => 'StreamName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxStream',
- ],
+ 'schema' => ['description' => '查询列表的页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小。默认值:3000。'."\n"
- ."\n"
- .'取值范围:[1,3000]',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- 'default' => '2000',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '10'],
],
[
- 'name' => 'PageNum',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-05-18T02:20:00Z'],
],
[
- 'name' => 'StreamType',
+ 'name' => 'EndTime',
'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-05-20T12:23:02Z'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '流类型。取值范围:'."\n"
- .'- all(所有流)(默认)'."\n"
- .'- raw(原始流)'."\n"
- .'- trans(转码流)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- 'enum' => [
- 'all',
- 'raw',
- 'trans',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'GatewayConfigurationInfos' => [
+ 'description' => '自定义网关信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GatewayInstanceId' => ['description' => '自定义网关实例ID。', 'type' => 'string', 'example' => 'render-xxx'],
+ 'Status' => ['description' => '自定义网关状态,取值范围:'."\n"
+ .'1. 中间态:creating, deleting, '."\n"
+ .'2. 终态:available, failed', 'type' => 'string', 'example' => 'available'],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID。', 'type' => 'string', 'example' => 'render-342012a227dc4ddf91f024639e43051a'],
+ 'CreationTime' => ['description' => '云应用服务实例创建时间', 'type' => 'string', 'example' => '2024-10-15 10:19:13'],
+ 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '2024-11-02 12:08:26'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'TotalCount' => ['description' => '安装记录总数', 'type' => 'string', 'example' => '100'],
+ 'PageNumber' => ['description' => '查询列表的页码', 'type' => 'string', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数', 'type' => 'string', 'example' => '10'],
],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"GatewayConfigurationInfos\\": [\\n {\\n \\"GatewayInstanceId\\": \\"render-xxx\\",\\n \\"Status\\": \\"available\\",\\n \\"RenderingInstanceId\\": \\"render-342012a227dc4ddf91f024639e43051a\\",\\n \\"CreationTime\\": \\"2024-10-15 10:19:13\\",\\n \\"UpdateTime\\": \\"2024-11-02 12:08:26\\"\\n }\\n ],\\n \\"TotalCount\\": \\"100\\",\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\"\\n}","type":"json"}]',
+ 'title' => '查询自定义网关',
+ 'description' => '>模板ID和模板类型至少指定一个。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingInstanceGateway'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '起始时间。'."\n"
- .'> 为UTC格式,例如:2016-06-29T19:00:00Z',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2016-06-29T19:00:00Z',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ListRenderingInstances' => [
+ 'summary' => '查询云应用服务实例基本信息列表,支持分页查询。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EndTime',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RenderingSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。'."\n"
- .'> - 为UTC格式,例如:2016-06-30T19:00:00Z'."\n"
- .'> - EndTime和StartTime之间的间隔不能超过30天。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2016-06-30T19:00:00Z',
- ],
+ 'schema' => ['description' => '云应用服务实例规格', 'type' => 'string', 'required' => false, 'example' => 'crs.cp.l1'],
],
[
- 'name' => 'QueryType',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '指定是否模糊匹配流名称。取值范围:'."\n"
- .'- fuzzy(模糊匹配)'."\n"
- .'- strict(精准匹配)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fuzzy',
- 'enum' => [
- 'fuzzy',
- 'strict',
- ],
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- stream_name_desc(按直播流名称倒序)'."\n"
- .'- stream_name_asc(按直播流名称升序)'."\n"
- .'- publish_time_desc(按推流时间倒序)'."\n"
- .'- publish_time_asc(按推流时间升序)(默认值)',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'publish_time_asc',
- 'enum' => [
- 'stream_name_desc',
- 'stream_name_asc',
- 'stream_publish_time_desc',
- 'stream_publish_asc',
- ],
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页查询时设置的页码。 起始值:1。默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页查询时设置的每页行数。 取值范围:1~100。默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'StorageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '云应用服务实例存储容量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-10-31T07:59:59Z'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2021-10-31T15:59:59Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageNum' => [
- 'description' => '分页的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页显示的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B31FC4AD-3592-573E-8063-878F722B322A',
- ],
- 'TotalNum' => [
- 'description' => '符合条件的总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'OnlineInfo' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'LiveStreamOnlineInfo' => [
- 'description' => '正在推送流的信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'PublishTime' => [
- 'description' => '开始推流时刻,UTC时间。',
- 'type' => 'string',
- 'example' => '2015-12-02T06:58:04Z',
- ],
- 'AppName' => [
- 'description' => '流所属应用名称。',
- 'type' => 'string',
- 'example' => 'xxxApp',
- ],
- 'PublishType' => [
- 'description' => '推流类型。取值范围:'."\n"
- .'- edge(边缘推流)'."\n"
- .'- center(中心推流)',
- 'type' => 'string',
- 'example' => 'edge',
- ],
- 'PublishUrl' => [
- 'description' => '推流完整URL地址。',
- 'type' => 'string',
- 'example' => 'rtmp://example.com/xchen',
- ],
- 'Transcoded' => [
- 'description' => '是否为转码流。取值范围:'."\n"
- .'- yes(是)'."\n"
- .'- no(否)',
- 'type' => 'string',
- 'example' => 'no',
- ],
- 'StreamName' => [
- 'description' => '流名称。',
- 'type' => 'string',
- 'example' => 'testxchen_small',
- ],
- 'DomainName' => [
- 'description' => '流所属加速域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'TranscodeId' => [
- 'description' => '转码模板ID。'."\n"
- .'> - 若转码过,会返回转码模板ID。'."\n"
- .'> - 对于原始流,返回当前AppName下配置的转码模板ID列表,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'PublishDomain' => [
- 'description' => '推流域名。',
- 'type' => 'string',
- 'example' => 'push.example.com',
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstances' => [
+ 'description' => '云应用服务实例信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用服务实例基本信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'RenderingSpec' => ['title' => '云渲染实例当前操作状态', 'description' => '云应用服务实例规格', 'type' => 'string', 'example' => 'crs.cp.l1'],
+ 'CreationTime' => ['title' => '云渲染实例创建时间', 'description' => '云应用服务实例创建时间', 'type' => 'string', 'example' => '2023-11-17T02:18:04Z'],
+ 'StorageSize' => ['description' => '云存储容量,单位:GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
+ 'TotalCount' => ['title' => '云渲染实例总数', 'description' => '云应用服务实例总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"RenderingSpec\\": \\"crs.cp.l1\\",\\n \\"CreationTime\\": \\"2023-11-17T02:18:04Z\\",\\n \\"StorageSize\\": 100\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
+ 'title' => '查询云应用服务实例基本信息列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-12-24T07:31:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingInstances'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalPage\\": 1,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"B31FC4AD-3592-573E-8063-878F722B322A\\",\\n \\"TotalNum\\": 10,\\n \\"OnlineInfo\\": {\\n \\"LiveStreamOnlineInfo\\": [\\n {\\n \\"PublishTime\\": \\"2015-12-02T06:58:04Z\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"PublishType\\": \\"edge\\",\\n \\"PublishUrl\\": \\"rtmp://example.com/xchen\\",\\n \\"Transcoded\\": \\"no\\",\\n \\"StreamName\\": \\"testxchen_small\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"TranscodeId\\": \\"123\\",\\n \\"PublishDomain\\": \\"push.example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询所有正在推的流的信息',
- 'summary' => '查看指定域名下(或者指定域名下某个应用)的所有正在推的流的信息。',
- 'extraInfo' => '## 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'|------------|--------|---------|------|'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
],
- 'DescribeVsStreamsPublishList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRenderingProjectInstances' => [
+ 'summary' => '分页查询项目关联的云应用服务实例信息列表。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口支持通过多种筛选条件(如状态、实例ID等)来查询指定项目下的云应用服务实例。'."\n",
+ 'path' => '/',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'AppName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '直播流所属应用名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxApp',
- ],
+ 'schema' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'StreamName',
+ 'name' => 'State',
'in' => 'query',
'schema' => [
- 'description' => '直播流名称。',
+ 'title' => '云应用服务实例业务调度状态,取值范围,'."\n"
+ .'1. Idle:空闲'."\n"
+ .'2. Locked:锁定中'."\n"
+ .'3. InUse:使用中',
+ 'description' => '项目实例状态,取值范围,'."\n"
+ .'1. Idle:空闲'."\n"
+ .'2. Locked:锁定中'."\n"
+ .'3. InUse:使用中',
'type' => 'string',
'required' => false,
- 'example' => 'xxxStream',
+ 'example' => 'Idle',
+ 'enum' => ['Idle', 'Locked', 'InUse'],
],
],
[
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['title' => '页码,起始值为1', 'description' => '页码,起始值为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '起始时间。'."\n"
- .'> UTC格式。例如:2016-06-29T19:00:00Z',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2016-06-29T19:00:00Z',
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2024-11-27T16:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2024-11-30T02:18:00Z'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '结束时间。'."\n"
- .'> - UTC格式。例如:2016-06-30T19:00:00Z'."\n"
- .'> - EndTime和StartTime之间的间隔不能超过30天。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2016-06-30T19:00:00Z',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstances' => [
+ 'title' => '云应用服务实例列表',
+ 'description' => '云应用服务实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用服务实例基本信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'AssociationTime' => ['title' => '关联时间', 'description' => '关联时间', 'type' => 'string', 'example' => '2024-09-11T18:19:04+08:00'],
+ 'RenderingInstanceId' => ['title' => '云应用服务实例', 'description' => '云应用服务实例', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'StateInfo' => [
+ 'title' => '业务调度状态信息',
+ 'description' => '项目实例状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Comment' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => '正在会话中'],
+ 'State' => ['title' => '业务调度状态', 'description' => '项目实例状态', 'type' => 'string', 'example' => 'InUse'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2024-11-11T18:19:04+08:00'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => ['title' => '云应用服务实例数目', 'description' => '云应用服务实例数目', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstances\\": [\\n {\\n \\"AssociationTime\\": \\"2024-09-11T18:19:04+08:00\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"StateInfo\\": {\\n \\"Comment\\": \\"正在会话中\\",\\n \\"State\\": \\"InUse\\",\\n \\"UpdateTime\\": \\"2024-11-11T18:19:04+08:00\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]',
+ 'title' => '查询项目的实例关联信息',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小。默认值:3000。 '."\n"
- .'取值范围:[1,3000]',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3000',
- 'default' => '2000',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ListRenderingProjects' => [
+ 'summary' => '分页查询用户下的云应用服务项目基本信息列表。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口用于分页查询指定用户下的渲染项目基本信息列表。'."\n"
+ .'- 可通过 `ProjectId` 和 `ProjectName` 进行过滤查询。'."\n",
+ 'path' => '/',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
+ ],
+ [
+ 'name' => 'ProjectName',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目名称', 'description' => '项目名称', 'type' => 'string', 'required' => false, 'example' => 'idata_content'],
+ ],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '第几页。默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['title' => '页码,起始值为1', 'description' => '页码,起始值为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'StreamType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '流类型。取值范围:'."\n"
- .'- all(所有流)(默认)'."\n"
- .'- raw(原始流)'."\n"
- .'- trans(转码流)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'all',
- 'enum' => [
- 'all',
- 'raw',
- 'trans',
- ],
- ],
+ 'schema' => ['title' => '分页查询时设置的每页行数', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
- 'name' => 'QueryType',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '指定是否模糊匹配流名称。取值范围:'."\n"
- .'- fuzzy(模糊匹配)'."\n"
- .'- strict(精准匹配)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fuzzy',
- 'enum' => [
- 'fuzzy',
- 'strict',
- ],
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2024-09-29T16:00:00Z'],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- stream_name_desc(按直播流名称倒序)'."\n"
- .'- stream_name_asc(按直播流名称升序)'."\n"
- .'- publish_time_desc(按推流时间倒序)'."\n"
- .'- publish_time_asc(按推流时间升序)(默认值)',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'publish_time_asc',
- 'enum' => [
- 'stream_name_desc',
- 'stream_name_asc',
- 'publish_time_desc',
- 'publish_asc',
- ],
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2024-10-03T02:18:00Z'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageNum' => [
- 'description' => '分页的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3000',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '119F7639-4646-51A4-B6C1-300D391C0104',
- ],
- 'TotalNum' => [
- 'description' => '符合条件的总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'PublishInfo' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'LiveStreamPublishInfo' => [
- 'description' => '推流记录信息。',
- 'type' => 'array',
- 'items' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Projects' => [
+ 'title' => '项目列表',
+ 'description' => '项目列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '项目描述信息', 'description' => '项目描述信息', 'type' => 'string', 'example' => 'description'],
+ 'ProjectName' => ['title' => '项目名称', 'description' => '项目名称', 'type' => 'string', 'example' => 'prod-project'],
+ 'ProjectId' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
+ 'CreationTime' => ['description' => '项目创建时间', 'type' => 'string', 'example' => '2024-09-09T18:44:49+08:00'],
+ 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '2024-10-09T18:44:49+08:00'],
+ 'SessionAttribs' => [
+ 'title' => '项目会话属性',
+ 'description' => '项目会话属性',
'type' => 'object',
'properties' => [
- 'EdgeNodeAddr' => [
- 'description' => 'CDN上行节点IP。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
- ],
- 'PublishUrl' => [
- 'description' => '推流完整URL地址。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8',
- ],
- 'StreamName' => [
- 'description' => '直播流名称。',
- 'type' => 'string',
- 'example' => 'xxxStream',
- ],
- 'DomainName' => [
- 'description' => '流所属加速域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'StopTime' => [
- 'description' => '停止推流时刻。 格式为UTC时间。',
- 'type' => 'string',
- 'example' => '2016-06-29T19:00:00Z',
- ],
- 'TranscodeId' => [
- 'description' => '转码模板ID。'."\n"
- .'> 若转码过,会返回转码模板ID。',
- 'type' => 'string',
- 'example' => '3888920****8138204-cn-qingdao',
- ],
- 'PublishDomain' => [
- 'description' => '推流域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'AppName' => [
- 'description' => '流所属应用名称。',
- 'type' => 'string',
- 'example' => 'xxxApp',
- ],
- 'PublishTime' => [
- 'description' => '开始推流时刻。格式为UTC时间。',
- 'type' => 'string',
- 'example' => '2016-06-29T19:00:00Z',
- ],
- 'PublishType' => [
- 'description' => '推流类型。取值范围:'."\n"
- .'- edge(边缘推流)'."\n"
- .'- center(中心推流)',
- 'type' => 'string',
- 'example' => 'center',
- ],
- 'Transcoded' => [
- 'description' => '是否为转码流。取值范围:'."\n"
- .'- yes(是)'."\n"
- .'- no(否)',
- 'type' => 'string',
- 'example' => 'yes',
- ],
- 'ClientAddr' => [
- 'description' => '主播IP。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
- ],
- 'StreamUrl' => [
- 'description' => '直播流的URL。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8',
- ],
+ 'StartMode' => ['description' => '启动模式', 'type' => 'string', 'example' => 'Sync'],
],
],
],
],
],
+ 'TotalCount' => ['title' => '匹配的项目总数', 'description' => '匹配的项目总数', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Projects\\": [\\n {\\n \\"Description\\": \\"description\\",\\n \\"ProjectName\\": \\"prod-project\\",\\n \\"ProjectId\\": \\"project-422bc38dfgh5eb44149f135ef76304f63b\\",\\n \\"CreationTime\\": \\"2024-09-09T18:44:49+08:00\\",\\n \\"UpdateTime\\": \\"2024-10-09T18:44:49+08:00\\",\\n \\"SessionAttribs\\": {\\n \\"StartMode\\": \\"Sync\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 2\\n}","type":"json"}]',
+ 'title' => '查询项目列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingProjects',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalPage\\": 1,\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 3000,\\n \\"RequestId\\": \\"119F7639-4646-51A4-B6C1-300D391C0104\\",\\n \\"TotalNum\\": 200,\\n \\"PublishInfo\\": {\\n \\"LiveStreamPublishInfo\\": [\\n {\\n \\"EdgeNodeAddr\\": \\"192.168.0.1\\",\\n \\"PublishUrl\\": \\"https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8\\",\\n \\"StreamName\\": \\"xxxStream\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"StopTime\\": \\"2016-06-29T19:00:00Z\\",\\n \\"TranscodeId\\": \\"3888920****8138204-cn-qingdao\\",\\n \\"PublishDomain\\": \\"example.aliyundoc.com\\",\\n \\"AppName\\": \\"xxxApp\\",\\n \\"PublishTime\\": \\"2016-06-29T19:00:00Z\\",\\n \\"PublishType\\": \\"center\\",\\n \\"Transcoded\\": \\"yes\\",\\n \\"ClientAddr\\": \\"192.168.0.1\\",\\n \\"StreamUrl\\": \\"https://example.aliyundoc.com/xxxApp/3402000****320000001.m3u8\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '获取VS流推流记录',
- 'summary' => '获取某一时间段内某个域名(或域名下某应用或某个流)的推流记录。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => '#特殊错误码 '."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'| :----- | :----- | :----- | :----- |'."\n"
- .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
- .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
- .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
- .'| InvalidStartTime.Malformed | Specified parameter StartTime is not valid. | 400 | 开始时间错误。 |'."\n"
- .'| InvalidEndTime.Malformed | Specified parameter EndTime is not valid. | 400 | 结束时间错误。 |'."\n"
- .'| InvalidEndTime.Mismatch | Specified end time does not math the specified start time. | 400 | 结束时间与开始时间不匹配。 |',
],
- 'CreateTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListRenderingSessions' => [
+ 'summary' => '分页查询指定条件下的云应用服务会话列表。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该接口支持通过多种参数组合来过滤和分页查询用户的渲染会话列表。'."\n"
+ .'- `SessionId` 和 `ClientId` 参数至少需要提供一个,但两者都不是必选的。如果同时提供了两个参数,则将根据这两个参数进行更精确的匹配。'."\n",
+ 'path' => '/',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '录制模板',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'Description',
+ 'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '录制模板',
- ],
+ 'schema' => ['title' => '会话ID', 'description' => '会话ID', 'type' => 'string', 'required' => false, 'example' => 'session-i205217481741918129226'],
],
[
- 'name' => 'Type',
+ 'name' => 'ClientId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)'."\n"
- .'- transcode(转码)'."\n"
- .'- timeshift(时移)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'record',
- ],
+ 'schema' => ['title' => '终端客户的唯一ID', 'description' => '终端客户的唯一ID', 'type' => 'string', 'required' => false, 'example' => 'ae7990f4-203d-494b-a5ea-e0babe9fa13d'],
],
[
- 'name' => 'Region',
+ 'name' => 'AppId',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS所属区域,即服务中心。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'required' => false, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
],
[
- 'name' => 'OssBucket',
+ 'name' => 'State',
'in' => 'query',
'schema' => [
- 'description' => 'OSS的Bucket。',
+ 'title' => '云应用服务实例调度状态,取值范围,'."\n"
+ .'1. SessionStarting:会话启动中'."\n"
+ .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
+ .'3. SessionStarted:会话已启动/使用中'."\n"
+ .'4. SessionStartFailed:会话启动失败'."\n"
+ .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
+ .'6. SessionStopping:会话停止中'."\n"
+ .'7. SessionStopFailed:会话停止失败',
+ 'description' => '会话状态,取值范围,'."\n"
+ .'1. SessionStarting:会话启动中'."\n"
+ .'2. SessionStartSuspended:会话启动暂停,重新发起start可重试'."\n"
+ .'3. SessionStarted:会话已启动/使用中'."\n"
+ .'4. SessionStartFailed:会话启动失败'."\n"
+ .'5. SessionAbnormal:会话启动成功后,出现状态异常'."\n"
+ .'6. SessionStopping:会话停止中'."\n"
+ .'7. SessionStopFailed:会话停止失败',
'type' => 'string',
'required' => false,
- 'example' => 'bucketname',
+ 'example' => 'SessionStarting',
+ 'enum' => ['SessionStarting', 'SessionStartSuspended', 'SessionStarted', 'SessionAbnormal', 'SessionStartFailed', 'SessionStopping', 'SessionStopFailed'],
],
],
[
- 'name' => 'OssEndpoint',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
- ],
+ 'schema' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'OssFilePrefix',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS文件前缀',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-prefix',
- ],
+ 'schema' => ['title' => '页码,起始值为1', 'description' => '页码,起始值为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Trigger',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '模板触发类型,默认auto。取值:'."\n"
- .'- auto(自动)'."\n"
- .'- ondemand(按需)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'auto',
- ],
+ 'schema' => ['title' => '分页查询时设置的每页行数', 'description' => '分页查询时设置的每页行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
- 'name' => 'Interval',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '操作周期,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-03-25T02:00:00Z'],
],
[
- 'name' => 'Retention',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '时移保存周期,单位:天',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3',
- ],
+ 'schema' => ['title' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'description' => '时间区间筛选参数。按照ISO8601标准表示,并需要使用UTC时间,格式为yyyy-MM-ddTHH:mm:ssZ。', 'type' => 'string', 'required' => false, 'example' => '2025-03-31T22:20:00Z'],
],
[
- 'name' => 'FileFormat',
+ 'name' => 'PatchId',
'in' => 'query',
+ 'schema' => ['title' => '云应用补丁包ID。'."\n"
+ .'1. 输入origin时,仅过滤启动了App原始版本的会话', 'description' => '云应用补丁包ID。'."\n"
+ .'1. 输入origin时,仅过滤启动了App原始版本的会话', 'type' => 'string', 'required' => false, 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '存储文件格式,多值用逗号分隔。取值:'."\n"
- .'- mp4'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'> 青岛单元暂不支持flv、mp4录制',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hls',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Sessions' => [
+ 'title' => '会话列表',
+ 'description' => '会话列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '会话信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'example' => 'cap-4e1a6a425495458ba78693b8ac6600ea'],
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-a10722fb84b243f6ba02a89a2e5c838d'],
+ 'StartTime' => ['title' => '启动时间', 'description' => '启动时间', 'type' => 'string', 'example' => '2024-07-04T01:23:00Z'],
+ 'ClientId' => ['title' => '终端客户端ID', 'description' => '终端客户端ID', 'type' => 'string', 'example' => 'fd6b2134-7954-4754-8915-5fb8b0469622'],
+ 'PatchId' => ['title' => '云应用补丁包ID。空值表示为原始版本', 'description' => '云应用补丁包ID。空值表示为原始版本', 'type' => 'string', 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
+ 'SessionId' => ['title' => '会话ID', 'description' => '会话ID', 'type' => 'string', 'example' => 'session-i205217481741918129226'],
+ ],
+ ],
+ ],
+ 'TotalCount' => ['title' => '匹配的会话总数', 'description' => '匹配的会话总数', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ ],
],
],
- [
- 'name' => 'JpgOverwrite',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于覆盖截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg',
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Sessions\\": [\\n {\\n \\"AppId\\": \\"cap-4e1a6a425495458ba78693b8ac6600ea\\",\\n \\"RenderingInstanceId\\": \\"render-a10722fb84b243f6ba02a89a2e5c838d\\",\\n \\"StartTime\\": \\"2024-07-04T01:23:00Z\\",\\n \\"ClientId\\": \\"fd6b2134-7954-4754-8915-5fb8b0469622\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\"\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]',
+ 'title' => '查询会话列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-19T08:44:42.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingSessions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ListSpecifications' => [
+ 'summary' => '查询所有云应用服务规格信息,支持分页查询。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'JpgSequence',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于序列截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- {UnixTimestamp}、{Sequence}必填一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
+ 'parameters' => [
[
- 'name' => 'JpgOnDemand',
+ 'name' => 'Specification',
'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于按需截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- {UnixTimestamp}、{Sequence}必填一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg',
- ],
+ 'schema' => ['description' => '规格'."\n", 'type' => 'string', 'required' => false, 'example' => 'ew.gn8t6xlarge-rb.x1p'],
],
[
- 'name' => 'Mp4',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => 'MP4的存储路径。'."\n"
- .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{Sequence}、{EscapedStartTime}、{EscapedEndTime}'."\n"
- .'- 必须包含{EscapedStartTime}和{EscapedEndTime}',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '查询列表的页码。起始值为1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Flv',
+ 'name' => 'PageSize',
'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值为100行。默认值:10。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'FLV的存储路径。格式参考Mp4说明。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'Items' => [
+ 'description' => '结果对象',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Specification' => ['title' => '云渲染实例ID', 'description' => '`RenderingSpec`'."\n", 'type' => 'string', 'example' => 'crs.xic.s1'],
+ 'Class' => ['title' => '云渲染实例当前操作状态', 'description' => '`规格簇`'."\n", 'type' => 'string', 'example' => '4090CU'],
+ 'Shard' => ['description' => '`单负载卡数`'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Cores' => ['description' => '`核数`'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Memory' => ['description' => '内存大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'Storage' => ['description' => '存储空间上限,单位为GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'TotalCount' => ['title' => '云渲染实例总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'PageNumber' => ['description' => '查询列表的页码。起始值为1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询云应用服务规格',
+ 'description' => '## 请求说明'."\n"
+ ."\n"
+ .'- 该 API 用于查询所有可用的云应用服务规格信息。'."\n"
+ .'- 支持通过 `Specification` 参数过滤特定规格。'."\n"
+ .'- 分页查询时,可以通过 `PageNumber` 和 `PageSize` 参数控制返回的数据量。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"Items\\": [\\n {\\n \\"Specification\\": \\"crs.xic.s1\\",\\n \\"Class\\": \\"4090CU\\",\\n \\"Shard\\": 1,\\n \\"Cores\\": 2,\\n \\"Memory\\": 8,\\n \\"Storage\\": 90\\n }\\n ],\\n \\"TotalCount\\": 200,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20\\n}","type":"json"}]',
+ ],
+ 'ManageLogin' => [
+ 'summary' => '安全登录管理。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'HlsM3u8',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '207906',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'HLS的存储路径,m3u8文件。格式参考Mp4说明。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'HlsTs',
+ 'name' => 'KeyName',
'in' => 'query',
- 'schema' => [
- 'description' => 'HLS的存储路径,ts文件。'."\n"
- .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- 必须包含{UnixTimestamp}和{Sequence}变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}',
- ],
+ 'schema' => ['title' => '公钥名称,与 KeyGroup 至少存在一个,二者都存在时,KeyName 优先级更高且必须属于KeyGroup。', 'description' => '公钥名称,与KeyGroup至少存在一个', 'type' => 'string', 'required' => false, 'example' => 'mykey'],
],
[
- 'name' => 'Callback',
+ 'name' => 'KeyGroup',
'in' => 'query',
- 'schema' => [
- 'description' => '模板执行后的回调。'."\n"
- ."\n"
- .'> 注: 按需触发的模板不支持回调参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://example.com/callback',
- ],
+ 'schema' => ['title' => '公钥分组,如果 KeyName 不存在,则下发 KeyGroup 内所有的公钥。', 'description' => '公钥分组,如果KeyName不存在,则下发KeyGroup内所有的公钥', 'type' => 'string', 'required' => false, 'example' => 'mygroup'],
],
[
- 'name' => 'TransConfigsJSON',
+ 'name' => 'ActionName',
'in' => 'query',
'schema' => [
- 'description' => '转码配置TransConfig类型的数组,JSON格式字符串',
+ 'title' => '管理动作,取值:'."\n"
+ .'open - 打开登陆,默认值'."\n"
+ .'close - 关闭登陆',
+ 'description' => '管理动作名,取值:'."\n"
+ .'1. open - 生效公钥,默认值'."\n"
+ .'2. close - 失效公钥',
'type' => 'string',
'required' => false,
- 'example' => '[{"Fps":25,"Gop":50,"Height":720,"VideoCodec":"h264","Width":1280,"Name":"sd","VideoBitrate":800}]',
+ 'example' => 'open',
+ 'default' => 'open',
+ 'enum' => ['open', 'close'],
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '399*****735-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'LoginInfo' => [
+ 'title' => '连接信息',
+ 'description' => '连接信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'LoginHostname' => ['title' => 'ssh 连接的host', 'description' => 'ssh 连接的host', 'type' => 'string', 'example' => '12.10.4.10'],
+ 'LoginPort' => ['title' => 'ssh 连接端口', 'description' => 'ssh 连接端口', 'type' => 'integer', 'format' => 'int32', 'example' => '10004'],
+ 'AdbLoginPort' => ['description' => 'adb 连接端口', 'type' => 'integer', 'format' => 'int32', 'example' => '10005'],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****735-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '创建模板',
- 'summary' => '创建新模板。',
- 'requestParamsDescription' => '## TransConfig类型'."\n"
- ."\n"
- .'|参数 |类型 |必要 |示例值 |描述|'."\n"
- .'| -----| ---- | ---- |----|---- |'."\n"
- .'|Name |String |是 |sd |转码规则名称。转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母。|'."\n"
- .'|VideoCodec |String |是 |h264 |视频编码取值:h264|'."\n"
- .'|VideoBitrate |Long |是 |800 |视频比特率,单位:kbps|'."\n"
- .'|Fps |Long |是 |25 |视频帧率,单位:fps|'."\n"
- .'|Gop |Long |是 |50 |视频Gop,单位:帧|'."\n"
- .'|Height |Long |是 |640 |视频高度|'."\n"
- .'|Width |Long |是 |1280 |视频宽度|',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"LoginInfo\\": {\\n \\"LoginHostname\\": \\"12.10.4.10\\",\\n \\"LoginPort\\": 10004,\\n \\"AdbLoginPort\\": 10005\\n }\\n}","type":"json"}]',
+ 'title' => '云应用服务实例安全登录管理',
+ 'changeSet' => [
+ ['createdAt' => '2024-09-12T08:34:15.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManageLogin'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ManageLogin',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyComfyWorkflow' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '199255',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'WorkflowId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['title' => '工作流ID', 'description' => '工作流ID', 'type' => 'string', 'required' => true, 'example' => 'wf_3de1eb6e-1dfe-45aa-8f88-2269d0a30f53'],
+ ],
+ [
+ 'name' => 'WorkflowName',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '工作流名称', 'description' => '工作流模板名称。', 'type' => 'string', 'required' => false, 'example' => '图生视频工作流示例'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '工作流描述', 'description' => '工作流模板描述', 'type' => 'string', 'required' => false, 'example' => '这是一个图生视频的工作流'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Code' => ['description' => '错误码。如果活动状态是Fail,会给出具体的错误码。 如果活动状态是Success,此参数不返回。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '描述信息。Status=Failed时,包含失败原因', 'type' => 'string', 'example' => 'conn failed!'],
+ 'WorkflowId' => ['title' => '工作流ID', 'description' => '工作流ID', 'type' => 'string', 'example' => 'wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f'],
+ 'Name' => ['title' => '工作流名称', 'description' => '工作流名称', 'type' => 'string', 'example' => '图生视频工作流示例'],
+ 'Description' => ['title' => '工作流描述', 'description' => '工作流描述', 'type' => 'string', 'example' => '这是一个图生视频的工作流'],
+ 'CreationTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-05-07T02:27:06Z'],
+ 'UpdatedTime' => ['title' => '修改时间', 'description' => '任务更新时间。', 'type' => 'string', 'example' => '2024-05-07T02:27:06Z'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '删除模版',
- 'summary' => '删除模板。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改Comfy工作流',
+ 'summary' => '修改ComfyWorkflow的元信息',
+ 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"conn failed!\\",\\n \\"WorkflowId\\": \\"wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5f\\",\\n \\"Name\\": \\"图生视频工作流示例\\",\\n \\"Description\\": \\"这是一个图生视频的工作流\\",\\n \\"CreationTime\\": \\"2024-05-07T02:27:06Z\\",\\n \\"UpdatedTime\\": \\"2024-05-07T02:27:06Z\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '录制模板',
- ],
+ 'schema' => ['description' => '设备名称。', 'type' => 'string', 'required' => false, 'example' => 'xxx路口摄像头'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '录制模板',
- ],
+ 'schema' => ['description' => '设备描述。', 'type' => 'string', 'required' => false, 'example' => 'xxx路口摄像头'],
],
[
- 'name' => 'Region',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS所属区域,即服务中心。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => false, 'example' => '348*****174-cn-qingdao'],
],
[
- 'name' => 'OssBucket',
+ 'name' => 'ParentId',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS的Bucket。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bucketname',
- ],
+ 'schema' => ['description' => '父设备ID。', 'type' => 'string', 'required' => false, 'example' => '399*****774-cn-qingdao'],
],
[
- 'name' => 'OssEndpoint',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
- ],
+ 'schema' => ['description' => '设备所属目录ID。', 'type' => 'string', 'required' => false, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'OssFilePrefix',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => 'OSS文件前缀',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-prefix',
- ],
+ 'schema' => ['description' => '设备类型。取值范围:'."\n"
+ .'- ipc(摄像头)'."\n"
+ .'- platform(平台)'."\n"
+ .'- ied(智能设备)', 'type' => 'string', 'required' => false, 'example' => 'ipc'],
],
[
- 'name' => 'Trigger',
+ 'name' => 'AutoStart',
'in' => 'query',
- 'schema' => [
- 'description' => '模板触发类型,默认auto。取值:'."\n"
- .'- auto(自动)'."\n"
- .'- ondemand(按需)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'auto',
- ],
+ 'schema' => ['description' => '是否自动启动流,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'Interval',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'description' => '操作周期,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3600',
- ],
+ 'schema' => ['description' => '设备国标ID。'."\n"
+ .'> 仅适用于国标协议。', 'type' => 'string', 'required' => false, 'example' => '3100000****000000002'],
],
[
- 'name' => 'Retention',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '时移保存周期,单位:天',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '设备IP地址。', 'type' => 'string', 'required' => false, 'example' => '10.10.10.10'],
],
[
- 'name' => 'FileFormat',
+ 'name' => 'Port',
'in' => 'query',
- 'schema' => [
- 'description' => '存储文件格式,多值用逗号分隔。取值:'."\n"
- .'- mp4'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'> 青岛单元暂不支持flv、mp4录制',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hls',
- ],
+ 'schema' => ['description' => '设备端口。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8080'],
],
[
- 'name' => 'JpgOverwrite',
+ 'name' => 'Url',
'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于覆盖截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg',
- ],
+ 'schema' => ['description' => '设备上的流URL。', 'type' => 'string', 'required' => false, 'example' => 'rtmp://xxx/xxx'],
],
[
- 'name' => 'JpgSequence',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于序列截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- {UnixTimestamp}、{Sequence}必填一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg',
- ],
+ 'schema' => ['description' => '设备用户名。', 'type' => 'string', 'required' => false, 'example' => 'admin'],
],
[
- 'name' => 'JpgOnDemand',
+ 'name' => 'Password',
'in' => 'query',
- 'schema' => [
- 'description' => 'JPG的存储路径,用于按需截图。'."\n"
- .'- 目前仅支持生成jpg图片。'."\n"
- .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- {UnixTimestamp}、{Sequence}必填一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg',
- ],
+ 'schema' => ['description' => '设备密码。', 'type' => 'string', 'required' => false, 'example' => 'admin'],
],
[
- 'name' => 'Mp4',
+ 'name' => 'Vendor',
'in' => 'query',
- 'schema' => [
- 'description' => 'MP4的存储路径。'."\n"
- .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{Sequence}、{EscapedStartTime}、{EscapedEndTime}'."\n"
- .'- 必须包含{EscapedStartTime}和{EscapedEndTime}',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
+ 'schema' => ['description' => '设备厂商。', 'type' => 'string', 'required' => false, 'example' => '公司A'],
],
[
- 'name' => 'Flv',
+ 'name' => 'Longitude',
'in' => 'query',
- 'schema' => [
- 'description' => 'FLV的存储路径。格式参考Mp4说明。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
+ 'schema' => ['description' => '设备经度。', 'type' => 'string', 'required' => false, 'example' => '45.00'],
],
[
- 'name' => 'HlsM3u8',
+ 'name' => 'Latitude',
'in' => 'query',
- 'schema' => [
- 'description' => 'HLS的存储路径,m3u8文件。格式参考Mp4说明。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
+ 'schema' => ['description' => '设备维度。', 'type' => 'string', 'required' => false, 'example' => '119.20'],
],
[
- 'name' => 'HlsTs',
+ 'name' => 'AutoPos',
'in' => 'query',
- 'schema' => [
- 'description' => 'HLS的存储路径,ts文件。'."\n"
- .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
- .'- 必须包含{UnixTimestamp}和{Sequence}变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}',
- ],
+ 'schema' => ['description' => '是否启用设备位置订阅,默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'Callback',
+ 'name' => 'PosInterval',
'in' => 'query',
- 'schema' => [
- 'description' => '模板执行后的回调。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'http://example.com/callback',
- ],
+ 'schema' => ['description' => '位置订阅周期,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300'],
],
[
- 'name' => 'TransConfigsJSON',
+ 'name' => 'AlarmMethod',
'in' => 'query',
- 'schema' => [
- 'description' => '转码配置TransConfig类型的数组,JSON格式字符串',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"Fps":25,"Gop":50,"Height":720,"VideoCodec":"h264","Width":1280,"Name":"sd","VideoBitrate":800}]',
- ],
+ 'schema' => ['description' => '订阅的国标报警方式。取值范围:'."\n"
+ .'- 0(全部)'."\n"
+ .'- 5(视频报警)'."\n"
+ .'- 7(其他报警)'."\n"
+ .'> - 空值表示不订阅。'."\n"
+ .'> - 支持多个,用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '0'],
+ ],
+ [
+ 'name' => 'Params',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备其他参数,格式为JSON序列化的字符串。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
],
'responses' => [
@@ -16773,55 +14141,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '修改模板',
- 'summary' => '修改模板信息。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '修改设备',
+ 'summary' => '修改设备信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyDeviceAlarm' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
+ ],
+ [
+ 'name' => 'ChannelId',
+ 'in' => 'query',
+ 'schema' => ['description' => '通道ID。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'AlarmId',
+ 'in' => 'query',
+ 'schema' => ['description' => '告警ID。', 'type' => 'string', 'required' => true, 'example' => '0dGo7jLwwf1000296232'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '告警状态。取值:'."\n"
+ ."\n"
+ .'- 1(上传完成)'."\n"
+ .'- 2(上传失败)'."\n"
+ .'- 3(一般错误)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
],
'responses' => [
@@ -16829,291 +14215,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)'."\n"
- .'- transcode(转码)'."\n"
- .'- timeshift(时移)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'Trigger' => [
- 'description' => '模板触发类型。取值:'."\n"
- .'- auto(自动)'."\n"
- .'- ondemand(按需)'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'HlsTs' => [
- 'description' => 'HLS的存储路径,ts文件。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}',
- ],
- 'Mp4' => [
- 'description' => 'MP4的存储路径。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'JpgOverwrite' => [
- 'description' => 'JPG的存储路径,用于覆盖截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg',
- ],
- 'Callback' => [
- 'description' => '模板执行后的回调。',
- 'type' => 'string',
- 'example' => 'http://example.com/callback',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '录制模板',
- ],
- 'Region' => [
- 'description' => 'OSS所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Retention' => [
- 'description' => '时移保存周期,单位:天'."\n"
- .'> 仅限时移模板。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'HlsM3u8' => [
- 'description' => 'HLS的存储路径,m3u8文件。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '录制模板',
- ],
- 'Flv' => [
- 'description' => 'FLV的存储路径。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'CreatedTime' => [
- 'description' => '模板创建时间。',
- 'type' => 'string',
- 'example' => '2020-12-10T10:00:00Z',
- ],
- 'OssEndpoint' => [
- 'description' => 'OSS的域名。',
- 'type' => 'string',
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
- ],
- 'OssFilePrefix' => [
- 'description' => 'OSS文件前缀',
- 'type' => 'string',
- 'example' => 'oss-prefix',
- ],
- 'JpgOnDemand' => [
- 'description' => 'JPG的存储路径,用于按需截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg',
- ],
- 'OssBucket' => [
- 'description' => 'OSS的Bucket。',
- 'type' => 'string',
- 'example' => 'my_oss_bucket',
- ],
- 'FileFormat' => [
- 'description' => '存储文件格式,多值用逗号分隔。取值:mp4,flv,hls,jpg',
- 'type' => 'string',
- 'example' => 'hls',
- ],
- 'JpgSequence' => [
- 'description' => 'JPG的存储路径,用于序列截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg',
- ],
- 'Interval' => [
- 'description' => '操作周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3600',
- ],
- 'Id' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- 'TransConfigs' => [
- 'description' => '转码配置列表。'."\n"
- .'> 仅限转码模板。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Gop' => [
- 'description' => '视频Gop,单位:帧',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'Width' => [
- 'description' => '视频宽度',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1280',
- ],
- 'VideoBitrate' => [
- 'description' => '视频比特率,单位:kbps',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '800',
- ],
- 'Height' => [
- 'description' => '视频高度',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '720',
- ],
- 'VideoCodec' => [
- 'description' => '视频编码',
- 'type' => 'string',
- 'example' => 'h264',
- ],
- 'Fps' => [
- 'description' => '视频帧率,单位:fps',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '25',
- ],
- 'Name' => [
- 'description' => '转码规则名称,转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母',
- 'type' => 'string',
- 'example' => 'sd',
- ],
- 'Id' => [
- 'description' => '转码配置ID。',
- 'type' => 'string',
- 'example' => '399*****430-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Type\\": \\"record\\",\\n \\"Trigger\\": \\"auto\\",\\n \\"HlsTs\\": \\"osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}\\",\\n \\"Mp4\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"JpgOverwrite\\": \\"osspath/snapshot/{AppName}/{StreamName}.jpg\\",\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"录制模板\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Retention\\": 3,\\n \\"HlsM3u8\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Name\\": \\"录制模板\\",\\n \\"Flv\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"CreatedTime\\": \\"2020-12-10T10:00:00Z\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"OssFilePrefix\\": \\"oss-prefix\\",\\n \\"JpgOnDemand\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"JpgSequence\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg\\",\\n \\"Interval\\": 3600,\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"TransConfigs\\": [\\n {\\n \\"Gop\\": 50,\\n \\"Width\\": 1280,\\n \\"VideoBitrate\\": 800,\\n \\"Height\\": 720,\\n \\"VideoCodec\\": \\"h264\\",\\n \\"Fps\\": 25,\\n \\"Name\\": \\"sd\\",\\n \\"Id\\": \\"399*****430-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询模板',
- 'summary' => '查询模板信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeTemplates' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '修改设备报警',
+ 'summary' => '更新设备告警状态。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceAlarm'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceAlarm',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyDeviceCapture' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323434****83423432',
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按模板类型查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'record',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按绑定的实例ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- [
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序,默认按ID排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'id',
- ],
- ],
- [
- 'name' => 'SortDirection',
+ 'name' => 'Image',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式,默认升序。取值:'."\n"
- .'- asc(升序)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '抓图控制。取值:'."\n"
+ .'- 0(关闭)'."\n"
+ .'- 1(开启)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Video',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
- ],
- [
- 'name' => 'PageNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '视频录制控制。取值:'."\n"
+ .'- 0(关闭)'."\n"
+ .'- 1(开启短录制)'."\n"
+ .'- 2(开启长录制)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -17121,312 +14281,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F3F88C96-CA6E-573E-B8F7-5BE83A1A0BCF',
- ],
- 'TotalCount' => [
- 'description' => '模板总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Templates' => [
- 'description' => '模板列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)'."\n"
- .'- transcode(转码)'."\n"
- .'- timeshift(时移)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'Trigger' => [
- 'description' => '模板触发类型。取值:'."\n"
- .'- auto(自动)'."\n"
- .'- ondemand(按需)'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'OssFilePrefix' => [
- 'description' => 'OSS文件前缀。',
- 'type' => 'string',
- 'example' => 'my_prefix',
- ],
- 'HlsTs' => [
- 'description' => 'HLS的存储路径,ts文件。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}',
- ],
- 'Mp4' => [
- 'description' => 'MP4的存储路径。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'JpgOnDemand' => [
- 'description' => 'JPG的存储路径,用于按需截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg',
- ],
- 'OssBucket' => [
- 'description' => 'OSS的Bucket。',
- 'type' => 'string',
- 'example' => 'my_oss_bucket',
- ],
- 'JpgSequence' => [
- 'description' => 'JPG的存储路径,用于序列截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg',
- ],
- 'JpgOverwrite' => [
- 'description' => 'JPG的存储路径,用于覆盖截图。'."\n"
- .'> 仅限截图模板。',
- 'type' => 'string',
- 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg',
- ],
- 'FileFormat' => [
- 'description' => '存储文件格式,多值用逗号分隔。取值:mp4,flv,hls,jpg',
- 'type' => 'string',
- 'example' => 'hls',
- ],
- 'Callback' => [
- 'description' => '模板执行后的回调。',
- 'type' => 'string',
- 'example' => 'http://example.com/callback',
- ],
- 'Interval' => [
- 'description' => '操作周期,单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3600',
- ],
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '录制模板',
- ],
- 'Region' => [
- 'description' => 'OSS所属区域,即服务中心。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Retention' => [
- 'description' => '时移保存周期,单位:天'."\n"
- .'> 仅限时移模板。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'HlsM3u8' => [
- 'description' => 'HLS的存储路径,m3u8文件。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'Flv' => [
- 'description' => 'FLV的存储路径。'."\n"
- .'> 仅限录制模板。',
- 'type' => 'string',
- 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '录制模板',
- ],
- 'CreatedTime' => [
- 'description' => '模板创建时间。',
- 'type' => 'string',
- 'example' => '2018-12-10T10:00:00Z',
- ],
- 'OssEndpoint' => [
- 'description' => 'OSS的域名。',
- 'type' => 'string',
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
- ],
- 'Id' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- 'TransConfigs' => [
- 'description' => '转码配置列表。'."\n"
- .'> 仅限转码模板。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Gop' => [
- 'description' => '视频Gop,单位:帧',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'Width' => [
- 'description' => '视频宽度',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1280',
- ],
- 'VideoBitrate' => [
- 'description' => '视频比特率,单位:kbps',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '800',
- ],
- 'Height' => [
- 'description' => '视频高度',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '720',
- ],
- 'VideoCodec' => [
- 'description' => '视频编码',
- 'type' => 'string',
- 'example' => 'h264',
- ],
- 'Fps' => [
- 'description' => '视频帧率,单位:fps',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '25',
- ],
- 'Name' => [
- 'description' => '转码规则名称,转码规则名称将作为转码流后缀,建议按使用习惯设置为sd,200k等易辨识后缀,只支持数字和字母',
- 'type' => 'string',
- 'example' => 'sd',
- ],
- 'id' => [
- 'description' => '转码配置ID。',
- 'type' => 'string',
- 'example' => '399788187729597430-cn-qingdao',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"F3F88C96-CA6E-573E-B8F7-5BE83A1A0BCF\\",\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Templates\\": [\\n {\\n \\"Type\\": \\"record\\",\\n \\"Trigger\\": \\"auto\\",\\n \\"OssFilePrefix\\": \\"my_prefix\\",\\n \\"HlsTs\\": \\"osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}\\",\\n \\"Mp4\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"JpgOnDemand\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"JpgSequence\\": \\"osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg\\",\\n \\"JpgOverwrite\\": \\"osspath/snapshot/{AppName}/{StreamName}.jpg\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"Callback\\": \\"http://example.com/callback\\",\\n \\"Interval\\": 3600,\\n \\"Description\\": \\"录制模板\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Retention\\": 3,\\n \\"HlsM3u8\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Flv\\": \\"osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}\\",\\n \\"Name\\": \\"录制模板\\",\\n \\"CreatedTime\\": \\"2018-12-10T10:00:00Z\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\",\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"TransConfigs\\": [\\n {\\n \\"Gop\\": 50,\\n \\"Width\\": 1280,\\n \\"VideoBitrate\\": 800,\\n \\"Height\\": 720,\\n \\"VideoCodec\\": \\"h264\\",\\n \\"Fps\\": 25,\\n \\"Name\\": \\"sd\\",\\n \\"id\\": \\"399788187729597430-cn-qingdao\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询模板列表',
- 'summary' => '查询模板列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'BindTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '修改设备捕获',
+ 'summary' => '修改设备图传配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceCapture'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceCapture',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyDeviceChannels' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'TemplateId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- [
- 'name' => 'TemplateType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'record',
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****994-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'Dsn',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'group',
- ],
+ 'schema' => ['description' => '设备序列号。', 'type' => 'string', 'required' => false, 'example' => '210235C3GN32090008286cf17e130d'],
],
[
- 'name' => 'ApplyAll',
+ 'name' => 'DeviceStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制应用到范围内的所有流,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '设备状态。取值:'."\n"
+ .'- on(在线)'."\n"
+ .'- off(离线)', 'type' => 'string', 'required' => false, 'example' => 'on'],
],
[
- 'name' => 'Replace',
+ 'name' => 'Channels',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制替换已有绑定,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Channel数组,JSON格式字符串。', 'type' => 'string', 'required' => true, 'example' => '[{"ChannelId":12333,"Name":"测试","DeviceStatus":"on"}]'],
],
],
'responses' => [
@@ -17434,105 +14349,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8F4D95B6-EB19-5245-AD77-95EDA83E53B7'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '绑定模板到指定实例',
- 'summary' => '绑定模板到指定的实例,比如:绑定到空间和流的实例。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UnbindTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F4D95B6-EB19-5245-AD77-95EDA83E53B7\\"\\n}","type":"json"}]',
+ 'title' => '修改设备通道',
+ 'summary' => '更新设备通道列表。',
+ 'requestParamsDescription' => '### Channel类型'."\n"
+ ."\n"
+ .'| 参数 | 类型 | 必要 | 描述 |'."\n"
+ .'|-------------|------|-----|------|'."\n"
+ .'|ChannelId |Long |是|通道ID。|'."\n"
+ .'|Name |String|否|通道名称。|'."\n"
+ .'|DeviceStatus |String|否|设备状态。取值范围:<ul><li>on(在线)</li><li> off(离线)</li></ul>|'."\n"
+ .'|Params |String|否|设备其他参数,JSON格式字符串。|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceChannels'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'TemplateId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- [
- 'name' => 'TemplateType',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'record' => 'record',
- 'snapshot' => 'snapshot',
- ],
- 'example' => 'record',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '399*****488-cn-qingdao'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****994-cn-qingdao',
- ],
+ 'schema' => ['description' => '目录名称。', 'type' => 'string', 'required' => false, 'example' => '目录2'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'stream' => 'stream',
- 'group' => 'group',
- ],
- 'example' => 'group',
- ],
+ 'schema' => ['description' => '目录描述。', 'type' => 'string', 'required' => false, 'example' => '目录2'],
],
],
'responses' => [
@@ -17540,108 +14418,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TemplateType' => [
- 'description' => '模板类型。',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'Id' => ['description' => '目录ID。', 'type' => 'string', 'example' => '399*****488-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateType\\": \\"record\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n}","type":"json"}]',
- 'title' => '解除绑定模板到指定的实例',
- 'summary' => '解除绑定模板到指定的实例,比如:解除绑定到空间和流的实例。',
- 'description' => '>模板ID和模板类型至少指定一个。',
- ],
- 'BatchBindTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****488-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '修改目录',
+ 'summary' => '修改目录信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDirectory'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['description' => '空间ID。', 'type' => 'string', 'required' => true, 'example' => '32388487739092994-cn-qingdao'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****994-cn-qingdao',
- ],
+ 'schema' => ['description' => '空间名称。', 'type' => 'string', 'required' => false, 'example' => 'myGroup'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'group',
- ],
+ 'schema' => ['description' => '空间描述。', 'type' => 'string', 'required' => false, 'example' => '用于测试使用'],
],
[
- 'name' => 'ApplyAll',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制应用到范围内的所有流,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '空间所属区域,即服务中心。', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao'],
],
[
- 'name' => 'Replace',
+ 'name' => 'InProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制替换已有绑定,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '空间使用的接入协议。取值:'."\n"
+ .'- gb28181'."\n"
+ .'- rtmp', 'type' => 'string', 'required' => false, 'example' => 'gb28181'],
+ ],
+ [
+ 'name' => 'OutProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间使用的播放协议,多值用逗号分隔。取值:'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'- rtmp', 'type' => 'string', 'required' => false, 'example' => 'flv,rtmp,hls'],
+ ],
+ [
+ 'name' => 'Enabled',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间是否启用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'PushDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间使用的推流域名。(仅限于rtmp接入的空间)', 'type' => 'string', 'required' => false, 'example' => 'mypush.com'],
+ ],
+ [
+ 'name' => 'PlayDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间使用的播流域名。', 'type' => 'string', 'required' => false, 'example' => 'myplay.com'],
+ ],
+ [
+ 'name' => 'LazyPull',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否启用按需拉流。取值:'."\n"
+ .'- false(默认)'."\n"
+ .'- true', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'Callback',
+ 'in' => 'query',
+ 'schema' => ['description' => '空间内设备/流状态更新时的回调。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'],
],
],
'responses' => [
@@ -17649,246 +14527,162 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Bindings' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅当操作出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'Id' => ['description' => '空间ID。', 'type' => 'string', 'example' => '32388487739092994-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Bindings\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量绑定模板到多个实例',
- 'summary' => '绑定模板到指定的多个实例,比如:绑定到空间和流的实例。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"32388487739092994-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '修改业务空间',
+ 'summary' => '修改空间信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'BatchUnbindTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyHiveAttribute' => [
+ 'summary' => '用于更新指定集群的名称或描述信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 该 API 用于修改已存在的集群的基本属性,包括名称和描述。'."\n"
+ .'- `HiveId` 是必填参数,用来标识要修改的集群。'."\n"
+ .'- `Name` 和 `Description` 参数为可选,可以单独或同时提供以更新集群的相应属性。'."\n",
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
+ ],
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'HiveId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID,省略时解除实例上符合条件的所有绑定。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- [
- 'name' => 'TemplateType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'record',
- ],
+ 'schema' => ['description' => 'ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive-3b506f0868a7451ba15e0e890706033a'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID,多值用逗号分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****994-cn-qingdao',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '名称'."\n", 'type' => 'string', 'required' => false, 'example' => 'yy-test2'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'group',
- ],
+ 'schema' => ['description' => '备注'."\n", 'type' => 'string', 'required' => false, 'example' => 'gb-test'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Bindings' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅当操作出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => '', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Bindings\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量解除绑定模板到指定的实例',
- 'summary' => '解除绑定模板到指定的多个实例,比如:解除绑定到空间和流的实例。',
- 'description' => '> 模板ID和模板类型至少指定一个。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'BatchBindTemplates' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改集群属性',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyParentPlatform' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****998-cn-qingdao',
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '359*****374-cn-qingdao'],
],
[
- 'name' => 'TemplateType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'timeshift',
- ],
+ 'schema' => ['description' => '上级平台名称。', 'type' => 'string', 'required' => false, 'example' => '国标级联修改测试'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****994-cn-qingdao',
- ],
+ 'schema' => ['description' => '上级平台描述。', 'type' => 'string', 'required' => false, 'example' => '国标级联修改测试'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'GbId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'stream',
- ],
+ 'schema' => ['description' => '上级平台国标ID。', 'type' => 'string', 'required' => false, 'example' => '31000*****2170123451'],
],
[
- 'name' => 'ApplyAll',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制应用到范围内的所有流,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '上级平台SIP服务IP。', 'type' => 'string', 'required' => false, 'example' => '10.10.10.10'],
],
[
- 'name' => 'Replace',
+ 'name' => 'Port',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制替换已有绑定,默认false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '上级平台SIP服务端口。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5060'],
+ ],
+ [
+ 'name' => 'ClientAuth',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地是否开启鉴权。取值:'."\n"
+ .'- true(默认)'."\n"
+ .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'ClientUsername',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地用户名。', 'type' => 'string', 'required' => false, 'example' => 'user01'],
+ ],
+ [
+ 'name' => 'ClientPassword',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地密码。', 'type' => 'string', 'required' => false, 'example' => 'admin123'],
+ ],
+ [
+ 'name' => 'AutoStart',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否自动启用。取值:'."\n"
+ .'- true'."\n"
+ .'- false(默认)', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -17896,704 +14690,489 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '20D0DFCE-5DB7-5D83-BD82-8482F2327636',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Bindings',
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- ."\n"
- .'> 仅当操作出错时存在。'."\n",
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao ',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao ',
- ],
- ],
- ],
- ],
+ 'Id' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '359*****374-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20D0DFCE-5DB7-5D83-BD82-8482F2327636\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\\\t\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\\\t\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量绑定模板',
- 'summary' => '批量绑定模板。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'BatchUnbindTemplates' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</ModifyParentPlatformResponse>","errorExample":""}]',
+ 'title' => '修改上级平台',
+ 'summary' => '修改上级平台信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParentPlatform'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyRenderingChargeType' => [
+ 'summary' => '变配云渲染资源实例付费类型',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREvsJ3UH6I'],
+ ],
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => ['description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
+ ."\n"
+ .'开启或关闭自动续费,取值:'."\n"
+ .'* **true**:开启。'."\n"
+ .'* **false**:关闭。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
+ ],
+ [
+ 'name' => 'Period',
'in' => 'query',
'schema' => [
- 'description' => '模板ID。',
+ 'description' => '> 此值仅在 `InstanceChargeType` 为 `PrePaid`(包年包月)时有效。'."\n"
+ ."\n"
+ .'包年包月的时长。取值范围(注:当选12的时候会被换算为一年,其余以月为周期单位):'."\n"
+ ."\n"
+ .'- 1(默认)'."\n"
+ .'- 2'."\n"
+ .'- 3'."\n"
+ .'- 4'."\n"
+ .'- 5'."\n"
+ .'- 6'."\n"
+ .'- 7'."\n"
+ .'- 8'."\n"
+ .'- 9'."\n"
+ .'- 12',
'type' => 'string',
'required' => false,
- 'example' => '323*****998-cn-qingdao',
+ 'example' => '1',
+ 'default' => '1',
+ 'enum' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '12'],
],
],
[
- 'name' => 'TemplateType',
+ 'name' => 'InstanceBillingCycle',
'in' => 'query',
'schema' => [
- 'description' => '模板类型。取值:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
+ 'description' => '> 此值仅在 `InstanceChargeType` 为 `PostPaid`(按量付费)时有效。'."\n"
+ ."\n"
+ .'计费类型,取值范围:'."\n"
+ ."\n"
+ .'- Hour:小时。',
'type' => 'string',
'required' => false,
- 'example' => 'record',
+ 'example' => 'Hour',
+ 'default' => 'Hour',
+ 'enum' => ['Hour'],
],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '400941290881239938-cn-beijing',
- ],
+ 'schema' => ['description' => '云应用服务实例 ID。', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'InstanceType',
+ 'name' => 'InstanceChargeType',
'in' => 'query',
'schema' => [
- 'description' => '实例类型。取值:'."\n"
- .'- group(空间)'."\n"
- .'- stream(流)',
+ 'description' => '实例的目标付费方式,取值范围:'."\n"
+ ."\n"
+ .'- PrePaid(默认):预付费包年包月。'."\n"
+ .'- PostPaid:后付费按量付费。',
'type' => 'string',
'required' => true,
- 'example' => 'stream',
+ 'example' => 'PostPaid',
+ 'enum' => ['PrePaid', 'PostPaid'],
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '90B377DF-C874-5BBD-B957-42C4C06AFECE',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅当操作出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'TemplateType' => [
- 'description' => '模板类型。',
- 'type' => 'string',
- 'example' => 'snapshot',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => '323*****994-cn-qingdao',
- ],
- 'InstanceType' => [
- 'description' => '实例类型。',
- 'type' => 'string',
- 'example' => 'group',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '323*****998-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstanceId' => ['title' => '云渲染实例ID', 'description' => '云渲染实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"90B377DF-C874-5BBD-B957-42C4C06AFECE\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"TemplateType\\": \\"snapshot\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量解除绑定模板',
- 'summary' => '批量解除绑定模板。',
- ],
- 'StartRecordStream' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例付费方式变配',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyRenderingInstance' => [
+ 'summary' => '变配云应用服务实例',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREvsJ3UH6I'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingSpec',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['title' => '云渲染实例规格', 'description' => '云应用服务实例规格。', 'type' => 'string', 'required' => false, 'example' => 'crs.cp.l1'],
],
[
- 'name' => 'PlayDomain',
+ 'name' => 'StorageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '流的播放域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '云应用服务实例使用云存储容量(注:非本地存储)。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'App',
- 'in' => 'query',
- 'schema' => [
- 'description' => '流的App名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'live',
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '310000*****000002',
- ],
+ 'schema' => ['description' => '云应用服务实例ID(注:只支持同系列规格的变配)。', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6DFE7B89-8532-566F-B5CE-924B10FCE7AC'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '启动按需录制',
- 'summary' => '对指定流启动按需录制。',
- 'description' => '> - 需要配合按需录制模板使用,请先在空间或者流上绑定按需录制模板。'."\n"
- .'> - 有两种方式可以指定某条流,一种是通过Id,另一种是通过PlayDomain/App/Name。',
- ],
- 'StopRecordStream' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例变配',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRenderingInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6DFE7B89-8532-566F-B5CE-924B10FCE7AC\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyRenderingInstanceAttribute' => [
+ 'summary' => '修改云应用服务实例属性。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'PlayDomain',
+ 'name' => 'Password',
'in' => 'query',
+ 'schema' => ['description' => '设备密码。', 'type' => 'string', 'required' => true, 'example' => 'Toehold2020'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '流的播放域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '修改云应用服务实例属性',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstanceAttribute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'ModifyRenderingInstanceBandwidth' => [
+ 'summary' => '更新一个云应用服务实例的限速带宽。'."\n"
+ .'可以通过实例查询接口DescribeRenderingInstance,获取限速值与限速更新状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'App',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '213857',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '流的App名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'live',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'Name',
+ 'name' => 'MaxIngressBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => '流名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['title' => 'MaxIngressBandwidth/MaxEgressBandwidth至少必选其一'."\n"
+ .'● 入方向最大限流,单位Mb/s;'."\n"
+ .'● 实例原始配置不限流;'."\n"
+ .'● 无输入或输入0时,默认保留最后一次配置'."\n"
+ .'● 输入小于0时,重置为不限流', 'description' => '入方向最大限流,单位Mb/s。MaxIngressBandwidth/MaxEgressBandwidth至少必选其一,'."\n"
+ .'- 实例原始配置不限流;'."\n"
+ .'- 无输入或输入0时,默认保留最后一次配置'."\n"
+ .'- 输入小于0时,重置为不限流', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
+ ],
+ [
+ 'name' => 'MaxEgressBandwidth',
+ 'in' => 'query',
+ 'schema' => ['title' => 'MaxIngressBandwidth/MaxEgressBandwidth至少必选其一'."\n"
+ .'● 出方向最大限流,单位Mb/s'."\n"
+ .'● 实例原始配置不限流;'."\n"
+ .'● 无输入或输入0时,默认保留最后一次配置'."\n"
+ .'● 输入小于0时,重置为不限流', 'description' => '出方向最大限流,单位Mb/s。MaxIngressBandwidth/MaxEgressBandwidth至少必选其一,'."\n"
+ .'- 实例原始配置不限流;'."\n"
+ .'- 无输入或输入0时,默认保留最后一次配置'."\n"
+ .'- 输入小于0时,重置为不限流', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '停止按需录制',
- 'summary' => '对指定流停止按需录制。',
- 'description' => '> 有两种方式可以指定某条流,一种是通过Id,另一种是通过PlayDomain/App/Name。',
- ],
- 'DescribeRecords' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '更新云应用服务实例限速带宽',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRenderingInstanceBandwidth'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstanceBandwidth',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Type',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '按存储记录类型查询。取值范围:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'record' => 'record',
- 'snapshot' => 'snapshot',
- ],
- 'example' => 'record',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'StreamId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '按流ID查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '323*****997-cn-qingdao',
- ],
+ 'schema' => ['description' => '模板名称。', 'type' => 'string', 'required' => false, 'example' => '录制模板'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '按开始时间查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2021-11-22T00:00:00Z',
- ],
+ 'schema' => ['description' => '模板描述。', 'type' => 'string', 'required' => false, 'example' => '录制模板'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '按结束时间查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2021-11-24T00:00:00Z',
- ],
+ 'schema' => ['description' => 'OSS所属区域,即服务中心。', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao'],
],
[
- 'name' => 'PrivateBucket',
+ 'name' => 'OssBucket',
'in' => 'query',
- 'schema' => [
- 'description' => '是否使用私有Bucket。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => 'OSS的Bucket。', 'type' => 'string', 'required' => false, 'example' => 'bucketname'],
],
[
- 'name' => 'SortBy',
+ 'name' => 'OssEndpoint',
'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序,取值范围:'."\n"
- .'- Id(默认)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Id',
- ],
+ 'schema' => ['description' => 'OSS的域名。', 'type' => 'string', 'required' => false, 'example' => 'oss-cn-qingdao.aliyuncs.com'],
],
[
- 'name' => 'SortDirection',
+ 'name' => 'OssFilePrefix',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。取值范围:'."\n"
- .'- asc(升序)(默认)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'asc' => 'asc',
- 'desc' => 'desc',
- ],
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => 'OSS文件前缀', 'type' => 'string', 'required' => false, 'example' => 'oss-prefix'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Trigger',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认值:20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '模板触发类型,默认auto。取值:'."\n"
+ .'- auto(自动)'."\n"
+ .'- ondemand(按需)', 'type' => 'string', 'required' => false, 'example' => 'auto'],
],
[
- 'name' => 'PageNum',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '操作周期,单位秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3600'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。'."\n"
- .'> 仅限录制查询。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'NextStartTime' => [
- 'description' => '查询下个记录的开始时间。'."\n"
- .'> 仅限截图查询。',
- 'type' => 'string',
- 'example' => '2018-12-10T11:00:00Z',
- ],
- 'PageSize' => [
- 'description' => '分页大小。'."\n"
- .'> 仅限录制查询。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '存储记录总数。'."\n"
- .'> 仅限录制查询。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'PageCount' => [
- 'description' => '分页总数。'."\n"
- .'> 仅限录制查询。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'Records' => [
- 'description' => '存储记录列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '存储记录类型。取值范围:'."\n"
- .'- record(录制)'."\n"
- .'- snapshot(截图)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'Height' => [
- 'description' => '高度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1080',
- ],
- 'Url' => [
- 'description' => '存储文件的URL。',
- 'type' => 'string',
- 'example' => 'http://my_oss_bucket.oss-cn-qingdao.aliyuncs.com/record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8',
- ],
- 'OssBucket' => [
- 'description' => '存储文件的Bucket。',
- 'type' => 'string',
- 'example' => 'my_oss_bucket',
- ],
- 'FileFormat' => [
- 'description' => '存储文件格式。取值范围:'."\n"
- .'- mp4'."\n"
- .'- flv'."\n"
- .'- hls'."\n"
- .'- jpg',
- 'type' => 'string',
- 'example' => 'hls',
- ],
- 'StreamId' => [
- 'description' => '流ID。',
- 'type' => 'string',
- 'example' => '323*****997-cn-qingdao',
- ],
- 'OssObject' => [
- 'description' => '存储文件的Object。',
- 'type' => 'string',
- 'example' => 'record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8',
- ],
- 'EndTime' => [
- 'description' => '存储记录结束时间。',
- 'type' => 'string',
- 'example' => '2021-11-23T18:33:48',
- ],
- 'StartTime' => [
- 'description' => '存储记录开始时间。',
- 'type' => 'string',
- 'example' => '2021-11-23T18:19:32',
- ],
- 'Width' => [
- 'description' => '宽度。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1920',
- ],
- 'TemplateId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => '388*****204-cn-qingdao',
- ],
- 'Id' => [
- 'description' => '存储记录ID。'."\n"
- .'> 仅限录制查询。',
- 'type' => 'string',
- 'example' => '2be2a673-6033-4874-b6f2-f2bc0a1*****',
- ],
- 'OssEndpoint' => [
- 'description' => 'OSS接入点。',
- 'type' => 'string',
- 'example' => 'oss-cn-qingdao.aliyuncs.com',
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'name' => 'Retention',
+ 'in' => 'query',
+ 'schema' => ['description' => '时移保存周期,单位:天', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'],
],
- ],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"NextStartTime\\": \\"2018-12-10T11:00:00Z\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"PageCount\\": 5,\\n \\"Records\\": [\\n {\\n \\"Type\\": \\"record\\",\\n \\"Height\\": 1080,\\n \\"Url\\": \\"http://my_oss_bucket.oss-cn-qingdao.aliyuncs.com/record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8\\",\\n \\"OssBucket\\": \\"my_oss_bucket\\",\\n \\"FileFormat\\": \\"hls\\",\\n \\"StreamId\\": \\"323*****997-cn-qingdao\\",\\n \\"OssObject\\": \\"record/live/310*****007/2021-11-23-18-19-38_2021-11-23-18-33-48.m3u8\\",\\n \\"EndTime\\": \\"2021-11-23T18:33:48\\",\\n \\"StartTime\\": \\"2021-11-23T18:19:32\\",\\n \\"Width\\": 1920,\\n \\"TemplateId\\": \\"388*****204-cn-qingdao\\",\\n \\"Id\\": \\"2be2a673-6033-4874-b6f2-f2bc0a1*****\\",\\n \\"OssEndpoint\\": \\"oss-cn-qingdao.aliyuncs.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询录制记录列表',
- 'summary' => '查询录制记录列表。',
- 'description' => '> 截图查询目前不支持分页,仅支持按迭代方式。使用返回结果里的extStartTime参数值,作为新请求的StartTime可请求下一页。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetVsDomainCertificate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'FileFormat',
+ 'in' => 'query',
+ 'schema' => ['description' => '存储文件格式,多值用逗号分隔。取值:'."\n"
+ .'- mp4'."\n"
+ .'- flv'."\n"
+ .'- hls'."\n"
+ .'> 青岛单元暂不支持flv、mp4录制', 'type' => 'string', 'required' => false, 'example' => 'hls'],
],
- ],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'JpgOverwrite',
'in' => 'query',
- 'schema' => [
- 'description' => '指定证书所属加速域名。'."\n"
- ."\n"
- .'> 域名需要属于HTTPS加速类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => 'JPG的存储路径,用于覆盖截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}.jpg'],
],
[
- 'name' => 'SSLProtocol',
+ 'name' => 'JpgSequence',
'in' => 'query',
- 'schema' => [
- 'description' => 'HTTPS证书是否启用。取值:'."\n"
- ."\n"
- .'- **on**:启用。'."\n"
- .'- **off**(默认值):不启用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'on',
- ],
+ 'schema' => ['description' => 'JPG的存储路径,用于序列截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- {UnixTimestamp}、{Sequence}必填一个', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}.jpg'],
],
[
- 'name' => 'CertName',
+ 'name' => 'JpgOnDemand',
'in' => 'query',
- 'schema' => [
- 'description' => '证书名称。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Cert-77****7',
- ],
+ 'schema' => ['description' => 'JPG的存储路径,用于按需截图。'."\n"
+ .'- 目前仅支持生成jpg图片。'."\n"
+ .'- 支持变量匹配,包含{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- {UnixTimestamp}、{Sequence}必填一个', 'type' => 'string', 'required' => false, 'example' => 'osspath/snapshot/{AppName}/{StreamName}/{UnixTimestamp}_ondemand.jpg'],
],
[
- 'name' => 'CertType',
+ 'name' => 'Mp4',
'in' => 'query',
- 'schema' => [
- 'description' => '证书类型。'."\n"
- .'- upload(上传证书)'."\n"
- .'- cas(云盾证书)'."\n"
- .'- free(个人测试证书(免费版))',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'free',
- 'enum' => [
- 'free',
- 'cas',
- 'upload',
- ],
- ],
+ 'schema' => ['description' => 'MP4的存储路径。'."\n"
+ .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{Sequence}、{EscapedStartTime}、{EscapedEndTime}'."\n"
+ .'- 必须包含{EscapedStartTime}和{EscapedEndTime}', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
],
[
- 'name' => 'SSLPub',
+ 'name' => 'Flv',
'in' => 'query',
- 'schema' => [
- 'description' => '安全证书内容,不启用证书则无需输入,配置证书请输入证书内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '328uiuii28****82dsada81',
- ],
+ 'schema' => ['description' => 'FLV的存储路径。格式参考Mp4说明。', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
],
[
- 'name' => 'SSLPri',
+ 'name' => 'HlsM3u8',
'in' => 'query',
- 'schema' => [
- 'description' => '私钥内容,不启用证书则无需输入,配置证书请输入私钥内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxxxxx',
- ],
+ 'schema' => ['description' => 'HLS的存储路径,m3u8文件。格式参考Mp4说明。', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{EscapedStartTime}_{EscapedEndTime}'],
],
[
- 'name' => 'Region',
+ 'name' => 'HlsTs',
'in' => 'query',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-qingdao',
- ],
+ 'schema' => ['description' => 'HLS的存储路径,ts文件。'."\n"
+ .'- 路径中支持变量匹配,可选{AppName}、{StreamName}、{UnixTimestamp}、{Sequence}'."\n"
+ .'- 必须包含{UnixTimestamp}和{Sequence}变量', 'type' => 'string', 'required' => false, 'example' => 'osspath/record/{StreamName}/{UnixTimestamp}_{Sequence}'],
],
[
- 'name' => 'ForceSet',
+ 'name' => 'Callback',
'in' => 'query',
- 'schema' => [
- 'description' => '设置为1时,忽略证书名称重复的校验,覆盖原有同名证书信息。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '模板执行后的回调。', 'type' => 'string', 'required' => false, 'example' => 'http://example.com/callback'],
+ ],
+ [
+ 'name' => 'TransConfigsJSON',
+ 'in' => 'query',
+ 'schema' => ['description' => '转码配置TransConfig类型的数组,JSON格式字符串', 'type' => 'string', 'required' => false, 'example' => '[{"Fps":25,"Gop":50,"Height":720,"VideoCodec":"h264","Width":1280,"Name":"sd","VideoBitrate":800}]'],
],
],
'responses' => [
@@ -18601,1044 +15180,802 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '119F7639-4646-51A4-B6C1-300D391C0104',
- ],
+ 'Id' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"119F7639-4646-51A4-B6C1-300D391C0104\\"\\n}","type":"json"}]',
- 'title' => '设置域名证书信息',
- 'summary' => '设置某域名下证书功能是否启用。',
- 'extraInfo' => '# 特殊错误码'."\n"
- .'|ErrorCode错误码|Message错误信息|HTTP状态|语义|'."\n"
- .'|:-----|:-----|:-----|:-----|'."\n"
- .'|InvalidDomain.NotFound|The domain provided does not belong to you.|404|域名不存在或不属于当前用户。|'."\n"
- .'|IllegalOperation|Illegal domain operate is not permitted.|403|没有权限执行当前操作。|'."\n"
- .'|ServiceBusy|The specified Domain is configuring, please retry later.|403|域名正在配置中,请稍后再试。|'."\n"
- .'|InvalidDomain.Offline|The domain provided is offline.|400|域名已下线。|'."\n"
- .'|OperationDenied|Your CDN service is suspended.|403|该账号已经欠费,请充值。|'."\n"
- .'|InvalidSSLProtocol.ValueNotSupported|The specified value of parameter Enable is not supported.|400|SSLProtocol的值不合法。|'."\n"
- .'|SSLPub.MissingParameter|An input parameter SSLPub that is mandatory for processing the request is not supplied.|400|SSLPub参数缺失。|'."\n"
- .'|SSLPri.MissingParameter|An input parameter SSLPri that is mandatory for processing the request is not supplied.|400|SSLPri参数缺失。|'."\n"
- .'|InvalidCertificate|The Certificate you provided is malformed!|400|证书内容不合法。|'."\n"
- .'|InvalidSSLPri|The SSLPri you provided is malformed!|400|私钥内容不合法。|'."\n"
- .'|Certificate.MissMatch|The SSLPri does not math the specified Certificate!|400|证书和私钥不匹配。|'."\n"
- .'|InvalidCertificate.TooLong|The Certificate you provided is over the max length!|400|证书内容超过长度限制。|'."\n"
- .'|InvalidCertName.TooLong|The Certificate name you provided is over the max length 128!|400|证书名称不能超过128个字符。|'."\n"
- .'|SetDomainSSLPub.ParameterError|Parameters have error.|400|参数错误。|'."\n"
- .'|Certificate.StatusError|Certificate is not exist or its status is error.|400|证书不存在或证书状态错误。|'."\n"
- .'|DeleteFailed|Delete certificate is failed.|400|删除证书失败。|'."\n"
- .'|Certificate.NotFind|Not find the certificate info.|400|没有查到相应证书。|'."\n"
- .'|Certificate.Duplicated|The certificate name is duplicated.|400|证书名称重复。|'."\n"
- .'|Certificate.FormatError|The certificate format is error.|400|证书格式错误。|'."\n"
- .'|Certificate.StatusError|The certificate status is error.|400|证书状态错误。|'."\n"
- .'|Certificate.KeyNull|The SSLPri is not null.|400|私钥不能为空。|'."\n"
- .'|SSLPri.Malformed|The SSLPri format is error.|400|私钥格式错误。|'."\n"
- .'|Certificate.NotPermittedOff|Turn off certificate will change domain scheduling, please contact customer service.|400|关闭证书会影响该域名调度,请联系客户调整。|'."\n"
- .'|Certificate.SettedNotEffect|Certificate was successfully setted but does’t take effect for protecting current service, please contact customer service.|400|证书已经设置成功,但为保护当前服务还未生效,请联系客服处理。|',
- ],
- 'DescribeVsCertificateDetail' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323*****998-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '修改模板',
+ 'summary' => '修改模板信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'MoveHiveEdgeWorkers' => [
+ 'summary' => '将指定的云应用服务实例移动到目标集群中。',
+ 'description' => '## 请求说明'."\n"
+ .'- **HiveId**:目标集群ID,必填。'."\n"
+ .'- **InstanceIds**:需要移动的云应用服务实例ID列表,必填。'."\n"
+ .'- 该操作会将指定的云应用服务实例从当前集群移动到目标集群。'."\n"
+ .'- 确保目标集群存在且有足够资源接收新的云应用服务实例。'."\n",
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'CertName',
+ 'name' => 'HiveId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '集群ID'."\n", 'type' => 'string', 'required' => true, 'example' => 'hive-xxxx-xxx-xxx'],
+ ],
+ [
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '证书名称',
- 'type' => 'string',
+ 'description' => '负载ID列表'."\n",
+ 'type' => 'array',
+ 'items' => ['description' => '负载 ID', 'type' => 'string', 'required' => false, 'example' => 'ew-1226d588c69449209ee963161c067b04'],
'required' => true,
- 'example' => 'cert-539xxxx',
+ 'example' => '["ew-xxxx"]',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'CertName' => [
- 'description' => '证书名称',
- 'type' => 'string',
- 'example' => 'cert-539xxxxx',
- ],
- 'Key' => [
- 'description' => '密钥。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'Cert' => [
- 'description' => '证书内容',
- 'type' => 'string',
- 'example' => '-----BEGIN CERTIFICATE-----xxxxx-----END CERTIFICATE-----',
- ],
- 'CertId' => [
- 'description' => '证书id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '63000000',
+ 'RequestId' => ['title' => '', 'description' => '请求 ID'."\n", 'type' => 'string', 'example' => 'xxxx-xxx-xxx'],
+ 'SuccessInstanceCount' => ['description' => '成功的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'FailedInstanceCount' => ['description' => '失败的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SuccessInstances' => [
+ 'description' => '成功的负载列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '负载信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '负载 ID', 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '描述信息', 'description' => '信息', 'type' => 'string', 'example' => 'SUCCESS'],
+ ],
+ ],
],
- 'RequestId' => [
- 'description' => '本次操作请求ID',
- 'type' => 'string',
- 'example' => 'D94D0E1E-E71B-562D-8C18-969BB3653FBD',
+ 'FailedInstances' => [
+ 'description' => '失败的负载列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '负载信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '云应用服务实例ID', 'description' => '负载ID'."\n", 'type' => 'string', 'example' => 'ew-1226d588c69449209ee963161c067b04'],
+ 'Message' => ['title' => '失败原因', 'description' => '错误信息'."\n", 'type' => 'string', 'example' => 'Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\''],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertName\\": \\"cert-539xxxxx\\",\\n \\"Key\\": \\"xxxxx\\",\\n \\"Cert\\": \\"-----BEGIN CERTIFICATE-----xxxxx-----END CERTIFICATE-----\\",\\n \\"CertId\\": 63000000,\\n \\"RequestId\\": \\"D94D0E1E-E71B-562D-8C18-969BB3653FBD\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '获取证书详情',
- 'summary' => '获取证书详细信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '移动负载到指定集群',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxx-xxx-xxx\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"FailedInstanceCount\\": 0,\\n \\"SuccessInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"FailedInstances\\": [\\n {\\n \\"InstanceId\\": \\"ew-1226d588c69449209ee963161c067b04\\",\\n \\"Message\\": \\"Error 1062 (23000): Duplicate entry \'hive-4fbf3928d40e43948b98acdb4fb5aaed-ew-1226d588c69449209ee9631\' for key \'PRIMARY\'\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'DescribeVsDomainCertificateInfo' => [
- 'methods' => [
- 'post',
- 'get',
+ 'OpenVsService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ [
+ 'APP' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '150275784'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"150275784\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '开通服务',
+ 'summary' => '开通服务。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:OpenVsService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'PushFile' => [
+ 'summary' => '推送一个文件到一个指定云应用服务实例。'."\n"
+ .'属于异步操作,可通过ListFilePushStatuses接口查询推送进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '215938',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => ['title' => '文件ID', 'description' => '文件ID', 'type' => 'string', 'required' => true, 'example' => 'f-1671accd4dafdag3er256cvgewt13f7141db2f7'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'CertInfos' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'CertInfo' => [
- 'description' => '证书信息。'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '证书信息。'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '证书状态。'."\n"
- .' - **success**:已生效。'."\n"
- ."\n"
- .' - **checking**:检测域名是否在阿里云CDN。'."\n"
- ."\n"
- .' - **cname_error**:域名没有切到阿里云CDN。'."\n"
- ."\n"
- .' - **top_domain_cname_error**:顶级域名没有切到阿里云CDN。'."\n"
- ."\n"
- .' - **domain_invalid**:域名包含非法字符。'."\n"
- ."\n"
- .' - **unsupport_wildcard**:不支持泛域名。'."\n"
- ."\n"
- .' - **applying**:证书申请中。'."\n"
- ."\n"
- .' - **get_token_timeout**:证书申请超时。'."\n"
- ."\n"
- .' - **check_token_timeout**:校验超时。'."\n"
- ."\n"
- .' - **get_cert_timeout**:获取证书超时。'."\n"
- ."\n"
- .' - **failed**:证书申请失败。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'CertLife' => [
- 'description' => '证书时长单位。'."\n"
- ."\n"
- .'- **months**:月。'."\n"
- ."\n"
- .'- **years**:年。',
- 'type' => 'string',
- 'example' => 'months',
- ],
- 'CertExpireTime' => [
- 'description' => '证书过期时间。格式为:<i>yyyy-MM-dd</i>T<i>HH:mm:ss</i>Z(UTC时间)。',
- 'type' => 'string',
- 'example' => '2018-06-03T22:03:39Z',
- ],
- 'SSLPub' => [
- 'description' => '证书公钥。',
- 'type' => 'string',
- 'example' => 'asdadaxxxx',
- ],
- 'CertType' => [
- 'description' => '证书类型。'."\n"
- ."\n"
- .'- **free**:个人测试证书(免费版)。'."\n"
- ."\n"
- .'- **cas**:云盾证书。'."\n"
- ."\n"
- .'- **upload**:自定义上传。',
- 'type' => 'string',
- 'example' => 'free',
- ],
- 'ServerCertificateStatus' => [
- 'description' => 'https开启状态。'."\n"
- ."\n"
- .'- **on**:已开启。'."\n"
- .'- **off**:未开启。',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'CertDomainName' => [
- 'description' => '证书匹配的域名。'."\n",
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'CertName' => [
- 'description' => '证书名称。',
- 'type' => 'string',
- 'example' => 'myname',
- ],
- 'CertOrg' => [
- 'description' => '该证书签发的CA名称。',
- 'type' => 'string',
- 'example' => 'Let\'s Encrypt',
- ],
- 'DomainName' => [
- 'description' => '加速域名。'."\n",
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"CertInfos\\": {\\n \\"CertInfo\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"CertLife\\": \\"months\\",\\n \\"CertExpireTime\\": \\"2018-06-03T22:03:39Z\\",\\n \\"SSLPub\\": \\"asdadaxxxx\\",\\n \\"CertType\\": \\"free\\",\\n \\"ServerCertificateStatus\\": \\"on\\",\\n \\"CertDomainName\\": \\"example.com\\",\\n \\"CertName\\": \\"myname\\",\\n \\"CertOrg\\": \\"Let\'s Encrypt\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取指定加速域名证书信息',
- 'summary' => '获取指定加速域名证书信息。',
- ],
- 'DescribeVsCertificateList' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '推送文件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushFile'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:PushFile',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RebootRenderingInstance' => [
+ 'summary' => '重启一个云应用服务实例。'."\n"
+ .'可通过查询接口DescribeRenderingInstance获取重启进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '212048',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用的请求id',
- 'type' => 'string',
- 'example' => '6E310519-E035-51AB-80D4-C1CBECD39EB5',
- ],
- 'CertificateListModel' => [
- 'description' => '证书id',
- 'type' => 'object',
- 'properties' => [
- 'Count' => [
- 'description' => '证书个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'CertList' => [
- 'description' => '证书列表信息',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LastTime' => [
- 'description' => '时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1632462708',
- ],
- 'Fingerprint' => [
- 'description' => '证书指纹。',
- 'type' => 'string',
- 'example' => '3EB2585309AE5C8F369****7CDA6A8F5CEC8B2D4',
- ],
- 'CertName' => [
- 'description' => '证书名称',
- 'type' => 'string',
- 'example' => 'cert-5391062',
- ],
- 'Issuer' => [
- 'description' => '证书发行商',
- 'type' => 'string',
- 'example' => 'xxxxCert Inc',
- ],
- 'CertId' => [
- 'description' => '证书id'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6338888',
- ],
- 'Common' => [
- 'description' => '证书中的CN属性,一般是一个域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E310519-E035-51AB-80D4-C1CBECD39EB5\\",\\n \\"CertificateListModel\\": {\\n \\"Count\\": 2,\\n \\"CertList\\": [\\n {\\n \\"LastTime\\": 1632462708,\\n \\"Fingerprint\\": \\"3EB2585309AE5C8F369****7CDA6A8F5CEC8B2D4\\",\\n \\"CertName\\": \\"cert-5391062\\",\\n \\"Issuer\\": \\"xxxxCert Inc\\",\\n \\"CertId\\": 6338888,\\n \\"Common\\": \\"example.aliyundoc.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '获取证书列表',
- 'summary' => '获取域名证书列表信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeVsDomainDetail' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '重启云应用服务实例',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebootRenderingInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RebootRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RebootRenderingServer' => [
+ 'summary' => '云应用服务实例主机重启',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
+ 'description' => '云应用服务实例ID列表',
+ 'type' => 'array',
+ 'items' => ['description' => '云应用服务实例ID列表', 'type' => 'string', 'required' => false, 'example' => '[\\"render-6cdd65c6964c4ef2a635341f8c024191\\"]'],
'required' => true,
- 'example' => 'example.aliyundoc.com',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B',
- ],
- 'DomainConfig' => [
- 'description' => '域名配置列表信息。',
- 'type' => 'object',
- 'properties' => [
- 'GmtCreated' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2021-07-19T10:27:23Z',
- ],
- 'Description' => [
- 'description' => '域名描述信息。',
- 'type' => 'string',
- 'example' => '测试使用',
- ],
- 'SSLProtocol' => [
- 'description' => 'HTTPS证书是否启用。取值:'."\n"
- ."\n"
- .'- **on**:启用。'."\n"
- ."\n"
- .'- **off**(默认值):不启用。',
- 'type' => 'string',
- 'example' => 'off',
- ],
- 'Region' => [
- 'description' => '域名所在区域。',
- 'type' => 'string',
- 'example' => 'cn-qingdao',
- ],
- 'Scope' => [
- 'description' => '加速区域。取值范围:'."\n"
- .'- **domestic**'."\n"
- .'- **overseas**'."\n"
- .'- **global**',
- 'type' => 'string',
- 'example' => 'domestic',
- ],
- 'Cname' => [
- 'description' => '为视图计算域名生成的一个CNAME域名,需要在域名解析服务商处将域名CNAME解析到该域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com.*****.com',
- ],
- 'DomainStatus' => [
- 'description' => '视图计算加速域名运行状态。取值:'."\n"
- ."\n"
- .'- **online**:启用。'."\n"
- ."\n"
- .'- **offline**:停用。'."\n"
- ."\n"
- .'- **configuring**:配置中。',
- 'type' => 'string',
- 'example' => 'online',
- ],
- 'GmtModified' => [
- 'description' => '最近修改时间。',
- 'type' => 'string',
- 'example' => '2021-07-19T10:27:23Z',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SuccessInstanceCount' => ['description' => '成功的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SuccessInstances' => [
+ 'description' => '云应用服务实例ID与关联结果描述信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '云应用服务实例ID与关联结果描述信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-e6cf423c787e4e43b460a788da254fe3'],
],
- 'DomainType' => [
- 'description' => '域名类型。'."\n"
- ."\n"
- .'> 固定值:vs',
- 'type' => 'string',
- 'example' => 'vs',
+ ],
+ ],
+ 'FailedInstanceCount' => ['description' => '失败的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FailedInstances' => [
+ 'description' => '云应用服务实例ID与关联失败信息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-421cd2a1125947c19fcd5c7dd2c7d31e'],
+ 'ErrMessage' => ['description' => '失败原因信息', 'type' => 'string', 'example' => 'Rejected due to timeout'],
+ 'ErrCode' => ['description' => '失败错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '300000'],
],
+ 'description' => '',
],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\",\\n \\"DomainConfig\\": {\\n \\"GmtCreated\\": \\"2021-07-19T10:27:23Z\\",\\n \\"Description\\": \\"测试使用\\",\\n \\"SSLProtocol\\": \\"off\\",\\n \\"Region\\": \\"cn-qingdao\\",\\n \\"Scope\\": \\"domestic\\",\\n \\"Cname\\": \\"example.aliyundoc.com.*****.com\\",\\n \\"DomainStatus\\": \\"online\\",\\n \\"GmtModified\\": \\"2021-07-19T10:27:23Z\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DomainType\\": \\"vs\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询域名信息',
- 'summary' => '获取指定视图计算域名配置的基本信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => '# 特殊错误码'."\n"
- .'|ErrorCode错误码|Message错误信息|HTTP状态|语义|'."\n"
- .'|:-----|:-----|:-----|:-----|'."\n"
- .'|InvalidDomain.NotFound|The domain provided does not belong to you.|404|域名不存在或不属于当前用户。|'."\n"
- .'|ServiceBusy|The specified Domain is configuring, please retry again later.|403|域名正在配置中,请稍后再试。|',
- ],
- 'DescribeVsDomainConfigs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-421cd2a1125947c19fcd5c7dd2c7d31e\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '重启云应用服务实例所属主机',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:RebootRenderingServer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RecoverRenderingDataPackage' => [
+ 'summary' => '恢复数据到云渲染实例',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '212048',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'FunctionNames',
+ 'name' => 'DataPackageId',
'in' => 'query',
- 'schema' => [
- 'description' => '功能列表名称。'."\n"
- ."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'path_based_ttl_set,oss_auth',
- ],
+ 'schema' => ['description' => '云应用服务数据包ID', 'type' => 'string', 'required' => true, 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'."\n"],
+ ],
+ [
+ 'name' => 'LoadMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据加载模式,取值:System/Process,默认为System。System表示系统级,稳定性高,耗时相对久,Process表示进程级,加载时效性高,稳定性相对差。', 'type' => 'string', 'required' => false, 'example' => 'Process'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D94D0E1E-E71B-562D-8C18-969BB3653FBD',
- ],
- 'DomainConfigs' => [
- 'description' => '域名配置。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '状态。取值包括:'."\n"
- .'- success'."\n"
- .'- testing'."\n"
- .'- failed'."\n"
- .'- configuring',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'ConfigId' => [
- 'description' => '配置ID。',
- 'type' => 'string',
- 'example' => '6295',
- ],
- 'FunctionName' => [
- 'description' => 'function名称。',
- 'type' => 'string',
- 'example' => 'aliauth',
- ],
- 'FunctionArgs' => [
- 'description' => '各个function。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ArgName' => [
- 'description' => '配置名称。',
- 'type' => 'string',
- 'example' => 'auth_type',
- ],
- 'ArgValue' => [
- 'description' => '配置值。',
- 'type' => 'string',
- 'example' => 'req_auth',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D94D0E1E-E71B-562D-8C18-969BB3653FBD\\",\\n \\"DomainConfigs\\": [\\n {\\n \\"Status\\": \\"success\\",\\n \\"ConfigId\\": \\"6295\\",\\n \\"FunctionName\\": \\"aliauth\\",\\n \\"FunctionArgs\\": [\\n {\\n \\"ArgName\\": \\"auth_type\\",\\n \\"ArgValue\\": \\"req_auth\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询域名配置',
- 'summary' => '查询域名配置,一次可查询多个功能配置。',
- 'requestParamsDescription' => '### 功能说明'."\n"
- .'| 名称 | 参数 |'."\n"
- .'| ---- | ---- |'."\n"
- .'| referer_white_list_set | refer白名单。 |'."\n"
- .'| referer_black_list_set | refer黑名单。 |'."\n"
- .'| filetype_based_ttl_set | 文件过期时间设置。 |'."\n"
- .'| path_based_ttl_set | 目录过期时间设置。 |'."\n"
- .'| cc_defense | 防CC攻击。 |'."\n"
- .'| oss_auth | OSS鉴权Bucket。 |'."\n"
- .'| ip_black_list_set | IP黑名单。 |'."\n"
- .'| ip_white_list_set | IP白名单。 |'."\n"
- .'| error_page | 错误页面重定向。 |'."\n"
- .'| tesla | 页面优化加速。 |'."\n"
- .'| set_req_host_header | 修改回源自定义头。 |'."\n"
- .'| set_hashkey_args | 忽略URL参数。 |'."\n"
- .'| aliauth | 阿里鉴权。 |'."\n"
- .'| set_resp_header | 设置响应头(浏览器端可见)。 |'."\n"
- .'| video_seek | 视频切片拖拽开关。 |'."\n"
- .'| range | Range请求功能。 |'."\n"
- .'| gzip | 页面Gzip优化。 |'."\n"
- .'| https_force | 强制HTTPS跳转。 |'."\n"
- .'| http_force | 强制HTTP跳转。 |'."\n"
- .'| alilive | 视频直播配置。 |'."\n"
- .'| forward_scheme | 静态协议跟随回源。 |'."\n"
- .'| tmd_signature | 配置频次控制自定义规则。 |'."\n"
- .'| cdn_waf | WAF基础防护。 |',
- 'extraInfo' => '### 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'| ---- | ---- | ---- | ---- |'."\n"
- .'| InvalidFunctionName.ValueNotSupported | FunctionName %s is not supported. | 400 | 不支持的FunctionName %s(%s为具体功能名)。 |',
- ],
- 'BatchSetVsDomainConfigs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '恢复数据到云应用服务',
+ 'changeSet' => [
+ ['createdAt' => '2025-03-20T07:03:49.000Z', 'description' => '请求参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecoverRenderingDataPackage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RecoverRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'RefreshRenderingInstanceStreaming' => [
+ 'summary' => '调用 RefreshRenderingInstanceStreaming 刷新云应用服务实例流连接。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
'parameters' => [
[
- 'name' => 'DomainNames',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '您的加速域名。'."\n"
- .'> 支持多个,用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '云应用服务实例ID。', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'Functions',
+ 'name' => 'ClientInfo',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '功能列表。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{“functionArgs”:[{“argName”:”domain_name”,”argValue”:”api.hellodtworld.com”}],”functionName”:”set_req_host_header”}]',
+ 'description' => '客户端信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClientIp' => ['description' => '客户端IP地址。', 'type' => 'string', 'required' => false, 'example' => '172.21.128.110'],
+ 'NewClient' => ['description' => '是否为新的客户端。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
+ ],
+ 'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'RenderingInstanceId' => ['description' => '云应用服务实例ID。', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ 'Gateway' => ['description' => '云应用服务实例流化网关域名。', 'type' => 'string', 'example' => '10.178.208.22'],
+ 'Hostname' => ['description' => '云应用服务实例串流域名/IP。', 'type' => 'string', 'example' => 'cn-xxx.ecr.aliyuncs.com'],
+ 'Port' => ['description' => '流连接端口。', 'type' => 'string', 'example' => '8080'],
+ 'FlowId' => ['description' => '本次连接的令牌。', 'type' => 'string', 'example' => '792fy125-594c-4dde-ab35-9ff8hrf0a86f'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量配置域名',
- 'summary' => '域名批量配置。',
- 'requestParamsDescription' => '### Functions格式'."\n"
- ."\n"
- .'- [{“functionArgs”:[{“argName”:”domain_name”,”argValue”:”api.hellodtworld.com”}],”functionName”:”set_req_host_header”}]'."\n"
- ."\n"
- .'- 某些功能,如filetype_based_ttl_set,可以设置多条纪录,当需要更新其中某条纪录时,可通过该条纪录的configId来指定。[{“functionArgs”:[{“argName”:”file_type”,”argValue”:”jpg”},{“argName”:”ttl”,”argValue”:”18”},{“argName”:”weight”,”argValue”:”30”}],”functionName”:”filetype_based_ttl_set”,”configId”:5068995}]'."\n"
- ."\n"
- .'### 功能说明'."\n"
- .'所有参数值均按照字符串类型处理。'."\n"
- .'| 名称 | 参数 |'."\n"
- .'| ---- | ---- |'."\n"
- .'|referer_white_list_set:refer白名单|refer_domain_allow_list:白名单列表,多个逗号分隔;<br>allow_empty:是否允许空refer进入,取值范围:on/off|'."\n"
- .'|referer_black_list_set:refer黑名单|refer_domain_deny_list:黑名单列表,多个逗号分隔;<br>allow_empty:是否允许空refer进入,取值范围:on/off|'."\n"
- .'|filetype_based_ttl_set:文件过期时间设置|ttl:cache时间,单位:秒;<br>file_type:文件类型。支持多个,用(英文)逗号隔开,如:txt,jpg;<br>weight:权重。取值范围:1~199|'."\n"
- .'|path_based_ttl_set:目录过期时间设置|ttl:cache时间,单位:秒;<br>path:目录,必须以”/”开头;<br>weight:权重。取值范围:1~99|'."\n"
- .'|oss_auth:OSS鉴权Bucket|oss_bucket_id:用户bucket地址|'."\n"
- .'|ip_black_list_set:IP黑名单|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
- .'|ip_allow_list_set:IP白名单|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
- .'|ip_white_list_set:IP免拦截|ip_list:IP列表。多个用逗号(英文)隔开|'."\n"
- .'|error_page:错误页面重定向|error_code:错误码;<br>rewrite_page:重定向页面|'."\n"
- .'|set_req_host_header:修改回源自定义头|domain_name:回源Host头内容|'."\n"
- .'|set_hashkey_args:忽略URL参数|hashkey_args:保留参数的列表。多个用逗号(英文)分隔;<br>disable:disable等于on的时候表示忽略所有参数,off不忽略|'."\n"
- .'|aliauth:阿里鉴权|auth_type:鉴权类型,取值范围:”no_auth”,”type_a”,”type_b”,”type_c”;<br>auth_key1:鉴权key1;<br>auth_key2:鉴权key2;<br>ali_auth_delta:自定义鉴权缓冲时间|'."\n"
- .'|set_resp_header:设置响应头(浏览器端可见)| key:响应头,取值范围:Content-Type\\|Cache-Control\\|Content-Disposition\\|Content-Language\\|Expires\\|Access-Control-Allow-Origin\\|Access-Control-Allow-Methods\\|Access-Control-Allow-Headers\\|Access-Control-Max-Age\\|Access-Control-Expose-Headers;<br>value:响应头内容,删除填写null|'."\n"
- .'|https_force:强制HTTPS跳转|enable:功能开关,取值范围:on/off|'."\n"
- .'|http_force:强制HTTP跳转|enable:功能开关,取值范围:on/off|'."\n"
- .'|https_option:HTTPS基础参数|http2:http2开关,取值范围:on/off|'."\n"
- .'|l2_oss_key:L2 OSS回源私钥|private_oss_auth:是否开启私有OSS鉴权功能,取值范围:on/off|'."\n"
- .'|forward_scheme:静态协议跟随回源|enable:开关,取值范围:on/off;<br>scheme_origin:回源站协议,支持http、https和follow|'."\n"
- .'|green_manager 鉴黄功能|enable:是否开启鉴黄功能,取值范围:on/off|'."\n"
- .'|tmd_signature:配置频次控制自定义规则|name:规则名称,域名内不可重复;<br>path:可重复,需校验URI路径合法性;<br>pathType:匹配规则。0:前缀匹配,1:完全匹配;<br>interval:监测时长,单位秒,参数限制必须>=10;<br>count:单IP访问次数;<br>action:阻断类型。0:封禁,1:人机识别;<br>ttl:阻断时长,单位:秒;<br>|'."\n"
- .'|dynamic:全站加速相关配置|enable:开关(必填)。支持on/off;<br>static_route_type:静态加速文件后缀static_route_url:静态加速URI;<br>static_route_path:静态加速PATH;<br>dynamic_route_origin:回源路由scheme,支持http/https/follow;<br>|'."\n"
- .'|set_req_header:自定义回源HTTP头|key:回源头;<br>value:回源头内容|'."\n"
- .'|l2_oss_key:私有Bucket回源|private_oss_auth:私有Bucket回源开关,支持on/off|'."\n"
- .'|range:range回源|enable:开关,支持on/off/force|'."\n"
- .'|video_seek:视频拖拽播放|enable:开关,支持on/off|'."\n"
- .'|ali_remove_args:忽略URL参数(删除)|ali_remove_args:(必填)删除指定的参数,多个参数之间用空格隔开,剩余参数将作为hashkey中URL的args部分;<br>keep_oss_args:支持on/off。on表示回源保留所有参数,off表示与缓存hashkey的参数一致|'."\n"
- .'|https_tls_version:TLS协议版本|tls10:开启TLSv1.0。默认:on,支持on/off;<br>tls11:开启TLSv1.1。默认:on,支持on/off;<br>tls12:开启TLSv1.2。默认:on,支持on/off;<br>tls13:开启TLSv1.3。默认:off,支持on/off;<br>|'."\n"
- .'|HSTS:HSTS|enabled:开关(必填)。默认:off,支持on/off;<br>https_hsts_max_age:(必填)过期时间,单位:s,建议填写5184000s(60天);<br>https_hsts_include_subdomains:HSTS头包含includeSubDomains参数,支持on/off。请谨慎开启,开启前,请确保该加速域名所有子域名都已开启HTTPS,否则会导致子域名自动跳转到HTTPS后无法访问|'."\n"
- .'|filetype_force_ttl_code:文件状态码过期时间设置|file_type:(必填)文件类型。支持多个,用逗号(英文)隔开,如:txt,jpg;<br>code_string:(必填)状态码。例:302=0,301=0,4xx=2|'."\n"
- .'|path_force_ttl_code:路径状态码过期时间设置|path:(必填)必须以/开头。举例:/image;<br>code_string:(必填)状态码。例:302=0,301=0,4xx=2|'."\n"
- .'|gzip:页面Gzip优化|enable:功能开关(必填)。支持on/off|'."\n"
- .'|tesla:页面优化加速|enable:功能开关(必填)。支持on/off|',
- 'extraInfo' => '### 特殊错误码'."\n"
- .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
- .'| ---- | ---- | ---- | ---- |'."\n"
- .'| InvalidFunctions.Malformed | Specified Functions is malformed. | 400 | 指定的 Functions 不合法。 |'."\n"
- .'| InvalidFunctionName.ValueNotSupported | FunctionName %s is not supported. | 400 | 不支持的FunctionName %s(%s为具体功能名)。 |'."\n"
- .'| InvalidArgName.ValueNotSupported | ArgName %s is not supported. | 400 | 不支持的ArgName %s(%s为具体参数名)。 |'."\n"
- .'| InvalidArgValue.Malformed | Specified ArgValue is malformed. | 400 | 指定的 ArgValue 不合法。 |',
- ],
- 'BatchDeleteVsDomainConfigs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\",\\n \\"Gateway\\": \\"10.178.208.22\\",\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"Port\\": \\"8080\\",\\n \\"FlowId\\": \\"792fy125-594c-4dde-ab35-9ff8hrf0a86f\\"\\n}","type":"json"}]',
+ 'title' => '刷新云应用服务实例流连接',
+ 'description' => '> 模板ID和模板类型至少指定一个。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshRenderingInstanceStreaming'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RefreshRenderingInstanceStreaming',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ReleaseRenderingDataPackage' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREvsJ3UH6I'],
+ ],
'parameters' => [
[
- 'name' => 'DomainNames',
+ 'name' => 'DataPackageId',
'in' => 'query',
+ 'schema' => ['description' => '云应用服务数据包ID', 'type' => 'string', 'required' => true, 'example' => 'dp-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '您的加速域名,多个用英文半角逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '5BEF36E7-3838-5B92-BA32-87DBF1425ABC'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务数据包释放',
+ 'summary' => '释放云应用服务数据包',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseRenderingDataPackage'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'FunctionNames',
- 'in' => 'query',
- 'schema' => [
- 'description' => '功能列表名称,多个用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https_force',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ReleaseRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BEF36E7-3838-5B92-BA32-87DBF1425ABC\\"\\n}","type":"json"}]',
+ ],
+ 'ReleaseRenderingInstance' => [
+ 'summary' => '调用ReleaseRenderingInstance释放一个云应用服务实例',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none'],
+ 'parameters' => [
+ [
+ 'name' => 'RenderingInstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '域名删除域名配置',
- 'summary' => '批量删除域名配置。',
- ],
- 'DescribeVsTopDomainsByFlow' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例释放',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseRenderingInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ReleaseRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ ],
+ 'RenewRenderingInstance' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'AutoRenew',
'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取当月数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-12T10:00:00Z',
- ],
+ 'schema' => ['description' => '开启或关闭自动续费,取值:'."\n"
+ .'* **true**:开启。'."\n"
+ .'* **false**。关闭。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Period',
'in' => 'query',
'schema' => [
- 'description' => '结束时间需大于起始时间;日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
+ 'description' => '包年包月的时长。 取值范围 1(默认) 2 3 4 5 6 7 8 9 12当选12的时候会被换算为一年,其余以月为周期单位',
'type' => 'string',
'required' => false,
- 'example' => '2018-12-10T18:00:00Z',
+ 'example' => '1',
+ 'enum' => ['1', '2', '3', '4', '5', '6', '7', '8', '9', '12'],
],
],
[
- 'name' => 'Limit',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名获取数量限制,默认为20,取值支持1~100',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '3',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'DomainOnlineCount' => [
- 'description' => '账户下**正在运行**的域名总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12',
- ],
- 'EndTime' => [
- 'description' => '按结束时间查询。',
- 'type' => 'string',
- 'example' => '2018-12-10T18:00:00Z',
- ],
- 'StartTime' => [
- 'description' => '按开始时间查询。',
- 'type' => 'string',
- 'example' => '2021-12-10T10:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '本次操作请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainCount' => [
- 'description' => '账号下的域名总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TopDomains' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'TopDomain' => [
- 'description' => '域名列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '排名域名列表。',
- 'type' => 'object',
- 'properties' => [
- 'MaxBps' => [
- 'description' => '带宽峰值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Rank' => [
- 'description' => '排名。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'TotalAccess' => [
- 'description' => '访问次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'TrafficPercent' => [
- 'description' => '流量占比。',
- 'type' => 'string',
- 'example' => '30.64191989360235',
- ],
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'TotalTraffic' => [
- 'description' => '总流量。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'MaxBpsTime' => [
- 'description' => '带宽峰值时刻。',
- 'type' => 'string',
- 'example' => '1457111400',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '云应用服务实例续费',
+ 'summary' => '调用RenewRenderingInstance续费一个云应用服务实例',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewRenderingInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RenewRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainOnlineCount\\": 12,\\n \\"EndTime\\": \\"2018-12-10T18:00:00Z\\",\\n \\"StartTime\\": \\"2021-12-10T10:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainCount\\": 20,\\n \\"TopDomains\\": {\\n \\"TopDomain\\": [\\n {\\n \\"MaxBps\\": 100,\\n \\"Rank\\": 1,\\n \\"TotalAccess\\": 100,\\n \\"TrafficPercent\\": \\"30.64191989360235\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"TotalTraffic\\": \\"100\\",\\n \\"MaxBpsTime\\": \\"1457111400\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取顶级域名',
- 'summary' => '获取用户按流量排名的域名'."\n"
- ."\n"
- .'不指定StartTime和EndTime时,默认读取当月的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n"
- ."\n"
- .'* 最多可获取90天的数据。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
],
- 'SetPreset' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ResetRenderingInstance' => [
+ 'summary' => '重置一个云应用服务实例。'."\n"
+ .'可通过查询接口DescribeRenderingInstance获取重置进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '234195',
+ 'abilityTreeNodes' => ['FEATUREvsUGIQL3'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'PresetId',
+ 'name' => 'DataPackageId',
'in' => 'query',
- 'schema' => [
- 'description' => '预置位ID。 '."\n"
- .'取值:1~7',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '数据基线id', 'type' => 'string', 'required' => false, 'example' => 'dp-449ea3d16c0841b8bf33ec5bbc86a152'],
+ ],
+ [
+ 'name' => 'ActionName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => 'Reset', 'default' => 'Reset', 'description' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '30295DF1-1DC7-48BA-BE5A-D58E61EB2375',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"30295DF1-1DC7-48BA-BE5A-D58E61EB2375\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '设置预置位',
- 'summary' => '设置预置位。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GotoPreset' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '重置云应用服务实例',
+ 'changeSet' => [
+ ['createdAt' => '2025-02-27T09:02:56.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetRenderingInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ResetRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ResumeVsStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19647,23 +15984,41 @@
'systemTags' => [],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxxApp'],
+ ],
+ [
+ 'name' => 'StreamName',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxxStream'],
+ ],
+ [
+ 'name' => 'LiveStreamType',
'in' => 'query',
'schema' => [
- 'description' => '设备ID。',
+ 'description' => '流类型。'."\n"
+ .'> 目前仅支持:publisher',
'type' => 'string',
'required' => true,
- 'example' => '348*****380-cn-qingdao',
+ 'example' => 'publisher',
+ 'enum' => ['publisher'],
],
],
[
- 'name' => 'PresetId',
+ 'name' => 'ControlStreamAction',
'in' => 'query',
'schema' => [
- 'description' => '预置位ID。',
'type' => 'string',
- 'required' => true,
- 'example' => '2',
+ 'required' => false,
+ 'default' => 'resume',
+ 'enum' => ['resume'],
+ 'description' => '',
],
],
],
@@ -19672,121 +16027,162 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '30295DF1-1DC7-48BA-BE5A-D58E61EB2375',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664 '],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"30295DF1-1DC7-48BA-BE5A-D58E61EB2375\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '移动至预置位',
- 'summary' => '移动至预置位。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\\\t\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '恢复某条流的推送',
+ 'summary' => '恢复某条流的推送。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeletePreset' => [
- 'methods' => [
- 'post',
- 'get',
+ 'extraInfo' => '#特殊错误码 '."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'| :----- | :----- | :----- | :----- |'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 |'."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeVsStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ResumeVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SendRenderingInstanceCommands' => [
+ 'summary' => '向一个云应用服务实例下发shell控制指令,支持同步/异步响应命令。'."\n"
+ .'同步场景,不适用于耗时命令(最大耗时不能超过30s)。'."\n"
+ .'异步场景,可通过GetRenderingInstanceCommandsStatus接口查询命令执行状态与结果。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213860',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'PresetId',
+ 'name' => 'Commands',
+ 'in' => 'formData',
+ 'schema' => ['title' => 'shell命令字符串。支持输入多条命令,以";"分隔', 'description' => 'shell命令字符串。支持输入多条命令,以";"/换行符分隔,'."\n"
+ ."\n"
+ .'- 禁用rm/reboot等危险命令', 'type' => 'string', 'deprecated' => false, 'required' => true, 'example' => 'date;ls -l /tmp'],
+ ],
+ [
+ 'name' => 'Mode',
'in' => 'query',
'schema' => [
- 'description' => '预置位ID。',
+ 'title' => '命令响应模式,取值范围:'."\n"
+ .'1. Sync:同步响应。默认值。'."\n"
+ .'2. Async:异步响应',
+ 'description' => '命令响应模式,取值范围:'."\n"
+ .'1. Sync:同步响应。默认值。'."\n"
+ .'2. Async:异步响应',
'type' => 'string',
- 'required' => true,
- 'example' => '2',
+ 'required' => false,
+ 'example' => 'Async',
+ 'enum' => ['Async', 'Sync'],
],
],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => ['title' => '命令执行的超时时间,单位秒。取值范围与Mode响应模式取值有关:'."\n"
+ .'1. Mode=Sync,0-30,默认30'."\n"
+ .'2. Mode=Async,0-3600,默认300', 'description' => '命令执行的超时时间,单位秒。取值范围与Mode响应模式取值有关:'."\n"
+ .'1. Mode=Sync,0-30,默认30'."\n"
+ .'2. Mode=Async,0-3600,默认300', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3600', 'minimum' => '0', 'example' => '60'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F18FD685-B194-4489-9609-F80A9490A258',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Result' => ['title' => '命令的执行结果字符串', 'description' => '命令响应结果', 'type' => 'string', 'example' => 'Thu Jun 27 16:06:26 CST 2024'],
+ 'CmdId' => ['title' => '命令请求的唯一ID。默认1天内有效,对于异步场景,对结果有关注的情况,建议在有效时间内尽快查询结果(最好在命令执行超期时间内)。', 'description' => '命令请求的唯一ID。默认1天内有效,对于异步场景,对结果有关注的情况,建议在有效时间内尽快查询结果(最好在命令执行超期时间内)。', 'type' => 'string', 'example' => 'cmd-81de027b66e442e99c1e0e09a16a0be5'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"F18FD685-B194-4489-9609-F80A9490A258\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '删除预置位',
- 'summary' => '删除预置位。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribePresets' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Result\\": \\"Thu Jun 27 16:06:26 CST 2024\\",\\n \\"CmdId\\": \\"cmd-81de027b66e442e99c1e0e09a16a0be5\\"\\n}","type":"json"}]',
+ 'title' => '下发云应用服务实例控制指令',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-19T08:44:41.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendRenderingInstanceCommands'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:SendRenderingInstanceCommands',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SetPreset' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
+ ],
+ [
+ 'name' => 'PresetId',
+ 'in' => 'query',
+ 'schema' => ['description' => '预置位ID。 '."\n"
+ .'取值:1~7', 'type' => 'string', 'required' => true, 'example' => '2'],
],
],
'responses' => [
@@ -19794,180 +16190,202 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9FE0CA83-BFD3-4EBD-A429-FABB9B9AE772',
- ],
- 'Presets' => [
- 'description' => '预置位列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '预置位名称。',
- 'type' => 'string',
- 'example' => '预置位2',
- ],
- 'Id' => [
- 'description' => '预置位ID。',
- 'type' => 'string',
- 'example' => '2',
- ],
- ],
- ],
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '30295DF1-1DC7-48BA-BE5A-D58E61EB2375'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"9FE0CA83-BFD3-4EBD-A429-FABB9B9AE772\\",\\n \\"Presets\\": [\\n {\\n \\"Name\\": \\"预置位2\\",\\n \\"Id\\": \\"2\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询预置位',
- 'summary' => '获取预置位列表。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"30295DF1-1DC7-48BA-BE5A-D58E61EB2375\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '设置预置位',
+ 'summary' => '设置预置位。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'StopMove' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetPreset'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetPreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SetVsDomainCertificate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '指定证书所属加速域名。'."\n"
+ ."\n"
+ .'> 域名需要属于HTTPS加速类型。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'Pan',
+ 'name' => 'SSLProtocol',
'in' => 'query',
- 'schema' => [
- 'description' => '是否停止水平转动,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'HTTPS证书是否启用。取值:'."\n"
+ ."\n"
+ .'- **on**:启用。'."\n"
+ .'- **off**(默认值):不启用。', 'type' => 'string', 'required' => true, 'example' => 'on'],
],
[
- 'name' => 'Tilt',
+ 'name' => 'CertName',
'in' => 'query',
- 'schema' => [
- 'description' => '是否停止垂直转动,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '证书名称。'."\n", 'type' => 'string', 'required' => false, 'example' => 'Cert-77****7'],
],
[
- 'name' => 'Zoom',
+ 'name' => 'CertType',
'in' => 'query',
'schema' => [
- 'description' => '是否停止缩放,默认false',
- 'type' => 'boolean',
+ 'description' => '证书类型。'."\n"
+ .'- upload(上传证书)'."\n"
+ .'- cas(云盾证书)'."\n"
+ .'- free(个人测试证书(免费版))',
+ 'type' => 'string',
'required' => false,
- 'example' => 'true',
+ 'example' => 'free',
+ 'enum' => ['free', 'cas', 'upload'],
],
],
+ [
+ 'name' => 'SSLPub',
+ 'in' => 'query',
+ 'schema' => ['description' => '安全证书内容,不启用证书则无需输入,配置证书请输入证书内容。', 'type' => 'string', 'required' => false, 'example' => '328uiuii28****82dsada81'],
+ ],
+ [
+ 'name' => 'SSLPri',
+ 'in' => 'query',
+ 'schema' => ['description' => '私钥内容,不启用证书则无需输入,配置证书请输入私钥内容。', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao'],
+ ],
+ [
+ 'name' => 'ForceSet',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置为1时,忽略证书名称重复的校验,覆盖原有同名证书信息。'."\n", 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '119F7639-4646-51A4-B6C1-300D391C0104'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '停止转动镜头',
- 'summary' => '停止转动镜头,如水平、垂直、缩放等。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'StopAdjust' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"119F7639-4646-51A4-B6C1-300D391C0104\\"\\n}","type":"json"}]',
+ 'title' => '设置域名证书信息',
+ 'summary' => '设置某域名下证书功能是否启用。',
+ 'extraInfo' => '# 特殊错误码'."\n"
+ .'|ErrorCode错误码|Message错误信息|HTTP状态|语义|'."\n"
+ .'|:-----|:-----|:-----|:-----|'."\n"
+ .'|InvalidDomain.NotFound|The domain provided does not belong to you.|404|域名不存在或不属于当前用户。|'."\n"
+ .'|IllegalOperation|Illegal domain operate is not permitted.|403|没有权限执行当前操作。|'."\n"
+ .'|ServiceBusy|The specified Domain is configuring, please retry later.|403|域名正在配置中,请稍后再试。|'."\n"
+ .'|InvalidDomain.Offline|The domain provided is offline.|400|域名已下线。|'."\n"
+ .'|OperationDenied|Your CDN service is suspended.|403|该账号已经欠费,请充值。|'."\n"
+ .'|InvalidSSLProtocol.ValueNotSupported|The specified value of parameter Enable is not supported.|400|SSLProtocol的值不合法。|'."\n"
+ .'|SSLPub.MissingParameter|An input parameter SSLPub that is mandatory for processing the request is not supplied.|400|SSLPub参数缺失。|'."\n"
+ .'|SSLPri.MissingParameter|An input parameter SSLPri that is mandatory for processing the request is not supplied.|400|SSLPri参数缺失。|'."\n"
+ .'|InvalidCertificate|The Certificate you provided is malformed!|400|证书内容不合法。|'."\n"
+ .'|InvalidSSLPri|The SSLPri you provided is malformed!|400|私钥内容不合法。|'."\n"
+ .'|Certificate.MissMatch|The SSLPri does not math the specified Certificate!|400|证书和私钥不匹配。|'."\n"
+ .'|InvalidCertificate.TooLong|The Certificate you provided is over the max length!|400|证书内容超过长度限制。|'."\n"
+ .'|InvalidCertName.TooLong|The Certificate name you provided is over the max length 128!|400|证书名称不能超过128个字符。|'."\n"
+ .'|SetDomainSSLPub.ParameterError|Parameters have error.|400|参数错误。|'."\n"
+ .'|Certificate.StatusError|Certificate is not exist or its status is error.|400|证书不存在或证书状态错误。|'."\n"
+ .'|DeleteFailed|Delete certificate is failed.|400|删除证书失败。|'."\n"
+ .'|Certificate.NotFind|Not find the certificate info.|400|没有查到相应证书。|'."\n"
+ .'|Certificate.Duplicated|The certificate name is duplicated.|400|证书名称重复。|'."\n"
+ .'|Certificate.FormatError|The certificate format is error.|400|证书格式错误。|'."\n"
+ .'|Certificate.StatusError|The certificate status is error.|400|证书状态错误。|'."\n"
+ .'|Certificate.KeyNull|The SSLPri is not null.|400|私钥不能为空。|'."\n"
+ .'|SSLPri.Malformed|The SSLPri format is error.|400|私钥格式错误。|'."\n"
+ .'|Certificate.NotPermittedOff|Turn off certificate will change domain scheduling, please contact customer service.|400|关闭证书会影响该域名调度,请联系客户调整。|'."\n"
+ .'|Certificate.SettedNotEffect|Certificate was successfully setted but does’t take effect for protecting current service, please contact customer service.|400|证书已经设置成功,但为保护当前服务还未生效,请联系客服处理。|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetVsDomainCertificate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetVsDomainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SetVsStreamsNotifyUrlConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '您的加速域名。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Iris',
+ 'name' => 'NotifyUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '是否停止调整光圈,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '设置直播流信息推送到的URL地址。'."\n"
+ .'> 必须以 http:// 或者 https:// 开头。', 'type' => 'string', 'required' => true, 'example' => 'http://xxx.com/xx'],
],
[
- 'name' => 'Focus',
+ 'name' => 'AuthType',
'in' => 'query',
- 'schema' => [
- 'description' => '是否停止调整变焦,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '鉴权类型,取值范围:'."\n"
+ .'- **no_auth**(关闭)'."\n"
+ .'- **type_a**(A方式)'."\n"
+ .'- **type_b**(B方式)'."\n"
+ .'- **type_c**(C方式)', 'type' => 'string', 'required' => false, 'example' => 'type_a'],
+ ],
+ [
+ 'name' => 'AuthKey',
+ 'in' => 'query',
+ 'schema' => ['description' => '播放域名关联的主Key,用于生成鉴权URL。'."\n"
+ .'> 通过 [DescribeVsDomainConfigs](https://help.aliyun.com/document_detail/464513.html) 接口查询对应的AuthKey信息。', 'type' => 'string', 'required' => false, 'example' => 'ocs*****ace'],
],
],
'responses' => [
@@ -19975,86 +16393,111 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '停止调节镜头',
- 'summary' => '停止调节镜头,如光圈、变焦等。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ContinuousMove' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '设置 VS 流通知 URL 配置',
+ 'summary' => '设置推流回调配置。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
+ .'| InvalidNotifyUrl.Malformed | Specified parameter NotifyUrl is not valid. | 400 | 不是一个合法的 HTTP 地址。 |'."\n"
+ .'| InvalidNotifyUrl.Unsafe | Specified NotifyUrl is not safe. | 400 | 非安全的 NotifyUrl 值。 |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetVsStreamsNotifyUrlConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '323884****9092996'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '323884****9092996'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323884****9092996\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '启动设备',
+ 'summary' => '启动设备拉流,会启动设备上的所有流。',
+ 'description' => '目前每个设备仅支持单路流,效果等同于StartStream。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartDevice'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Pan',
- 'in' => 'query',
- 'schema' => [
- 'description' => '水平转动速度参数,正值表示向左水平转动。 '."\n"
- .'取值:-1.0~1.0',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'StartParentPlatform' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Tilt',
- 'in' => 'query',
- 'schema' => [
- 'description' => '垂直转动速度参数,正值表示向上水平转动。 '."\n"
- .'取值:-1.0~1.0',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
[
- 'name' => 'Zoom',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '缩放速度参数,正值表示放大。 '."\n"
- .'取值:-1.0~1.0',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '359*****374-cn-qingdao'],
],
],
'responses' => [
@@ -20062,75 +16505,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Id' => ['description' => '上级平台ID。', 'type' => 'string', 'example' => '359*****374-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '持续转动镜头',
- 'summary' => '持续转动镜头,如水平、垂直、缩放等。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ContinuousAdjust' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<StartParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</StartParentPlatformResponse>","errorExample":""}]',
+ 'title' => '启动上级平台交互',
+ 'summary' => '启动上级平台交互,如注册、保活等。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartParentPlatform'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartPublishStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
'parameters' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- [
- 'name' => 'Iris',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '光圈速度参数,正值表示光圈变大。 '."\n"
- .'取值:-1.0~1.0',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Focus',
+ 'name' => 'PublishUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '变焦速度参数,正值表示焦距变远。 '."\n"
- .'取值:-1.0~1.0',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -20138,87 +16561,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int64'],
+ 'Message' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '持续调节镜头',
- 'summary' => '持续调节镜头,如光圈、变焦等。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateDirectory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartPublishStream'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": 0,\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'StartRecordStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '目录1',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => false, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'Description',
+ 'name' => 'PlayDomain',
'in' => 'query',
- 'schema' => [
- 'description' => '目录描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '目录1',
- ],
+ 'schema' => ['description' => '流的播放域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'App',
'in' => 'query',
- 'schema' => [
- 'description' => '目录所属空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****174-cn-qingdao',
- ],
+ 'schema' => ['description' => '流的App名称。', 'type' => 'string', 'required' => false, 'example' => 'live'],
],
[
- 'name' => 'ParentId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '上级目录ID。'."\n"
- ."\n"
- .'> 创建设备空间时会默认创建空间对应的根目录,可通过 [DescribeDirectories](https://next.api.aliyun.com/document/vs/2018-12-12/DescribeDirectories) 接口查询对应根目录。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****774-cn-qingdao',
- ],
+ 'schema' => ['description' => '流名。', 'type' => 'string', 'required' => false, 'example' => '310000*****000002'],
],
],
'responses' => [
@@ -20226,126 +16614,194 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****488-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '创建目录',
- 'summary' => '创建新的目录。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteDirectory' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '启动按需录制',
+ 'summary' => '对指定流启动按需录制。',
+ 'description' => '> - 需要配合按需录制模板使用,请先在空间或者流上绑定按需录制模板。'."\n"
+ .'> - 有两种方式可以指定某条流,一种是通过Id,另一种是通过PlayDomain/App/Name。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRecordStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartRecordStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartRenderingSession' => [
+ 'summary' => '为请求端(ClientId)调度一个空闲云应用服务实例,并完成服务启动。'."\n"
+ .'如果请求端(ClientId)启动请求发起成功后重复发起启动请求,若已关联会话处于启动暂停(SessionStartSuspended)状态,则重启会话;若会话为其他状态,则直接返回会话信息。',
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
+ ],
+ [
+ 'name' => 'ClientId',
+ 'in' => 'query',
+ 'schema' => ['title' => '终端客户的唯一ID', 'description' => '终端客户的唯一ID', 'type' => 'string', 'required' => true, 'example' => '04c30850-1d91-4da1-b811-66d0ee94af7d'],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'required' => false, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ ],
+ [
+ 'name' => 'ClientParams',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****174-cn-qingdao',
+ 'title' => '终端客户的参数信息',
+ 'description' => '终端客户的参数信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClientIp' => ['title' => '终端客户Ip,将默认用于位置就近实例调度', 'description' => '终端客户Ip,将默认用于位置就近实例调度', 'type' => 'string', 'required' => false, 'example' => '106.11.43.1'],
+ ],
+ 'required' => false,
],
],
+ [
+ 'name' => 'PatchId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用补丁包ID。'."\n"
+ .'1. 默认启动AppId稳定版本(未设置稳定Patch版本时,默认为原始版本)'."\n"
+ .'2. 输入origin时,启动原始版本', 'description' => '云应用补丁包ID。'."\n"
+ .'1. 默认启动AppId稳定版本(未设置稳定Patch版本时,默认为原始版本)'."\n"
+ .'2. 输入origin时,启动原始版本', 'type' => 'string', 'required' => false, 'example' => 'patch-03fa76e8e13a49b63456b063dgh309b4'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SessionId' => ['title' => '会话ID', 'description' => '会话ID', 'type' => 'string', 'example' => 'session-i205217481741918129226'],
+ 'Hostname' => ['title' => '实例hostname,默认为出口Eip', 'description' => '实例hostname,默认为访问Eip', 'type' => 'string', 'example' => 'cn-xxx.ecr.aliyuncs.com'],
+ 'PortMappings' => [
+ 'title' => '端口映射信息',
+ 'description' => '端口映射信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '端口映射信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExternalPort' => ['title' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '外网端口或端口段,如22。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '10013/10020'],
+ 'InternalPort' => ['title' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'description' => '内网端口或端口段,端口与外网端口一一对应。若为端口段,以正斜线(/)隔开起始端口,例如 10/20。', 'type' => 'string', 'example' => '49008/49015'],
+ ],
+ ],
],
+ 'StateInfo' => [
+ 'title' => '业务调度状态信息',
+ 'description' => '会话状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'State' => ['title' => '业务调度状态', 'description' => '会话状态', 'type' => 'string', 'example' => 'SessionStarting'],
+ 'Comment' => ['title' => '状态描述信息', 'description' => '状态描述信息', 'type' => 'string', 'example' => '会话启动中'],
+ 'UpdateTime' => ['title' => '状态最新更新时间', 'description' => '状态最新更新时间', 'type' => 'string', 'example' => '2021-05-06T06:37Z'],
+ ],
+ ],
+ 'Location' => [
+ 'title' => '云应用服务实例位置信息',
+ 'description' => '云应用服务实例位置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProvinceCode' => ['title' => '云应用服务实例所属省份码', 'description' => '云应用服务实例所属省份码', 'type' => 'string', 'example' => '610000'],
+ ],
+ ],
+ 'IsRepeatedRequest' => ['title' => '是否是重复请求', 'description' => '是否是重复请求', 'type' => 'boolean', 'example' => 'false'],
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '删除目录',
- 'summary' => '删除目录。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyDirectory' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SessionId\\": \\"session-i205217481741918129226\\",\\n \\"Hostname\\": \\"cn-xxx.ecr.aliyuncs.com\\",\\n \\"PortMappings\\": [\\n {\\n \\"ExternalPort\\": \\"10013/10020\\",\\n \\"InternalPort\\": \\"49008/49015\\"\\n }\\n ],\\n \\"StateInfo\\": {\\n \\"State\\": \\"SessionStarting\\",\\n \\"Comment\\": \\"会话启动中\\",\\n \\"UpdateTime\\": \\"2021-05-06T06:37Z\\"\\n },\\n \\"Location\\": {\\n \\"ProvinceCode\\": \\"610000\\"\\n },\\n \\"IsRepeatedRequest\\": false,\\n \\"RenderingInstanceId\\": \\"render-9f8c57355d224ad7beaf95e145f22111\\"\\n}","type":"json"}]',
+ 'title' => '启动会话',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-19T08:44:42.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRenderingSession'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'Name',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '目录名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '目录2',
- ],
+ 'schema' => ['description' => 'NVR历史流,开始时间点(Unix时间戳,单位:秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1589336385'],
],
[
- 'name' => 'Description',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '目录描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '目录2',
- ],
+ 'schema' => ['description' => 'NVR历史流,结束时间点(Unix时间戳,单位:秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1599336385'],
],
],
'responses' => [
@@ -20353,52 +16809,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'Name' => ['description' => '流名。', 'type' => 'string', 'example' => '31000000000000000002'],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '323*****997-cn-qingdao'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"399*****488-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '修改目录',
- 'summary' => '修改目录信息。',
- ],
- 'DescribeDirectory' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Name\\": \\"31000000000000000002\\",\\n \\"Id\\": \\"323*****997-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '启动流',
+ 'summary' => '启动流。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StartTransferStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323*****998-cn-qingdao'],
+ ],
+ [
+ 'name' => 'Url',
+ 'in' => 'query',
+ 'schema' => ['description' => '转推的目的地址', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'Transcode',
+ 'in' => 'query',
+ 'schema' => ['description' => '转码规则名称(需要先绑定转码模板)', 'type' => 'string', 'required' => false, 'example' => 'sd'],
],
],
'responses' => [
@@ -20406,141 +16872,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ParentId' => [
- 'description' => '上级目录ID。',
- 'type' => 'string',
- 'example' => '399*****774-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '目录描述。',
- 'type' => 'string',
- 'example' => '目录1',
- ],
- 'GroupId' => [
- 'description' => '目录所属空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'Name' => [
- 'description' => '目录名称。',
- 'type' => 'string',
- 'example' => '目录1',
- ],
- 'CreatedTime' => [
- 'description' => '目录创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-10T10:00:00Z',
- ],
- 'Id' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"目录1\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录1\\",\\n \\"CreatedTime\\": \\"2021-09-10T10:00:00Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询目录',
- 'summary' => '查询目录。',
- ],
- 'DescribeDirectories' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '启动传输流',
+ 'summary' => '启动转推流到外部的地址。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartTransferStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartTransferStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopAdjust' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录所属空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****174-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'ParentId',
+ 'name' => 'Iris',
'in' => 'query',
- 'schema' => [
- 'description' => '按上级目录ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '399*****774-cn-qingdao',
- ],
+ 'schema' => ['description' => '是否停止调整光圈,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'SortBy',
+ 'name' => 'Focus',
'in' => 'query',
+ 'schema' => ['description' => '是否停止调整变焦,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '按给定字段排序,默认按ID排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ID',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '停止调节镜头',
+ 'summary' => '停止调节镜头,如光圈、变焦等。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopAdjust'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SortDirection',
- 'in' => 'query',
- 'schema' => [
- 'description' => '排序方式,默认升序。取值:'."\n"
- .'- asc(升序)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopAdjust',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'StopDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
[
- 'name' => 'PageNum',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'NoPagination',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '是否禁用分页,默认false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '流重启触发时间。', 'type' => 'string', 'required' => false, 'example' => '2021-12-10T10:00:00Z'],
],
],
'responses' => [
@@ -20548,121 +16993,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '空间总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Directories' => [
- 'description' => '目录列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ParentId' => [
- 'description' => '上级目录ID。',
- 'type' => 'string',
- 'example' => '399*****774-cn-qingdao',
- ],
- 'Description' => [
- 'description' => '目录描述。',
- 'type' => 'string',
- 'example' => '目录2',
- ],
- 'GroupId' => [
- 'description' => '目录所属空间ID。',
- 'type' => 'string',
- 'example' => '348*****174-cn-qingdao',
- ],
- 'Name' => [
- 'description' => '目录名称。',
- 'type' => 'string',
- 'example' => '目录2',
- ],
- 'CreatedTime' => [
- 'description' => '目录创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-10T10:00:00Z',
- ],
- 'Id' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Directories\\": [\\n {\\n \\"ParentId\\": \\"399*****774-cn-qingdao\\",\\n \\"Description\\": \\"目录2\\",\\n \\"GroupId\\": \\"348*****174-cn-qingdao\\",\\n \\"Name\\": \\"目录2\\",\\n \\"CreatedTime\\": \\"2021-09-10T10:00:00Z\\",\\n \\"Id\\": \\"399*****488-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '查询目录列表',
- 'summary' => '查询目录列表。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '停止设备',
+ 'summary' => '停止设备拉流,会停止设备上的所有流。',
+ 'description' => '停止设备拉流,会停止设备上的所有流。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'BindDirectory' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopMove' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'DirectoryId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'Pan',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '是否停止水平转动,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'Tilt',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否停止垂直转动,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'Zoom',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否停止缩放,默认false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -20670,58 +17064,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '3CB843A9-DD34-4881-B8D6-B0D539D111E4',
- ],
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '348*****380-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3CB843A9-DD34-4881-B8D6-B0D539D111E4\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '绑定设备到目录',
- 'summary' => '绑定设备至目录。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"348*****380-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '停止转动镜头',
+ 'summary' => '停止转动镜头,如水平、垂直、缩放等。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UnbindDirectory' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopMove'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopMove',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopPublishStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
'parameters' => [
[
- 'name' => 'DirectoryId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '目录ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3998**************9488-cn-qingdao',
- ],
- ],
- [
- 'name' => 'DeviceId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '34871************3380-cn-qingdao',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -20729,56 +17118,52 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Code' => ['type' => 'integer', 'format' => 'int64'],
+ 'Message' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '从目录里解绑设备',
- 'summary' => '从目录里解绑设备。',
- 'requestParamsDescription' => ' ',
- ],
- 'BatchBindDirectories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopPublishStream'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 0,\\n \\"Message\\": 0,\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'StopRecordStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'DirectoryId',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '目录ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '399*****488-cn-qingdao',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => false, 'example' => '323*****997-cn-qingdao'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'PlayDomain',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['description' => '流的播放域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'App',
+ 'in' => 'query',
+ 'schema' => ['description' => '流的App名称。', 'type' => 'string', 'required' => false, 'example' => 'live'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '流名。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -20786,172 +17171,130 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '绑定的错误信息。'."\n"
- .'> 仅在出错时存在。',
- 'type' => 'string',
- 'example' => 'An error occurred while processing your request.',
- ],
- 'DirectoryId' => [
- 'description' => '目录ID',
- 'type' => 'string',
- 'example' => '399*****488-cn-qingdao',
- ],
- 'DeviceId' => [
- 'description' => '设备ID',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"An error occurred while processing your request.\\",\\n \\"DirectoryId\\": \\"399*****488-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
- 'title' => '批量绑定设备到目录',
- 'summary' => '批量绑定多个设备到目录。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateParentPlatform' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '停止按需录制',
+ 'summary' => '对指定流停止按需录制。',
+ 'description' => '> 有两种方式可以指定某条流,一种是通过Id,另一种是通过PlayDomain/App/Name。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopRecordStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopRecordStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopRenderingSession' => [
+ 'summary' => '关闭指定的云应用服务会话并回收相关实例资源。',
+ 'description' => '## 请求说明'."\n",
+ 'path' => '/',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上级平台名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '级联平台测试',
- ],
- ],
- [
- 'name' => 'Description',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '级联平台测试',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'Protocol',
+ 'name' => 'SessionId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台协议。取值:'."\n"
- .'- gb28181(国标)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gb28181',
- 'default' => 'gb28181',
- ],
+ 'schema' => ['title' => '会话ID。SessionId/ClientId至少必选一项', 'description' => '会话ID。SessionId/ClientId至少必选一项', 'type' => 'string', 'required' => false, 'example' => 'session-i205217481741918129226'],
],
[
- 'name' => 'GbId',
+ 'name' => 'ClientId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台国标ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '31000*****2170123451',
- ],
+ 'schema' => ['title' => '终端客户的唯一ID。SessionId/ClientId至少必选一项', 'description' => '终端客户的唯一ID。SessionId/ClientId至少必选一项', 'type' => 'string', 'required' => false, 'example' => '04c30850-1d91-4da1-b811-66d0ee94af7d'],
],
- [
- 'name' => 'Ip',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '上级平台SIP服务IP。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10.10.10.10',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
],
],
- [
- 'name' => 'Port',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上级平台SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '5060',
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '关闭会话',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'StopStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ClientAuth',
- 'in' => 'query',
- 'schema' => [
- 'description' => '本地是否开启鉴权。取值:'."\n"
- .'- true(默认)'."\n"
- .'- false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
[
- 'name' => 'ClientUsername',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '本地用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'user01',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '32388487****92997-cn-qingdao'],
],
[
- 'name' => 'ClientPassword',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '本地密码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'admin123',
- ],
+ 'schema' => ['description' => '流名称。', 'type' => 'string', 'required' => false, 'example' => '31000000*****0000002'],
],
[
- 'name' => 'AutoStart',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动启用。取值:'."\n"
- .'- false(默认)'."\n"
- .'- true',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '流重启触发时间。', 'type' => 'string', 'required' => false, 'example' => '2021-12-12T10:00:00Z'],
],
],
'responses' => [
@@ -20959,52 +17302,59 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '359*****374-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Id' => ['description' => '流ID。', 'type' => 'string', 'example' => '32388487****92997-cn-qingdao'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</CreateParentPlatformResponse>","errorExample":""}]',
- 'title' => '添加上级平台',
- 'summary' => '添加新的上级平台。',
- ],
- 'DeleteParentPlatform' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"32388487****92997-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '停止流',
+ 'summary' => '停止流。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'StopTransferStream' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'schema' => ['description' => '流ID。', 'type' => 'string', 'required' => true, 'example' => '323434****83423432'],
+ ],
+ [
+ 'name' => 'Transcode',
+ 'in' => 'query',
+ 'schema' => ['description' => '转码规则名称(需要先绑定转码模板)', 'type' => 'string', 'required' => false, 'example' => 'sd'],
],
],
'responses' => [
@@ -21012,143 +17362,164 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteParentPlatformResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</DeleteParentPlatformResponse>","errorExample":""}]',
- 'title' => '删除上级平台',
- 'summary' => '删除上级平台。',
- 'description' => '> 需先停止上级平台再删除。',
- ],
- 'ModifyParentPlatform' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '停止传输流',
+ 'summary' => '停止流。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTransferStream'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopTransferStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'SyncCatalogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3238****739092996-cn-shenzhen'],
],
- [
- 'name' => 'Name',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '上级平台名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '国标级联修改测试',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '设备ID。', 'type' => 'string', 'example' => '3238****739092996-cn-shenzhen'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"3238****739092996-cn-shenzhen\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '同步平台通道',
+ 'summary' => '同步平台通道信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SyncCatalogs'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上级平台描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '国标级联修改测试',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:SyncCatalogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'UnbindDirectory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'GbId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上级平台国标ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '31000*****2170123451',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'Ip',
+ 'name' => 'DirectoryId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台SIP服务IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10.10.10.10',
- ],
+ 'schema' => ['description' => '目录ID。', 'type' => 'string', 'required' => true, 'example' => '3998**************9488-cn-qingdao'],
],
[
- 'name' => 'Port',
+ 'name' => 'DeviceId',
'in' => 'query',
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '34871************3380-cn-qingdao'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '上级平台SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5060',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '从目录里解绑设备',
+ 'summary' => '从目录里解绑设备。',
+ 'requestParamsDescription' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindDirectory'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ClientAuth',
- 'in' => 'query',
- 'schema' => [
- 'description' => '本地是否开启鉴权。取值:'."\n"
- .'- true(默认)'."\n"
- .'- false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'UnbindParentPlatformDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ClientUsername',
- 'in' => 'query',
- 'schema' => [
- 'description' => '本地用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'user01',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
[
- 'name' => 'ClientPassword',
+ 'name' => 'ParentPlatformId',
'in' => 'query',
- 'schema' => [
- 'description' => '本地密码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'admin123',
- ],
+ 'schema' => ['description' => '上级平台ID。', 'type' => 'string', 'required' => true, 'example' => '361*****212-cn-qingdao'],
],
[
- 'name' => 'AutoStart',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动启用。取值:'."\n"
- .'- true'."\n"
- .'- false(默认)',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '348*****380-cn-qingdao'],
],
],
'responses' => [
@@ -21156,52 +17527,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '359*****374-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</ModifyParentPlatformResponse>","errorExample":""}]',
- 'title' => '修改上级平台',
- 'summary' => '修改上级平台信息。',
- ],
- 'DescribeParentPlatform' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '解除父平台绑定的设备',
+ 'summary' => '从上级平台推送中解绑设备,不再推送。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindParentPlatformDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindParentPlatformDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UnbindPurchasedDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DeviceId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => true, 'example' => '3939*****6580539-cn-qingdao'],
],
],
'responses' => [
@@ -21209,190 +17578,80 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '上级平台状态。取值:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)'."\n"
- .'- failed(失败)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'ClientPort' => [
- 'description' => '本地SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5160',
- ],
- 'ClientGbId' => [
- 'description' => '本地国标ID。',
- 'type' => 'string',
- 'example' => '31010*****317542006',
- ],
- 'Protocol' => [
- 'description' => '上级平台协议。取值:'."\n"
- .'- gb28181(国标)',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'Ip' => [
- 'description' => '上级平台SIP服务IP。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'Port' => [
- 'description' => '上级平台SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5060',
- ],
- 'ClientPassword' => [
- 'description' => '本地密码。',
- 'type' => 'string',
- 'example' => 'admin123',
- ],
- 'ClientUsername' => [
- 'description' => '本地用户名。',
- 'type' => 'string',
- 'example' => 'user01',
- ],
- 'AutoStart' => [
- 'description' => '是否自动启用。取值:'."\n"
- .'- false(默认)'."\n"
- .'- true',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ClientAuth' => [
- 'description' => '本地是否开启鉴权。取值:'."\n"
- .'- true(默认)'."\n"
- .'- false',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'GbId' => [
- 'description' => '上级平台国标ID。',
- 'type' => 'string',
- 'example' => '31000*****2170123451',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Description' => [
- 'description' => '上级平台描述。',
- 'type' => 'string',
- 'example' => '级联平台描述',
- ],
- 'ClientIp' => [
- 'description' => '本地SIP服务IP。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
- ],
- 'Name' => [
- 'description' => '上级平台名称。',
- 'type' => 'string',
- 'example' => '国标级联平台测试',
- ],
- 'CreatedTime' => [
- 'description' => '上级平台创建时间。',
- 'type' => 'string',
- 'example' => '2018-12-10T21:00:00Z',
- ],
- 'Id' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"on\\",\\n \\"ClientPort\\": 5160,\\n \\"ClientGbId\\": \\"31010*****317542006\\",\\n \\"Protocol\\": \\"gb28181\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Port\\": 5060,\\n \\"ClientPassword\\": \\"admin123\\",\\n \\"ClientUsername\\": \\"user01\\",\\n \\"AutoStart\\": false,\\n \\"ClientAuth\\": true,\\n \\"GbId\\": \\"31000*****2170123451\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Description\\": \\"级联平台描述\\",\\n \\"ClientIp\\": \\"192.168.0.1\\",\\n \\"Name\\": \\"国标级联平台测试\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"359*****374-cn-qingdao\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformResponse>\\n <Status>on</Status>\\n <ClientPort>5160</ClientPort>\\n <ClientGbId>31010*****317542006</ClientGbId>\\n <Protocol>gb28181</Protocol>\\n <Ip>10.10.10.10</Ip>\\n <Port>5060</Port>\\n <ClientPassword>admin123</ClientPassword>\\n <ClientUsername>user01</ClientUsername>\\n <AutoStart>false</AutoStart>\\n <ClientAuth>true</ClientAuth>\\n <GbId>31000*****2170123451</GbId>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <Description>级联平台描述</Description>\\n <ClientIp>192.168.0.1</ClientIp>\\n <Name>国标级联平台测试</Name>\\n <CreatedTime>2018-12-10T21:00:00Z</CreatedTime>\\n <Id>359*****374-cn-qingdao</Id>\\n</DescribeParentPlatformResponse>","errorExample":""}]',
- 'title' => '查询上级平台',
- 'summary' => '查询上级平台信息。',
- ],
- 'DescribeParentPlatforms' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<UnbindPurchasedDeviceResponse>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</UnbindPurchasedDeviceResponse>","errorExample":""}]',
+ 'title' => '解绑已购买设备',
+ 'summary' => '从空间解绑已购买设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindPurchasedDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindPurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UnbindTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => [],
'parameters' => [
[
- 'name' => 'GbId',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '按上级平台国标ID查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '31000*****2170123451',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => false, 'example' => '323*****998-cn-qingdao'],
],
[
- 'name' => 'Status',
+ 'name' => 'TemplateType',
'in' => 'query',
'schema' => [
- 'description' => '按上级平台状态查询。',
+ 'description' => '模板类型。取值:'."\n"
+ .'- record(录制)'."\n"
+ .'- snapshot(截图)',
'type' => 'string',
'required' => false,
- 'example' => 'on',
+ 'enumValueTitles' => ['record' => 'record', 'snapshot' => 'snapshot'],
+ 'example' => 'record',
],
],
[
- 'name' => 'SortBy',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序,默认按id排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'id',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => '323*****994-cn-qingdao'],
],
[
- 'name' => 'SortDirection',
+ 'name' => 'InstanceType',
'in' => 'query',
'schema' => [
- 'description' => '排序方式,默认升序。取值:'."\n"
- .'- asc(升序)'."\n"
- .'- desc(降序)',
+ 'description' => '实例类型。取值:'."\n"
+ .'- group(空间)'."\n"
+ .'- stream(流)',
'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
- ],
- [
- 'name' => 'PageNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
+ 'required' => true,
+ 'enumValueTitles' => ['stream' => 'stream', 'group' => 'group'],
+ 'example' => 'group',
],
],
],
@@ -21401,281 +17660,162 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '上级平台总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Platforms' => [
- 'description' => '上级平台列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '上级平台状态。取值:'."\n"
- .'- on(在线)'."\n"
- .'- off(离线)'."\n"
- .'- failed(失败)',
- 'type' => 'string',
- 'example' => 'on',
- ],
- 'ClientPort' => [
- 'description' => '本地SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5160',
- ],
- 'Protocol' => [
- 'description' => '上级平台协议。取值:'."\n"
- .'- gb28181(国标)',
- 'type' => 'string',
- 'example' => 'gb28181',
- ],
- 'ClientGbId' => [
- 'description' => '本地国标ID。',
- 'type' => 'string',
- 'example' => '31010*****317542006',
- ],
- 'Ip' => [
- 'description' => '上级平台SIP服务IP。',
- 'type' => 'string',
- 'example' => '10.10.10.10',
- ],
- 'Port' => [
- 'description' => '上级平台SIP服务端口。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5060',
- ],
- 'ClientUsername' => [
- 'description' => '本地用户名。',
- 'type' => 'string',
- 'example' => 'user01',
- ],
- 'ClientPassword' => [
- 'description' => '本地密码。',
- 'type' => 'string',
- 'example' => 'admin123',
- ],
- 'AutoStart' => [
- 'description' => '是否自动启用。取值:'."\n"
- .'- false(默认)'."\n"
- .'- true',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ClientAuth' => [
- 'description' => '本地是否开启鉴权。取值:'."\n"
- .'- true(默认)'."\n"
- .'- false',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'GbId' => [
- 'description' => '上级平台国标ID。',
- 'type' => 'string',
- 'example' => '31000*****2170123451',
- ],
- 'Description' => [
- 'description' => '上级平台描述。',
- 'type' => 'string',
- 'example' => '国标级联平台描述',
- ],
- 'ClientIp' => [
- 'description' => '本地SIP服务IP。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
- ],
- 'Name' => [
- 'description' => '上级平台名称。',
- 'type' => 'string',
- 'example' => '国标级联平台测试',
- ],
- 'CreatedTime' => [
- 'description' => '上级平台创建时间。',
- 'type' => 'string',
- 'example' => '2018-12-10T21:00:00Z',
- ],
- 'Id' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '359*****374-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'TemplateType' => ['description' => '模板类型。', 'type' => 'string', 'example' => 'record'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '323*****994-cn-qingdao'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'InstanceType' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'group'],
+ 'TemplateId' => ['description' => '模板ID。', 'type' => 'string', 'example' => '323*****998-cn-qingdao'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Platforms\\": [\\n {\\n \\"Status\\": \\"on\\",\\n \\"ClientPort\\": 5160,\\n \\"Protocol\\": \\"gb28181\\",\\n \\"ClientGbId\\": \\"31010*****317542006\\",\\n \\"Ip\\": \\"10.10.10.10\\",\\n \\"Port\\": 5060,\\n \\"ClientUsername\\": \\"user01\\",\\n \\"ClientPassword\\": \\"admin123\\",\\n \\"AutoStart\\": false,\\n \\"ClientAuth\\": true,\\n \\"GbId\\": \\"31000*****2170123451\\",\\n \\"Description\\": \\"国标级联平台描述\\",\\n \\"ClientIp\\": \\"192.168.0.1\\",\\n \\"Name\\": \\"国标级联平台测试\\",\\n \\"CreatedTime\\": \\"2018-12-10T21:00:00Z\\",\\n \\"Id\\": \\"359*****374-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformsResponse>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <TotalCount>1</TotalCount>\\n <PageCount>1</PageCount>\\n <Platforms>\\n <Status>on</Status>\\n <ClientPort>5160</ClientPort>\\n <Protocol>gb28181</Protocol>\\n <ClientGbId>31010*****317542006</ClientGbId>\\n <Ip>10.10.10.10</Ip>\\n <Port>5060</Port>\\n <ClientUsername>user01</ClientUsername>\\n <ClientPassword>admin123</ClientPassword>\\n <AutoStart>false</AutoStart>\\n <ClientAuth>true</ClientAuth>\\n <GbId>31000*****2170123451</GbId>\\n <Description>国标级联平台描述</Description>\\n <ClientIp>192.168.0.1</ClientIp>\\n <Name>国标级联平台测试</Name>\\n <CreatedTime>2018-12-10T21:00:00Z</CreatedTime>\\n <Id>359*****374-cn-qingdao</Id>\\n </Platforms>\\n</DescribeParentPlatformsResponse>","errorExample":""}]',
- 'title' => '查询上级平台列表',
- 'summary' => '查询上级平台列表。',
- ],
- 'DescribeParentPlatformDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateType\\": \\"record\\",\\n \\"InstanceId\\": \\"323*****994-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"InstanceType\\": \\"group\\",\\n \\"TemplateId\\": \\"323*****998-cn-qingdao\\"\\n}","type":"json"}]',
+ 'title' => '解除绑定模板到指定的实例',
+ 'summary' => '解除绑定模板到指定的实例,比如:解除绑定到空间和流的实例。',
+ 'description' => '>模板ID和模板类型至少指定一个。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindTemplate'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UninstallCloudApp' => [
+ 'summary' => '卸载一个指定云应用实例上的一个指定云应用。'."\n"
+ .'属于异步接口。可通过ListCloudAppInstallations接口查询卸载进度,卸载成功后,查询接口将不再输出相关内容。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207920',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '按上级平台ID查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'schema' => ['title' => '云应用服务实例ID。'."\n"
+ .'RenderingInstanceId、RenderingInstanceIds、ProjectId至少必选其一。'."\n"
+ .'优先级RenderingInstanceId > RenderingInstanceIds > ProjectId', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'SortBy',
+ 'name' => 'AppId',
'in' => 'query',
- 'schema' => [
- 'description' => '按给定字段排序,默认按id排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'id',
- ],
+ 'schema' => ['title' => '云应用ID', 'description' => '云应用ID', 'type' => 'string', 'required' => true, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
],
[
- 'name' => 'SortDirection',
+ 'name' => 'RenderingInstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '排序方式,默认升序。取值:'."\n"
- .'- asc(升序)'."\n"
- .'- desc(降序)',
- 'type' => 'string',
+ 'title' => '云应用服务实例ID列表',
+ 'description' => '云应用服务实例ID列表',
+ 'type' => 'array',
+ 'items' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-4523e7b93ca246febd10cd12347d70c0'],
'required' => false,
- 'example' => 'asc',
+ 'maxItems' => 100,
],
],
[
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
+ ],
+ [
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,默认为20',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['title' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。', 'description' => '项目下被选中的实例最大个数。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认100。取值1-100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '100'],
],
[
- 'name' => 'PageNum',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '第几个分页,默认为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
+ .'1. 关于PageNumber取值范围:'."\n"
+ .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
+ .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
+ .' ⅰ. 接口返回403+错误码Code 200301'."\n"
+ .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
+ .'2. 场景举例:'."\n"
+ .' a. 项目下实例全量卸载场景:项目实例数大于PageSize(默认100)时,可以多次调用unInstall接口(+1递增分页PageNumber)以实现全量卸载。项目实例卸载进度可通过ListCloudAppInstallations接口获取。', 'description' => '项目下实例关联关系分页页码(分页查询默认按实例关联时间倒序)。仅ProjectId非空场景有效,限制项目下执行动作的最大实例数,以控制动作的影响面。默认1。'."\n"
+ .'1. 关于PageNumber取值范围:'."\n"
+ .' a. 【推荐】方法一:根据项目关联实例总数(接口ListRenderingProjectInstances可获取),换算出上限值。'."\n"
+ .' b. 方法二:可以通过接口返回值判断PageNumber是否达到Project上限值,【优点:不用换算取值范围】。接口返回满足以下任意一个条件时,就可以认为PageNumber达到上限值:'."\n"
+ .' ⅰ. 接口返回403+错误码Code 200301'."\n"
+ .' ⅱ. 接口的返回值SuccessInstanceCount+FailedInstanceCount<PageSize'."\n"
+ .'2. 场景举例:'."\n"
+ .' a. 项目下实例全量卸载场景:项目实例数大于PageSize(默认100)时,可以多次调用unInstall接口(+1递增分页PageNumber)以实现全量卸载。项目实例卸载进度可通过ListCloudAppInstallations接口获取。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PatchId',
+ 'in' => 'query',
+ 'schema' => ['title' => '要卸载的Patch包ID,仅win场景支持。'."\n"
+ .'1. 默认卸载StablePatchId'."\n"
+ .'2. 输入值origin,表示卸载原始版本'."\n"
+ .'3. 输入值all,表示卸载所有已安装版本', 'description' => '要卸载的Patch包ID,仅win场景支持。'."\n"
+ .'1. 默认卸载StablePatchId'."\n"
+ .'2. 输入值origin,表示卸载原始版本'."\n"
+ .'3. 输入值all,表示卸载所有已安装版本', 'type' => 'string', 'required' => false, 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'PageNum' => [
- 'description' => '第几个分页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'TotalCount' => [
- 'description' => '设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageCount' => [
- 'description' => '分页总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'SuccessInstanceCount' => ['title' => '成功的云应用服务实例量', 'description' => '成功的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'SuccessInstances' => [
+ 'title' => '成功的云应用服务实例列表',
+ 'description' => '成功的云应用服务实例列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '云应用服务实例',
+ 'description' => '云应用服务实例',
+ 'type' => 'object',
+ 'properties' => [
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-e6cf423c787e4e43b460a788da254fe3'],
+ ],
+ ],
],
- 'Devices' => [
- 'description' => '设备列表。',
+ 'FailedInstanceCount' => ['title' => '失败的云应用服务实例量', 'description' => '失败的云应用服务实例量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'FailedInstances' => [
+ 'title' => '失败的云应用服务实例列表',
+ 'description' => '失败的云应用服务实例列表',
'type' => 'array',
'items' => [
+ 'title' => '失败的云应用服务实例',
+ 'description' => '失败的云应用服务实例',
'type' => 'object',
'properties' => [
- 'ParentId' => [
- 'description' => '上级设备ID。',
- 'type' => 'string',
- 'example' => '3614*****766212-cn-qingdao',
- ],
- 'GbId' => [
- 'description' => '设备国标ID。',
- 'type' => 'string',
- 'example' => '310101*****7542007',
- ],
- 'GroupId' => [
- 'description' => '设备所属空间ID。',
- 'type' => 'string',
- 'example' => '3484*****8732174-cn-qingdao',
- ],
- 'Name' => [
- 'description' => '设备名称。',
- 'type' => 'string',
- 'example' => '测试设备1',
- ],
- 'Id' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '3487*****323380-cn-qingdao',
- ],
+ 'RenderingInstanceId' => ['title' => '云应用服务实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'example' => 'render-b45f28650ffe4591bf4c5c95996a428c'],
+ 'ErrMessage' => ['title' => '失败原因信息', 'description' => '失败原因信息', 'type' => 'string', 'example' => 'Rejected due to timeout'],
+ 'ErrCode' => ['description' => '失败错误码', 'type' => 'integer', 'format' => 'int32', 'example' => '300000'],
],
],
],
@@ -21683,38 +17823,46 @@
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNum\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"TotalCount\\": 1,\\n \\"PageCount\\": 1,\\n \\"Devices\\": [\\n {\\n \\"ParentId\\": \\"3614*****766212-cn-qingdao\\",\\n \\"GbId\\": \\"310101*****7542007\\",\\n \\"GroupId\\": \\"3484*****8732174-cn-qingdao\\",\\n \\"Name\\": \\"测试设备1\\",\\n \\"Id\\": \\"3487*****323380-cn-qingdao\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeParentPlatformDevicesResponse>\\n <PageNum>1</PageNum>\\n <PageSize>20</PageSize>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n <TotalCount>1</TotalCount>\\n <PageCount>1</PageCount>\\n <Devices>\\n <ParentId>3614*****766212-cn-qingdao</ParentId>\\n <GbId>310101*****7542007</GbId>\\n <GroupId>3484*****8732174-cn-qingdao</GroupId>\\n <Name>测试设备1</Name>\\n <Id>3487*****323380-cn-qingdao</Id>\\n </Devices>\\n</DescribeParentPlatformDevicesResponse>","errorExample":""}]',
- 'title' => '查询上级平台下的设备列表',
- 'summary' => '查询上级平台下的设备列表。',
- ],
- 'StartParentPlatform' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SuccessInstanceCount\\": 5,\\n \\"SuccessInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-e6cf423c787e4e43b460a788da254fe3\\"\\n }\\n ],\\n \\"FailedInstanceCount\\": 0,\\n \\"FailedInstances\\": [\\n {\\n \\"RenderingInstanceId\\": \\"render-b45f28650ffe4591bf4c5c95996a428c\\",\\n \\"ErrMessage\\": \\"Rejected due to timeout\\",\\n \\"ErrCode\\": 300000\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '卸载应用',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UninstallCloudApp'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UninstallCloudApp',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UnlockDevice' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '359*****374-cn-qingdao',
- ],
+ 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '323884****9092996'],
],
],
'responses' => [
@@ -21722,478 +17870,591 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '359*****374-cn-qingdao',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'Id' => ['description' => '设备ID', 'type' => 'string', 'example' => '323884****9092996'],
+ 'RequestId' => ['description' => '该条任务请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"359*****374-cn-qingdao\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"<StartParentPlatformResponse>\\n <Id>359*****374-cn-qingdao</Id>\\n <RequestId>BEA5625F-8FCF-48F4-851B-CA63946DA664</RequestId>\\n</StartParentPlatformResponse>","errorExample":""}]',
- 'title' => '启动上级平台交互',
- 'summary' => '启动上级平台交互,如注册、保活等。',
- ],
- 'BindParentPlatformDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": \\"323884****9092996\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => '解锁设备',
+ 'summary' => '解锁设备。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnlockDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnlockDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateCloudAppInfo' => [
+ 'summary' => '更新一个云应用的信息,如更新描述信息、更新应用标签、上传Patch等。'."\n"
+ .'支持上传补丁包/热更包、支持安卓云应用市场制作热更包,一个云应用最多可上传20个补丁包、一个云应用同时只允许一个Patch是上传中状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207912',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
'parameters' => [
[
- 'name' => 'ParentPlatformId',
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'required' => true, 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '应用描述信息', 'description' => '应用描述信息', 'type' => 'string', 'required' => false, 'example' => '用于测试使用', 'maxLength' => 255],
+ ],
+ [
+ 'name' => 'StablePatchId',
'in' => 'query',
+ 'schema' => ['title' => '稳定版PatchId。客户业务使用中(如会话启动)未指定PatchId情况,默认使用的PatchId。仅win场景支持。'."\n"
+ .'特殊取值说明:'."\n"
+ .'1. 输入值origin:表示取消patch版本,默认使用初始版本', 'description' => '稳定版PatchId。客户业务使用中(如会话启动)未指定PatchId情况,默认使用的PatchId。PkgType=android时不支持。'."\n"
+ .'特殊取值说明:'."\n"
+ .'1. 输入值origin:表示取消patch版本,默认使用初始版本', 'type' => 'string', 'required' => false, 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
+ ],
+ [
+ 'name' => 'Patch',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '361*****212-cn-qingdao',
+ 'title' => '待上传的Patch包信息,仅win场景支持',
+ 'description' => '待上传的Patch包信息。'."\n"
+ .'1. PkgType=android时不支持;'."\n"
+ .'2. 同AppId同时只允许一个Patch上传中(即同AppId同时只允许一个Patch非终态)',
+ 'type' => 'object',
+ 'properties' => [
+ 'PatchName' => ['title' => 'Patch包名称或描述,AppId下唯一标记之一。仅win场景支持。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 不能等于origin、all'."\n"
+ .'2. 长度1-50'."\n"
+ .'3. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'4. 首、尾字符必须为字母或数字', 'description' => 'Patch包名称或描述,AppId下唯一标记之一。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 不能等于origin、all'."\n"
+ .'2. 长度1-50'."\n"
+ .'3. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'4. 首、尾字符必须为字母或数字', 'type' => 'string', 'required' => false, 'example' => 'p1', 'maxLength' => 50, 'minLength' => 1],
+ 'DownloadURL' => ['title' => 'Patch包下载地址。'."\n"
+ .'默认patch包格式与原始云应用包格式一致。RenderingInstanceId/DownloadURL 必选其一,'."\n"
+ .'DownloadURL优先级高。', 'description' => 'Patch包下载地址。'."\n"
+ .'RenderingInstanceId/DownloadURL 必选其一,'."\n"
+ .'DownloadURL优先级高。', 'type' => 'string', 'required' => false, 'example' => 'https://test_host/app/test-tar-pkg.tar'],
+ 'Md5' => ['title' => 'patch包md5,用于检查完整性。仅DownloadURL非空时有效,DownloadURL非空时必选。', 'description' => 'patch包md5,用于检查完整性。仅DownloadURL非空时有效,DownloadURL非空时必选。', 'type' => 'string', 'required' => false, 'example' => '346f6404395adfg5bae1e45g4e943bf7'],
+ 'PkgFormat' => [
+ 'title' => '安装包格式,默认是下载文件地址后缀。仅DownloadURL非空时有效,取值范围:'."\n"
+ .'1. tar.gz'."\n"
+ .'2. tar'."\n"
+ .'3. zip'."\n"
+ .'4. rar',
+ 'description' => '安装包格式,默认是下载文件地址后缀。仅DownloadURL非空时有效,取值范围:'."\n"
+ .'1. tar.gz'."\n"
+ .'2. tar'."\n"
+ .'3. zip'."\n"
+ .'4. rar',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'tar',
+ 'enum' => ['tar', 'tar.gz', 'zip', 'rar'],
+ ],
+ 'RenderingInstanceId' => ['title' => '制作patch包依赖的实例ID。仅安卓应用市场(PkgType=andrpid_appmarket)场景有效。RenderingInstanceId/DownloadURL 必选其一,'."\n"
+ .'DownloadURL优先级高。', 'description' => '制作patch包依赖的实例ID。仅安卓应用市场(PkgType=andrpid_appmarket)场景有效。RenderingInstanceId/DownloadURL 必选其一,'."\n"
+ .'DownloadURL优先级高。', 'type' => 'string', 'required' => false, 'example' => 'render-d7ec79fe47ce47aca2d8d7500d25a28a'],
+ 'AsStablePatch' => ['title' => '上传成功后是否自动配置为稳定版Patch,默认false。', 'description' => '上传成功后是否自动配置为稳定版Patch,默认false。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
+ ],
+ 'required' => false,
],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'PkgLabels',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
+ 'title' => '云应用标签,可多选,将重置云应用标签,'."\n"
+ .'1. 取值范围:'."\n"
+ .' a. hot'."\n"
+ .' b. game'."\n"
+ .' c. app'."\n"
+ .'2. 特殊情况:'."\n"
+ .' a. 删除所有标签:输入["NULL"]',
+ 'description' => '云应用标签,可多选,将重置云应用标签,'."\n"
+ .'1. 取值范围:'."\n"
+ .' a. hot'."\n"
+ .' b. game'."\n"
+ .' c. app'."\n"
+ .'2. 特殊情况:'."\n"
+ .' a. 删除所有标签:输入["NULL"]',
+ 'type' => 'array',
+ 'items' => ['title' => '云应用标签', 'description' => '云应用标签', 'type' => 'string', 'required' => false, 'example' => 'app'],
+ 'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'PatchId' => ['title' => '补丁包ID', 'description' => '补丁包ID', 'type' => 'string', 'example' => 'patch-03fa76e8e13a49b6a966b063d9d309b4'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '绑定父平台设备',
- 'summary' => '绑定设备到上级平台推送。',
- ],
- 'BatchBindParentPlatformDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"PatchId\\": \\"patch-03fa76e8e13a49b6a966b063d9d309b4\\"\\n}","type":"json"}]',
+ 'title' => '更新应用基本信息',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudAppInfo'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateCloudAppInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateFileInfo' => [
+ 'summary' => '更新一个文件的基本信息,如描述信息。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '215941',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
'parameters' => [
[
- 'name' => 'ParentPlatformId',
+ 'name' => 'FileId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '361*****212-cn-qingdao',
- ],
+ 'schema' => ['title' => '文件ID,对应唯一的文件。如f-xxx', 'description' => '文件ID,对应唯一的文件', 'type' => 'string', 'required' => true, 'example' => 'f-16713accddtgtj6340jgnclhwsg1813f718db2f7'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID,多值用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
- ],
+ 'schema' => ['title' => '文件描述信息', 'description' => '文件描述信息', 'type' => 'string', 'required' => true, 'example' => '测试使用', 'maxLength' => 255],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅在出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'ParentPlatformId' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '361*****212-cn-qingdao',
- ],
- 'DeviceId' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"ParentPlatformId\\": \\"361*****212-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量绑定父平台设备',
- 'summary' => '批量绑定多个设备到上级平台推送。',
- ],
- 'UnbindParentPlatformDevice' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '更新文件基本信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFileInfo'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateFileInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateRenderingInstanceConfiguration' => [
+ 'summary' => '更新一个云应用服务实例的配置参数。支持修改云安卓系统的prop/location/network 等各种配置,构建真机仿真。'."\n"
+ .'可通过实例查询接口DescribeRenderingInstance,获取已设置的真机仿真配置值。'."\n"
+ .'查询实时环境的配置参数,参考接口DescribeRenderingInstanceConfiguration。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '213807',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
+ ],
'parameters' => [
[
- 'name' => 'ParentPlatformId',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '361*****212-cn-qingdao',
- ],
+ 'schema' => ['title' => '云渲染实例ID', 'description' => '云应用服务实例ID', 'type' => 'string', 'required' => true, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'DeviceId',
- 'in' => 'query',
+ 'name' => 'Configuration',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '设备ID。',
- 'type' => 'string',
+ 'title' => '配置内容',
+ 'description' => '配置内容',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '真机仿真模块属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModuleName' => ['title' => '模块名称', 'description' => '真机仿真功能模块名,取值范围包括,'."\n"
+ .'1. ctl:控制模块'."\n"
+ .'2. prop:属性模块'."\n"
+ .'3. location:定位模块'."\n"
+ .'4. battery:电池模块'."\n"
+ .'5. network:网络模块'."\n"
+ .'6. bluetooth:蓝牙模块'."\n"
+ .'7. sim:SIM卡模块'."\n"
+ .'8. display:设备模块'."\n"
+ .'9. system:基础模块', 'type' => 'string', 'required' => true, 'example' => 'location'],
+ 'Attributes' => [
+ 'title' => '模块对应的属性列表',
+ 'description' => '模块对应的属性列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '属性信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['title' => '属性名称', 'description' => '属性名', 'type' => 'string', 'required' => true, 'example' => 'lon'],
+ 'Value' => ['title' => '属性值', 'description' => '属性值', 'type' => 'any', 'required' => true, 'example' => '100'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'deprecated' => false,
'required' => true,
- 'example' => '348*****380-cn-qingdao',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
- 'title' => '解除父平台绑定的设备',
- 'summary' => '从上级平台推送中解绑设备,不再推送。',
- ],
- 'BatchUnbindParentPlatformDevices' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '更新云应用服务实例配置参数',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRenderingInstanceConfiguration'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateRenderingInstanceSettings' => [
+ 'summary' => '调用 UpdateRenderingInstanceSettings 更新云应用服务实例设置',
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvs4YZ3LQ'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
'parameters' => [
[
- 'name' => 'ParentPlatformId',
+ 'name' => 'RenderingInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '361*****212-cn-qingdao',
- ],
+ 'schema' => ['description' => '云应用服务实例ID', 'type' => 'string', 'required' => false, 'example' => 'render-9f8c57355d224ad7beaf95e145f22111'],
],
[
- 'name' => 'DeviceId',
+ 'name' => 'Settings',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '设备ID,多值用逗号分隔',
- 'type' => 'string',
- 'required' => true,
- 'example' => '348*****380-cn-qingdao',
+ 'description' => '实例配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '实例配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeName' => ['description' => '实例配置名称。', 'type' => 'string', 'required' => false, 'example' => 'navbar.hide'],
+ 'AttributeValue' => ['description' => '实例配置内容。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'Results' => [
- 'description' => '结果列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Error' => [
- 'description' => '错误信息。'."\n"
- .'> 仅在出错时存在。',
- 'type' => 'string',
- 'example' => 'some error',
- ],
- 'ParentPlatformId' => [
- 'description' => '上级平台ID。',
- 'type' => 'string',
- 'example' => '361*****212-cn-qingdao',
- ],
- 'DeviceId' => [
- 'description' => '设备ID。',
- 'type' => 'string',
- 'example' => '348*****380-cn-qingdao',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Results\\": [\\n {\\n \\"Error\\": \\"some error\\",\\n \\"ParentPlatformId\\": \\"361*****212-cn-qingdao\\",\\n \\"DeviceId\\": \\"348*****380-cn-qingdao\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量解除父平台设备绑定',
- 'summary' => '从上级平台推送中批量解绑多个设备。',
- ],
- 'DescribeVsDomainPvData' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '更新云应用服务实例设置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRenderingInstanceSettings'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingInstanceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateRenderingProject' => [
+ 'summary' => '更新一个项目的属性信息',
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREvsGPC7NJ'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'ProjectId',
'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '项目ID', 'description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'project-422bc38dfgh5eb44149f135ef76304f63b'],
],
[
- 'name' => 'StartTime',
+ 'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为1小时<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-10T17:00:00Z',
- ],
+ 'schema' => ['title' => '自定义项目名,将作为项目的唯一标记。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度1-128'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字'."\n"
+ .'ProjectName/SessionAttribs/Description 至少一项非空', 'description' => '自定义项目名,将作为项目的唯一标记。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度1-128'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字'."\n"
+ .'ProjectName/SessionAttribs/Description 至少一项非空', 'type' => 'string', 'required' => false, 'example' => 'idata_content'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'SessionAttribs',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
- 'type' => 'string',
+ 'title' => '会话属性',
+ 'description' => '会话属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartMode' => [
+ 'title' => '会话启动云应用服务的模式,取值范围,'."\n"
+ .'1. Async:异步'."\n"
+ .'2. Sync:同步',
+ 'description' => '会话启动云应用服务的模式,取值范围,'."\n"
+ .'1. Async:异步'."\n"
+ .'2. Sync:同步',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Async',
+ 'enum' => ['Async', 'Sync'],
+ ],
+ ],
'required' => false,
- 'example' => '2021-10-15T15:59:59Z',
],
],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '项目描述', 'description' => '项目描述', 'type' => 'string', 'required' => false, 'example' => '目录1', 'maxLength' => 255],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-11-12T15:59:59Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2021-11-22T00:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求Id',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '每条记录的时间间隔,固定值1小时或1天。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'PvDataInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'UsageData' => [
- 'description' => '返回数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '详细使用数据',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻',
- 'type' => 'string',
- 'example' => '2021-11-22T00:00:00Z',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidTime.ValueNotSupported',
- 'errorMessage' => 'StartTime or EndTime is miss match.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '更新项目信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-11-12T15:59:59Z\\",\\n \\"StartTime\\": \\"2021-11-22T00:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-11-22T00:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取域名PV数据',
- 'summary' => '获取域名PV数据。',
],
- 'DescribeVsDomainUvData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateVsPullStreamInfoConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '您的拉流域名。', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['description' => '直播流所属应用名称。', 'type' => 'string', 'required' => true, 'example' => 'xxxApp'],
+ ],
+ [
+ 'name' => 'StreamName',
+ 'in' => 'query',
+ 'schema' => ['description' => '直播流名。', 'type' => 'string', 'required' => true, 'example' => 'xxxStream'],
+ ],
+ [
+ 'name' => 'SourceUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户的直播流所在的源站。'."\n"
+ .'> 支持多个,用英文分号(;)分隔。', 'type' => 'string', 'required' => true, 'example' => 'up.xxx.com.cn'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为1小时<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-12T10:00:00Z',
- ],
+ 'schema' => ['description' => '拉流开始时间。'."\n"
+ .'> UTC时间格式,StartTime和EndTime时间间隔在7天内。', 'type' => 'string', 'required' => false, 'example' => '2021-12-10T10:00:00Z'],
],
[
'name' => 'EndTime',
'in' => 'query',
+ 'schema' => ['description' => '拉流结束时间。'."\n"
+ .'> UTC时间格式,StartTime和EndTime时间间隔在7天内,且EndTime必须超过当前时间。', 'type' => 'string', 'required' => false, 'example' => '2018-12-10T18:00:00Z'],
+ ],
+ [
+ 'name' => 'Always',
+ 'in' => 'query',
'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
'type' => 'string',
'required' => false,
- 'example' => '2021-11-24T00:00:00Z',
+ 'enum' => ['yes', 'no'],
+ 'description' => '',
],
],
],
@@ -22202,1842 +18463,3406 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2015-11-30T00:00:00Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2015-11-29T00:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '本次操作请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '每条记录的时间间隔,以秒为单位,固定值1小时。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'UvDataInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'UsageData' => [
- 'description' => '返回数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '独立访客量(UV)。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2015-11-29T15:00:00Z',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidTime.ValueNotSupported',
- 'errorMessage' => 'StartTime or EndTime is miss match.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
- ],
+ ['errorCode' => 'Param.Missing.StartTime', 'errorMessage' => 'You must specify StartTime.', 'description' => '缺少参数StartTime'],
+ ['errorCode' => 'InvalidEndTime.Mismatch', 'errorMessage' => 'The specified EndTime is earlier than the StartTime.', 'description' => '结束时间早于开始时间,请检查'],
+ ['errorCode' => 'Duration.Exceed', 'errorMessage' => 'The duration between StartTime and EndTime is too long.', 'description' => 'StartTime和EndTime间隔过大'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2015-11-30T00:00:00Z\\",\\n \\"StartTime\\": \\"2015-11-29T00:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"UvDataInterval\\": {\\n \\"UsageData\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"TimeStamp\\": \\"2015-11-29T15:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取 vs 域名 uv 数据',
- 'summary' => '获取 vs 域名 uv 数据 。',
- ],
- 'DescribeVsDomainPvUvData' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '更新拉流信息配置',
+ 'summary' => '更新拉流信息,修改已经添加的拉流任务中的源站地址的开始时间和结束时间。',
+ 'extraInfo' => '## 特殊错误码'."\n"
+ .'| 错误代码 | 描述 | HTTP状态码 | 语义 |'."\n"
+ .'|------------|--------|---------|------|'."\n"
+ .'| InternalError | The request processing has failed due to some unknown error. | 500 | 后台发生未知错误。 |'."\n"
+ .'| InvalidDomain.NotFound | The domain provided does not exist in our records. | 404 | 当前账户下未查到域名。 | '."\n"
+ .'| IllegalOperation | Illegal domain operate is not permitted. | 403 | 不支持当前操作,如:非直播类域名。 |'."\n"
+ .'| InvalidStartTime.Malformed | Specified StartTime is malformed. | 400 | 拉流开始时间格式错误。|'."\n"
+ .'| InvalidEndTime.Malformed | Specified EndTime is malformed. | 400 | 拉流结束时间格式错误。|'."\n"
+ .'| InvalidEndTime.Mismatch | StartTime is after EndTime. | 400 | 拉流起始时间晚于拉流结束时间。|'."\n"
+ .'| Duration.Exceed | Duration between StartTime and EndTime is too long. | 400 | 查询时间范围过长。|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateVsPullStreamInfoConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UploadCloudApp' => [
+ 'summary' => '上传/上架一个云应用包。'."\n"
+ .'属于异步接口,可通过ListCloudApps接口查询上传进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207909',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => ['title' => '是 应用名。安卓应用需使用其包名,如com.aaa.bbb。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度4-50'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'description' => '应用名。安卓应用建议使用其包名,如com.aaa.bbb。'."\n"
+ ."\n"
+ .'取值规范:'."\n"
+ .'1. 长度4-50'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'type' => 'string', 'required' => true, 'example' => 'com.aaa.bbb', 'maxLength' => 50, 'minLength' => 4],
+ ],
+ [
+ 'name' => 'AppVersion',
+ 'in' => 'query',
+ 'schema' => ['title' => '是 应用版本。安卓应用需使用其VersionName,如1.1.1。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度1-50'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'description' => '应用版本。安卓应用建议使用其VersionName,如1.1.1。'."\n"
+ .'取值规范:'."\n"
+ .'1. 长度1-50'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'type' => 'string', 'required' => true, 'example' => '1.1.1', 'maxLength' => 50, 'minLength' => 1],
+ ],
+ [
+ 'name' => 'DownloadUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '应用包下载地址', 'type' => 'string', 'required' => true, 'example' => 'https://xxx.xxx.xxx.apk'],
+ ],
+ [
+ 'name' => 'Md5',
+ 'in' => 'query',
+ 'schema' => ['description' => '应用包md5,用于检查应用包完整性', 'type' => 'string', 'required' => true, 'example' => '0CFBB7BD10CDD7279642ADAB8FEF3DEE'],
+ ],
+ [
+ 'name' => 'PkgFormat',
'in' => 'query',
'schema' => [
- 'description' => '视图计算域名名称',
+ 'title' => '安装包格式,默认是下载文件地址后缀。取值范围:'."\n"
+ .'1. apk'."\n"
+ .'2. tar.gz'."\n"
+ .'3. tar'."\n"
+ .'4. zip'."\n"
+ .'5. rar',
+ 'description' => '安装包格式,默认是下载文件地址后缀。取值范围:'."\n"
+ .'1. apk'."\n"
+ .'2. tar.gz'."\n"
+ .'3. tar'."\n"
+ .'4. zip'."\n"
+ .'5. rar',
'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
+ 'required' => false,
+ 'example' => 'apk',
+ 'enum' => ['apk', 'tar.gz', 'tar', 'zip', 'rar'],
],
],
[
- 'name' => 'StartTime',
+ 'name' => 'PkgType',
'in' => 'query',
'schema' => [
- 'description' => '起始时间,UTC格式,例如:2016-06-29T19:00:00Z',
+ 'title' => '安装包类型,取值范围:'."\n"
+ .'1. android'."\n"
+ .'2. win'."\n"
+ .'3. android_appmarket'."\n"
+ .'无输入时,默认将根据PkgFormat(或根据DownloadUrl文件后缀自动解析出PkgFormat)自动映射安装包类型,PkgFormat与安装包类型默认映射关系,'."\n"
+ .'1. android:apk,apk格式默认映射为android'."\n"
+ .'2. win:tar.gz, tar, zip, rar'."\n"
+ .'3.android_appmarket: apk',
+ 'description' => '安装包类型。'."\n"
+ ."\n"
+ .'## 取值范围:'."\n"
+ ."\n"
+ .'1. android'."\n"
+ .'2. win'."\n"
+ .'3. android_appmarket:对应安卓应用市场场景,该场景下有apk真实PackageName限制'."\n"
+ .'a. 不同AppName 的PackageName,不能重复'."\n"
+ .'b. 同一AppName 不同AppVersion 可以关联 不同的PackageName'."\n"
+ ."\n"
+ .'## 默认值说明:'."\n"
+ .'无输入时,默认将根据PkgFormat(或根据DownloadUrl文件后缀自动解析出PkgFormat)自动映射安装包类型,PkgFormat与安装包类型默认映射关系,'."\n"
+ .'1. android:apk(apk格式,默认映射为android)'."\n"
+ .'2. win:tar.gz, tar, zip, rar'."\n"
+ .'3. android_appmarket:apk',
'type' => 'string',
'required' => false,
- 'example' => '2021-10-14T23:00:00Z',
+ 'example' => 'android',
+ 'enum' => ['android', 'win', 'android_appmarket'],
],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '应用描述信息', 'description' => '应用描述信息', 'type' => 'string', 'required' => false, 'example' => '测试应用包', 'maxLength' => 255],
+ ],
+ [
+ 'name' => 'PkgLabels',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '结束时间,UTC格式,例如:2016-06-30T19:00:00Z',
- 'type' => 'string',
+ 'title' => '云应用标签,可多选,取值范围:'."\n"
+ .'1. hot'."\n"
+ .'2. game'."\n"
+ .'3. app',
+ 'description' => '云应用标签,可多选,取值范围:'."\n"
+ .'1. hot'."\n"
+ .'2. game'."\n"
+ .'3. app',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '云应用标签',
+ 'description' => '云应用标签',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app',
+ 'enum' => ['app', 'game', 'hot'],
+ ],
'required' => false,
- 'example' => '2021-11-24T00:00:00Z',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-11-24T00:00:00Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2021-12-12T10:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '本次操作请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '时间间隔,单位:秒。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'PvUvDataInfos' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'PvUvDataInfo' => [
- 'description' => '数据信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据信息。',
- 'type' => 'object',
- 'properties' => [
- 'PV' => [
- 'description' => 'PV数据。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2021-10-14T23:00:00Z',
- ],
- 'UV' => [
- 'description' => 'UV数据。',
- 'type' => 'string',
- 'example' => '100',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'AppId' => ['title' => '云应用ID,对应唯一的应用包', 'description' => '云应用ID,对应唯一的应用包', 'type' => 'string', 'example' => 'cap-b06b26edfhytbn b94a75ae1a79efc90eb'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidTime.ValueNotSupported',
- 'errorMessage' => 'StartTime or EndTime is miss match.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"AppId\\": \\"cap-b06b26edfhytbn b94a75ae1a79efc90eb\\"\\n}","type":"json"}]',
+ 'title' => '上传应用',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-21T12:22:14.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-07-10T06:10:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadCloudApp'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:UploadCloudApp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-11-24T00:00:00Z\\",\\n \\"StartTime\\": \\"2021-12-12T10:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"PvUvDataInfos\\": {\\n \\"PvUvDataInfo\\": [\\n {\\n \\"PV\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-10-14T23:00:00Z\\",\\n \\"UV\\": \\"100\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取vs域名pv和uv数据',
- 'summary' => '获取vs域名pv和uv数据。',
],
- 'DescribeVsDomainRecordData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UploadFile' => [
+ 'summary' => '上传一个文件。基于外链URL(公网可下载文件)实现文件上传到本地/云存储。'."\n"
+ .'属于异步操作,可通过ListFiles接口查询上传进度。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '215923',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '文件名。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度8-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'description' => '自定义文件名,不可重复,将作为文件的唯一标记之一。'."\n"
+ .'默认取值规范:'."\n"
+ .'1. 长度8-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首、尾字符必须为字母或数字', 'type' => 'string', 'required' => true, 'example' => 'mytest', 'maxLength' => 255, 'minLength' => 8],
],
[
- 'name' => 'StartTime',
+ 'name' => 'OriginUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-29T16:00:00Z',
- ],
+ 'schema' => ['title' => '文件下载地址。', 'description' => '文件下载地址', 'type' => 'string', 'required' => true, 'example' => 'https://xxx.xxx.xxx.tar'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Md5',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-11-19T15:59:59Z',
- ],
+ 'schema' => ['title' => '文件md5,用于检查文件完整性', 'description' => '文件md5,用于检查文件完整性', 'type' => 'string', 'required' => true, 'example' => '150b6083f50dd08159d45a0d5e4b56f9'],
],
[
- 'name' => 'Region',
+ 'name' => 'TargetPath',
'in' => 'query',
- 'schema' => [
- 'description' => '区域信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['title' => '向云渲染实例推送的目标路径,必须是绝对路径,不支持输入目录。目标路径所在上级目录有范围限制,取值范围:'."\n"
+ .'1. /data/local'."\n"
+ .'2. /data/user'."\n"
+ .'3. /data/data'."\n"
+ .'4. /data/cache'."\n"
+ .'5. /data/tmp'."\n"
+ .'6. /storage', 'description' => '向云应用服务实例推送的目标路径,必须是绝对路径,不支持输入目录。目标路径所在上级目录有范围限制,取值范围:'."\n"
+ .'1. /data/local'."\n"
+ .'2. /data/user'."\n"
+ .'3. /data/data'."\n"
+ .'4. /data/cache'."\n"
+ .'5. /data/tmp'."\n"
+ .'6. /data/storage'."\n"
+ .'7. /data/media/0', 'type' => 'string', 'required' => true, 'example' => '/data/tmp/test/xxx.tar'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '文件描述信息', 'description' => '文件描述信息', 'type' => 'string', 'required' => false, 'example' => '测试使用', 'maxLength' => 255],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'RecordDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '每个时间间隔的录制时长信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2021-11-19T15:59:59Z',
- ],
- 'StreamCountValue' => [
- 'description' => '流数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RecordValue' => [
- 'description' => '截图数。',
- 'type' => 'string',
- 'example' => '100',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
+ 'FileId' => ['title' => '文件ID,对应唯一的文件,如f-xxx', 'description' => '文件ID,对应唯一的文件', 'type' => 'string', 'example' => 'f-1671330gr7934d4771813f7141d28db2f7'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"FileId\\": \\"f-1671330gr7934d4771813f7141d28db2f7\\"\\n}","type":"json"}]',
+ 'title' => '上传文件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadFile'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UploadFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"RecordDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2021-11-19T15:59:59Z\\",\\n \\"StreamCountValue\\": \\"1\\",\\n \\"RecordValue\\": \\"100\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取 vs 域名记录数据',
- 'summary' => '获取 vs 域名记录数据。',
],
- 'DescribeVsDomainSnapshotData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UploadPublicKey' => [
+ 'summary' => '上传一个新的公钥信息。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '207881',
+ 'abilityTreeNodes' => ['FEATUREvs8VD2LG'],
],
'parameters' => [
[
- 'name' => 'DomainName',
+ 'name' => 'KeyName',
'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['title' => '公钥名称,不可重复。'."\n"
+ .'取值规范:'."\n"
+ .'1. 长度8-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首字符必须为字母或数字'."\n"
+ .'4. 前缀不能为"group-"', 'description' => '公钥名称,不可重复。'."\n"
+ .'取值规范:'."\n"
+ .'1. 长度8-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首字符必须为字母或数字'."\n"
+ .'4. 前缀不能为"group-"', 'type' => 'string', 'required' => true, 'example' => 'mykey-v1.0', 'maxLength' => 255, 'minLength' => 8],
],
[
- 'name' => 'StartTime',
+ 'name' => 'KeyGroup',
'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-05T16:00:00Z',
- ],
+ 'schema' => ['title' => '公钥分组,用于公钥管理。'."\n"
+ .'不同分组的公钥可以单独下发到具体设备。'."\n"
+ .'取值规范:'."\n"
+ .'1. 长度0-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首字符必须为字母或数字', 'description' => '公钥分组,用于公钥管理。'."\n"
+ .'取值规范:'."\n"
+ .'1. 长度0-255'."\n"
+ .'2. 小写字母、数字、下划线\'_\'、中划线\'-\'、点分段\'.\''."\n"
+ .'3. 首字符必须为字母或数字', 'type' => 'string', 'required' => false, 'example' => 'g-test'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Content',
+ 'in' => 'query',
+ 'schema' => ['title' => '经过编码的公钥内容,默认编码格式Base64。', 'description' => '经过编码的公钥内容,默认编码格式Base64。', 'type' => 'string', 'required' => true, 'example' => 'verify_dffeb6610035dcb77b413a59c3*****'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['title' => '公钥描述信息', 'description' => '公钥描述信息', 'type' => 'string', 'required' => false, 'example' => '测试使用', 'maxLength' => 255],
+ ],
+ [
+ 'name' => 'KeyType',
'in' => 'query',
'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
+ 'description' => '公钥的类型。可取值:'."\n"
+ ."\n"
+ .'- **adb**:ADB Key'."\n"
+ .'- **ssh**:SSH Key',
'type' => 'string',
'required' => false,
- 'example' => '2021-10-18T16:00:00Z',
+ 'example' => 'ssh',
+ 'default' => 'adb',
+ 'enum' => ['adb', 'ssh'],
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'SnapshotDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '快照周期数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '快照周期数据列表',
- 'type' => 'object',
- 'properties' => [
- 'SnapshotValue' => [
- 'description' => '截图量数值。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2015-12-10T20:00:00Z',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
- ],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
- ],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'title' => '上传公钥',
+ 'changeSet' => [
+ ['createdAt' => '2024-09-12T08:34:15.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadPublicKey'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UploadPublicKey',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"SnapshotDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"SnapshotValue\\": \\"1\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取域名快照数据',
- 'summary' => '获取域名快照数据。',
],
- 'DescribeVsDomainRegionData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'VerifyVsDomainOwner' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
'parameters' => [
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
- ],
+ 'schema' => ['description' => '视图计算域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.aliyundoc.com'],
],
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-30T16:00:00Z',
- ],
- ],
- [
- 'name' => 'EndTime',
+ 'name' => 'VerifyType',
'in' => 'query',
'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
+ 'description' => '校验方式,取值:'."\n"
+ ."\n"
+ .'- **dnsCheck**:DNS验证。'."\n"
+ .'- **fileCheck**:文件验证。',
'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-31T15:59:59Z',
+ 'required' => true,
+ 'enumValueTitles' => ['fileCheck' => '文件验证', 'dnsCheck' => 'DNS验证'],
+ 'example' => 'dnsCheck',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'EndTime' => [
- 'description' => '结束时间'."\n",
- 'type' => 'string',
- 'example' => '2021-10-31T15:59:59Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间'."\n",
- 'type' => 'string',
- 'example' => '2021-10-30T16:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '时间间隔。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'Value' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RegionProportionData' => [
- 'description' => '数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据。',
- 'type' => 'object',
- 'properties' => [
- 'TotalQuery' => [
- 'description' => '总请求次数',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'TotalBytes' => [
- 'description' => '总流量',
- 'type' => 'string',
- 'example' => '2400057',
- ],
- 'AvgResponseRate' => [
- 'description' => '平均响应速度,单位:byte/秒',
- 'type' => 'string',
- 'example' => '154.3345765545624',
- ],
- 'AvgResponseTime' => [
- 'description' => '平均响应时间,单位:毫秒。',
- 'type' => 'string',
- 'example' => '5183.666666666667',
- ],
- 'ReqErrRate' => [
- 'description' => '请求错误率,例如返回90即为90%。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'AvgObjectSize' => [
- 'description' => '响应平均大小。单位:byte。',
- 'type' => 'string',
- 'example' => '2888253.7875',
- ],
- 'Bps' => [
- 'description' => '带宽。',
- 'type' => 'string',
- 'example' => '380.9614285714286',
- ],
- 'Qps' => [
- 'description' => '每秒查询率。'."\n",
- 'type' => 'string',
- 'example' => '0.001746031746031746',
- ],
- 'RegionEname' => [
- 'description' => '地区英文名称。',
- 'type' => 'string',
- 'example' => 'chongqing',
- ],
- 'Region' => [
- 'description' => '地区信息。',
- 'type' => 'string',
- 'example' => '重庆市',
- ],
- 'Proportion' => [
- 'description' => '访问占比数据。例如:返回90即为90% 。'."\n",
- 'type' => 'string',
- 'example' => '0.01155980271270037',
- ],
- 'BytesProportion' => [
- 'description' => '总流量占比,例如返回90即为90%。',
- 'type' => 'string',
- 'example' => '0.003544181046236794',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'Content' => ['description' => '校验内容。'."\n"
+ ."\n"
+ .'> '."\n"
+ .'调用成功不返回该参数,调用失败返回校验内容。', 'type' => 'string', 'example' => 'verify_dffeb6610035dcb77b413a59c32c****'."\n"],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32c****\\\\n\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\"\\n}","type":"json"}]',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyVsDomainOwner'],
+ ],
+ ],
+ 'ramActions' => [],
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vs.cn-shenzhen.aliyuncs.com', 'endpoint' => 'vs.cn-shenzhen.aliyuncs.com', 'vpc' => 'vs-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vs.cn-qingdao.aliyuncs.com', 'endpoint' => 'vs.cn-qingdao.aliyuncs.com', 'vpc' => 'vs-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vs.cn-beijing.aliyuncs.com', 'endpoint' => 'vs.cn-beijing.aliyuncs.com', 'vpc' => 'vs-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vs.cn-shanghai.aliyuncs.com', 'endpoint' => 'vs.cn-shanghai.aliyuncs.com', 'vpc' => 'vs-vpc.cn-shanghai.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'ConfigAlreadyExists', 'message' => 'The specified configuration already exists.', 'http_code' => 400, 'description' => '配置已存在'],
+ ['code' => 'Deny.TooMany.Stream', 'message' => 'The operation is denied because the maximum number of streams is exceeded.', 'http_code' => 403, 'description' => 'stream数目超过上限'],
+ ['code' => 'DomainOwnerVerifyFail', 'message' => 'Owner verification of the root domain failed.', 'http_code' => 400, 'description' => '域名归属校验失败'],
+ ['code' => 'Duration.Exceed', 'message' => 'The duration between StartTime and EndTime is too long.', 'http_code' => 400, 'description' => 'StartTime和EndTime间隔过大'],
+ ['code' => 'Forbidden.General', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 403, 'description' => '缺少权限'],
+ ['code' => 'Invalid.DuplicateSubscriberName', 'message' => 'The specified subscriber nickname already exists.', 'http_code' => 400, 'description' => '订阅者昵称重复'],
+ ['code' => 'Invalid.SubscriberIdNotFound', 'message' => 'The specified SubscriberId does not exist.', 'http_code' => 400, 'description' => '指定的订阅者Id不存在'],
+ ['code' => 'InvalidDuration.ExceedOneDay', 'message' => 'The duration between StartTime and EndTime cannot be longer than one day.', 'http_code' => 400, 'description' => '开始时间和结束时间,间隔不能超过一天。'],
+ ['code' => 'InvalidEndTime.Malformed', 'message' => 'The format of the specified EndTime is invalid.', 'http_code' => 400, 'description' => '截止时间格式不对'],
+ ['code' => 'InvalidEndTime.Mismatch', 'message' => 'The specified EndTime is earlier than the StartTime.', 'http_code' => 400, 'description' => '结束时间早于开始时间,请检查'],
+ ['code' => 'InvalidInterval.Malformed', 'message' => 'The specified Interval is invalid.', 'http_code' => 400, 'description' => '参数 Interval 不合法'],
+ ['code' => 'InvalidRequest.Body', 'message' => 'The specified request body is invalid.', 'http_code' => 400, 'description' => '请求体不合法'],
+ ['code' => 'InvalidRequest.General', 'message' => 'The specified request is invalid.', 'http_code' => 400, 'description' => '请求不合法'],
+ ['code' => 'InvalidRequest.Parameters', 'message' => 'The specified request parameter is invalid.', 'http_code' => 400, 'description' => '请求参数不合法'],
+ ['code' => 'InvalidResumeTime.Malformed', 'message' => 'The specified ResumeTime is invalid. Please check the parameter.', 'http_code' => 400, 'description' => 'ResumeTime参数错误,请您确认该ResumeTime参数是否正确。'],
+ ['code' => 'InvalidStartTime.Malformed', 'message' => 'The format of the specified StartTime is invalid.', 'http_code' => 400, 'description' => '开始时间格式不对'],
+ ['code' => 'InvalidStartTime.ValueNotSupported', 'message' => 'The specified StartTime is invalid.', 'http_code' => 400, 'description' => '不支持该开始时间'],
+ ['code' => 'InvalidTime.ValueNotSupported', 'message' => 'StartTime or EndTime is miss match.', 'http_code' => 400, 'description' => 'StartTime、EndTime参数错误'],
+ ['code' => 'Param.Missing.StartTime', 'message' => 'You must specify StartTime.', 'http_code' => 400, 'description' => '缺少参数StartTime'],
+ ['code' => 'QpsOverLimit', 'message' => 'Qps exceeded the limit for this domainName.', 'http_code' => 400, 'description' => '调用频率过高'],
+ ['code' => 'QuotaExceeded.Blacklist', 'message' => 'The maximum number of blacklist entries is exceeded.', 'http_code' => 400, 'description' => '黑名单条目过多'],
+ ['code' => 'ResourceNotFound.Device', 'message' => 'The specified device does not exist.', 'http_code' => 404, 'description' => '设备不存在'],
+ ['code' => 'ResourceNotFound.General', 'message' => 'The specified resource does not exist.', 'http_code' => 404, 'description' => '资源不存在'],
+ ['code' => 'ResourceNotFound.Group', 'message' => 'The specified group does not exist.', 'http_code' => 404, 'description' => '分组不存在'],
+ ['code' => 'ResourceNotFound.Record', 'message' => 'The specified record does not exist.', 'http_code' => 404, 'description' => '记录不存在'],
+ ['code' => 'ResourceNotFound.Stream', 'message' => 'The specified stream does not exist.', 'http_code' => 404, 'description' => '流不存在'],
+ ['code' => 'ResourceNotFound.Template', 'message' => 'The specified template does not exist.', 'http_code' => 404, 'description' => '模板不存在'],
+ ['code' => 'ServerError.Database', 'message' => 'A database error occurred while processing your request.', 'http_code' => 500, 'description' => '内部数据库错误'],
+ ['code' => 'ServerError.General', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '内部错误'],
+ ['code' => 'UserNotExists', 'message' => 'User does not exist, please register user information.', 'http_code' => 400, 'description' => '用户不存在,请注册用户信息'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateRenderingInstance'],
+ ],
+ 'createdAt' => '2025-12-03T03:08:05.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeRenderingInstance'],
+ ],
+ 'createdAt' => '2025-11-27T05:36:01.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListPublicKeys'],
+ ['description' => '响应参数发生变更', 'api' => 'ManageLogin'],
+ ['description' => '请求参数发生变更', 'api' => 'UploadPublicKey'],
+ ],
+ 'createdAt' => '2024-09-12T08:34:47.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '错误码发生变更', 'api' => 'DescribeVsUserResourcePackage'],
+ ],
+ 'createdAt' => '2024-01-24T16:00:13.000Z',
+ 'description' => '',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTransferStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainBpsData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindPurchasedDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SyncCatalogs'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteParentPlatform'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainPvData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshRenderingInstanceStreaming'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRenderingSession'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindTemplates'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindTemplate'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVsStreamsNotifyUrlConfig'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPublicKeys'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindTemplate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDirectories'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFilePushStatuses'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatforms'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewRenderingInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRenderingInstanceBandwidth'],
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsVerifyContent'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFileInfo'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTemplate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopMove'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFile'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceURL'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RebootRenderingInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRenderingInstanceStreamingInfo'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadPublicKey'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartPublishStream'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetVsDomainCertificate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindPurchasedDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsTopDomainsByFlow'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstanceSettings'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyVsDomainOwner'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRenderingInstanceSettings'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ForbidVsStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindPurchasedDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceChannels'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateParentPlatform'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRenderingInstanceConfiguration'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AddVsPullStreamInfoConfig'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVsDomainConfigs'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplate'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateVsPullStreamInfoConfig'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsOnlineList'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainConfigs'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTemplate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAccountStat'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindParentPlatformDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFiles'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingInstanceGateway'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDevicesData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindParentPlatformDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManageLogin'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainReqTrafficData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadCloudApp'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindPurchasedDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamVodList'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchSetVsDomainConfigs'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsUserResourcePackage'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindTemplate'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainRegionData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetRenderingInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStartDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRenderingInstanceCommandsStatus'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStartStreams'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadFile'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PushFile'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreamURL'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindTemplate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRenderingInstanceConfiguration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRenderingInstanceSettings'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceChannels'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceCapture'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsCertificateList'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainRecordData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartRecordStream'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsNotifyUrlConfig'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartTransferStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopPublishStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetPreset'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InstallCloudApp'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinuousMove'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartParentPlatform'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingDataPackage'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStreamSnapshot'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDeviceAlarm'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindParentPlatformDevices'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsCertificateDetail'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDeviceAlarm'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopAdjust'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePresets'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecoverRenderingDataPackage'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingInstances'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseRenderingDataPackage'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GotoPreset'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingInstanceGateway'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsUpPeakPublishStreamData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindParentPlatformDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstanceConfiguration'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStopStreams'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVsPullStreamInfoConfig'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStream'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainUvData'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ResumeVsStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopRecordStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePurchasedDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRenderingInstance'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsPullStreamInfoConfig'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDirectory'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudApp'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindTemplates'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePreset'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUnbindDirectories'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePurchasedDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecords'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatformDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplates'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTemplate'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyParentPlatform'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainTrafficData'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainCertificateInfo'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRenderingDataPackages'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ContinuousAdjust'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroups'],
+ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainPvUvData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePublicKey'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleaseRenderingInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UninstallCloudApp'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnlockDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchBindDirectories'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainDetail'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainReqBpsData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudApps'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchStopDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRenderingInstanceGateway'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRenderingInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVsDomainSnapshotData'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVodStreamURL'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePublishStreamStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeStreams'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudAppInstallations'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'SetVsStreamsNotifyUrlConfig'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDeviceGateway'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BatchForbidVsStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendRenderingInstanceCommands'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDevices'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentPlatform'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeVsStreamsPublishList'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BatchResumeVsStream'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartDevice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudAppInfo'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRenderingInstance'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'VideoSurveillanceSystem',
+ 'productName' => '视图计算',
+ 'ramCodes' => ['vs'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'DescribeDevices',
+ 'description' => '查询设备列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'AddHiveEdgeWorkers',
+ 'description' => '绑定负载到指定集群',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:AddHiveEdgeWorkers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'BatchBindTemplates',
+ 'description' => '批量绑定模板',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'BatchUnbindPurchasedDevices',
+ 'description' => '批量解绑已购买设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindPurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-10-31T15:59:59Z\\",\\n \\"StartTime\\": \\"2021-10-30T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"Value\\": {\\n \\"RegionProportionData\\": [\\n {\\n \\"TotalQuery\\": \\"3\\",\\n \\"TotalBytes\\": \\"2400057\\",\\n \\"AvgResponseRate\\": \\"154.3345765545624\\",\\n \\"AvgResponseTime\\": \\"5183.666666666667\\",\\n \\"ReqErrRate\\": \\"0\\",\\n \\"AvgObjectSize\\": \\"2888253.7875\\",\\n \\"Bps\\": \\"380.9614285714286\\",\\n \\"Qps\\": \\"0.001746031746031746\\",\\n \\"RegionEname\\": \\"chongqing\\",\\n \\"Region\\": \\"重庆市\\",\\n \\"Proportion\\": \\"0.01155980271270037\\",\\n \\"BytesProportion\\": \\"0.003544181046236794\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取域名区域数据',
- 'summary' => '获取域名区域数据。',
- ],
- 'DescribeVsDomainBpsData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DeleteCloudApp',
+ 'description' => '删除应用',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteCloudApp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeComfyUserDatas',
+ 'description' => '查询用户数据集',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyUserDatas',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyDeviceCapture',
+ 'description' => '修改设备捕获',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceCapture',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeTemplate',
+ 'description' => '查询模板',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名,若参数为空,默认返回所有加速域名合并后数据<br>可输入需要查询的加速域名<br>支持批量域名查询,多个域名用逗号(半角)分隔',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'UploadCloudApp',
+ 'description' => '上传应用',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:UploadCloudApp',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-12-26T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'DescribeGroups',
+ 'description' => '查询空间列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-02T02:30:48Z',
+ ],
+ [
+ 'apiName' => 'BatchStopDevices',
+ 'description' => '批量停止设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStopDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '300',
- 'enum' => [
- '300',
- '3600',
- '86400',
- ],
+ ],
+ [
+ 'apiName' => 'PushFile',
+ 'description' => '推送文件',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:PushFile',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
- [
- 'name' => 'IspNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '运营商英文名,通过DescribeCdnRegionAndIsp接口获得,不传为所有运营商'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'unicom',
+ ],
+ [
+ 'apiName' => 'BatchDeleteDevices',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchDeleteDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'LocationNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域英文名,通过DescribeCdnRegionAndIsp接口获得,不传为所有区域'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'guangdong',
+ ],
+ [
+ 'apiName' => 'CreateDirectory',
+ 'description' => '创建目录',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-10-01T07:10:48Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-09-18T16:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '本次操作请求ID',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '域名',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '每条记录的时间间隔。单位:秒。',
- 'type' => 'string',
- 'example' => '2100',
- ],
- 'BpsDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '每个时间间隔的网络带宽数据。'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '每个时间间隔的网络带宽数据。',
- 'type' => 'object',
- 'properties' => [
- 'BpsValue' => [
- 'description' => 'bps数据值,单位:bit/second',
- 'type' => 'string',
- 'example' => '1000',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2015-12-10T20:00:00Z',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'BatchDeleteVsDomainConfigs',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchDeleteVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ [
+ 'apiName' => 'DeleteVsPullStreamInfoConfig',
+ 'description' => '删除拉取流信息配置',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDevice',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'StopRecordStream',
+ 'description' => '停止按需录制',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopRecordStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRenderingInstanceBandwidth',
+ 'description' => '更新云应用服务实例限速带宽',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstanceBandwidth',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-10-01T07:10:48Z\\",\\n \\"StartTime\\": \\"2021-09-18T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"2100\\",\\n \\"BpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"BpsValue\\": \\"1000\\",\\n \\"TimeStamp\\": \\"2015-12-10T20:00:00Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询域名网络带宽监控数据',
- 'summary' => '查询域名网络带宽监控数据。',
- ],
- 'DescribeVsDomainReqBpsData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ModifyDeviceChannels',
+ 'description' => '修改设备通道',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'CreateStreamSnapshot',
+ 'description' => '触发按需截图',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateStreamSnapshot',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeVsDomainReqBpsData',
+ 'description' => '获取域名网络请求监控数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainReqBpsData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeComfyUserDataDownloadUrl',
+ 'description' => '获取用户数据下载链接',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyUserDataDownloadUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'DescribePresets',
+ 'description' => '查询预置位',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePresets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-15T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'BindTemplate',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-16T07:00:46Z',
+ ],
+ [
+ 'apiName' => 'DeleteParentPlatform',
+ 'description' => '删除上级平台',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒'."\n",
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 300 => '300',
- 3600 => '3600',
- 86400 => '86400',
- ],
- 'example' => '300',
+ ],
+ [
+ 'apiName' => 'MoveHiveEdgeWorkers',
+ 'description' => '移动负载到指定集群',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:MoveHiveEdgeWorkers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'IspNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'telecom',
+ ],
+ [
+ 'apiName' => 'DescribeDeviceGateway',
+ 'description' => '查询设备网关',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'LocationNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'beijing',
+ ],
+ [
+ 'apiName' => 'DescribeVsStreamsOnlineList',
+ 'description' => '查询所有正在推的流的信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsOnlineList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2021-09-24T03:30:46Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间',
- 'type' => 'string',
- 'example' => '2021-12-24T16:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '每条记录的时间间隔,以秒为单位。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'ReqBpsDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2021-12-24T16:00:00Z',
- ],
- 'ReqBpsValue' => [
- 'description' => 'bps数据值,单位:bit/second'."\n",
- 'type' => 'string',
- 'example' => '1000',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeRenderingInstanceSettings',
+ 'description' => '查询云应用服务实例配置',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstanceSettings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ [
+ 'apiName' => 'DescribeVsCertificateDetail',
+ 'description' => '获取证书详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsCertificateDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'AddVsPullStreamInfoConfig',
+ 'description' => '添加拉流信息配置',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:AddVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'StartDevice',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'RenewRenderingInstance',
+ 'description' => '云应用服务实例续费',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RenewRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-24T03:30:46Z\\",\\n \\"StartTime\\": \\"2021-12-24T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"ReqBpsDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2021-12-24T16:00:00Z\\",\\n \\"ReqBpsValue\\": \\"1000\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取域名网络请求监控数据',
- 'summary' => '获取域名网络请求监控数据。',
- ],
- 'DescribeVsDomainTrafficData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'SyncCatalogs',
+ 'description' => '同步平台通道',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:SyncCatalogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribePurchasedDevices',
+ 'description' => '查询已购买设备列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDeviceURL',
+ 'description' => '查询设备URL',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [
+ [
+ 'apiName' => 'RefreshRenderingInstanceStreaming',
+ 'description' => '刷新云应用服务实例流连接',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RefreshRenderingInstanceStreaming',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateComfyTask',
+ 'description' => '启动Comfy任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateComfyTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRenderingProjectInstances',
+ 'description' => '查询项目的实例关联信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePurchasedDevice',
+ 'description' => '查询已购买设备',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribePurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'CreateRenderingInstance',
+ 'description' => '云应用服务实例创建',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-08-18T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'UnbindDirectory',
+ 'description' => '从目录里解绑设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-21T02:50:42Z',
+ ],
+ [
+ 'apiName' => 'ModifyRenderingChargeType',
+ 'description' => '云应用服务实例付费方式变配',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingChargeType',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:vs::{#accountId}:crs/{#CrsId}'],
],
],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询数据的时间粒度,支持300, 3600和86400秒。不传和传的值不支持时,使用默认值300秒',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3600',
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainSnapshotData',
+ 'description' => '获取域名快照数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainSnapshotData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'IspNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'telecom',
+ ],
+ [
+ 'apiName' => 'DeleteHive',
+ 'description' => '删除集群',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteHive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'LocationNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'beijing',
+ ],
+ [
+ 'apiName' => 'ModifyTemplate',
+ 'description' => '修改模板',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2021-09-20T07:10:42Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2021-10-25T16:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '该条任务请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '时间间隔,单位:秒。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'TrafficDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '每个时间间隔的流量数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '每个时间间隔的流量数据。',
- 'type' => 'object',
- 'properties' => [
- 'TrafficValue' => [
- 'description' => '流量数据值。单位:Byte。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2021-09-20T07:10:42Z',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ResetRenderingInstance',
+ 'description' => '重置云应用服务实例',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ResetRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ [
+ 'apiName' => 'DeleteRenderingInstanceGateway',
+ 'description' => '删除自定义网关',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'ListRenderingInstanceGateway',
+ 'description' => '查询自定义网关',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteVsStreamsNotifyUrlConfig',
+ 'description' => '删除推流回调配置',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'BatchUnbindTemplates',
+ 'description' => '批量解除绑定模板',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-20T07:10:42Z\\",\\n \\"StartTime\\": \\"2021-10-25T16:00:00Z\\",\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"TrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TrafficValue\\": \\"100\\",\\n \\"TimeStamp\\": \\"2021-09-20T07:10:42Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取域名流量数据',
- 'summary' => '获取域名流量数据。',
- ],
- 'DescribeVsDomainReqTrafficData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'BatchBindPurchasedDevices',
+ 'description' => '批量绑定购买设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindPurchasedDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'RebootRenderingServer',
+ 'description' => '重启云应用服务实例所属主机',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:RebootRenderingServer',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateVsPullStreamInfoConfig',
+ 'description' => '更新拉流信息配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeVsStreamsPublishList',
+ 'description' => '获取VS流推流记录',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsPublishList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'GetRenderingInstanceStreamingInfo',
+ 'description' => '查询云应用服务实例流连接信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingInstanceStreamingInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据起始时间点,日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ<br> 最小数据粒度为5分钟<br> 不写默认读取过去24小时数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-09-30T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'DescribeVsPullStreamInfoConfig',
+ 'description' => '获取拉流信息配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsPullStreamInfoConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间需大于起始时间;获日期格式按照ISO8601表示法,并使用UTC时间。<br>格式为:YYYY-MM-DDThh:mm:ssZ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2021-10-13T10:00:41Z',
+ ],
+ [
+ 'apiName' => 'UnlockDevice',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnlockDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询数据的时间粒度。单位:秒。取值:'."\n"
- .'- **300**(默认值)。'."\n"
- .'- **3600**。'."\n"
- .'- **86400**。'."\n"
- ."\n"
- .'> 不传或传值不支持时,使用默认值**300**秒。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3600',
+ ],
+ [
+ 'apiName' => 'StopTransferStream',
+ 'description' => '停止传输流',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopTransferStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'IspNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '运营商英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有运营商。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'unicom',
+ ],
+ [
+ 'apiName' => 'CancelComfyTask',
+ 'description' => '取消Comfy任务',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:CancelComfyTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'LocationNameEn',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域英文名。通过DescribeCdnRegionAndIsp接口获得,不传该参数代表查询所有区域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'shanghai',
+ ],
+ [
+ 'apiName' => 'ListFilePushStatuses',
+ 'description' => '查询文件推送状态信息列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListFilePushStatuses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'EndTime' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '2021-09-22T03:40:41Z',
- ],
- 'StartTime' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '2021-09-21T16:00:00Z',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9BEC5E85-C76B-56EF-A922-860EFDB8B64B',
- ],
- 'DomainName' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'example' => 'example.aliyundoc.com',
- ],
- 'DataInterval' => [
- 'description' => '查询数据的时间粒度。',
- 'type' => 'string',
- 'example' => '3600',
- ],
- 'ReqTrafficDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '每个时间间隔的请求数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '每个时间间隔的请求数据。',
- 'type' => 'object',
- 'properties' => [
- 'ReqTrafficValue' => [
- 'description' => '总流量。',
- 'type' => 'string',
- 'example' => '10000',
- ],
- 'TimeStamp' => [
- 'description' => '时间片起始时刻。',
- 'type' => 'string',
- 'example' => '2021-09-22T03:40:41Z',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DelHiveEdgeWorkers',
+ 'description' => '从集群解绑负载',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:DelHiveEdgeWorkers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ [
+ 'apiName' => 'DescribeVsCertificateList',
+ 'description' => '获取证书列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsCertificateList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'StartRenderingSession',
+ 'description' => '启动会话',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyDeviceAlarm',
+ 'description' => '修改设备报警',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDeviceAlarm',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'ReleaseRenderingInstance',
+ 'description' => '云应用服务实例释放',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ReleaseRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": \\"2021-09-22T03:40:41Z\\",\\n \\"StartTime\\": \\"2021-09-21T16:00:00Z\\",\\n \\"RequestId\\": \\"9BEC5E85-C76B-56EF-A922-860EFDB8B64B\\",\\n \\"DomainName\\": \\"example.aliyundoc.com\\",\\n \\"DataInterval\\": \\"3600\\",\\n \\"ReqTrafficDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"ReqTrafficValue\\": \\"10000\\",\\n \\"TimeStamp\\": \\"2021-09-22T03:40:41Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取 vs 域名请求流量数据',
- 'summary' => '获取 vs 域名请求流量数据。',
- ],
- 'DescribeVsDevicesData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UploadFile',
+ 'description' => '上传文件',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UploadFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeRecords',
+ 'description' => '查询录制记录列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRecords',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'StopRenderingSession',
+ 'description' => '关闭会话',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [],
- 'parameters' => [
- [
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按空间ID查询。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '348*****174-cn-qingdao',
+ [
+ 'apiName' => 'StartStream',
+ 'description' => '启动流',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据的起始时间。 '."\n"
- .'> - 日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ'."\n"
- .'> - 最小数据粒度为5分钟。'."\n"
- .'> - 不填的话,默认读取过去 24 小时数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-04T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'RecoverRenderingDataPackage',
+ 'description' => '恢复数据到云应用服务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RecoverRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取数据的结束时间,需要大于起始时间。'."\n"
- ."\n"
- .'> - 日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ'."\n"
- .'> - 最小数据粒度为5分钟。'."\n"
- .'> - 不填的话,默认读取过去 24 小时数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-30T16:00:00Z',
+ ],
+ [
+ 'apiName' => 'BindDirectory',
+ 'description' => '绑定设备到目录',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- 'DevicesDataPerInterval' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DataModule' => [
- 'description' => '每个时间间隔的接入设备用量。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TimeStamp' => [
- 'description' => '统计数据的时间点。',
- 'type' => 'string',
- 'example' => '2022-01-04T16:00:00Z',
- ],
- 'DevicesDataValue' => [
- 'description' => '接入设备用量数值。单位:个。',
- 'type' => 'string',
- 'example' => '128',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ModifyDirectory',
+ 'description' => '修改目录',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'InvalidStartTime.Malformed',
- 'errorMessage' => 'The format of the specified StartTime is invalid.',
+ [
+ 'apiName' => 'UploadPublicKey',
+ 'description' => '上传公钥',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UploadPublicKey',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Malformed',
- 'errorMessage' => 'The format of the specified EndTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTemplates',
+ 'description' => '查询模板列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'InvalidEndTime.Mismatch',
- 'errorMessage' => 'The specified EndTime is earlier than the StartTime.',
+ ],
+ ],
+ [
+ 'apiName' => 'GetRenderingInstanceCommandsStatus',
+ 'description' => '查看实例控制命令执行状态',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingInstanceCommandsStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#accountId}:crs/{#CrsId}'],
],
- [
- 'errorCode' => 'InvalidStartTime.ValueNotSupported',
- 'errorMessage' => 'The specified StartTime is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'BatchUnbindTemplate',
+ 'description' => '批量解除绑定模板到指定的实例',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"DevicesDataPerInterval\\": {\\n \\"DataModule\\": [\\n {\\n \\"TimeStamp\\": \\"2022-01-04T16:00:00Z\\",\\n \\"DevicesDataValue\\": \\"128\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取接入设备用量数据',
- 'summary' => '获取接入设备用量数据。',
- 'description' => '不指定 StartTime 和 EndTime 时,默认读取过去24小时的数据,同时支持按指定的起止时间查询,两者需要同时指定。'."\n"
- .'最大查询范围 31 天。'."\n"
- ."\n"
- .'* 支持批量域名查询,多个域名用英文逗号(,)分隔。'."\n"
- .'* 最多可获取最近 90 天的数据。'."\n"
- .'* 时间粒度为小时。',
- ],
- 'DescribeVsUpPeakPublishStreamData' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeRenderingInstance',
+ 'description' => '查询云应用服务实例详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchBindDirectories',
+ 'description' => '批量绑定设备到目录',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeComfyUserDataUploadUrl',
+ 'description' => '获取用户文件上传URL',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyUserDataUploadUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateRenderingInstanceGateway',
+ 'description' => '创建自定义网关',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingInstanceGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDeviceChannels',
+ 'description' => '',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDeviceChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '拉流开始时间,UTC格式, StartTime和EndTime时间间隔在30天内',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2017-12-10T20:00:00Z',
+ [
+ 'apiName' => 'BatchSetVsDomainConfigs',
+ 'description' => '批量配置域名',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchSetVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '拉流结束时间,UTC格式, StartTime和EndTime时间间隔在30天内,且EndTime超过当前时间',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2017-12-10T21:00:00Z',
+ ],
+ [
+ 'apiName' => 'UnbindTemplate',
+ 'description' => '解除绑定模板到指定的实例',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DomainSwitch',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名统计开关,取值:on或者off;on:开启域名统计级别,off:用户级别数据。默认统计用户级别数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'on',
- 'enum' => [
- 'on',
- 'off',
- ],
+ ],
+ [
+ 'apiName' => 'DescribeVsUpPeakPublishStreamData',
+ 'description' => '查询用户每日上行并发推流数峰值',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsUpPeakPublishStreamData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '输入域名,查域名粒度数据',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ ],
+ [
+ 'apiName' => 'CreateComfyUserDataDir',
+ 'description' => '创建用户数据目录',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateComfyUserDataDir',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '该条任务请求ID',
- 'type' => 'string',
- 'example' => '27A3C548-A699-48F9-97CD-F35D81075AF3',
- ],
- 'DescribeVsUpPeakPublishStreamDatas' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DescribeVsUpPeakPublishStreamData' => [
- 'description' => '每日峰值并发推流数据',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'QueryTime' => [
- 'description' => '查询的每日时间',
- 'type' => 'string',
- 'example' => '1522166400000',
- ],
- 'BandWidth' => [
- 'type' => 'string',
- ],
- 'StatName' => [
- 'description' => '统计数据属性名称。当DomainSwitch取值为on时,显示用户直播域名;为off或者不传值是显示用户Id。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'PeakTime' => [
- 'description' => '每日峰值并发推流数的峰值时刻',
- 'type' => 'string',
- 'example' => '1522252320000',
- ],
- 'PublishStreamNum' => [
- 'description' => '每日峰值并发推流数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '31',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'BatchBindTemplate',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"27A3C548-A699-48F9-97CD-F35D81075AF3\\",\\n \\"DescribeVsUpPeakPublishStreamDatas\\": {\\n \\"DescribeVsUpPeakPublishStreamData\\": [\\n {\\n \\"QueryTime\\": \\"1522166400000\\",\\n \\"BandWidth\\": \\"\\",\\n \\"StatName\\": \\"example.com\\",\\n \\"PeakTime\\": \\"1522252320000\\",\\n \\"PublishStreamNum\\": 31\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeVsUpPeakPublishStreamDataResponse>\\n <RequestId>27A3C548-A699-48F9-97CD-F35D81075AF3</RequestId>\\n <DescribeVsUpPeakPublishStreamDatas>\\n <QueryTime>1522166400000</QueryTime>\\n <StatName>example.com</StatName>\\n <PeakTime>1522252320000</PeakTime>\\n <PublishStreamNum>31</PublishStreamNum>\\n </DescribeVsUpPeakPublishStreamDatas>\\n</DescribeVsUpPeakPublishStreamDataResponse>","errorExample":""}]',
- 'title' => '查询用户每日上行并发推流数峰值',
- 'summary' => '查询用户的每日上行并发推流数峰值。',
- ],
- 'VerifyVsDomainOwner' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'BatchBindParentPlatformDevices',
+ 'description' => '批量绑定父平台设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchBindParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeVsDomainReqTrafficData',
+ 'description' => '获取 vs 域名请求流量数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainReqTrafficData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateParentPlatform',
+ 'description' => '添加上级平台',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'UnbindPurchasedDevice',
+ 'description' => '解绑已购买设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindPurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VerifyType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '校验方式,取值:'."\n"
- ."\n"
- .'- **dnsCheck**:DNS验证。'."\n"
- .'- **fileCheck**:文件验证。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'fileCheck' => '文件验证',
- 'dnsCheck' => 'DNS验证',
- ],
- 'example' => 'dnsCheck',
+ ],
+ [
+ 'apiName' => 'DeleteGroup',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'Content' => [
- 'description' => '校验内容。'."\n"
- ."\n"
- .'> '."\n"
- .'调用成功不返回该参数,调用失败返回校验内容。',
- 'type' => 'string',
- 'example' => 'verify_dffeb6610035dcb77b413a59c32c****'."\n",
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- ],
+ [
+ 'apiName' => 'StopMove',
+ 'description' => '停止转动镜头',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopMove',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c32c****\\\\n\\"\\n}","type":"json"}]',
- ],
- 'DescribeVsVerifyContent' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UpdateFileInfo',
+ 'description' => '更新文件基本信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateFileInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'UpdateCloudAppInfo',
+ 'description' => '更新应用基本信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateCloudAppInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'BindParentPlatformDevice',
+ 'description' => '绑定父平台设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindParentPlatformDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '视图计算域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.aliyundoc.com',
+ [
+ 'apiName' => 'CreateGroup',
+ 'description' => '创建业务空间',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'Content' => [
- 'description' => '校验内容。',
- 'type' => 'string',
- 'example' => 'verify_dffeb6610035dcb77b413a59c3*****',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BEA5625F-8FCF-48F4-851B-CA63946DA664',
- ],
- ],
+ [
+ 'apiName' => 'StartRecordStream',
+ 'description' => '启动按需录制',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartRecordStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BEA5625F-8FCF-48F4-851B-CA63946DA664\\",\\n \\"Content\\": \\"verify_dffeb6610035dcb77b413a59c3*****\\"\\n}","type":"json"}]',
- ],
- 'StartPublishStream' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeVsDevicesData',
+ 'description' => '获取接入设备用量数据',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDevicesData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeDirectory',
+ 'description' => '查询目录',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UnbindParentPlatformDevice',
+ 'description' => '解除父平台绑定的设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:UnbindParentPlatformDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ [
+ 'apiName' => 'DeletePreset',
+ 'description' => '删除预置位',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeletePreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PublishUrl',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'BatchForbidVsStream',
+ 'description' => '批量禁止VS流',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchForbidVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Message' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'DescribeStreamVodList',
+ 'description' => '获取流视频点播列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreamVodList',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [],
- ],
- 'DescribePublishStreamStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeDirectories',
+ 'description' => '查询目录列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeGroup',
+ 'description' => '查询业务空间',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'StartTransferStream',
+ 'description' => '启动传输流',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartTransferStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ [
+ 'apiName' => 'ForbidVsStream',
+ 'description' => '禁止某条流的推送',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ForbidVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Message' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'DescribeVsDomainUvData',
+ 'description' => '获取 vs 域名 uv 数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainUvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '',
- ],
- 'StopPublishStream' => [
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ContinuousAdjust',
+ 'description' => '持续调节镜头',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ContinuousAdjust',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeComfyProductionDownloadUrl',
+ 'description' => '获取生成结果的下载链接',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyProductionDownloadUrl',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDevice',
+ 'description' => '查询设备',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ [
+ 'apiName' => 'DescribeVodStreamURL',
+ 'description' => '获取vod流URL',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVodStreamURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Message' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'ListRenderingProjects',
+ 'description' => '查询项目列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingProjects',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyHiveAttribute',
+ 'description' => '修改集群属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyHiveAttribute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAccountStat',
+ 'description' => '查询账号状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeAccountStat',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainBpsData',
+ 'description' => '查询域名网络带宽监控数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainBpsData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainRegionData',
+ 'description' => '获取域名区域数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainRegionData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteFile',
+ 'description' => '删除文件',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetPreset',
+ 'description' => '设置预置位',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetPreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRenderingInstanceSettings',
+ 'description' => '更新云应用服务实例设置',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingInstanceSettings',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetVsStreamsNotifyUrlConfig',
+ 'description' => '设置 VS 流通知 URL 配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteRenderingProject',
+ 'description' => '删除项目',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RebootRenderingInstance',
+ 'description' => '重启云应用服务实例',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:RebootRenderingInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsStreamsNotifyUrlConfig',
+ 'description' => '获取 VS 流通知 URL 配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsStreamsNotifyUrlConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UninstallCloudApp',
+ 'description' => '卸载应用',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UninstallCloudApp',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteComfyUserData',
+ 'description' => '删除用户数据',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteComfyUserData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteRenderingInstanceConfiguration',
+ 'description' => '删除云应用服务实例的配置设置',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchResumeVsStream',
+ 'description' => '批量恢复某条监控流的推送',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchResumeVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeComfyProductions',
+ 'description' => '获取生成物列表',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyProductions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListEdgeWorkers',
+ 'description' => '查询负载信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListEdgeWorkers',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRenderingProject',
+ 'description' => '更新项目信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopDevice',
+ 'description' => '停止设备',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateDeviceAlarm',
+ 'description' => '创建设备告警',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDeviceAlarm',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchStopStreams',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStopStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'OpenVsService',
+ 'description' => '开通服务',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:OpenVsService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRenderingProjectInstanceStateMetrics',
+ 'description' => '查询项目实例状态统计信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:GetRenderingProjectInstanceStateMetrics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFiles',
+ 'description' => '查询文件列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListFiles',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateComfyWorkflow',
+ 'description' => '上传工作流',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateComfyWorkflow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStream',
+ 'description' => '查询流详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRenderingInstanceConfiguration',
+ 'description' => '更新云应用服务实例配置参数',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:UpdateRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ReleaseRenderingDataPackage',
+ 'description' => '云应用服务数据包释放',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ReleaseRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopStream',
+ 'description' => '停止流',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResumeVsStream',
+ 'description' => '恢复某条流的推送',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ResumeVsStream',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyDevice',
+ 'description' => '修改设备',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStreams',
+ 'description' => '查询流列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRenderingInstances',
+ 'description' => '查询云应用服务实例基本信息列表',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeParentPlatform',
+ 'description' => '查询上级平台',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeParentPlatformDevices',
+ 'description' => '查询上级平台下的设备列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudAppPatches',
+ 'description' => '查询云应用的Patch列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudAppPatches',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRenderingInstance',
+ 'description' => '云应用服务实例变配',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyComfyWorkflow',
+ 'description' => '修改Comfy工作流',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyComfyWorkflow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudAppInstallations',
+ 'description' => '查询应用安装信息列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudAppInstallations',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeComfyTasks',
+ 'description' => '查询Comfy任务列表',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyTasks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsUserResourcePackage',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsUserResourcePackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisassociateRenderingProjectInstances',
+ 'description' => '项目解除实例关联',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:DisassociateRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainConfigs',
+ 'description' => '查询域名配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainTrafficData',
+ 'description' => '获取域名流量数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainTrafficData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SendRenderingInstanceCommands',
+ 'description' => '下发云应用服务实例控制指令',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:SendRenderingInstanceCommands',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ManageLogin',
+ 'description' => '云应用服务实例安全登录管理',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ManageLogin',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeParentPlatforms',
+ 'description' => '查询上级平台列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeParentPlatforms',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRenderingSession',
+ 'description' => '查询会话信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchStartDevices',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStartDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListPublicKeys',
+ 'description' => '查询公钥信息列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListPublicKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDirectory',
+ 'description' => '删除目录',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteDirectory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateRenderingProject',
+ 'description' => ' 创建项目',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingProject',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ContinuousMove',
+ 'description' => '持续转动镜头',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:ContinuousMove',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyParentPlatform',
+ 'description' => '修改上级平台',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeStreamURL',
+ 'description' => '获取流URL',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeStreamURL',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteRenderingInstanceSettings',
+ 'description' => '删除云应用服务实例设置',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteRenderingInstanceSettings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyGroup',
+ 'description' => '修改业务空间',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRenderingSessions',
+ 'description' => '查询会话列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingSessions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopAdjust',
+ 'description' => '停止调节镜头',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StopAdjust',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteTemplate',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListHives',
+ 'description' => '查询集群信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListHives',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainDetail',
+ 'description' => '查询域名信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRenderingDataPackages',
+ 'description' => '查询数据包列表',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListRenderingDataPackages',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BindPurchasedDevice',
+ 'description' => '绑定已购买设备',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BindPurchasedDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainRecordData',
+ 'description' => '获取 vs 域名记录数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainRecordData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeletePublicKey',
+ 'description' => '删除公钥',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DeletePublicKey',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchUnbindParentPlatformDevices',
+ 'description' => '批量解除父平台设备绑定',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindParentPlatformDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartParentPlatform',
+ 'description' => '启动上级平台交互',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:StartParentPlatform',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetVsDomainCertificate',
+ 'description' => '设置域名证书信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:SetVsDomainCertificate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRenderingInstanceConfiguration',
+ 'description' => '查询云应用服务实例配置信息',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeRenderingInstanceConfiguration',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchStartStreams',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchStartStreams',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateDevice',
+ 'description' => '添加设备',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateTemplate',
+ 'description' => '创建模板',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:CreateTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRenderingInstanceAttribute',
+ 'description' => '修改云应用服务实例属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:ModifyRenderingInstanceAttribute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchUnbindDirectories',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:BatchUnbindDirectories',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateHive',
+ 'description' => '创建集群',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:CreateHive',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteComfyWorkflow',
+ 'description' => '删除Comfy工作流',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteComfyWorkflow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateRenderingDataPackage',
+ 'description' => '云应用服务数据包创建',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:CreateRenderingDataPackage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AssociateRenderingProjectInstances',
+ 'description' => '项目增加实例关联',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:AssociateRenderingProjectInstances',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSpecifications',
+ 'description' => '查询云应用服务规格',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:ListSpecifications',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudApps',
+ 'description' => '查询应用列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'vs:ListCloudApps',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsTopDomainsByFlow',
+ 'description' => '获取顶级域名',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsTopDomainsByFlow',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteComfyProduction',
+ 'description' => '删除生成物',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'vs:DeleteComfyProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainPvUvData',
+ 'description' => '获取vs域名pv和uv数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainPvUvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainCertificateInfo',
+ 'description' => '获取指定加速域名证书信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainCertificateInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVsDomainPvData',
+ 'description' => '获取域名PV数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeVsDomainPvData',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeComfyWorkflows',
+ 'description' => '查询Comfy工作流',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'vs:DescribeComfyWorkflows',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GotoPreset',
+ 'description' => '移动至预置位',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'vs:GotoPreset',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'InstallCloudApp',
+ 'description' => '安装应用',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'vs:InstallCloudApp',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'VideoSurveillanceSystem', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
],
],
],
- 'errorCodes' => [],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'vs.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'vs.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'vs.cn-shanghai.aliyuncs.com',
],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'vs.cn-shenzhen.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Crs', 'arn' => 'acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}'],
+ ['validationType' => 'always', 'resourceType' => 'Crs', 'arn' => 'acs:vs::{#accountId}:crs/{#CrsId}'],
+ ['validationType' => 'always', 'resourceType' => 'Crs', 'arn' => 'acs:vs::{#accountId}:crs/*'],
],
],
];