diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/iovcc/2018-05-01 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/iovcc/2018-05-01')
| -rw-r--r-- | data/zh_cn/iovcc/2018-05-01/api-docs.php | 24629 |
1 files changed, 10688 insertions, 13941 deletions
diff --git a/data/zh_cn/iovcc/2018-05-01/api-docs.php b/data/zh_cn/iovcc/2018-05-01/api-docs.php index 2dfa8c1..7e51db5 100644 --- a/data/zh_cn/iovcc/2018-05-01/api-docs.php +++ b/data/zh_cn/iovcc/2018-05-01/api-docs.php @@ -1,379 +1,145 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'iovcc', - 'version' => '2018-05-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'iovcc', 'version' => '2018-05-01'], 'directories' => [ [ - 'id' => 64847, - 'title' => '版本', + 'children' => ['CreateVersionPrepublish', 'CreateVersionTest', 'DeleteVersionTest', 'ListClientPluginVersions', 'FindPrepublishesByVersionId', 'FindVersionTests'], 'type' => 'directory', - 'children' => [ - 'CreateVersionPrepublish', - 'CreateVersionTest', - 'DeleteVersionTest', - 'ListClientPluginVersions', - 'FindPrepublishesByVersionId', - 'FindVersionTests', - ], + 'title' => '版本', + 'id' => 297503, ], [ - 'id' => 64854, - 'title' => '诊断', + 'children' => ['DescribeAssistReport', 'ListAssistActionDetails', 'ListAssistHistories', 'ListAssistHistoryDetails', 'DescribeAssistRTMPServerAddress', 'SubmitAssistReport'], 'type' => 'directory', - 'children' => [ - 'DescribeAssistReport', - 'ListAssistActionDetails', - 'ListAssistHistories', - 'ListAssistHistoryDetails', - 'DescribeAssistRTMPServerAddress', - 'SubmitAssistReport', - ], + 'title' => '诊断', + 'id' => 297510, ], [ - 'id' => 64862, - 'title' => '属性', + 'children' => ['CreateCustomizedProperty', 'DeleteCustomizedProperty', 'FindCustomizedProperties'], 'type' => 'directory', - 'children' => [ - 'CreateCustomizedProperty', - 'DeleteCustomizedProperty', - 'FindCustomizedProperties', - ], + 'title' => '属性', + 'id' => 297518, ], [ - 'id' => 64866, - 'title' => '过滤', + 'children' => ['CreateCustomizedFilter', 'DeleteAllCustomizedFilters', 'DeleteCustomizedFilter', 'UpdateCustomizedFilter', 'DescribeCustomizedFilter', 'FindCustomizedFilters'], 'type' => 'directory', - 'children' => [ - 'CreateCustomizedFilter', - 'DeleteAllCustomizedFilters', - 'DeleteCustomizedFilter', - 'UpdateCustomizedFilter', - 'DescribeCustomizedFilter', - 'FindCustomizedFilters', - ], + 'title' => '过滤', + 'id' => 297522, ], [ - 'id' => 64873, - 'title' => 'SDK', + 'children' => ['ListClientSdks', 'GenerateSdkDownloadInfo'], 'type' => 'directory', - 'children' => [ - 'ListClientSdks', - 'GenerateSdkDownloadInfo', - ], + 'title' => 'SDK', + 'id' => 297529, ], [ - 'id' => 64876, - 'title' => '订阅', + 'children' => ['CreateSchemaSubscribe', 'DeleteSchemaSubscribe', 'UpdateSchemaSubscribe', 'ListSchemaSubscribes'], 'type' => 'directory', - 'children' => [ - 'CreateSchemaSubscribe', - 'DeleteSchemaSubscribe', - 'UpdateSchemaSubscribe', - 'ListSchemaSubscribes', - ], + 'title' => '订阅', + 'id' => 297532, ], [ - 'id' => 64883, - 'title' => '命名空间', + 'children' => ['UpdateNamespaceData', 'GetNamespaceData', 'GetNamespaceStatisticsData'], 'type' => 'directory', - 'children' => [ - 'CreateNamespace', - 'DeleteNamespace', - 'UpdateNamespaceData', - 'GetNamespaceData', - 'GetNamespaceStatisticsData', - 'ListNamespaces', - ], + 'title' => '命名空间', + 'id' => 297539, ], [ - 'id' => 64890, - 'title' => '账号', + 'children' => ['DeleteOpenAccount', 'ListOpenAccountLinks', 'ListOpenAccounts', 'DescribeOpenAccount'], 'type' => 'directory', - 'children' => [ - 'DeleteOpenAccount', - 'ListOpenAccountLinks', - 'ListOpenAccounts', - 'DescribeOpenAccount', - ], + 'title' => '账号', + 'id' => 297546, ], [ - 'id' => 64895, - 'title' => '消息', + 'children' => ['CreateUpstreamAppKeyRelation', 'CreateUpstreamAppServer', 'DeleteUpstreamAppKeyRelation', 'DeleteUpstreamAppServer', 'UpdateUpstreamAppServer', 'ListMessageAcks', 'ListOfflineMessages', 'DescribeMessage', 'PushVersionMessage', 'FindVersionMessages', 'FindVersionMessageSendRecords'], 'type' => 'directory', - 'children' => [ - 'CreateUpstreamAppKeyRelation', - 'CreateUpstreamAppServer', - 'DeleteUpstreamAppKeyRelation', - 'DeleteUpstreamAppServer', - 'UpdateUpstreamAppServer', - 'ListMessageAcks', - 'ListOfflineMessages', - 'DescribeMessage', - 'PushVersionMessage', - 'FindVersionMessages', - 'FindVersionMessageSendRecords', - ], + 'title' => '消息', + 'id' => 297551, ], [ - 'id' => 64910, - 'title' => '应用版本', + 'children' => ['UpdateAppBlackWhiteVersions', 'UpdateAppVersionReleaseNote', 'UpdateAppVersionStatus', 'UpdateAppVersion', 'UpdateAppVersionRemark', 'GetDeviceAppUpdateFunnelEvents', 'PublishAppVersion', 'FindAppVersions'], 'type' => 'directory', - 'children' => [ - 'CreateAppVersion', - 'UpdateAppBlackWhiteVersions', - 'UpdateAppVersionReleaseNote', - 'UpdateAppVersionStatus', - 'UpdateAppVersion', - 'UpdateAppVersionRemark', - 'GetDeviceAppUpdateFunnelEvents', - 'PublishAppVersion', - 'FindAppVersions', - ], + 'title' => '应用版本', + 'id' => 297566, ], [ - 'id' => 64920, - 'title' => '系统版本', + 'children' => ['AddVersionBlackDevices', 'CreateOsVersion', 'DeleteVersionBlackDevices', 'DeleteVersionBlackDevicesById', 'DeleteVersionWhiteDevices', 'DeleteVersionWhiteDevicesById', 'UpdateOsBlackWhiteVersions', 'UpdateOsVersion', 'UpdateOsVersionReleaseNote', 'UpdateOsVersionRemark', 'UpdateOsVersionStatus', 'DescribeAppVersion', 'DescribeOsVersion', 'GetDeviceSystemUpdateFunnelEvents', 'DelayPublishOsVersion', 'FindOsVersions', 'FindVersionWhiteDevices', 'PublishOsVersion'], 'type' => 'directory', - 'children' => [ - 'AddVersionBlackDevices', - 'CreateOsVersion', - 'DeleteVersionBlackDevices', - 'DeleteVersionBlackDevicesById', - 'DeleteVersionWhiteDevices', - 'DeleteVersionWhiteDevicesById', - 'UpdateOsBlackWhiteVersions', - 'UpdateOsVersion', - 'UpdateOsVersionReleaseNote', - 'UpdateOsVersionRemark', - 'UpdateOsVersionStatus', - 'DescribeAppVersion', - 'DescribeOsVersion', - 'GetDeviceSystemUpdateFunnelEvents', - 'DelayPublishOsVersion', - 'FindOsVersions', - 'FindVersionWhiteDevices', - 'PublishOsVersion', - ], + 'title' => '系统版本', + 'id' => 297576, ], [ - 'id' => 64944, - 'title' => 'Schema', + 'children' => ['CreateShadowSchema', 'DeleteShadowSchema', 'UpdateShadowSchema', 'ListShadowSchemaDeviceModels', 'ListShadowSchemas', 'DescribeDefaultSchema', 'DescribeDeviceValiditySchema', 'DescribeShadowSchema'], 'type' => 'directory', - 'children' => [ - 'CreateShadowSchema', - 'DeleteShadowSchema', - 'UpdateShadowSchema', - 'ListShadowSchemaDeviceModels', - 'ListShadowSchemas', - 'DescribeDefaultSchema', - 'DescribeDeviceValiditySchema', - 'DescribeShadowSchema', - ], + 'title' => 'Schema', + 'id' => 297600, ], [ - 'id' => 64953, - 'title' => '函数', + 'children' => ['AddUploadedFunctionFileInfo', 'DeleteFunctionFile', 'ListDeployedFunctions', 'ListFunctionExecuteLog', 'ListFunctionFiles', 'ListFunctionFilesByProjectId', 'GenerateFunctionFileUploadMeta', 'InvokeFunction', 'DeployFunctionFile'], 'type' => 'directory', - 'children' => [ - 'AddUploadedFunctionFileInfo', - 'DeleteFunctionFile', - 'ListDeployedFunctions', - 'ListFunctionExecuteLog', - 'ListFunctionFiles', - 'ListFunctionFilesByProjectId', - 'GenerateFunctionFileUploadMeta', - 'InvokeFunction', - 'DeployFunctionFile', - ], + 'title' => '函数', + 'id' => 297609, ], [ - 'id' => 64963, - 'title' => '触发器', + 'children' => ['UpdateTrigger', 'ListTriggers'], 'type' => 'directory', - 'children' => [ - 'CreateTrigger', - 'DeleteTrigger', - 'UpdateTrigger', - 'ListTriggers', - ], + 'title' => '触发器', + 'id' => 297619, ], [ - 'id' => 64968, - 'title' => '设备', - 'type' => 'directory', 'children' => [ - 'AddVersionGroupDevices', - 'AddVersionWhiteDevices', - 'AddVersionWhiteDevicesByDeviceGroups', - 'CreateDeviceBrand', - 'CreateDeviceModel', - 'CreateVersionDeviceGroup', - 'DeleteAllVersionGroupDevices', - 'DeleteDevice', - 'DeleteVersionAllBlackDevices', - 'DeleteVersionAllWhiteDevices', - 'DeleteVersionDeviceGroup', - 'DeleteVersionGroupDevice', - 'DeleteVersionGroupDeviceById', - 'UpdateDeviceModel', - 'UpdateVersionDeviceGroup', - 'UpdateApiGatewayAppStatus', - 'UpdateProject', - 'DescribeDeviceModel', - 'DescribeDeviceOnlineInfo', - 'DescribeDeviceShadow', - 'DescribeVersionDeviceGroup', - 'QueryPrepublishPassedDeviceCount', - 'ListVersionDeviceGroups', - 'ListAssistDevices', - 'ListConnectLogs', - 'ListDeviceModels', - 'ListDevices', - 'ListDeviceTypes', - 'ListMessageReceivers', - 'DescribeDeviceBrand', - 'DescribeDeviceIdByOuterInfo', - 'DescribeDeviceInfo', - 'ConnectAssistDevice', - 'CountActivatedOrNewRegistrationDevice', - 'CountDeviceBrands', - 'CountDeviceModels', - 'CountDevices', - 'CountYunIdInfo', - 'DiagnosisVersion', - 'FindPrepublishPassedDevices', - 'FindVersionBlackDevices', - 'PushMessage', - 'FindVersionDeviceGroups', - 'FindVersionGroupDevices', + 'AddVersionGroupDevices', 'AddVersionWhiteDevices', 'AddVersionWhiteDevicesByDeviceGroups', 'CreateDeviceBrand', 'CreateDeviceModel', 'CreateVersionDeviceGroup', 'DeleteAllVersionGroupDevices', 'DeleteDevice', 'DeleteVersionAllBlackDevices', 'DeleteVersionAllWhiteDevices', 'DeleteVersionDeviceGroup', 'DeleteVersionGroupDevice', 'DeleteVersionGroupDeviceById', 'UpdateDeviceModel', 'UpdateVersionDeviceGroup', 'UpdateApiGatewayAppStatus', 'DescribeDeviceModel', 'DescribeDeviceOnlineInfo', 'DescribeDeviceShadow', 'DescribeVersionDeviceGroup', + 'QueryPrepublishPassedDeviceCount', 'ListVersionDeviceGroups', 'ListAssistDevices', 'ListConnectLogs', 'ListDeviceModels', 'ListDevices', 'ListDeviceTypes', 'ListMessageReceivers', 'DescribeDeviceBrand', 'DescribeDeviceIdByOuterInfo', 'DescribeDeviceInfo', 'ConnectAssistDevice', 'CountActivatedOrNewRegistrationDevice', 'CountDeviceBrands', 'CountDeviceModels', 'CountDevices', 'CountYunIdInfo', 'DiagnosisVersion', 'FindPrepublishPassedDevices', 'FindVersionBlackDevices', + 'PushMessage', 'FindVersionDeviceGroups', 'FindVersionGroupDevices', ], + 'type' => 'directory', + 'title' => '设备', + 'id' => 297624, ], [ - 'id' => 65016, - 'title' => '项目', + 'children' => ['CreateProjectApp', 'ListProjectApps', 'DescribeProjectAppSecurity'], 'type' => 'directory', - 'children' => [ - 'CreateProjectApp', - 'ListProjectApps', - 'ListProjects', - 'DescribeProjectAppSecurity', - ], + 'title' => '项目', + 'id' => 297672, ], [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', 'children' => [ - 'CreateRpcService', - 'DeleteProjectApp', - 'DeleteRpcService', - 'DescribeAssistWSServerAddress', - 'FindPrepublishesByParentId', - 'GenerateOssUploadMeta', - 'GenerateSysAppDownloadInfo', - 'GetOssUploadMeta', - 'ListApiGatewayApps', - 'ListApps', - 'ListClientPlugins', - 'ListDeviceBrands', - 'ListPreChecks', - 'ListRpcServices', - 'ListSupportFeatures', - 'ListUpstreamAppKeyRelations', - 'ListUpstreamAppServers', - 'UpdateVersionPrepublishActiveStatus', + 'CreateAppVersion', 'CreateNamespace', 'CreateRpcService', 'CreateTrigger', 'DeleteNamespace', 'DeleteProjectApp', 'DeleteRpcService', 'DeleteTrigger', 'DescribeAssistWSServerAddress', 'FindPrepublishesByParentId', 'GenerateOssUploadMeta', 'GenerateSysAppDownloadInfo', 'GetOssUploadMeta', 'ListApiGatewayApps', 'ListApps', 'ListClientPlugins', 'ListDeviceBrands', 'ListNamespaces', 'ListPreChecks', 'ListProjects', + 'ListRpcServices', 'ListSupportFeatures', 'ListUpstreamAppKeyRelations', 'ListUpstreamAppServers', 'UpdateProject', 'UpdateVersionPrepublishActiveStatus', ], + 'title' => '其他', + 'type' => 'directory', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateVersionPrepublish' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'AddUploadedFunctionFileInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'IsTotalPrepublish', - 'in' => 'query', - 'schema' => [ - 'description' => '是否为总量预发布。取值:**Y | N**。'."\n" - ."\n" - .'> 总量预发布表示该预发布允许的设备数不会按照机型数平均分配,而是所有机型共享同一个允许设备数。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], - ], - [ - 'name' => 'Name', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '预发布名', - 'type' => 'string', - 'required' => true, - 'example' => '第一次预发布', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'ProjectId', + 'name' => 'ObjectKey', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '已上传的文件标识符', 'type' => 'string', 'required' => true, 'example' => 'function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip'], ], [ - 'name' => 'BarrierCount', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => '预发布允许设备数', - 'type' => 'string', - 'required' => true, - 'example' => '1000', - ], + 'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'], ], ], 'responses' => [ @@ -381,111 +147,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'PrepublishId' => [ - 'description' => '创建的预发布ID', - 'type' => 'string', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PrepublishId\\": \\"1\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateVersionPrepublishResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<PrepublishId>1</PrepublishId>\\r\\n</CreateVersionPrepublishResponse>","errorExample":""}]', - 'title' => '创建一个版本预发布', - 'summary' => '调用CreateVersionPrepublish创建一个版本预发布。', - 'description' => '创建一个版本预发布,只允许在版本是“测试已通过”或“预发布”状态时才可创建。'."\n" - ."\n" - .'- 系统版本只有一个机型,所以预发布只针对该机型。'."\n" - .'- 应用版本可能有多个机型,预发布可根据**IsTotalPrepublish**参数决定,是对所有机型平均分配允许设备数,或是所有机型共享总允许设备数。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<AddUploadedFunctionFileInfoResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddUploadedFunctionFileInfoResponse>","errorExample":""}]', + 'title' => '添加已上传的函数文件', + 'summary' => '添加已经上传(先请求GenerateFunctionFileUploadMeta)的函数文件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateVersionTest' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddUploadedFunctionFileInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'AddVersionBlackDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DeviceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'Description', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '测试描述', - 'type' => 'string', - 'required' => false, - 'example' => '第一次测试', - ], + 'schema' => ['description' => '设备ID列表,英文逗号隔开。具体设备ID使用哪个,由DeviceIdType决定。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'], ], [ - 'name' => 'VersionId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。取值:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '版本类型,支持:'."\n" + ."\n" + .'- FOTA:系统升级'."\n" + .'- APP:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'Name', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => '测试名', - 'type' => 'string', - 'required' => true, - 'example' => '第一次测试', - ], + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- device_id:硬件ID,'."\n" + .'- sn:序列号,'."\n" + .'- vin:车架号,'."\n" + .'- hardware_id:硬件ID', 'type' => 'string', 'required' => true, 'example' => 'hardware_id'], ], [ - 'name' => 'ProjectId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -493,65 +229,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TestId' => [ - 'description' => '创建出的测试ID', - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TestId\\": \\"1\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateVersionTestResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<TestId>1</TestId>\\r\\n</CreateVersionTestResponse>","errorExample":""}]', - 'title' => '创建系统或应用版本测试', - 'summary' => '创建一个系统或应用版本的测试,并向测试分组中的设备推送升级消息。', - 'description' => '在版本测试阶段时,需要对指定的一小批设备进行升级测试。依赖已创建出的测试设备分组,测试的目标设备在测试设备分组中管理。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionBlackDevicesResponse>","errorExample":""}]', + 'title' => '为系统版本或者应用版本添加黑名单', + 'summary' => '调用AddVersionBlackDevices为系统版本或者应用版本添加黑名单。', + 'description' => '> 在系统升级或应用升级时,当希望某些特定的设备不允许升级时,可以调用此接口添加版本的设备黑名单。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionTest' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'AddVersionGroupDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'DeviceIdType', + 'in' => 'query', + 'schema' => ['description' => '设备ID类型。支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => true, 'example' => 'sn'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Id', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '测试ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '云设备ID列表', 'type' => 'string', 'required' => true, 'example' => '"b8fe2e24ff2b48e0a3aa4e49809fc1b3","b8f12e24ff2b48e0a3aa4e49809fc1b3"'], + ], + [ + 'name' => 'DeviceGroupId', + 'in' => 'query', + 'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -559,60 +304,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteVersionTestResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionTestResponse>","errorExample":""}]', - 'title' => '删除版本下指定的测试', - 'summary' => '调用DeleteVersionTest删除版本下指定的测试。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionGroupDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionGroupDevicesResponse>","errorExample":""}]', + 'title' => '批量添加设备到测试设备分组中', + 'summary' => '通过云设备ID批量添加一个或多个设备到测试设备分组中。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListClientPluginVersions' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'AddVersionWhiteDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'OsType', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '设备ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'], ], [ - 'name' => 'PkgName', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '插件包名。', - 'type' => 'string', - 'required' => true, - 'example' => 'com.aliyun.aicc.yundevice', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], + ], + [ + 'name' => 'DeviceIdType', + 'in' => 'query', + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => true, 'example' => 'hardware_id'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -620,112 +386,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ClientPluginVersions' => [ - 'description' => '客户端插件版本信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Version' => [ - 'description' => '版本名称', - 'type' => 'string', - 'example' => '1.1.1.20180103102554-3', - ], - 'DownloadUrl' => [ - 'description' => '下载地址', - 'type' => 'string', - 'example' => 'http://xxxxx.oss-cn-shanghai.aliyuncs.com/1046834015363116/xxx/2019-09-17/1568704641998-com.aliyun.aicc-1.2-36-g4e4b62e.apk?spm=5176.11279587.0.0.f7944f48XVfS6a&Expires=1568708242&OSSAccessKeyId=xxxx&Signature=xxx%3D&response-content-disposition=attachment%3Bfilename%3Dcom.aliyun.aicc-1.2-36-g4e4b62e.apk%3Bfilename%2A%3DUTF-8%27%27com.aliyun.aicc-1.2-36-g4e4b62e.apk', - ], - 'Size' => [ - 'description' => '插件包大小,单位:Byte', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '743503', - ], - 'PkgName' => [ - 'description' => '插件包名', - 'type' => 'string', - 'example' => 'com.aliyun.aicc.yundevice', - ], - 'VersionCode' => [ - 'description' => '版本号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '201', - ], - 'Id' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '647D4B28-7646-424E-88DD-61B7969E5C1E', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"647D4B28-7646-424E-88DD-61B7969E5C1E\\",\\n \\"ClientPluginVersions\\": [\\n {\\n \\"Version\\": \\"1.1.1.20180103102554-3\\",\\n \\"DownloadUrl\\": \\"http://xxxxx.oss-cn-shanghai.aliyuncs.com/1046834015363116/xxx/2019-09-17/1568704641998-com.aliyun.aicc-1.2-36-g4e4b62e.apk?spm=5176.11279587.0.0.f7944f48XVfS6a&Expires=1568708242&OSSAccessKeyId=xxxx&Signature=xxx%3D&response-content-disposition=attachment%3Bfilename%3Dcom.aliyun.aicc-1.2-36-g4e4b62e.apk%3Bfilename%2A%3DUTF-8%27%27com.aliyun.aicc-1.2-36-g4e4b62e.apk\\",\\n \\"Size\\": 743503,\\n \\"PkgName\\": \\"com.aliyun.aicc.yundevice\\",\\n \\"VersionCode\\": 201,\\n \\"Id\\": 40\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientPluginVersionsResponse>\\r\\n\\t<RequestId>7257DEDE-3558-4AE5-BA9B-2AD7A4FFB61E</RequestId>\\r\\n\\t<ClientPluginVersions>\\r\\n\\t\\t<VersionCode>201</VersionCode>\\r\\n\\t\\t<Id>40</Id>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yundevice</PkgName>\\r\\n\\t\\t<Version>1.1.1.20180103102554-3</Version>\\r\\n\\t\\t<Size>743503</Size>\\r\\n\\t</ClientPluginVersions>\\r\\n</ListClientPluginVersionsResponse>","errorExample":""}]', - 'title' => '根据指定的插件包名查询该插件的版本列表', - 'summary' => '调用ListClientPluginVersions根据指定的插件包名查询该插件的版本列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionWhiteDevicesResponse>","errorExample":""}]', + 'title' => '添加系统版本或应用版本的设备白名单', + 'summary' => '调用AddVersionWhiteDevices添加系统版本或应用版本的设备白名单。', + 'description' => '> 当希望添加版本的设备白名单时,可以调用此接口。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindPrepublishesByVersionId' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'AddVersionWhiteDevicesByDeviceGroups' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'UEWE232'], ], [ - 'name' => 'VersionId', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '版本类型', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'FOTA'], ], [ - 'name' => 'VersionType', + 'name' => 'GroupIds', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '设备分组ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12323'], ], ], 'responses' => [ @@ -733,177 +456,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'PrepublishList' => [ - 'description' => '查询预发布结果列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1684530000000', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'example' => '12', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'IsActive' => [ - 'description' => '预发布是否为启用状态', - 'type' => 'string', - 'example' => 'Y', - ], - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '1', - ], - 'BarrierCount' => [ - 'description' => '预发布允许设备数', - 'type' => 'string', - 'example' => '1000', - ], - 'DeviceModelName' => [ - 'description' => '机型名', - 'type' => 'string', - 'example' => 'DM1', - ], - 'IsTotalPrepublish' => [ - 'description' => '是否为总量预发布', - 'type' => 'string', - 'example' => 'N', - ], - 'GmtModifyTimestamp' => [ - 'description' => '修改时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1684530000000', - ], - 'ParentId' => [ - 'description' => '父预发布ID,为0表示该预发布为父预发布', - 'type' => 'string', - 'example' => '0', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '预发布名', - 'type' => 'string', - 'example' => '第一次预发布', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '1', - ], - 'VersionType' => [ - 'description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本。', - 'type' => 'string', - 'example' => 'FOTA', - ], - 'PassedCount' => [ - 'description' => '已查询设备数 ', - 'type' => 'string', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'Data' => ['description' => '返回数据', 'type' => 'string', 'example' => 'success'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PrepublishList\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1684530000000,\\n \\"DeviceModelId\\": \\"12\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"IsActive\\": \\"Y\\",\\n \\"VersionId\\": \\"1\\",\\n \\"BarrierCount\\": \\"1000\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"GmtModifyTimestamp\\": 1684530000000,\\n \\"IsTotalPrepublish\\": \\"N\\",\\n \\"ParentId\\": \\"0\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次预发布\\",\\n \\"Id\\": \\"1\\",\\n \\"VersionType\\": \\"FOTA\\",\\n \\"PassedCount\\": \\"0\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindPrepublishesByVersionIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<PrepublishList>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<ParentId>1</ParentId>\\r\\n\\t\\t<Name>第一次预发布</Name>\\r\\n\\t\\t<DeviceModelId>12</DeviceModelId>\\r\\n\\t\\t<IsTotalPrepublish>N</IsTotalPrepublish>\\r\\n\\t\\t<BarrierCount>1000</BarrierCount>\\r\\n\\t\\t<IsActive>Y</IsActive>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</PrepublishList>\\r\\n</FindPrepublishesByVersionIdResponse>","errorExample":""}]', - 'title' => '查询版本下的预发布列表', - 'summary' => '调用FindPrepublishesByVersionId查询版本下的预发布列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"Data\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\n<Data>success</Data>","errorExample":""}]', + 'title' => '将分组中的设备添加为版本黑白名单设备', + 'summary' => '通过设备分组将分组中的设备添加为版本黑白名单设备。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionTests' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionWhiteDevicesByDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ConnectAssistDevice' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'name' => 'HardwareId', + 'in' => 'formData', + 'schema' => ['description' => '硬件ID', 'type' => 'string', 'required' => false, 'example' => 'BALFL8429HI'], ], [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'name' => 'AllowCommandExtension', + 'in' => 'formData', + 'schema' => ['description' => '允许执行扩展命令', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'name' => 'DeviceId', + 'in' => 'formData', + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'example' => '6fde56979c484b93b99fba257e3cbe83'], ], [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'name' => 'SerialNumber', + 'in' => 'formData', + 'schema' => ['description' => '序列号', 'type' => 'string', 'required' => false, 'example' => 'BALFL8429SN'], ], [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', - 'type' => 'string', - 'required' => false, - 'example' => 'FOTA', - ], + 'name' => 'VIN', + 'in' => 'formData', + 'schema' => ['description' => '车架号', 'type' => 'string', 'required' => false, 'example' => 'LHK000026VFAG7A31'], + ], + [ + 'name' => 'UUID', + 'in' => 'formData', + 'schema' => ['description' => 'AliOS设备UUID', 'type' => 'string', 'required' => false, 'example' => '842972B2C0F4C9F030E60769CA65806A'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'formData', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'PZ1HK7JZ'], ], ], 'responses' => [ @@ -911,237 +541,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'VersionTestList' => [ - 'description' => '版本测试的查询结果', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '返回记录列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1685450000', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '1', - ], - 'GmtModifyTimestamp' => [ - 'description' => '修改时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1685450000', - ], - 'FailedCount' => [ - 'description' => '发送消息失败数', - 'type' => 'string', - 'example' => '0', - ], - 'DeviceGroupId' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'example' => '1', - ], - 'SkippedCount' => [ - 'description' => '跳过消息数', - 'type' => 'string', - 'example' => '0', - ], - 'Description' => [ - 'description' => '测试描述', - 'type' => 'string', - 'example' => '测试描述', - ], - 'SucceededCount' => [ - 'description' => '发送消息成功数', - 'type' => 'string', - 'example' => '100', - ], - 'DeviceGroupName' => [ - 'description' => '测试设备分组名称', - 'type' => 'string', - 'example' => '测试分组', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '测试名', - 'type' => 'string', - 'example' => '第一次测试', - ], - 'Id' => [ - 'description' => '测试ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'VersionType' => [ - 'description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', - 'type' => 'string', - 'example' => 'FOTA', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"VersionTestList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1685450000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"GmtModifyTimestamp\\": 1685450000,\\n \\"DeviceGroupId\\": \\"1\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"SkippedCount\\": \\"0\\",\\n \\"Description\\": \\"测试描述\\",\\n \\"DeviceGroupName\\": \\"测试分组\\",\\n \\"SucceededCount\\": \\"100\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次测试\\",\\n \\"Id\\": 1,\\n \\"VersionType\\": \\"FOTA\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionTestsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionTestList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<VersionType>FOTA</VersionType>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<Name>第一次测试</Name>\\r\\n\\t\\t\\t<DeviceGroupId>1</DeviceGroupId>\\r\\n\\t\\t\\t<DeviceGroupName>测试分组</DeviceGroupName>\\r\\n\\t\\t\\t<Description>测试描述</Description>\\r\\n\\t\\t\\t<SucceededCount>100</SucceededCount>\\r\\n\\t\\t\\t<FailedCount>0</FailedCount>\\r\\n\\t\\t\\t<SkippedCount>0</SkippedCount>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</VersionTestList>\\r\\n</FindVersionTestsResponse>","errorExample":""}]', - 'title' => '分页查询版本测试列表', - 'summary' => '调用FindVersionTests分页查询版本测试列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ConnectAssistDeviceResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ConnectAssistDeviceResponse>","errorExample":""}]', + 'title' => '通知设备建立诊断连接', + 'summary' => '通知设备建立诊断web socket连接。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAssistReport' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ConnectAssistDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CountActivatedOrNewRegistrationDevice' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'AssistId', + 'name' => 'DeviceType', 'in' => 'query', - 'schema' => [ - 'description' => '远程诊断会话ID', - 'type' => 'string', - 'required' => true, - 'example' => '510', - ], + 'schema' => ['description' => '设备类型', 'type' => 'string', 'required' => false, 'example' => 'car_auto'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'AssistResult' => [ - 'description' => '诊断结论。', - 'type' => 'string', - 'example' => '手动设置正确时间', - ], - 'AssistReason' => [ - 'description' => '诊断原因定位,描述问题的主要原因。', - 'type' => 'string', - 'example' => '没有和时间服务器同步', - ], - 'AssistId' => [ - 'description' => '诊断会话ID。', - 'type' => 'string', - 'example' => '510', - ], - 'AssistDescription' => [ - 'description' => '诊断缺陷描述,描述问题现象、复现步骤。', - 'type' => 'string', - 'example' => '设备时间异常', - ], - 'AssistTag' => [ - 'description' => '诊断标签,用于历史查询,按空格分隔。', - 'type' => 'string', - 'example' => '系统时间', - ], - ], - ], + [ + 'name' => 'DeviceBrandId', + 'in' => 'query', + 'schema' => ['description' => '设备品牌ID', 'type' => 'string', 'required' => false, 'example' => '15'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"AssistTag\\": \\"系统时间\\",\\n \\"AssistReason\\": \\"没有和时间服务器同步\\",\\n \\"AssistDescription\\": \\"设备时间异常\\",\\n \\"AssistId\\": \\"510\\",\\n \\"AssistResult\\": \\"手动设置正确时间\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeAssistReportResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<AssistId>510</AssistId>\\r\\n\\t<AssistDescription>设备时间异常</AssistDescription>\\r\\n\\t<AssistReason>没有和时间服务器同步</AssistReason>\\r\\n\\t<AssistResult>手动设置正确时间</AssistResult>\\r\\n\\t<AssistTag>time</AssistTag>\\r\\n</DescribeAssistReportResponse>","errorExample":""}]', - 'title' => '获取指定的远程诊断报告', - 'summary' => '调用DescribeAssistReport获取指定的远程诊断报告。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListAssistActionDetails' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DeviceBrand', + 'in' => 'query', + 'schema' => ['description' => '设备品牌名称', 'type' => 'string', 'required' => false, 'example' => 'ROEWE'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ActionTimestamp', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '执行操作的时间戳ID', - 'type' => 'string', - 'required' => true, - 'example' => '1524560714502LwoJKfp', - ], + 'schema' => ['description' => '设备型号ID', 'type' => 'string', 'required' => false, 'example' => '105'], ], [ - 'name' => 'ProjectId', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '设备型号名称', 'type' => 'string', 'required' => false, 'example' => 'ROEWE RX5'], + ], + [ + 'name' => 'DeviceCountStatType', + 'in' => 'query', + 'schema' => ['description' => '统计粒度类型,byDay表示按日,byMonth表示按月', 'type' => 'string', 'required' => false, 'example' => 'byDay'], + ], + [ + 'name' => 'IsQueryNewRegistrationDevice', + 'in' => 'query', + 'schema' => ['description' => '是否查看激活设备, true表示是,表示查询设备激活的变化曲线;false表示否,表示查询设备活跃的变化曲线。', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-08-15 12:00:00'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2018-08-25 12:00:00'], + ], + [ + 'name' => 'IsQueryYearlyActivate', + 'in' => 'query', + 'schema' => ['description' => '是否以年维度查询活跃设备趋势', 'type' => 'string', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -1149,132 +645,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'Results' => [ - 'description' => '操作详情列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '操作类型', - 'type' => 'string', - 'example' => 'event', - ], - 'Action' => [ - 'description' => '操作', - 'type' => 'string', - 'example' => 'top', - ], - 'Data' => [ - 'description' => '操作结果', - 'type' => 'string', - 'example' => 'Processes: 331 total, 2 running, 329 sleeping, 1936 threads', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => '37aac8e7d96c42ea94fd5408e351474e', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'UpdatedAt' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'string', - 'example' => '1525398712826BdAw5KN', - ], - 'ID' => [ - 'description' => '操作ID', - 'type' => 'string', - 'example' => '40475', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'Statistics' => [ + 'description' => '统计数据返回结果', + 'type' => 'object', + 'properties' => [ + 'Categories' => [ + 'type' => 'array', + 'items' => ['description' => '统计的时间维度', 'type' => 'string', 'example' => '["1568217600000","1568649600000"]'], + 'description' => '', + ], + 'Series' => [ + 'description' => '统计的分类结果', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'type' => 'array', + 'items' => ['description' => '当前分类统计的数据结果', 'type' => 'string', 'example' => '[3,3]'], + 'description' => '', + ], + 'Name' => ['description' => '统计分类', 'type' => 'string', 'example' => 'increment'], + ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Results\\": [\\n {\\n \\"Type\\": \\"event\\",\\n \\"Action\\": \\"top\\",\\n \\"Data\\": \\"Processes: 331 total, 2 running, 329 sleeping, 1936 threads\\",\\n \\"DeviceId\\": \\"37aac8e7d96c42ea94fd5408e351474e\\",\\n \\"CreatedAt\\": 1525767660000,\\n \\"UpdatedAt\\": 1525767660000,\\n \\"Timestamp\\": \\"1525398712826BdAw5KN\\",\\n \\"ID\\": \\"40475\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistActionDetailsResponse>\\r\\n<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<ResultList>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<CreatedAt>1525767660000</CreatedAt>\\r\\n\\t\\t<UpdatedAt>1525767660000</UpdatedAt>\\r\\n\\t\\t<Data>Processes: 331 total, 2 running, 329 sleeping, 1936 threads</Data>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<ID>40475</ID>\\r\\n\\t\\t<Timestamp>1525398712826BdAw5KN</Timestamp>\\r\\n\\t\\t<Type>event</Type>\\r\\n\\t</ResultList>\\r\\n\\t<ResultList>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<CreatedAt>2018-04-24 17:05:15</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24 17:05:15</UpdatedAt>\\r\\n\\t\\t<Data>Load Avg: 2.38, 2.23, 2.06 CPU usage: 8.52% user, 4.80% sys, 86.67% idle SharedLibs: 142M resident, 42M data, 17M linkedit.</Data>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<ID>40476</ID>\\r\\n\\t\\t<Timestamp>1525398712826BdAw5KN</Timestamp>\\r\\n\\t\\t<Type>event</Type>\\r\\n\\t</ResultList>\\r\\n</ListAssistActionDetailsResponse>","errorExample":""}]', - 'title' => '获取指定诊断操作的详情信息', - 'summary' => '调用ListAssistActionDetails获取指定诊断操作的详情信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"Statistics\\": {\\n \\"Categories\\": [\\n \\"[\\\\\\"1568217600000\\\\\\",\\\\\\"1568649600000\\\\\\"]\\"\\n ],\\n \\"Series\\": [\\n {\\n \\"Data\\": [\\n \\"[3,3]\\"\\n ],\\n \\"Name\\": \\"increment\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', + 'title' => '多维度统计设备的激活、活跃', + 'summary' => '支持按日、按月统计。', + 'description' => '多维度统计设备的激活、活跃,且支持按日、按月统计', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListAssistHistories' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2021-05-26T12:50:16.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountActivatedOrNewRegistrationDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CountDeviceBrands' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PerPage', + 'name' => 'DeviceBrandId', 'in' => 'query', - 'schema' => [ - 'description' => '每页数目', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '查询的设备品牌ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'Condition', + 'name' => 'DeviceBrand', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '{"vin":"LVFAG7A31HK000029"}', - ], + 'schema' => ['description' => '查询的设备品牌名称', 'type' => 'string', 'required' => false, 'example' => 'Tmall'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -1282,143 +737,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '46', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'PerPage' => [ - 'description' => '每页数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Histories' => [ - 'description' => '历史列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SerialNumber' => [ - 'description' => '序列号', - 'type' => 'string', - 'example' => 'BALFL8429SN', - ], - 'EndTime' => [ - 'description' => '结束时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767680000', - ], - 'StartTime' => [ - 'description' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'UNAME' => [ - 'description' => '操作者用户名', - 'type' => 'string', - 'example' => 'admin', - ], - 'HardwareId' => [ - 'description' => '硬件ID', - 'type' => 'string', - 'example' => 'BALFL8429HI', - ], - 'DeviceName' => [ - 'description' => '设备名称', - 'type' => 'string', - 'example' => 'Model S', - ], - 'UUID' => [ - 'description' => 'AliOS设备UUID', - 'type' => 'string', - 'example' => '842972B2C0F4C9F030E60769CA65806A', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => '6fde56979c484b93b99fba257e3cbe83', - ], - 'VIN' => [ - 'description' => '车架号', - 'type' => 'string', - 'example' => 'LHK000026VFAG7A31', - ], - 'UID' => [ - 'description' => '操作者用户ID', - 'type' => 'string', - 'example' => '12345', - ], - 'ID' => [ - 'description' => '诊断会话ID', - 'type' => 'string', - 'example' => '510', - ], - ], - ], - ], - 'PageIndex' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'BrandCount' => ['description' => '品牌数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"TotalCount\\": 46,\\n \\"PerPage\\": 20,\\n \\"Histories\\": [\\n {\\n \\"SerialNumber\\": \\"BALFL8429SN\\",\\n \\"EndTime\\": 1525767680000,\\n \\"StartTime\\": 1525767660000,\\n \\"UNAME\\": \\"admin\\",\\n \\"HardwareId\\": \\"BALFL8429HI\\",\\n \\"DeviceName\\": \\"Model S\\",\\n \\"UUID\\": \\"842972B2C0F4C9F030E60769CA65806A\\",\\n \\"DeviceId\\": \\"6fde56979c484b93b99fba257e3cbe83\\",\\n \\"VIN\\": \\"LHK000026VFAG7A31\\",\\n \\"UID\\": \\"12345\\",\\n \\"ID\\": \\"510\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistHistoriesResponse>\\r\\n<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<PageIndex>1</PageIndex>\\r\\n\\t<PerPage>20</PerPage>\\r\\n\\t<TotalCount>2</TotalCount>\\r\\n\\t<Histories>\\r\\n\\t\\t<ID>510</ID>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>phone</DeviceName>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t\\t<UID>12345</UID>\\r\\n\\t\\t<UNAME>admin</UNAME>\\r\\n\\t\\t<StartTime>1513231605000</StartTime>\\r\\n\\t\\t<EndTime>1513231705000</EndTime>\\r\\n\\t</Histories>\\r\\n\\t<Histories>\\r\\n\\t\\t<ID>511</ID>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>phone</DeviceName>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t\\t<UID>12345</UID>\\r\\n\\t\\t<UNAME>admin</UNAME>\\r\\n\\t\\t<StartTime>1513231705000</StartTime>\\r\\n\\t\\t<EndTime>1513231905000</EndTime>\\r\\n\\t</Histories>\\r\\n</ListAssistHistoriesResponse>","errorExample":""}]', - 'title' => '获取远程诊断历史列表', - 'summary' => '调用ListAssistHistories获取远程诊断历史列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"BrandCount\\": 2\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CountDeviceBrandsResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Results>2</Results>\\r\\n</CountDeviceBrandsResponse>","errorExample":""}]', + 'title' => '查询符合条件的设备品牌数量', + 'summary' => '调用CountDeviceBrands查询符合条件的设备品牌数量。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListAssistHistoryDetails' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDeviceBrands', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CountDeviceModels' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'AssistId', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '诊断会话ID', - 'type' => 'string', - 'required' => true, - 'example' => '510', - ], + 'schema' => ['description' => '设备型号ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'DeviceModel', + 'in' => 'query', + 'schema' => ['description' => '设备型号名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'X1'], + ], + [ + 'name' => 'DeviceBrand', + 'in' => 'query', + 'schema' => ['description' => '设备品牌', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'], ], ], 'responses' => [ @@ -1426,99 +807,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'Actions' => [ - 'description' => '操作列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => '操作', - 'type' => 'string', - 'example' => 'top', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'Timestamp' => [ - 'description' => '操作时间戳ID', - 'type' => 'string', - 'example' => '1524560987853KrvUfI1', - ], - 'UpdatedAt' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'AssistId' => [ - 'description' => '诊断会话ID', - 'type' => 'string', - 'example' => '510', - ], - 'ID' => [ - 'description' => '操作ID', - 'type' => 'string', - 'example' => '40475', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'ModelCount' => ['description' => '查询到的型号数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Actions\\": [\\n {\\n \\"Action\\": \\"top\\",\\n \\"CreatedAt\\": 1525767660000,\\n \\"Timestamp\\": \\"1524560987853KrvUfI1\\",\\n \\"UpdatedAt\\": 1525767660000,\\n \\"AssistId\\": \\"510\\",\\n \\"ID\\": \\"40475\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistHistoryDetailsResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<ActionList>\\r\\n\\t\\t<ID>45070</ID>\\r\\n\\t\\t<AssistId>510</AssistId>\\r\\n\\t\\t<Action>ls</Action>\\r\\n\\t\\t<Timestamp>1524560987853KrvUfI1</Timestamp>\\r\\n\\t\\t<CreatedAt>2018-04-24T09:09:57</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24T09:09:59</UpdatedAt>\\r\\n\\t</ActionList>\\r\\n\\t<ActionList>\\r\\n\\t\\t<ID>45071</ID>\\r\\n\\t\\t<AssistId>510</AssistId>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<Timestamp>1524560758970zQCkx3A</Timestamp>\\r\\n\\t\\t<CreatedAt>2018-04-24T09:29:41</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24T09:29:41</UpdatedAt>\\r\\n\\t</ActionList>\\r\\n</ListAssistHistoryDetailsResponse>","errorExample":""}]', - 'title' => '获取指定诊断历史的详情', - 'summary' => '获取指定诊断历史的详情,即所执行的命令列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"ModelCount\\": 10\\n}","errorExample":"{\\n \\"Message\\": \\"NO_PERMISSION_TO_ACCESS_PROJECT\\",\\n \\"RequestId\\": \\"81275440-EF9D-4570-A78F-7576441D3BF8\\",\\n \\"Results\\": [],\\n \\"Code\\": 10007\\n }"},{"type":"xml","example":"<CountDeviceModelsResponse>\\r\\n\\t<Message>SUCCESS</Message>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Results>1</Results>\\r\\n\\t<Code>200</Code>\\r\\n</CountDeviceModelsResponse>","errorExample":""}]', + 'title' => '查询设备型号数量', + 'summary' => '调用CountDeviceModels查询设备型号数量。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAssistRTMPServerAddress' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CountDevices' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'DeviceId', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID', - 'type' => 'string', - 'required' => true, - 'example' => '6fde56979c484b93b99fba257e3cbe83', - ], + 'schema' => ['description' => '设备机型ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'DeviceModel', + 'in' => 'query', + 'schema' => ['description' => '设备机型名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'Device Model'], ], ], 'responses' => [ @@ -1526,382 +872,214 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'RTMPServer' => [ - 'description' => 'RTMP服务器地址', - 'type' => 'string', - 'example' => 'ra-service-qa.aicc.aliyun.com', - ], - 'OTP' => [ - 'description' => '一次性验证码', - 'type' => 'string', - 'example' => 'ewga5dxHOB8Lm9VH', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceCount' => ['description' => '设备总数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RTMPServer\\": \\"ra-service-qa.aicc.aliyun.com\\",\\n \\"OTP\\": \\"ewga5dxHOB8Lm9VH\\",\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeAssistRTMPServerAddressResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<RTMPServer>ra-rtmp.aicc.aliyun.com</RTMPServer>\\r\\n\\t<OTP>ewga5dxHOB8Lm9VH</OTP>\\r\\n</DescribeAssistRTMPServerAddressResponse>","errorExample":""}]', - 'title' => '获取远程桌面RTMP服务器地址', - 'summary' => '调用DescribeAssistRTMPServerAddress获取远程桌面RTMP服务器地址。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => '指定机型的设备总数', + 'summary' => '指定机型的设备总数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'SubmitAssistReport' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'formData', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], - ], - [ - 'name' => 'AssistId', - 'in' => 'formData', - 'schema' => [ - 'description' => '诊断会话ID。', - 'type' => 'string', - 'required' => true, - 'example' => '510', - ], - ], - [ - 'name' => 'AssistDescription', - 'in' => 'formData', - 'schema' => [ - 'description' => '诊断缺陷描述,描述问题现象、复现步骤。', - 'type' => 'string', - 'required' => false, - 'example' => '设备时间异常', - ], - ], - [ - 'name' => 'AssistResult', - 'in' => 'formData', - 'schema' => [ - 'description' => '诊断结论。', - 'type' => 'string', - 'required' => false, - 'example' => '手动设置正确时间', - ], - ], - [ - 'name' => 'AssistTag', - 'in' => 'formData', - 'schema' => [ - 'description' => '诊断标签,用于历史查询,按空格分隔。', - 'type' => 'string', - 'required' => false, - 'example' => '系统时间', - ], - ], - [ - 'name' => 'AssistReason', - 'in' => 'formData', - 'schema' => [ - 'description' => '诊断原因定位,描述问题的主要原因。', - 'type' => 'string', - 'required' => false, - 'example' => '没有和时间服务器同步', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CountYunIdInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DeviceModel', - 'in' => 'formData', - 'schema' => [ - 'description' => '设备model。', - 'type' => 'string', - 'required' => false, - 'example' => 'ModelS', - ], + 'AK' => [], ], ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], + 'YunIdInfo' => [ + 'description' => '云设备统计数据信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TotalBrandCount' => ['description' => '总品牌数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalDeviceCount' => ['description' => '总激活设备数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'TotalDeviceModelCount' => ['description' => '总机型数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<SubmitAssistReportResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n</SubmitAssistReportResponse>","errorExample":""}]', - 'title' => '提交远程诊断报告', - 'summary' => '调用SubmitAssistReport提交远程诊断报告。', - 'description' => '> 对于一次诊断,首次提交会创建一份报告,后续提交会更新报告内容。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"YunIdInfo\\": [\\n {\\n \\"TotalBrandCount\\": 5,\\n \\"TotalDeviceCount\\": 100,\\n \\"TotalDeviceModelCount\\": 10\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\n<YunIdInfo>\\n <TotalBrandCount>5</TotalBrandCount>\\n <TotalDeviceModelCount>10</TotalDeviceModelCount>\\n <TotalDeviceCount>100</TotalDeviceCount>\\n</YunIdInfo>","errorExample":""}]', + 'title' => '统计租户下的品牌数和机型数以及设备数', + 'summary' => '统计租户下的品牌数和机型数以及设备数。', + 'description' => '统计租户下的品牌数和机型数以及设备数', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateCustomizedProperty' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountYunIdInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateAppVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'VersionId', + 'name' => 'IsForceUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '是否强制升级,取值:**Y** | **N**。', 'type' => 'string', 'required' => false, 'example' => 'N'], + ], + [ + 'name' => 'IsAllowNewInstall', + 'in' => 'query', + 'schema' => ['description' => '表示当客户端不存在此应用时,是否允许新安装此应用,相当于后装。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Name', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '自定义属性名', - 'type' => 'string', - 'required' => true, - 'example' => 'AnotherWhiteList', - ], + 'schema' => ['description' => '应用ID,表示要针对哪个应用进行升级。', 'type' => 'string', 'required' => false, 'example' => '123'], ], [ - 'name' => 'Value', + 'name' => 'AppVersion', 'in' => 'query', - 'schema' => [ - 'description' => '自定义属性值', - 'type' => 'string', - 'required' => true, - 'example' => '100,200', - ], + 'schema' => ['description' => '应用版本号', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], [ - 'name' => 'VersionType', + 'name' => 'VersionCode', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。取值: '."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '应用版本versioncode', 'type' => 'string', 'required' => false, 'example' => '100'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'CustomizedPropertyId' => [ - 'description' => '创建出的自定义属性的ID', - 'type' => 'string', - 'example' => '1', - ], - ], - ], + [ + 'name' => 'InstallType', + 'in' => 'query', + 'schema' => ['description' => '安装类型,取值:**auto**表示自动,**customize**表示自定义。', 'type' => 'string', 'required' => false, 'example' => 'auto'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CustomizedPropertyId\\": \\"1\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateCustomizedPropertyResponse>\\r\\n\\t<RequestId>7676B259-FFA5-4971-A9D7-7B3F48D1DEEB</RequestId>\\r\\n\\t<CustomizedPropertyId>1</CustomizedPropertyId>\\r\\n</CreateCustomizedPropertyResponse>","errorExample":""}]', - 'title' => '创建自定义属性', - 'summary' => '调用CreateCustomizedProperty创建自定义属性。', - 'description' => '> 用户可以在版本上添加自定义属性,这些自定义属性会在该版本的返回结果中返回,使用户可以自定义一些值附带在版本上。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteCustomizedProperty' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Remark', + 'in' => 'query', + 'schema' => ['description' => '版本备注', 'type' => 'string', 'required' => false, 'example' => 'sample remark'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'ReleaseNote', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => false, 'example' => 'sample release note'], ], [ - 'name' => 'Id', + 'name' => 'IsSilentUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => '自定义属性ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '是否静默升级,取值:**Y** | **N**。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - ], - ], + [ + 'name' => 'PackageUrl', + 'in' => 'query', + 'schema' => ['description' => '升级包地址', 'type' => 'string', 'required' => false, 'example' => 'http://www.oss-server.com/file.zip'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteCustomizedPropertyResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteCustomizedPropertyResponse>","errorExample":""}]', - 'title' => '指定删除一条自定义属性记录', - 'summary' => '调用DeleteCustomizedProperty指定删除一条自定义属性记录。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'FindCustomizedProperties' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'IsNeedRestart', + 'in' => 'query', + 'schema' => ['description' => '是否需要重启,取值:**Y** | **N**。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'BlackVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '版本黑名单,versioncode英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '10,20,30'], ], [ - 'name' => 'VersionId', + 'name' => 'WhiteVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '版本白名单,versioncode英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '10,20,30'], ], [ - 'name' => 'PageIndex', + 'name' => 'RestartType', 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '应用安装完成后的重启类型。取值:'."\n" + ."\n" + .'- **system**:系统重启'."\n" + .'- **app**:应用重启', 'type' => 'string', 'required' => false, 'example' => 'app'], ], [ - 'name' => 'PageSize', + 'name' => 'RestartAppType', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" + ."\n" + .'- **service**:Service重启'."\n" + .'- **activity**:Activity重启', 'type' => 'string', 'required' => false, 'example' => 'service'], ], [ - 'name' => 'Name', + 'name' => 'RestartAppParam', 'in' => 'query', - 'schema' => [ - 'description' => '查询自定义属性名', - 'type' => 'string', - 'required' => false, - 'example' => 'AnotherWhiteList', - ], + 'schema' => ['description' => '应用重启时可以由服务端指定的重启参数', 'type' => 'string', 'required' => false, 'example' => '{"restartDelay":1}'], ], [ - 'name' => 'VersionType', + 'name' => 'DeviceAdapterList', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有:FOTA 系统版本, APP 应用版本。', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '应用版本的适配机型列表。'."\n" + ."\n" + .'格式:`deviceModelId1|minOsVersion1|maxOsVersion1,deviceModelId2|minOsVersion2|maxOsVersion2`,即设备型号ID|最低的系统版本号|最高的系统版本号。', 'type' => 'string', 'required' => false, 'example' => '10|2.0.1-R-20180412.1024|3.0.1-R-20180412.1024,11|2.1.1-R-20180412.1024|3.1.1-R-20180412.1024'], + ], + [ + 'name' => 'ApkMd5', + 'in' => 'query', + 'schema' => ['description' => 'APK的MD5值', 'type' => 'string', 'required' => false, 'example' => '34653456wertwe234653retwewer3456'], ], ], 'responses' => [ @@ -1909,178 +1087,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'CustomizedPropertyList' => [ - 'description' => '自定义属性查询结果', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '返回记录列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1324320000', - ], - 'Value' => [ - 'description' => '自定义属性值', - 'type' => 'string', - 'example' => '1.0,2.0', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '自定义属性名', - 'type' => 'string', - 'example' => 'AnotherWhiteList', - ], - 'Id' => [ - 'description' => '自定义属性ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '12345'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"CustomizedPropertyList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1324320000,\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Value\\": \\"1.0,2.0\\",\\n \\"Name\\": \\"AnotherWhiteList\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindCustomizedPropertiesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<CustomizedPropertyList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>AnotherWhiteList</Name>\\r\\n\\t\\t\\t<Value>1.0,2.0</Value>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</CustomizedPropertyList>\\r\\n</FindCustomizedPropertiesResponse>","errorExample":""}]', - 'title' => '查询自定义属性列表', - 'summary' => '按分页查询自定义属性列表,可根据自定义属性名进行搜索。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"VersionId\\": \\"12345\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionId>12345</VersionId>\\r\\n</CreateAppVersionResponse>","errorExample":""}]', + 'title' => '创建应用升级版本', + 'summary' => '调用CreateAppVersion创建应用升级版本。', + 'description' => '> 当用户需要进行应用升级时,需要首先调用此接口创建一个应用版本,然后进行后续的版本测试、灰度、发布。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateCustomizedFilter' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateCustomizedFilter' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。取值:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '版本类型。取值:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ 'name' => 'BlackWhiteType', 'in' => 'query', - 'schema' => [ - 'description' => '比较的黑白名单类型:'."\n" - ."\n" - .'- BLACK:黑名单'."\n" - .'- WHITE:白名单', - 'type' => 'string', - 'required' => true, - 'example' => 'BLACK', - ], + 'schema' => ['description' => '比较的黑白名单类型:'."\n" + ."\n" + .'- BLACK:黑名单'."\n" + .'- WHITE:白名单', 'type' => 'string', 'required' => true, 'example' => 'BLACK'], ], [ 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件值', - 'type' => 'string', - 'required' => true, - 'example' => '1,2,3', - ], + 'schema' => ['description' => '过滤条件值', 'type' => 'string', 'required' => true, 'example' => '1,2,3'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'ValueCompareType', 'in' => 'query', - 'schema' => [ - 'description' => '值的比较类型。取值:'."\n" - ."\n" - .'- **NUMBER**:按数字比较'."\n" - .'- **STRING**:按字符串比较', - 'type' => 'string', - 'required' => true, - 'example' => 'NUMBER', - ], + 'schema' => ['description' => '值的比较类型。取值:'."\n" + ."\n" + .'- **NUMBER**:按数字比较'."\n" + .'- **STRING**:按字符串比较', 'type' => 'string', 'required' => true, 'example' => 'NUMBER'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件名', - 'type' => 'string', - 'required' => true, - 'example' => 'AnotherFilter', - ], + 'schema' => ['description' => '过滤条件名', 'type' => 'string', 'required' => true, 'example' => 'AnotherFilter'], ], [ 'name' => 'ValueType', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件值类型。'."\n" - ."\n" - .'目前仅支持**WRITE**,表示手写输入。', - 'type' => 'string', - 'required' => true, - 'example' => 'WRITE', - ], + 'schema' => ['description' => '过滤条件值类型。'."\n" + ."\n" + .'目前仅支持**WRITE**,表示手写输入。', 'type' => 'string', 'required' => true, 'example' => 'WRITE'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '所属版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '所属版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -2088,17 +1189,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CustomizedFilterId' => [ - 'description' => '自定义过滤条件ID', - 'type' => 'string', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'CustomizedFilterId' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'example' => '1'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], @@ -2109,57 +1203,64 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAllCustomizedFilters' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateCustomizedProperty' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '自定义属性名', 'type' => 'string', 'required' => true, 'example' => 'AnotherWhiteList'], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => ['description' => '自定义属性值', 'type' => 'string', 'required' => true, 'example' => '100,200'], ], [ 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '版本类型。取值: '."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -2167,59 +1268,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'CustomizedPropertyId' => ['description' => '创建出的自定义属性的ID', 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteAllCustomizedFiltersResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteAllCustomizedFiltersResponse>","errorExample":""}]', - 'title' => '删除版本下所有自定义过滤条件', - 'summary' => '调用DeleteAllCustomizedFilters删除版本下所有自定义过滤条件。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"CustomizedPropertyId\\": \\"1\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateCustomizedPropertyResponse>\\r\\n\\t<RequestId>7676B259-FFA5-4971-A9D7-7B3F48D1DEEB</RequestId>\\r\\n\\t<CustomizedPropertyId>1</CustomizedPropertyId>\\r\\n</CreateCustomizedPropertyResponse>","errorExample":""}]', + 'title' => '创建自定义属性', + 'summary' => '调用CreateCustomizedProperty创建自定义属性。', + 'description' => '> 用户可以在版本上添加自定义属性,这些自定义属性会在该版本的返回结果中返回,使用户可以自定义一些值附带在版本上。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteCustomizedFilter' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateCustomizedProperty', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateDeviceBrand' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'Id', + 'name' => 'BrandName', 'in' => 'query', - 'schema' => [ - 'description' => '自定义过滤条件ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '品牌名称', 'type' => 'string', 'required' => true, 'example' => 'TmallGenius'], + ], + [ + 'name' => 'Manufacture', + 'in' => 'query', + 'schema' => ['description' => '厂商名称', 'type' => 'string', 'required' => false, 'example' => 'Alibaba'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '品牌描述', 'type' => 'string', 'required' => false, 'example' => '天猫精灵'], ], ], 'responses' => [ @@ -2227,118 +1339,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'BrandId' => ['description' => '新增的品牌ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteCustomizedFilterResponse>","errorExample":""}]', - 'title' => '删除一个指定的自定义过滤条件', - 'summary' => '调用DeleteCustomizedFilter删除一个指定的自定义过滤条件。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"BrandId\\": 1\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CreateDeviceBrandResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<BrandId>1</BrandId>\\r\\n</CreateDeviceBrandResponse>","errorExample":""}]', + 'title' => '创建设备品牌', + 'summary' => '调用CreateDeviceBrand创建设备品牌。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateCustomizedFilter' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateDeviceBrand', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateDeviceModel' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'BlackWhiteType', + 'name' => 'InitUsageType', 'in' => 'query', - 'schema' => [ - 'description' => '比较的黑白名单类型: '."\n" - ."\n" - .'- **BLACK**:黑名单 '."\n" - .'- **WHITE**:白名单', - 'type' => 'string', - 'required' => true, - 'example' => 'BLACK', - ], + 'schema' => ['description' => '设备出厂使用性质。'."\n" + ."\n" + .'- **0**:私人设备;'."\n" + .'- **1**:运营或共享设备', 'type' => 'string', 'required' => false, 'example' => '0'], ], [ - 'name' => 'ProjectId', + 'name' => 'CanCreateDeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '是否允许该型号创建设备ID。', 'type' => 'string', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'Name', + 'name' => 'ModelName', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件名', - 'type' => 'string', - 'required' => true, - 'example' => 'AnotherFilter', - ], + 'schema' => ['description' => '设备型号名称。', 'type' => 'string', 'required' => false, 'example' => 'X1'], ], [ - 'name' => 'Value', + 'name' => 'HardwareType', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件值', - 'type' => 'string', - 'required' => true, - 'example' => '1,4', - ], + 'schema' => ['description' => '设备ID生成依据。', 'type' => 'string', 'required' => false, 'example' => 'sn'], ], [ - 'name' => 'ValueType', + 'name' => 'BrandName', 'in' => 'query', - 'schema' => [ - 'description' => '过滤条件值类型:'."\n" - ."\n" - .'唯一取值**WRITE**。', - 'type' => 'string', - 'required' => true, - 'example' => 'WRITE', - ], + 'schema' => ['description' => '品牌名称。', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'], ], [ - 'name' => 'ValueCompareType', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '值的比较类型:'."\n" - ."\n" - .'- **NUMBER**:按数字比较 '."\n" - .'- **STRING**:按字符串比较', - 'type' => 'string', - 'required' => true, - 'example' => 'NUMBER', - ], + 'schema' => ['description' => '型号描述。', 'type' => 'string', 'required' => false, 'example' => '天猫精灵X1'], ], [ - 'name' => 'Id', + 'name' => 'DeviceType', 'in' => 'query', - 'schema' => [ - 'description' => '更新的自定义过滤条件ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '设备类型。', 'type' => 'string', 'required' => false, 'example' => '智能音箱'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], + ], + [ + 'name' => 'SecurityChip', + 'in' => 'query', + 'schema' => ['description' => '是否启用芯片ID2认证加固。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'OsPlatform', + 'in' => 'query', + 'schema' => ['description' => '系统平台。', 'type' => 'string', 'required' => false, 'example' => 'android'], + ], + [ + 'name' => 'ObjectKey', + 'in' => 'query', + 'schema' => ['description' => 'OSS存储的key。', 'type' => 'string', 'required' => false, 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg'], + ], + [ + 'name' => 'DeviceName', + 'in' => 'query', + 'schema' => ['description' => '设备名称。', 'type' => 'string', 'required' => false, 'example' => 'device'], ], ], 'responses' => [ @@ -2346,59 +1452,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceModelId' => ['description' => '新增设备型号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<UpdateCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateCustomizedFilterResponse>","errorExample":""}]', - 'title' => '更新自定义过滤条件', - 'summary' => '调用UpdateCustomizedFilter更新自定义过滤条件。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceModelId\\": 10\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CreateDeviceModelResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceModelId>10</DeviceModelId>\\r\\n</CreateDeviceModelResponse>","errorExample":""}]', + 'title' => '创建一个新的设备型号', + 'summary' => '调用CreateDeviceModel创建一个新的设备型号。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCustomizedFilter' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateNamespace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ - 'name' => 'Id', + 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '自定义过滤条件ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '数据空间划分和鉴权方式。'."\n" + ."\n" + .'- **1**:基于账号'."\n" + .'- **2**:基于设备'."\n" + .'- **101**:基于账号和设备', 'type' => 'string', 'required' => true, 'example' => '101'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'Namespace名称。', 'type' => 'string', 'required' => true, 'example' => 'user_data'], + ], + [ + 'name' => 'Desc', + 'in' => 'query', + 'schema' => ['description' => 'Namespace说明。', 'type' => 'string', 'required' => true, 'example' => '存储用户数据'], ], ], 'responses' => [ @@ -2406,177 +1526,146 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CustomizedFilter' => [ - 'description' => '自定义过滤条件详情', - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间的时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123543500000', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'ValueCompareType' => [ - 'description' => '值的比较类型。其中,'."\n" - ."\n" - .'- **NUMBER**:按数字比较'."\n" - .'- **STRING**:按字符串比较', - 'type' => 'string', - 'example' => 'NUMBER', - ], - 'VersionId' => [ - 'description' => '所属版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GmtModifyTimestamp' => [ - 'description' => '修改时间的时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123543500000', - ], - 'Value' => [ - 'description' => '过滤条件值', - 'type' => 'string', - 'example' => '1,5', - ], - 'ValueType' => [ - 'description' => '过滤条件的输入类型,目前仅支持**WRITE**,表示手写输入。', - 'type' => 'string', - 'example' => 'WRITE', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'BlackWhiteType' => [ - 'description' => '比较的黑白名单类型。BLACK:黑名单,WHITE:白名单。', - 'type' => 'string', - 'example' => 'BLACK', - ], - 'Name' => [ - 'description' => '过滤条件名', - 'type' => 'string', - 'example' => 'AnotherFilter', - ], - 'VersionType' => [ - 'description' => '所属版本类型:FOTA | APP。', - 'type' => 'string', - 'example' => 'FOTA', - ], - 'Id' => [ - 'description' => '自定义过滤条件ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], + 'Namespace' => ['description' => 'Namespace唯一标识', 'type' => 'string', 'example' => 'cc6c29893f2be7d465db44ec7b5d593e'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"CustomizedFilter\\": {\\n \\"GmtCreateTimestamp\\": 123543500000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"ValueCompareType\\": \\"NUMBER\\",\\n \\"VersionId\\": 1,\\n \\"GmtModifyTimestamp\\": 123543500000,\\n \\"Value\\": \\"1,5\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"ValueType\\": \\"WRITE\\",\\n \\"BlackWhiteType\\": \\"BLACK\\",\\n \\"Name\\": \\"AnotherFilter\\",\\n \\"Id\\": 1,\\n \\"VersionType\\": \\"FOTA\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DescribeCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<CustomizedFilter>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>AnotherWhiteList</Name>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<ValueCompareType>NUMBER</ValueCompareType>\\r\\n\\t\\t<BlackWhiteType>BLACK</BlackWhiteType>\\r\\n\\t\\t<Value>1,5</Value>\\r\\n\\t\\t<ValueType>WRITE</ValueType>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</CustomizedFilter>\\r\\n</DescribeCustomizedFilterResponse>","errorExample":""}]', - 'title' => '获取自定义过滤条件详情', - 'summary' => '调用DescribeCustomizedFilter获取自定义过滤条件详情。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"Namespace\\": \\"cc6c29893f2be7d465db44ec7b5d593e\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateNamespaceResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Namespace>cc6c29893f2be7d465db44ec7b5d593e</Namespace>\\r\\n</CreateNamespaceResponse>","errorExample":""}]', + 'title' => '创建命名空间', + 'summary' => '调用CreateNamespace创建一个数据存储空间Namespace。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindCustomizedFilters' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateNamespace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateOsVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'IsForceNightUpgrade', + 'in' => 'query', + 'schema' => ['description' => '是否强制夜间升级,取值:**Y | N**。'."\n" + ."\n" + .'与强制升级不能同时选择是(Y)。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'MaxClientVersion', + 'in' => 'query', + 'schema' => ['description' => '允许的OTA SDK的最大版本versioncode', 'type' => 'string', 'required' => false, 'example' => '1200'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionId', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '设备型号ID', 'type' => 'string', 'required' => true, 'example' => '12'], ], [ - 'name' => 'PageIndex', + 'name' => 'SystemVersion', 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '系统版本号', 'type' => 'string', 'required' => true, 'example' => '2.0.1-R-20180501.1208'], ], [ - 'name' => 'PageSize', + 'name' => 'ReleaseNote', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => false, 'example' => '改用UI用户体验,提升系统稳定性'], ], [ - 'name' => 'Name', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '自定义过滤条件名', - 'type' => 'string', - 'required' => false, - 'example' => 'AnotherFilter', - ], + 'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'example' => '版本备注信息,终端设备不可见'], ], [ - 'name' => 'VersionType', + 'name' => 'BlackVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '系统版本黑名单列表,英文逗号隔开。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209'], + ], + [ + 'name' => 'IsMilestone', + 'in' => 'query', + 'schema' => ['description' => '是否里程碑,取值:**Y | N**。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'MinClientVersion', + 'in' => 'query', + 'schema' => ['description' => '允许的OTA SDK的最小版本versioncode', 'type' => 'string', 'required' => false, 'example' => '1100'], + ], + [ + 'name' => 'WhiteVersionList', + 'in' => 'query', + 'schema' => ['description' => '系统版本白名单,英文逗号隔开。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209'], + ], + [ + 'name' => 'IsForceUpgrade', + 'in' => 'query', + 'schema' => ['description' => '是否强制升级,取值:**Y | N**。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'NightUpgradeDownloadType', + 'in' => 'query', + 'schema' => ['description' => '夜间升级下载类型。1表示WIFI下下载,2表示任全网下载。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'NightUpgradeIsShowTip', + 'in' => 'query', + 'schema' => ['description' => '夜间升级时是否给出提示框,取值:**Y | N**。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'NightUpgradeIsAllowedCancel', + 'in' => 'query', + 'schema' => ['description' => '夜间升级是否允许取消,取值:**Y | N**。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'RomList', + 'in' => 'query', + 'schema' => ['description' => '升级包列表,包括全量包和增量包,格式为`baseVersion|romUrl,baseVersion|romUrl`。'."\n" + ."\n" + .'其中,**baseVersion**为基准版本,'."\n" + ."\n" + .'- 如果是全量包,则基准版本为0。'."\n" + .'- 如果是增量包,则基准版本为基准的系统版本号。', 'type' => 'string', 'required' => true, 'example' => '0|http://www.oss-server.com/file1.zip,2.0.1|http://www.oss-server.com/file2.zip'], + ], + [ + 'name' => 'EnableMobileDownload', + 'in' => 'query', + 'schema' => ['description' => '是否允许移动网络下载升级包,取值:**Y | N**。', 'type' => 'string', 'required' => true, 'example' => 'Y'], + ], + [ + 'name' => 'MobileDownloadMaxSize', + 'in' => 'query', + 'schema' => ['description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', 'type' => 'string', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -2584,119 +1673,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CustomizedFilterList' => [ - 'description' => '查询自定义过滤条件结果', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '结果详情列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtModifyTimestamp' => [ - 'description' => '修改时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12354350000', - ], - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12354350000', - ], - 'Value' => [ - 'description' => '过滤条件值', - 'type' => 'string', - 'example' => '1,4', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'ValueCompareType' => [ - 'description' => '值的比较类型: **NUMBER**(按数字比较),**STRING**(按字符串比较)。', - 'type' => 'string', - 'example' => 'NUMBER', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'BlackWhiteType' => [ - 'description' => '比较的黑白名单类型:**BLACK**(黑名单),**WHITE**(白名单)。', - 'type' => 'string', - 'example' => 'BLACK', - ], - 'Name' => [ - 'description' => '过滤条件名', - 'type' => 'string', - 'example' => 'AnotherFilter', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'VersionId' => ['description' => '返回创建的版本的ID', 'type' => 'string', 'example' => '12345'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"CustomizedFilterList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 12354350000,\\n \\"GmtCreateTimestamp\\": 12354350000,\\n \\"Value\\": \\"1,4\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"ValueCompareType\\": \\"NUMBER\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"BlackWhiteType\\": \\"BLACK\\",\\n \\"Name\\": \\"AnotherFilter\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindCustomizedFiltersResponse>\\r\\n\\t<CustomizedFilterList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<BlackWhiteType>BLACK</BlackWhiteType>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>AnotherList</Name>\\r\\n\\t\\t\\t<Value>1,5</Value>\\r\\n\\t\\t\\t<ValueCompareType>NUMBER</ValueCompareType>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t</CustomizedFilterList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindCustomizedFiltersResponse>","errorExample":""}]', - 'title' => '查询自定义过滤条件', - 'summary' => '按分页查询自定义过滤条件,可根据过滤条件名进行查询。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"VersionId\\": \\"12345\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionId>1003</VersionId>\\r\\n</CreateOsVersionResponse>","errorExample":""}]', + 'title' => '创建系统升级版本', + 'summary' => '调用CreateOsVersion创建系统升级版本。', + 'description' => '> 当用户需要进行FOTA升级(即系统升级)时,需要首先调用此接口创建一个系统版本,然后进行后续的版本测试、灰度、发布。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListClientSdks' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateProjectApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'example' => 'calendar'], + ], + [ + 'name' => 'AppPkgName', + 'in' => 'query', + 'schema' => ['description' => '应用的包名', 'type' => 'string', 'required' => true, 'example' => 'com.demo.calendar'], + ], + [ 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '系统类型,1:Android', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -2704,150 +1744,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ClientSdks' => [ - 'description' => '客户端SDK信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'OsType' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1512976910000', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1512976910000', - ], - 'Name' => [ - 'description' => 'SDK名称。', - 'type' => 'string', - 'example' => 'AiCCSDK-FOTA', - ], - 'PkgName' => [ - 'description' => '包名,SDK该字段为空。', - 'type' => 'string', - 'example' => 'null', - ], - 'PkgType' => [ - 'description' => '包类型,0表示sdk, 1表示app。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2\\",\\n \\"ClientSdks\\": [\\n {\\n \\"OsType\\": 1,\\n \\"GmtCreate\\": 1512976910000,\\n \\"GmtModified\\": 1512976910000,\\n \\"Name\\": \\"AiCCSDK-FOTA\\",\\n \\"PkgName\\": \\"null\\",\\n \\"PkgType\\": 0,\\n \\"Id\\": 6\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientSdksResponse>\\r\\n\\t<ClientSdks>\\r\\n\\t\\t<Name>AiCCSDK-FOTA</Name>\\r\\n\\t\\t<OsType>1</OsType>\\r\\n\\t\\t<PkgName></PkgName>\\r\\n\\t\\t<Id>6</Id>\\r\\n\\t\\t<GmtCreate>1512976910000</GmtCreate>\\r\\n\\t\\t<GmtModified>1512976910000</GmtModified>\\r\\n\\t\\t<PkgType>0</PkgType>\\r\\n\\t</ClientSdks>\\r\\n\\t<ClientSdks>\\r\\n\\t\\t<Name>AiCCSDK-SyncStore</Name>\\r\\n\\t\\t<OsType>1</OsType>\\r\\n\\t\\t<PkgName></PkgName>\\r\\n\\t\\t<Id>9</Id>\\r\\n\\t\\t<GmtCreate>1513309968000</GmtCreate>\\r\\n\\t\\t<GmtModified>1513309968000</GmtModified>\\r\\n\\t\\t<PkgType>0</PkgType>\\r\\n\\t</ClientSdks>\\r\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\r\\n</ListClientSdksResponse>","errorExample":""}]', - 'title' => '查询客户端SDK列表', - 'summary' => '调用ListClientSdks查询客户端SDK列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateProjectAppResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateProjectAppResponse>","errorExample":""}]', + 'title' => '在项目下创建应用', + 'summary' => '调用CreateProjectApp(在项目下)创建应用。', + 'description' => '> 项目下可以创建应用的个数不限,这里的应用是指客户端应用,目前仅支持Andirod系统的应用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GenerateSdkDownloadInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-08-21T07:11:21.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateProjectApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateRpcService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Sdks', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '用户选择要下载的sdk集合,多个以英文逗号隔开。', - 'type' => 'string', - 'required' => true, - 'example' => 'AiCCSDK-FOTA,AiCCSDK-CMNS', - ], + 'schema' => ['description' => 'iovcc的项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'ftewtwyy'], ], [ - 'name' => 'AppId', + 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'description' => '自定义应用ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'A3BU0HBO', - ], + 'schema' => ['description' => 'iovcc cmns应用appKey,应用唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'WH2MptXX'], ], [ - 'name' => 'OsType', + 'name' => 'InterfaceName', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '服务接口名称。'."\n" + ."\n" + .'http接口为不包含参数的请求地址。例如:`https://www.aliyun.com/rpcServiceTest`。', 'type' => 'string', 'required' => true, 'example' => 'http://www.aliyun.com/aicc/testRpc'], ], [ - 'name' => 'PkgName', + 'name' => 'InvokeType', 'in' => 'query', 'schema' => [ - 'description' => '自定义应用的包名。', + 'description' => '接口调用类型。'."\n" + ."\n" + .'支持http(含https)和hsf。其中,hsf接口需与iovcc服务部署在同一vpc内,方能支持。', 'type' => 'string', 'required' => true, - 'example' => 'com.test.app', + 'example' => 'http', + 'enum' => ['http', 'hsf'], ], ], [ - 'name' => 'ProjectId', + 'name' => 'Params', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => '- 调用为http方式时,参数key以英文逗号隔开。例如:`param1,param2`。'."\n" + .'- 调用为hsf方式时,参数类型以英文逗号隔开。参数基本类型仅支持string,int,long,bytes,double,float,bool7种。例如:`string,int,long`。', 'type' => 'string', 'required' => true, 'example' => 'param1,param2'], ], [ - 'name' => 'CertFileObjectKey', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'RSA证书文件上传OSS后,在OSS上的完整文件名。', - 'type' => 'string', - 'required' => true, - 'example' => '1768723179523459/11/2018-05-07/1525699039841.rsa', - ], + 'schema' => ['description' => '服务端接口分组名称。', 'type' => 'string', 'required' => false, 'example' => 'rpcTestGroup'], + ], + [ + 'name' => 'MethodName', + 'in' => 'query', + 'schema' => ['description' => '接口调用方法名称,由字母、数字和下划线(_)组成。'."\n" + ."\n" + .'- 调用类型为**http**时,名称为服务方自定义。'."\n" + .'- 调用类型为**hsf**时,名称为hsf接口方法名称。', 'type' => 'string', 'required' => true, 'example' => 'testMethodName'], + ], + [ + 'name' => 'VersionCode', + 'in' => 'query', + 'schema' => ['description' => '接口版本号,由服务方自定义设置。', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], ], 'responses' => [ @@ -2855,91 +1848,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F3BAE77D-1954-48C5-95F6-D4937B29E2F4', - ], - 'SdkDownloadInfo' => [ - 'description' => 'SDK下载的信息。', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '下载地址。', - 'type' => 'string', - 'example' => 'http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D', - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Id' => ['description' => 'Rpc服务接口ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F3BAE77D-1954-48C5-95F6-D4937B29E2F4\\",\\n \\"SdkDownloadInfo\\": {\\n \\"Url\\": \\"http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<GenerateSdkDownloadInfoResponse>\\r\\n\\t<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\r\\n\\t<SdkDownloadInfo>\\r\\n\\t\\t<Url>http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D</Url>\\r\\n\\t</SdkDownloadInfo>\\r\\n</GenerateSdkDownloadInfoResponse>","errorExample":""}]', - 'title' => '获取SDK下载的信息', - 'summary' => '调用GenerateSdkDownloadInfo获取SDK下载的信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Id\\": 1\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The InterfaceName is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateRpcServiceResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateRpcServiceResponse>","errorExample":""}]', + 'title' => '注册cmns rpc服务接口', + 'summary' => '根据cmns应用appKey、接口名称、接口参数类型等信息注册rpc 服务接口。', + 'description' => '> 支持服务接口以http、hsf两种方式暴露。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateSchemaSubscribe' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateRpcService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateSchemaSubscribe' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '设备名称', - 'type' => 'string', - 'required' => true, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '设备名称', 'type' => 'string', 'required' => true, 'example' => 'model_2nd'], ], [ 'name' => 'SubscribeList', 'in' => 'query', - 'schema' => [ - 'description' => '订阅列表', - 'type' => 'string', - 'required' => false, - 'example' => '[{\\"path\\":\\"/car_body_hvac/cooling/water_temperature\\",\\"description\\":\\"水温\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":20,\\"exclusiveMinimum\\":false,\\"maximum\\":30,\\"exclusiveMaximum\\":false},{\\"path\\":\\"/car_body_hvac/lubricating/oil_level\\",\\"description\\":\\"机油油位\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":3,\\"exclusiveMinimum\\":false,\\"maximum\\":6,\\"exclusiveMaximum\\":false}]', - ], + 'schema' => ['description' => '订阅列表', 'type' => 'string', 'required' => false, 'example' => '[{\\"path\\":\\"/car_body_hvac/cooling/water_temperature\\",\\"description\\":\\"水温\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":20,\\"exclusiveMinimum\\":false,\\"maximum\\":30,\\"exclusiveMaximum\\":false},{\\"path\\":\\"/car_body_hvac/lubricating/oil_level\\",\\"description\\":\\"机油油位\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":3,\\"exclusiveMinimum\\":false,\\"maximum\\":6,\\"exclusiveMaximum\\":false}]'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ 'name' => 'SchemaVersion', 'in' => 'query', - 'schema' => [ - 'description' => '版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '版本', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], ], 'responses' => [ @@ -2947,12 +1919,9 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], @@ -2962,45 +1931,61 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteSchemaSubscribe' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateShadowSchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '数据记录ID', - 'type' => 'string', - 'required' => true, - 'example' => '12', - ], + 'schema' => ['description' => '机型ID', 'type' => 'string', 'required' => true, 'example' => '120'], + ], + [ + 'name' => 'AuthType', + 'in' => 'query', + 'schema' => ['description' => '认证类型', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['description' => '命名空间', 'type' => 'string', 'required' => false, 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], + ], + [ + 'name' => 'Schema', + 'in' => 'query', + 'schema' => ['description' => 'schema信息', 'type' => 'string', 'required' => false, 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}'], ], ], 'responses' => [ @@ -3008,80 +1993,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteSchemaSubscribeResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteSchemaSubscribeResponse>","errorExample":""}]', - 'title' => '删除订阅信息', - 'summary' => '调用DeleteSchemaSubscribe删除订阅信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</CreateShadowSchemaResponse>","errorExample":""}]', + 'title' => '新建某机型的schema信息', + 'summary' => '调用CreateShadowSchema新建某机型的schema信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateSchemaSubscribe' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateTrigger' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DeviceModel', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备名称', - 'type' => 'string', - 'required' => true, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'SubscribeList', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '订阅列表', - 'type' => 'string', - 'required' => false, - 'example' => '[{\\"path\\":\\"/car_body_hvac/cooling/water_temperature\\",\\"description\\":\\"水温\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":20,\\"exclusiveMinimum\\":false,\\"maximum\\":30,\\"exclusiveMaximum\\":false},{\\"path\\":\\"/car_body_hvac/lubricating/oil_level\\",\\"description\\":\\"机油油位\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":3,\\"exclusiveMinimum\\":false,\\"maximum\\":6,\\"exclusiveMaximum\\":false}]', - ], + 'schema' => ['description' => '命名空间,如:syncstore的namespace。', 'type' => 'string', 'required' => true, 'example' => 'f323baa35c304751a4b1254adc8230bf'], ], [ - 'name' => 'ProjectId', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '触发器触发的事件标识,如:syncstore路径。', 'type' => 'string', 'required' => true, 'example' => '/'], ], [ - 'name' => 'SchemaVersion', + 'name' => 'FileIds', 'in' => 'query', - 'schema' => [ - 'description' => '版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '目标函数所在的文件ID。'."\n" + ."\n" + .'与目标函数ID相对应,多个以英文逗号","分隔。', 'type' => 'string', 'required' => true, 'example' => '1,2'], + ], + [ + 'name' => 'FunctionIds', + 'in' => 'query', + 'schema' => ['description' => '目标函数ID。'."\n" + ."\n" + .'与目标函数所在的文件ID相对应,多个以英文逗号","分隔。', 'type' => 'string', 'required' => true, 'example' => '35,36'], + ], + [ + 'name' => 'InvocationMode', + 'in' => 'query', + 'schema' => ['description' => '调用模式。'."\n" + ."\n" + .'- **0**:串行(同步)调用'."\n" + .'- **1**:并行(异步)调用', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + ], + [ + 'name' => 'Sandbox', + 'in' => 'query', + 'schema' => ['description' => '是否在沙箱环境触发。'."\n" + ."\n" + .'- **0**(默认):不在该环境执行'."\n" + .'- **1**:在该环境执行', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Production', + 'in' => 'query', + 'schema' => ['description' => '是否在生产环境触发。'."\n" + ."\n" + .'- **0**(默认):不在该环境执行'."\n" + .'- **1**:在该环境执行', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -3089,81 +2095,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateSchemaSubscribeResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateSchemaSubscribeResponse>","errorExample":""}]', - 'title' => '修改订阅信息', - 'summary' => '调用UpdateSchemaSubscribe修改订阅信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateTriggerResponse>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateTriggerResponse>","errorExample":""}]', + 'title' => '创建触发器', + 'summary' => '调用CreateTrigger创建触发器。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListSchemaSubscribes' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateUpstreamAppKeyRelation' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], - ], - [ - 'name' => 'DeviceModel', + 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'description' => '机型信息', - 'type' => 'string', - 'required' => false, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '客户端应用标识,为cmns应用appKey。', 'type' => 'string', 'required' => true, 'example' => 'xglrajCR'], ], [ - 'name' => 'PageIndex', + 'name' => 'PAppKey', 'in' => 'query', - 'schema' => [ - 'description' => '查询的页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '处理cmns上行消息的应用服务端标识。', 'type' => 'string', 'required' => true, 'example' => 'fgbbajCR'], ], [ - 'name' => 'PageSize', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'ewrtgggr'], ], ], 'responses' => [ @@ -3171,191 +2159,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'PageList' => [ - 'description' => '返回的数据列表信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '返回的分页信息', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '当前页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SimpleSign' => [ - 'description' => '是否返回简单数据标志', - 'type' => 'boolean', - 'example' => 'false', - ], - 'HasNextPage' => [ - 'description' => '是否有下一页', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'List' => [ - 'description' => '订阅列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeviceModelId' => [ - 'description' => '机型ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120', - ], - 'Version' => [ - 'description' => '版本', - 'type' => 'string', - 'example' => '1.0', - ], - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'PIC3UA0V', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1537255540160', - ], - 'Namespace' => [ - 'description' => '命名空间', - 'type' => 'string', - 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8', - ], - 'ValiditySchema' => [ - 'description' => '验证的schema信息', - 'type' => 'string', - 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}', - ], - 'DeviceModel' => [ - 'description' => '机型名称', - 'type' => 'string', - 'example' => 'model_2nd', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1537255540160', - ], - 'Id' => [ - 'description' => '数据记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Id' => ['description' => '映射关系ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PageList\\": [\\n {\\n \\"List\\": [\\n {\\n \\"DeviceModelId\\": 120,\\n \\"Version\\": \\"1.0\\",\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"GmtCreate\\": 1537255540160,\\n \\"Namespace\\": \\"b09e93ce436aaf0dcfc2fb2004c1fde8\\",\\n \\"ValiditySchema\\": \\"{\\\\\\"ecu\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"动力系统\\\\\\",\\\\\\"brake_controll\\\\\\":{\\\\\\"handbrake\\\\\\":\\\\\\"手刹状态\\\\\\"}},\\\\\\"device_info\\\\\\":{\\\\\\"vin\\\\\\":\\\\\\"车架号\\\\\\",\\\\\\"uuid\\\\\\":\\\\\\"uuid\\\\\\",\\\\\\"brand\\\\\\":\\\\\\"设备品牌\\\\\\",\\\\\\"plugin_version\\\\\\":{\\\\\\"ra\\\\\\":\\\\\\"远程诊断\\\\\\",\\\\\\"control\\\\\\":\\\\\\"远程控制\\\\\\",\\\\\\"node_desc\\\\\\":\\\\\\"插件版本号\\\\\\",\\\\\\"yundevice\\\\\\":\\\\\\"yundevice版本号\\\\\\"},\\\\\\"system_version\\\\\\":\\\\\\"系统版本号\\\\\\"},\\\\\\"car_body_hvac\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"车身与HVAC\\\\\\",\\\\\\"cigar_lighter\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"点烟器\\\\\\"},\\\\\\"cleaning_fluid\\\\\\":\\\\\\"清洗液\\\\\\"}}\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"GmtModified\\": 1537255540160,\\n \\"Id\\": 12\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"SimpleSign\\": false,\\n \\"HasNextPage\\": true\\n }\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListSchemaSubscribesResponse>\\r\\n\\t<PageList>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t\\t<GmtCreate>1537255540160</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1537255540160</GmtModified>\\r\\n\\t\\t\\t<Id>49</Id>\\r\\n\\t\\t\\t<Namespace>b09e93ce436aaf0dcfc2fb2004c1fde8</Namespace>\\r\\n\\t\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t\\t<ValiditySchema>{"type": "object", "title": "model_2nd", "$schema": "http://json-schema.org/draft-04/schema#", "properties": {"car_body_hvac": {"properties": {"cooling": {"properties": {"water_temperature": {"type": "number", "maximum": 30.0, "minimum": 20.0, "description": "水温"}}}, "lubricating": {"properties": {"oil_level": {"type": "number", "maximum": 6.0, "minimum": 3.0, "description": "机油油位"}}}}}}}</ValiditySchema>\\r\\n\\t\\t\\t<Version>1.0</Version>\\r\\n\\t\\t</List>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<HasNextPage>true</HasNextPage>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</PageList>\\r\\n\\t<RequestId>EDCF581A-6A1A-4595-9542-96D084F5F231</RequestId>\\r\\n</ListSchemaSubscribesResponse>","errorExample":""}]', - 'title' => '查询订阅列表', - 'summary' => '调用ListSchemaSubscribes查询订阅列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Id\\": 1\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppKey is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateUpstreamAppKeyRelationResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateUpstreamAppKeyRelationResponse>","errorExample":""}]', + 'title' => '创建上行消息客户端与服务端的映射', + 'summary' => '根据客户端AppKey和服务端AppKey创建上行消息客户端与服务端的映射关系。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateNamespace' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateUpstreamAppKeyRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateUpstreamAppServer' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], - ], - [ - 'name' => 'AuthType', - 'in' => 'query', - 'schema' => [ - 'description' => '数据空间划分和鉴权方式。'."\n" - ."\n" - .'- **1**:基于账号'."\n" - .'- **2**:基于设备'."\n" - .'- **101**:基于账号和设备', - 'type' => 'string', - 'required' => true, - 'example' => '101', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'CS1HMVRF'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'user_data', - ], + 'schema' => ['description' => '服务端应用名称。'."\n" + ."\n" + .'由字母、数字和下划线组成,不超过15个字符。', 'type' => 'string', 'required' => true, 'example' => 'testServer'], ], [ - 'name' => 'Desc', + 'name' => 'Tags', 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace说明。', - 'type' => 'string', - 'required' => true, - 'example' => '存储用户数据', - ], + 'schema' => ['description' => '上行业务消息tag,方便应用服务器端对上行消息分类处理。多个tag通过英文逗号分隔。', 'type' => 'string', 'required' => true, 'example' => 'tag1,tag2'], ], ], 'responses' => [ @@ -3363,65 +2226,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], - 'Namespace' => [ - 'description' => 'Namespace唯一标识', - 'type' => 'string', - 'example' => 'cc6c29893f2be7d465db44ec7b5d593e', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Id' => ['description' => '上行服务端应用ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Namespace\\": \\"cc6c29893f2be7d465db44ec7b5d593e\\",\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateNamespaceResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Namespace>cc6c29893f2be7d465db44ec7b5d593e</Namespace>\\r\\n</CreateNamespaceResponse>","errorExample":""}]', - 'title' => '创建命名空间', - 'summary' => '调用CreateNamespace创建一个数据存储空间Namespace。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Id\\": 1\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Name is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateUpstreamAppServerResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateUpstreamAppServerResponse>","errorExample":""}]', + 'title' => '创建处理上行消息的服务端应用', + 'summary' => '调用CreateUpstreamAppServer创建处理上行消息的服务端应用。', + 'description' => '> 根据名称、业务消息过滤标签、项目工程ID创建服务端应用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteNamespace' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVersionDeviceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ + 'name' => 'MaxCount', + 'in' => 'query', + 'schema' => ['description' => '设备分组允许最大设备数', 'type' => 'string', 'required' => true, 'example' => '100'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Namespace', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace唯一标识', - 'type' => 'string', - 'required' => true, - 'example' => 'cc6c29893f2be7d465db44ec7b5d593e', - ], + 'schema' => ['description' => '分组名', 'type' => 'string', 'required' => true, 'example' => '升级分组1'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '分组描述', 'type' => 'string', 'required' => false, 'example' => '测试分组'], ], ], 'responses' => [ @@ -3429,148 +2297,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceGroupId' => ['description' => '创建的测试设备分组ID', 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteNamespaceResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DeleteNamespaceResponse>","errorExample":""}]', - 'title' => '删除命名空间', - 'summary' => '调用DeleteNamespace删除指定的数据存储空间Namespace。删除后,Namespace里的数据将丢失。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroupId\\": \\"1\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupId>1</DeviceGroupId>\\r\\n</CreateVersionDeviceGroupResponse>","errorExample":""}]', + 'title' => '创建一个用于测试的设备分组', + 'summary' => '调用CreateVersionDeviceGroup创建一个用于测试的设备分组。', + 'description' => '测试设备分组用于进行系统或应用版本的测试。创建测试设备分组后,在创建版本的测试时,选择该分组,会自动向分组中设备推送待测试版本的升级信息。'."\n" + ."\n" + .'> 因为版本会关联机型,因此测试设备分组中的设备的机型需和待测试版本上配置的机型相同才可升级待测试版本,否则测试无效。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateNamespaceData' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVersionPrepublish' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace唯一标识。', - 'type' => 'string', - 'required' => true, - 'example' => 'cc6c29893f2be7d465db44ec7b5d593e', - ], - ], - [ - 'name' => 'AuthType', - 'in' => 'query', - 'schema' => [ - 'description' => '数据空间划分和鉴权方式。1-基于账号,2-基于设备,101-基于账号和设备。', - 'type' => 'string', - 'required' => true, - 'example' => '101', - ], - ], - [ - 'name' => 'DeviceIdType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型。取值范围:**uuid**/**sn**/**vin**/**hardware_id**。'."\n" - ."\n" - .'> 当AuthType=2或101,此项必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'uuid', - ], - ], - [ - 'name' => 'DeviceId', + 'name' => 'IsTotalPrepublish', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1ac5e182e9634252a02d442a4d5d16fc', - ], + 'schema' => ['description' => '是否为总量预发布。取值:**Y | N**。'."\n" + ."\n" + .'> 总量预发布表示该预发布允许的设备数不会按照机型数平均分配,而是所有机型共享同一个允许设备数。', 'type' => 'string', 'required' => true, 'example' => 'N'], ], [ - 'name' => 'AccountType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID类型。当AuthType=1或101,此项必填。'."\n" - ."\n" - .'- `www.weibo.com`:微博'."\n" - .'- `www.openaccount.alios.cn`:AliOS'."\n" - .'- `www.amap.com`:高德'."\n" - .'- `www.yundevicedemo.aliyun.com`:YUNDEVICE_DEMO'."\n" - .'- `anonymous`:匿名', - 'type' => 'string', - 'required' => false, - 'example' => 'www.weibo.com', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'AccountId', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '10000', - ], + 'schema' => ['description' => '版本类型,取值:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'Path', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '要修改的节点路径,如:`/CarService/Window/SunroofSlideCtrl`。', - 'type' => 'string', - 'required' => true, - 'example' => '/CarService/Window/SunroofSlideCtrl', - ], + 'schema' => ['description' => '预发布名', 'type' => 'string', 'required' => true, 'example' => '第一次预发布'], ], [ - 'name' => 'OldData', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '旧数据。', - 'type' => 'string', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'NewData', + 'name' => 'BarrierCount', 'in' => 'query', - 'schema' => [ - 'description' => '新数据。', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => '预发布允许设备数', 'type' => 'string', 'required' => true, 'example' => '1000'], ], ], 'responses' => [ @@ -3578,124 +2385,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'PrepublishId' => ['description' => '创建的预发布ID', 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateNamespaceDataResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</UpdateNamespaceDataResponse>","errorExample":""}]', - 'title' => '修改Namespace中的数据', - 'summary' => '调用UpdateNamespaceData修改Namespace里存的数据。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PrepublishId\\": \\"1\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateVersionPrepublishResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<PrepublishId>1</PrepublishId>\\r\\n</CreateVersionPrepublishResponse>","errorExample":""}]', + 'title' => '创建一个版本预发布', + 'summary' => '调用CreateVersionPrepublish创建一个版本预发布。', + 'description' => '创建一个版本预发布,只允许在版本是“测试已通过”或“预发布”状态时才可创建。'."\n" + ."\n" + .'- 系统版本只有一个机型,所以预发布只针对该机型。'."\n" + .'- 应用版本可能有多个机型,预发布可根据**IsTotalPrepublish**参数决定,是对所有机型平均分配允许设备数,或是所有机型共享总允许设备数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetNamespaceData' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionPrepublish', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVersionTest' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'DeviceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], + 'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Namespace', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace唯一标识。', - 'type' => 'string', - 'required' => true, - 'example' => 'cc6c29893f2be7d465db44ec7b5d593e', - ], + 'schema' => ['description' => '测试描述', 'type' => 'string', 'required' => false, 'example' => '第一次测试'], ], [ - 'name' => 'AuthType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '数据空间划分和鉴权方式。'."\n" - ."\n" - .'- 1:基于账号'."\n" - .'- 2:基于设备'."\n" - .'- 101:基于账号和设备', - 'type' => 'string', - 'required' => true, - 'example' => '101', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'DeviceIdType', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型。取值范围:**uuid**/**sn**/**vin**/**hardware_id**。'."\n" - ."\n" - .'> 当`AuthType=2或101`时,此项必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'uuid', - ], + 'schema' => ['description' => '版本类型。取值:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'DeviceId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID。', - 'type' => 'string', - 'required' => false, - 'example' => '1ac5e182e9634252a02d442a4d5d16fc', - ], + 'schema' => ['description' => '测试名', 'type' => 'string', 'required' => true, 'example' => '第一次测试'], ], [ - 'name' => 'AccountType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '用户ID类型。'."\n" - ."\n" - .'- `www.weibo.com`:微博'."\n" - .'- `www.openaccount.alios.cn`:AliOS'."\n" - .'- `www.amap.com`:高德'."\n" - .'- `www.yundevicedemo.aliyun.com`:YUNDEVICE_DEMO'."\n" - .'- `anonymous`:匿名'."\n" - ."\n" - .'> 当AuthType=1或101,此项必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.weibo.com', - ], - ], - [ - 'name' => 'AccountId', - 'in' => 'query', - 'schema' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '10000', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], ], 'responses' => [ @@ -3703,108 +2472,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], - 'Data' => [ - 'description' => 'Namespace里的数据', - 'type' => 'string', - 'example' => '[{\\"path\\":\\"/\\",\\"content\\":\\"Window\\",\\"children\\":[{\\"path\\":\\"/Window\\",\\"content\\":\\"SunroofSlideCtrl\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofSlideCtrl\\",\\"content\\":\\"val\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofSlideCtrl/val\\",\\"content\\":\\"3\\"}]}]},{\\"path\\":\\"/Window\\",\\"content\\":\\"SunroofTiltCtrl\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofTiltCtrl\\",\\"content\\":\\"val\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofTiltCtrl/val\\",\\"content\\":\\"1\\"}]}]}]}]', - ], + 'TestId' => ['description' => '创建出的测试ID', 'type' => 'string', 'example' => '1'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SunroofSlideCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofSlideCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofSlideCtrl/val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3\\\\\\\\\\\\\\"}]}]},{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SunroofTiltCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofTiltCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofTiltCtrl/val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}]}]}]}]\\",\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GetNamespaceDataResponse>\\r\\n<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Data>[{"path":"/","content":"Window","children":[{"path":"/Window","content":"SunroofSlideCtrl","children":[{"path":"/Window/SunroofSlideCtrl","content":"val","children":[{"path":"/Window/SunroofSlideCtrl/val","content":"3"}]}]},{"path":"/Window","content":"SunroofTiltCtrl","children":[{"path":"/Window/SunroofTiltCtrl","content":"val","children":[{"path":"/Window/SunroofTiltCtrl/val","content":"1"}]}]}]}]</Data>\\r\\n</GetNamespaceDataResponse>","errorExample":""}]', - 'title' => '查询Namespace里存的数据', - 'summary' => '调用GetNamespaceData查询Namespace里存的数据。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TestId\\": \\"1\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<CreateVersionTestResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<TestId>1</TestId>\\r\\n</CreateVersionTestResponse>","errorExample":""}]', + 'title' => '创建系统或应用版本测试', + 'summary' => '创建一个系统或应用版本的测试,并向测试分组中的设备推送升级消息。', + 'description' => '在版本测试阶段时,需要对指定的一小批设备进行升级测试。依赖已创建出的测试设备分组,测试的目标设备在测试设备分组中管理。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetNamespaceStatisticsData' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionTest', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DelayPublishOsVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12323'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'SASUHQ'], ], [ - 'name' => 'Namespace', + 'name' => 'PrepubTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Namespace唯一标识。', - 'type' => 'string', - 'required' => true, - 'example' => 'cc6c29893f2be7d465db44ec7b5d593e', - ], + 'schema' => ['description' => '定时预发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'], ], [ - 'name' => 'DimensionType', + 'name' => 'PublishTime', 'in' => 'query', - 'schema' => [ - 'description' => '统计维度类型。'."\n" - ."\n" - .'- **101**-用户日活'."\n" - .'- **102**-设备日活'."\n" - .'- **103**-数据提交次数'."\n" - .'- **111**-每分钟用户访问次数'."\n" - .'- **112**-每分钟设备访问次数'."\n" - .'- **113**-每分钟数据提交次数', - 'type' => 'string', - 'required' => true, - 'example' => '101', - ], + 'schema' => ['description' => '定时发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'], ], [ - 'name' => 'StartTime', + 'name' => 'DownTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。'."\n" - ."\n" - .'- 按日统计,如:2018-08-16'."\n" - .'- 按分钟统计,如:2018-08-23 13:53', - 'type' => 'string', - 'required' => false, - 'example' => '2018-09-20', - ], + 'schema' => ['description' => '定时下架时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'], ], [ - 'name' => 'EndTime', + 'name' => 'Email', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。'."\n" - ."\n" - .'- 按日统计,如:2018-08-16'."\n" - .'- 按分钟统计,如:2018-08-23 13:53', - 'type' => 'string', - 'required' => false, - 'example' => '2018-09-18', - ], + 'schema' => ['description' => '邮箱', 'type' => 'string', 'required' => true, 'example' => '12323232@qq.com'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '发布描述'], + ], + [ + 'name' => 'SendMessage', + 'in' => 'query', + 'schema' => ['description' => '升级说明', 'type' => 'string', 'required' => false, 'example' => '升级说明'], + ], + [ + 'name' => 'PrepublishCount', + 'in' => 'query', + 'schema' => ['description' => '预发布总数限制', 'type' => 'string', 'required' => false, 'example' => '1000'], ], ], 'responses' => [ @@ -3812,102 +2568,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], - 'Statistics' => [ - 'description' => '统计结果', - 'type' => 'object', - 'properties' => [ - 'Categories' => [ - 'type' => 'array', - 'items' => [ - 'description' => '统计分类', - 'type' => 'integer', - 'example' => '["1534907280000","1534907340000","1534907400000"]', - 'format' => 'int64', - ], - ], - 'Series' => [ - 'description' => '统计数据', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'type' => 'array', - 'items' => [ - 'description' => '统计数据结果,每一项数据按顺序对应Categories的每一项。', - 'type' => 'integer', - 'example' => '[1,10,5]', - 'format' => 'int64', - ], - ], - 'Name' => [ - 'description' => '统计数据的名称。', - 'type' => 'string', - 'example' => '设备访问次数', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"Statistics\\": {\\n \\"Series\\": [\\n {\\n \\"Name\\": \\"设备访问次数\\",\\n \\"Data\\": [\\n \\"[1,10,5]\\"\\n ]\\n }\\n ],\\n \\"Categories\\": [\\n \\"[\\\\\\"1534907280000\\\\\\",\\\\\\"1534907340000\\\\\\",\\\\\\"1534907400000\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GetNamespaceStatisticsDataResponse>\\r\\n\\t<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Statistics>\\r\\n\\t\\t<Series>\\r\\n\\t\\t\\t<Data>1</Data>\\r\\n\\t\\t\\t<Data>10</Data>\\r\\n\\t\\t\\t<Data>5</Data>\\r\\n\\t\\t\\t<Name>设备访问次数</Name>\\r\\n\\t\\t</Series>\\r\\n\\t\\t<Categories>1534907280000</Categories>\\r\\n\\t\\t<Categories>1534907340000</Categories>\\r\\n\\t\\t<Categories>1534907400000</Categories>\\r\\n\\t</Statistics>\\r\\n</GetNamespaceStatisticsDataResponse>","errorExample":""}]', - 'title' => '查询Namespace的业务统计数据', - 'summary' => '调用GetNamespaceStatisticsData查询Namespace的业务统计数据。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>","errorExample":""}]', + 'title' => '定时发布系统版本', + 'summary' => '定时发布系统版本。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListNamespaces' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DelayPublishOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteAllCustomizedFilters' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PIY3UB0T', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AuthType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '数据空间划分和鉴权方式。'."\n" - ."\n" - .'- 1:基于账号'."\n" - .'- 2:基于设备'."\n" - .'- 101:基于账号和设备', - 'type' => 'string', - 'required' => false, - 'example' => '101', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,取值:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -3915,115 +2635,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Namespaces' => [ - 'description' => 'Namespace集合', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AuthType' => [ - 'description' => '数据空间划分和鉴权方式。'."\n" - ."\n" - .'- 1:基于账号'."\n" - .'- 2:基于设备'."\n" - .'- 101:基于账号和设备', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '101', - ], - 'Description' => [ - 'description' => 'Namespace说明', - 'type' => 'string', - 'example' => 'test', - ], - 'UserId' => [ - 'description' => '所属租户ID', - 'type' => 'string', - 'example' => '123456', - ], - 'ProjectId' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'example' => 'PLR58HKB', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1526871654000', - ], - 'Namespace' => [ - 'description' => 'Namespace唯一标识', - 'type' => 'string', - 'example' => 'cca8e86c056bdc4fe78751vbf3f26c7k', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1526871654000', - ], - 'Name' => [ - 'description' => 'Namespace名称', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"Namespaces\\": [\\n {\\n \\"AuthType\\": 101,\\n \\"Description\\": \\"test\\",\\n \\"UserId\\": \\"123456\\",\\n \\"ProjectId\\": \\"PLR58HKB\\",\\n \\"GmtCreate\\": 1526871654000,\\n \\"Namespace\\": \\"cca8e86c056bdc4fe78751vbf3f26c7k\\",\\n \\"GmtModified\\": 1526871654000,\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListNamespacesResponse>\\r\\n<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Namespaces>\\r\\n\\t\\t<Namespace>cca8e86c056bdc4fe7875a9bf3f26c7f</Namespace>\\r\\n\\t\\t<Name>DEFAULT_BY_ACCOUNT_DEVICEDEFAULT_BY_ACCOUNT_DEVICE</Name>\\r\\n\\t\\t<UserId>1151125281886341</UserId>\\r\\n\\t\\t<ProjectId>PLR58NHL</ProjectId>\\r\\n\\t\\t<Description>DEFAULT_BY_ACCOUNT_DEVICE</Description>\\r\\n\\t\\t<GmtCreate>1526871654000</GmtCreate>\\r\\n\\t\\t<GmtModified>1526871654000</GmtModified>\\r\\n\\t\\t<AuthType>101</AuthType>\\r\\n\\t</Namespaces>\\r\\n\\t<Namespaces>\\r\\n\\t\\t<Namespace>f04998a1834f4a6d8debb403b995713a</Namespace>\\r\\n\\t\\t<Name>DEFAULT_BY_DEVICE</Name>\\r\\n\\t\\t<UserId>1151125281886341</UserId>\\r\\n\\t\\t<ProjectId>PLR58NHL</ProjectId>\\r\\n\\t\\t<Description>DEFAULT_BY_DEVICE</Description>\\r\\n\\t\\t<GmtCreate>1526871654000</GmtCreate>\\r\\n\\t\\t<GmtModified>1526871654000</GmtModified>\\r\\n\\t\\t<AuthType>2</AuthType>\\r\\n\\t</Namespaces>\\r\\n</ListNamespacesResponse>","errorExample":""}]', - 'title' => '查询指定项目的Namespace列表', - 'summary' => '调用ListNamespaces查询指定项目的Namespace列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteAllCustomizedFiltersResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteAllCustomizedFiltersResponse>","errorExample":""}]', + 'title' => '删除版本下所有自定义过滤条件', + 'summary' => '调用DeleteAllCustomizedFilters删除版本下所有自定义过滤条件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteOpenAccount' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteAllCustomizedFilters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteAllVersionGroupDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'IdentityId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '云端用户ID', - 'type' => 'string', - 'required' => false, - 'example' => 'identityidtest', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'ProjectId', + 'name' => 'DeviceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -4031,83 +2694,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DeleteOpenAccountResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n</DeleteOpenAccountResponse>","errorExample":""}]', - 'title' => '删除账号信息', - 'summary' => '调用DeleteOpenAccount删除账号信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteAllVersionGroupDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteAllVersionGroupDevicesResponse>","errorExample":""}]', + 'title' => '删除测试设备分组中的所有设备', + 'summary' => '调用DeleteAllVersionGroupDevices删除测试设备分组中的所有设备。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListOpenAccountLinks' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteAllVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteCustomizedFilter' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], - ], - [ - 'name' => 'IdentityId', - 'in' => 'query', - 'schema' => [ - 'description' => '云端用户ID。'."\n" - ."\n" - .'和**idToken+Idp**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'identityidtest', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Idp', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '账号认证提供商。'."\n" - ."\n" - .'**IdentityId+Idp**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIOS', - ], - ], - [ - 'name' => 'OpenId', - 'in' => 'query', - 'schema' => [ - 'description' => '三方账户平台ID。', - 'type' => 'string', - 'required' => false, - 'example' => '12345', - ], + 'schema' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -4115,172 +2753,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'OpenAccounts' => [ - 'description' => '返回内容。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态。'."\n" - ."\n" - .'0表示正常,1表示禁用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Type' => [ - 'description' => '类型。'."\n" - ."\n" - .'1表示三方关联账号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DisplayName' => [ - 'description' => '显示名', - 'type' => 'string', - 'example' => 'displaynametest', - ], - 'CreateAccessKey' => [ - 'description' => '账号创建的AK', - 'type' => 'string', - 'example' => 'createaccesskeytest', - ], - 'OpenId' => [ - 'description' => '三方平台账号ID', - 'type' => 'string', - 'example' => '12345', - ], - 'Mobile' => [ - 'description' => '手机号'."\n" - ."\n", - 'type' => 'string', - 'example' => '1390000****', - ], - 'Region' => [ - 'description' => '区域', - 'type' => 'string', - 'example' => 'cn', - ], - 'IdentityId' => [ - 'description' => '账号ID'."\n", - 'type' => 'string', - 'example' => 'identityidtest', - ], - 'LoginId' => [ - 'description' => '登录名', - 'type' => 'string', - 'example' => 'loginidtest', - ], - 'Idp' => [ - 'description' => '三方平台标识简称呼', - 'type' => 'string', - 'example' => 'ALIOS', - ], - 'AliyunId' => [ - 'description' => '租户ID', - 'type' => 'string', - 'example' => 'aliyunidtest', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"OpenAccounts\\": [\\n {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListOpenAccountLinksResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<OpenAccountLinks>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccountLinks>\\r\\n</ListOpenAccountLinksResponse>","errorExample":""}]', - 'title' => '根据三方账号ID查询账号列表', - 'summary' => '调用ListOpenAccountLinks根据三方账号ID查询账号列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteCustomizedFilterResponse>","errorExample":""}]', + 'title' => '删除一个指定的自定义过滤条件', + 'summary' => '调用DeleteCustomizedFilter删除一个指定的自定义过滤条件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListOpenAccounts' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteCustomizedProperty' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'Length', - 'in' => 'query', - 'schema' => [ - 'description' => '返回列表最大长度', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'Start', - 'in' => 'query', - 'schema' => [ - 'description' => '返回列表起始位置', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Mobile', - 'in' => 'query', - 'schema' => [ - 'description' => '手机号', - 'type' => 'string', - 'required' => false, - 'example' => '1390000****', - ], - ], - [ - 'name' => 'Email', - 'in' => 'query', - 'schema' => [ - 'description' => '电子邮箱', - 'type' => 'string', - 'required' => false, - 'example' => 'test@alibaba.com', - ], - ], - [ - 'name' => 'DisplayName', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '显示名'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'displaynametest', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'ProjectId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '自定义属性ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -4288,163 +2812,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'OpenAccounts' => [ - 'description' => '返回内容', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态。'."\n" - ."\n" - .'0表示正常,1表示禁用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Type' => [ - 'description' => '类型。'."\n" - ."\n" - .'1表示三方关联账号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DisplayName' => [ - 'description' => '显示名'."\n", - 'type' => 'string', - 'example' => 'displaynametest', - ], - 'CreateAccessKey' => [ - 'description' => '账号创建的AK'."\n", - 'type' => 'string', - 'example' => 'createaccesskeytest', - ], - 'OpenId' => [ - 'description' => '三方平台账号ID'."\n", - 'type' => 'string', - 'example' => '12345', - ], - 'Mobile' => [ - 'description' => '手机号'."\n", - 'type' => 'string', - 'example' => '1390000****', - ], - 'Region' => [ - 'description' => '区域', - 'type' => 'string', - 'example' => 'cn', - ], - 'IdentityId' => [ - 'description' => '账号ID'."\n", - 'type' => 'string', - 'example' => 'identityidtest', - ], - 'LoginId' => [ - 'description' => '登录名', - 'type' => 'string', - 'example' => 'loginidtest', - ], - 'Idp' => [ - 'description' => '三方平台标识简称呼', - 'type' => 'string', - 'example' => 'ALIOS', - ], - 'AliyunId' => [ - 'description' => '租户ID', - 'type' => 'string', - 'example' => 'aliyunidtest', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"OpenAccounts\\": [\\n {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListOpenAccountsResponse>\\r\\n\\t<RequestId>81275440-EF9D-4570-A78F-7576441D3BF8</RequestId>\\r\\n\\t<OpenAccounts>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccounts>\\r\\n</ListOpenAccountsResponse>","errorExample":""}]', - 'title' => '查询账号列表', - 'summary' => '调用ListOpenAccounts查询账号列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteCustomizedPropertyResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteCustomizedPropertyResponse>","errorExample":""}]', + 'title' => '指定删除一条自定义属性记录', + 'summary' => '调用DeleteCustomizedProperty指定删除一条自定义属性记录。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeOpenAccount' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteCustomizedProperty', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteDevice' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], - ], - [ - 'name' => 'IdentityId', - 'in' => 'query', - 'schema' => [ - 'description' => '云端用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'identityidtest', - ], - ], - [ - 'name' => 'Idp', - 'in' => 'query', - 'schema' => [ - 'description' => '账号认证提供商。'."\n" - ."\n" - .'与**IdentityId**和(**IdToken+Idp**)不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIOS', - ], - ], - [ - 'name' => 'IdToken', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '账号Token。'."\n" - ."\n" - .'与**IdentityId**和(**IdToken+Idp**)不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'idtokentest', - ], + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'example' => '100'], ], [ - 'name' => 'OpenId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '三方账户平台ID。', - 'type' => 'string', - 'required' => false, - 'example' => '12345', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -4452,137 +2871,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'OpenAccount' => [ - 'description' => '返回内容。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态。'."\n" - ."\n" - .'**0**表示正常,**1**表示禁用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Type' => [ - 'description' => '类型。'."\n" - ."\n" - .'**1**表示三方关联账号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DisplayName' => [ - 'description' => '显示名', - 'type' => 'string', - 'example' => 'displaynametest', - ], - 'CreateAccessKey' => [ - 'description' => '账号创建的AK', - 'type' => 'string', - 'example' => 'createaccesskeytest', - ], - 'OpenId' => [ - 'description' => '三方平台账号ID', - 'type' => 'string', - 'example' => '12345', - ], - 'Mobile' => [ - 'description' => '手机号', - 'type' => 'string', - 'example' => '1390000****', - ], - 'Region' => [ - 'description' => '区域', - 'type' => 'string', - 'example' => 'cn', - ], - 'IdentityId' => [ - 'description' => '账号ID', - 'type' => 'string', - 'example' => 'identityidtest', - ], - 'LoginId' => [ - 'description' => '登录名', - 'type' => 'string', - 'example' => 'loginidtest', - ], - 'Idp' => [ - 'description' => '三方平台标识简称呼,如ALIOS。', - 'type' => 'string', - 'example' => 'ALIOS', - ], - 'AliyunId' => [ - 'description' => '租户ID', - 'type' => 'string', - 'example' => 'aliyunidtest', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], + 'RequestId' => ['description' => '请求ID'."\n", 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"OpenAccount\\": {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeOpenAccountResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<OpenAccount>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccount>\\r\\n</DescribeOpenAccountResponse>","errorExample":""}]', - 'title' => '获取账号信息', - 'summary' => '调用DescribeOpenAccount获取账号信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DeleteDeviceResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DeleteDeviceResponse>","errorExample":""}]', + 'title' => '删除设备信息', + 'summary' => '调用DeleteDevice删除设备信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateUpstreamAppKeyRelation' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteFunctionFile' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'AppKey', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '客户端应用标识,为cmns应用appKey。', - 'type' => 'string', - 'required' => true, - 'example' => 'xglrajCR', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'PAppKey', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => '处理cmns上行消息的应用服务端标识。', - 'type' => 'string', - 'required' => true, - 'example' => 'fgbbajCR', - ], + 'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'], ], [ - 'name' => 'ProjectId', + 'name' => 'FileType', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ewrtgggr', - ], + 'schema' => ['description' => '文件类型。**0**:单文件;**1**:包文件。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -4590,78 +2935,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Id' => [ - 'description' => '映射关系ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppKey is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateUpstreamAppKeyRelationResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateUpstreamAppKeyRelationResponse>","errorExample":""}]', - 'title' => '创建上行消息客户端与服务端的映射', - 'summary' => '根据客户端AppKey和服务端AppKey创建上行消息客户端与服务端的映射关系。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteFunctionFileResponse>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteFunctionFileResponse>","errorExample":""}]', + 'title' => '删除函数文件', + 'summary' => '调用DeleteFunctionFile删除函数文件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateUpstreamAppServer' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteFunctionFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteNamespace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'CS1HMVRF', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '服务端应用名称。'."\n" - ."\n" - .'由字母、数字和下划线组成,不超过15个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'testServer', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ - 'name' => 'Tags', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '上行业务消息tag,方便应用服务器端对上行消息分类处理。多个tag通过英文逗号分隔。', - 'type' => 'string', - 'required' => true, - 'example' => 'tag1,tag2', - ], + 'schema' => ['description' => 'Namespace唯一标识', 'type' => 'string', 'required' => true, 'example' => 'cc6c29893f2be7d465db44ec7b5d593e'], ], ], 'responses' => [ @@ -4669,67 +2994,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Id' => [ - 'description' => '上行服务端应用ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Name is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateUpstreamAppServerResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateUpstreamAppServerResponse>","errorExample":""}]', - 'title' => '创建处理上行消息的服务端应用', - 'summary' => '调用CreateUpstreamAppServer创建处理上行消息的服务端应用。', - 'description' => '> 根据名称、业务消息过滤标签、项目工程ID创建服务端应用。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteNamespaceResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DeleteNamespaceResponse>","errorExample":""}]', + 'title' => '删除命名空间', + 'summary' => '调用DeleteNamespace删除指定的数据存储空间Namespace。删除后,Namespace里的数据将丢失。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteUpstreamAppKeyRelation' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteNamespace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteOpenAccount' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'IdentityId', 'in' => 'query', - 'schema' => [ - 'description' => '上行映射关系ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '云端用户ID', 'type' => 'string', 'required' => false, 'example' => 'identityidtest'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'required' => true, - 'example' => 'sghghshr', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -4737,61 +3053,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteUpstreamAppKeyRelationResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteUpstreamAppKeyRelationResponse>","errorExample":""}]', - 'title' => '删除上行消息应用端与服务端的关系映射', - 'summary' => '根据关系ID删除上行消息应用端与服务端的关系映射记录。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DeleteOpenAccountResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n</DeleteOpenAccountResponse>","errorExample":""}]', + 'title' => '删除账号信息', + 'summary' => '调用DeleteOpenAccount删除账号信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteUpstreamAppServer' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteOpenAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteProjectApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'required' => true, - 'example' => 'sghghshr', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PPCVFRG7'], ], [ - 'name' => 'Id', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '服务端应用记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'AJROOEWE'], ], ], 'responses' => [ @@ -4799,81 +3112,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteUpstreamAppServerResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteUpstreamAppServerResponse>","errorExample":""}]', - 'title' => '删除处理上行消息的服务端应用信息', - 'summary' => '根据记录ID删除处理上行消息的服务端应用信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<DeleteProjectAppResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteProjectAppResponse>","errorExample":""}]', + 'title' => '删除项目下用户创建的自定义应用', + 'summary' => '调用DeleteProjectApp删除项目下用户创建的自定义应用。', + 'description' => '> 根据项目id和应用id删除项目下用户创建的自定义应用,删除之后可以恢复,可以通过再创建相同包名的应用来恢复,之前应用的AppId,AppKey,AppSecret信息不变。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateUpstreamAppServer' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteProjectApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteRpcService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '服务端应用ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '服务端应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'upstreamTest', - ], - ], - [ - 'name' => 'Tags', - 'in' => 'query', - 'schema' => [ - 'description' => '上行消息业务tag,多个tag通过英文逗号拼接。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1,tag2', - ], + 'schema' => ['description' => '服务接口注册记录ID。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ewtwtt4f', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'], ], ], 'responses' => [ @@ -4881,99 +3172,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<UpdateUpstreamAppServerResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</UpdateUpstreamAppServerResponse>","errorExample":""}]', - 'title' => '更新上行消息服务端应用名称、标签等信息', - 'summary' => '调用UpdateUpstreamAppServer更新上行消息服务端应用名称、标签等信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteRpcServiceResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteRpcServiceResponse>","errorExample":""}]', + 'title' => '删除Rpc服务接口注册记录', + 'summary' => '根据记录ID删除Rpc服务接口注册记录。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListMessageAcks' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteRpcService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteSchemaSubscribe' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '分页每页数据集数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'gsgshhfs', - ], - ], - [ - 'name' => 'DeviceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'dis系统设备ID。可实现查询结果:'."\n" - ."\n" - .'1. 单独DeviceId条件查询时,返回该设备消息ack记录列表。'."\n" - .'2. 与MessageId参数联合查询时,返回指定设备指定消息ack记录。', - 'type' => 'string', - 'required' => false, - 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc', - ], - ], - [ - 'name' => 'MessageId', - 'in' => 'query', - 'schema' => [ - 'description' => '消息id。可实现查询结果:'."\n" - ."\n" - .'1. 单独MessageId条件查询时,返回该消息ack记录列表。'."\n" - .'2. 与DeviceId参数联合查询时,返回指定设备指定消息ack记录。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24266', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], ], 'responses' => [ @@ -4981,154 +3231,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'MessageAcks' => [ - 'description' => 'ack记录分页数据对象。', - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '分页对象。', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '分页页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], - 'List' => [ - 'description' => '分页列表数据。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeviceId' => [ - 'description' => 'dis系统设备ID。', - 'type' => 'string', - 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc', - ], - 'AckTime' => [ - 'description' => '消息到达时间,精确到ms。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525684245000', - ], - 'Mid' => [ - 'description' => '消息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24266', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"MessageAcks\\": {\\n \\"List\\": [\\n {\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f33ab10cc\\",\\n \\"AckTime\\": 1525684245000,\\n \\"Mid\\": 24266\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The DeviceId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListMessageAcksResponse>\\r\\n\\t<MessageAcks>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>3</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525517606000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>205951</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525516333000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106578</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525517639000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t</MessageAcks>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListMessageAcksResponse>","errorExample":""}]', - 'title' => '查询消息ack记录列表', - 'summary' => '根据消息id、设备id查询消息ack记录列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteSchemaSubscribeResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteSchemaSubscribeResponse>","errorExample":""}]', + 'title' => '删除订阅信息', + 'summary' => '调用DeleteSchemaSubscribe删除订阅信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListOfflineMessages' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteShadowSchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询每页数据集数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'sfgsghd6', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '离线箱查询类型。取值:**deviceId**、**kp**。', - 'type' => 'string', - 'required' => true, - 'example' => 'deviceId', - ], - ], - [ - 'name' => 'Value', - 'in' => 'query', - 'schema' => [ - 'description' => '**deviceId**或者**kp**(iasId)对应的值。', - 'type' => 'string', - 'required' => true, - 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], ], 'responses' => [ @@ -5136,125 +3288,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'OfflineMessages' => [ - 'description' => '离线消息分页查询数据对象。', - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '分页对象。', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '分页页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], - 'List' => [ - 'description' => '离线消息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ExpiredTime' => [ - 'description' => '消息失效时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525693420000', - ], - 'Mid' => [ - 'description' => '消息ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '106577', - ], - 'GmtCreate' => [ - 'description' => '消息创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525517606000', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"OfflineMessages\\": {\\n \\"List\\": [\\n {\\n \\"GmtCreate\\": 1525517606000,\\n \\"ExpiredTime\\": 1525693420000,\\n \\"Mid\\": 106577\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListOfflineMessagesResponse>\\r\\n\\t<OfflineMessages>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<ExpiredTime>1525693420000</ExpiredTime>\\r\\n\\t\\t\\t<GmtCreate>1525517606000</GmtCreate>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>205951</Mid>\\r\\n\\t\\t\\t<ExpiredTime>1525693520000</ExpiredTime>\\r\\n\\t\\t\\t<GmtCreate>1525517616000</GmtCreate>\\r\\n\\t\\t</List>\\r\\n\\t</OfflineMessages>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListOfflineMessagesResponse>","errorExample":""}]', - 'title' => '查询设备离线消息列表', - 'summary' => '根据deviceId或kp查询设备离线消息列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteShadowSchemaResponse>","errorExample":""}]', + 'title' => '删除某机型的schema信息', + 'summary' => '调用DeleteShadowSchema删除某机型的schema信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeMessage' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteTrigger' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'required' => true, - 'example' => 'fsgtd5y5r', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'MessageId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '消息ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '455888', - ], + 'schema' => ['description' => '触发器ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -5262,173 +3345,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'sfsgghdhh56666', - ], - 'Message' => [ - 'description' => '消息详情', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '消息类型。'."\n" - ."\n" - .'**1**表示透传;**2**表示通知。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Action' => [ - 'description' => '消息侦听通道。', - 'type' => 'string', - 'example' => 'com.aliyun.iovcc.test', - ], - 'ProjectId' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'example' => 'ssgdghww', - ], - 'PredictSendCnt' => [ - 'description' => '预期消息到达设备数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Uri' => [ - 'description' => 'alios系统专用,用于定位接收消息应用。', - 'type' => 'string', - 'example' => 'page://broadcast.alios.com', - ], - 'Desc' => [ - 'description' => '通知内容描述。', - 'type' => 'string', - 'example' => 'this is desc test', - ], - 'AuditMsg' => [ - 'type' => 'string', - ], - 'AppName' => [ - 'description' => '客户端应用名称。', - 'type' => 'string', - 'example' => 'pushdemo', - ], - 'AppKey' => [ - 'description' => '客户端应用标识,项目工程下自定义应用appKey。', - 'type' => 'string', - 'example' => 'wTiRKC9m', - ], - 'GmtCreateTime' => [ - 'description' => '消息创建时间,精确到毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525681245000', - ], - 'ExipiredTime' => [ - 'description' => '失效时间,精确到毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525684245000', - ], - 'AckCnt' => [ - 'description' => '消息到达设备数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Title' => [ - 'description' => '通知标题。', - 'type' => 'string', - 'example' => 'this is a title test', - ], - 'Parameter' => [ - 'description' => '消息参数。'."\n" - ."\n" - .'为pkgContent与customCent合并后的json字符串。', - 'type' => 'string', - 'example' => '{\\"package\\":\\"com.aliyun.iovcc.test\\",\\"key1\\":\\"value1\\"}"', - ], - 'Audit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Id' => [ - 'description' => '消息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2231942', - ], - 'SendStatus' => [ - 'description' => '消息状态。'."\n" - ."\n" - .'**0**表示发送中;**1**表示消息发送完成;**2**表示消息已失效。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"sfsgghdhh56666\\",\\n \\"Message\\": {\\n \\"Type\\": 2,\\n \\"Action\\": \\"com.aliyun.iovcc.test\\",\\n \\"ProjectId\\": \\"ssgdghww\\",\\n \\"PredictSendCnt\\": 3,\\n \\"Uri\\": \\"page://broadcast.alios.com\\",\\n \\"Desc\\": \\"this is desc test\\",\\n \\"AppName\\": \\"pushdemo\\",\\n \\"GmtCreateTime\\": 1525681245000,\\n \\"AppKey\\": \\"wTiRKC9m\\",\\n \\"ExipiredTime\\": 1525684245000,\\n \\"AckCnt\\": 1,\\n \\"Title\\": \\"this is a title test\\",\\n \\"Parameter\\": \\"{\\\\\\\\\\\\\\"package\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"com.aliyun.iovcc.test\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value1\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"Id\\": 2231942,\\n \\"SendStatus\\": 0\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The MessageId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DescribeMessageResponse>\\r\\n\\t<Message>\\r\\n\\t\\t<Id>2231942</Id>\\r\\n\\t\\t<AppName>ALIOS_JARVIS</AppName>\\r\\n\\t\\t<AppKey>WS2MptYY</AppKey>\\r\\n\\t\\t<ProjectId>ssgdghww</ProjectId>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t\\t<SendStatus>1</SendStatus>\\r\\n\\t\\t<Title></Title>\\r\\n\\t\\t<Desc></Desc>\\r\\n\\t\\t<Action>test.action.alios.com</Action>\\r\\n\\t\\t<Uri>page://broadcast.alios.com</Uri>\\r\\n\\t\\t<Parameter>{"package":"com.aliyun.iovcc.test","key1":"value1"}</Parameter>\\r\\n\\t\\t<PredictSendCnt>1</PredictSendCnt>\\r\\n\\t\\t<AckCnt>1</AckCnt>\\r\\n\\t\\t<GmtCreateTime>1525256539000</GmtCreateTime>\\r\\n\\t\\t<ExipiredTime>1525260138000</ExipiredTime>\\r\\n\\t</Message>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DescribeMessageResponse>","errorExample":""}]', - 'title' => '查询消息详情', - 'summary' => '根据消息ID查询消息详情。详情包括消息体内容、消息到达情况。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteTriggerResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteTriggerResponse>","errorExample":""}]', + 'title' => '删除触发器', + 'summary' => '调用DeleteTrigger删除触发器。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PushVersionMessage' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteUpstreamAppKeyRelation' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '上行映射关系ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'VersionType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'], ], ], 'responses' => [ @@ -5436,140 +3404,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<PushVersionMessageResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PushVersionMessageResponse>","errorExample":""}]', - 'title' => '给某一版本下的所有机型推送升级消息', - 'summary' => '调用PushVersionMessage给某一版本下的所有机型推送升级消息。', - 'description' => '> 只能给“预发布”,“已发布”状态的版本推送消息。'."\n" - ."\n" - .'- 针对系统版本推送,因为系统版本只关联一个机型,会对该机型下所有设备推送升级消息。'."\n" - .'- 针对应用版本推送,则会对应用版本下的所有关联机型覆盖的设备推送升级消息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteUpstreamAppKeyRelationResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteUpstreamAppKeyRelationResponse>","errorExample":""}]', + 'title' => '删除上行消息应用端与服务端的关系映射', + 'summary' => '根据关系ID删除上行消息应用端与服务端的关系映射记录。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionMessages' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteUpstreamAppKeyRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteUpstreamAppServer' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'], ], [ - 'name' => 'PageIndex', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '服务端应用记录ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'MessageType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '取值有:'."\n" - ."\n" - .'- **VERSION_TEST**:系统版本测试消息推送'."\n" - .'- **SYSTEM_UPDATE**:系统版本发布消息推送'."\n" - .'- **APP_VERSION_TEST**:应用自升级测试消息推送'."\n" - .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', - 'type' => 'string', - 'required' => false, - 'example' => 'VERSION_TEST', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteUpstreamAppServerResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteUpstreamAppServerResponse>","errorExample":""}]', + 'title' => '删除处理上行消息的服务端应用信息', + 'summary' => '根据记录ID删除处理上行消息的服务端应用信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TestId', - 'in' => 'query', - 'schema' => [ - 'description' => '测试ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteVersionAllBlackDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'SendRecordId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '群发记录ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'DeviceId', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'required' => false, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], + 'schema' => ['description' => '版本类型。支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'VersionType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -5577,184 +3530,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'MessageList' => [ - 'description' => '查询到的消息结果', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '结果列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtModifyTimestamp' => [ - 'description' => '修改时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18974500000', - ], - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18974500000', - ], - 'Status' => [ - 'description' => '发送状态', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'MessageId' => [ - 'description' => '发送的消息ID', - 'type' => 'string', - 'example' => '1', - ], - 'DeviceId' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '1', - ], - 'StatusDesc' => [ - 'description' => '发送状态描述', - 'type' => 'string', - 'example' => '发送成功', - ], - 'TestId' => [ - 'description' => '测试ID', - 'type' => 'string', - 'example' => '1', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"MessageList\\": {\\n \\"TotalCount\\": 5,\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 18974500000,\\n \\"GmtCreateTimestamp\\": 18974500000,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"MessageId\\": \\"1\\",\\n \\"DeviceId\\": \\"b8fe2e24ff2b48e0a3aa4e49809fc1b3\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"StatusDesc\\": \\"发送成功\\",\\n \\"TestId\\": \\"1\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionMessagesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<MessageList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<TestId>1</TestId>\\r\\n\\t\\t\\t<MessageId>1</MessageId>\\r\\n\\t\\t\\t<DeviceId>b8fe2e24ff2b48e0a3aa4e49809fc1b3</DeviceId>\\r\\n\\t\\t\\t<Status>SUCCESS</Status>\\r\\n\\t\\t\\t<StatusDesc>发送成功</StatusDesc>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</MessageList>\\r\\n</FindVersionMessagesResponse>","errorExample":""}]', - 'title' => '查询消息发送情况', - 'summary' => '查询某一版本、测试或群发记录下的消息发送情况。', - 'description' => '> 根据MessageType决定查询的目标类型。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionAllBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionAllBlackDevicesResponse>","errorExample":""}]', + 'title' => '删除所有黑名单设备', + 'summary' => '删除系统版本或应用版本下的所有黑名单设备。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionMessageSendRecords' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionAllBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteVersionAllWhiteDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', - 'type' => 'string', - 'required' => false, - 'example' => 'FOTA', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'MessageType', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => ' 消息类型,取值:'."\n" - ."\n" - .'- **SYSTEM_UPDATE**:系统版本发布消息推送,'."\n" - .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', - 'type' => 'string', - 'required' => false, - 'example' => 'SYSTEM_UPDATE', - ], + 'schema' => ['description' => '版本类型。支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -5762,318 +3597,214 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'MessageSendRecordList' => [ - 'description' => '查询到的消息发送记录', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '发送记录列表详情', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1645460000', - ], - 'MessageType' => [ - 'description' => ' 消息类型,取值:'."\n" - .' '."\n" - .'- **SYSTEM_UPDATE**:系统版本发布消息推送'."\n" - .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', - 'type' => 'string', - 'example' => 'SYSTEM_UPDATE', - ], - 'FailedCount' => [ - 'description' => '失败消息数', - 'type' => 'string', - 'example' => '0', - ], - 'SkippedCount' => [ - 'description' => '跳过消息数', - 'type' => 'string', - 'example' => '0', - ], - 'Result' => [ - 'description' => '消息发送结果', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'SucceededCount' => [ - 'description' => '成功消息数', - 'type' => 'string', - 'example' => '100', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '1', - ], - 'ResultDesc' => [ - 'description' => '消息发送结果描述', - 'type' => 'string', - 'example' => '发送成功', - ], - 'TargetId' => [ - 'description' => '目标ID', - 'type' => 'string', - 'example' => '1', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"MessageSendRecordList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1645460000,\\n \\"MessageType\\": \\"SYSTEM_UPDATE\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"SkippedCount\\": \\"0\\",\\n \\"Result\\": \\"SUCCESS\\",\\n \\"SucceededCount\\": \\"100\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"ResultDesc\\": \\"发送成功\\",\\n \\"TargetId\\": \\"1\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionMessageSendRecordsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<MessageSendRecordList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<MessageType>SYSTEM_UPDATE</MessageType>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<TargetId>1</TargetId>\\r\\n\\t\\t\\t<Result>SUCCESS</Result>\\r\\n\\t\\t\\t<ResultDesc>发送成功</ResultDesc>\\r\\n\\t\\t\\t<SucceededCount>100</SucceededCount>\\r\\n\\t\\t\\t<FailedCount>0</FailedCount>\\r\\n\\t\\t\\t<SkippedCount>0</SkippedCount>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</MessageSendRecordList>\\r\\n</FindVersionMessageSendRecordsResponse>","errorExample":""}]', - 'title' => '查询群发消息记录', - 'summary' => '查询版本下的群发消息记录,只针对按照机型群发的消息记录的查询。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionAllWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionAllWhiteDevicesResponse>","errorExample":""}]', + 'title' => '删除所有设备白名单', + 'summary' => '删除系统版本或应用版本下的所有设备白名单。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateAppVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionAllWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteVersionBlackDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'IsForceUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制升级,取值:**Y** | **N**。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], - ], - [ - 'name' => 'IsAllowNewInstall', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '表示当客户端不存在此应用时,是否允许新安装此应用,相当于后装。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], + 'schema' => ['description' => '设备ID列表,英文逗号隔开。具体设备ID使用哪个,由**DeviceIdType**决定。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'description' => '应用ID,表示要针对哪个应用进行升级。', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AppVersion', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '应用版本号', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '版本类型。支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'VersionCode', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '应用版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], [ - 'name' => 'InstallType', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => '安装类型,取值:**auto**表示自动,**customize**表示自定义。', - 'type' => 'string', - 'required' => false, - 'example' => 'auto', - ], + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => true, 'example' => 'hardware_id'], ], - [ - 'name' => 'Remark', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '版本备注', - 'type' => 'string', - 'required' => false, - 'example' => 'sample remark', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionBlackDevicesResponse>","errorExample":""}]', + 'title' => '删除系统版本或应用版本的设备黑名单', + 'summary' => '调用DeleteVersionBlackDevices删除系统版本或应用版本的设备黑名单。', + 'description' => '> 当需要删除版本的设备黑名单时,可以调用此接口。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ReleaseNote', - 'in' => 'query', - 'schema' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'required' => false, - 'example' => 'sample release note', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteVersionBlackDevicesById' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'IsSilentUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否静默升级,取值:**Y** | **N**。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'PackageUrl', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => '升级包地址', - 'type' => 'string', - 'required' => false, - 'example' => 'http://www.oss-server.com/file.zip', - ], + 'schema' => ['description' => '黑名单ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '100,200,300'], ], [ - 'name' => 'IsNeedRestart', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '是否需要重启,取值:**Y** | **N**。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'BlackVersionList', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '版本黑名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'required' => false, - 'example' => '10,20,30', - ], + 'schema' => ['description' => '版本类型,支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'WhiteVersionList', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本白名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'required' => false, - 'example' => '10,20,30', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], - [ - 'name' => 'RestartType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '应用安装完成后的重启类型。取值:'."\n" - ."\n" - .'- **system**:系统重启'."\n" - .'- **app**:应用重启', - 'type' => 'string', - 'required' => false, - 'example' => 'app', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionBlackDevicesByIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionBlackDevicesByIdResponse>","errorExample":""}]', + 'title' => '删除系统版本或应用版本设备黑名单', + 'summary' => '根据ID删除系统版本或应用版本的设备黑名单名单。', + 'description' => '> 当希望根据黑名单ID删除版本的设备黑名单时,可以调用此接口。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RestartAppType', - 'in' => 'query', - 'schema' => [ - 'description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" - ."\n" - .'- **service**:Service重启'."\n" - .'- **activity**:Activity重启', - 'type' => 'string', - 'required' => false, - 'example' => 'service', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionBlackDevicesById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteVersionDeviceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'RestartAppParam', - 'in' => 'query', - 'schema' => [ - 'description' => '应用重启时可以由服务端指定的重启参数', - 'type' => 'string', - 'required' => false, - 'example' => '{"restartDelay":1}', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'DeviceAdapterList', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '应用版本的适配机型列表。'."\n" - ."\n" - .'格式:`deviceModelId1|minOsVersion1|maxOsVersion1,deviceModelId2|minOsVersion2|maxOsVersion2`,即设备型号ID|最低的系统版本号|最高的系统版本号。', - 'type' => 'string', - 'required' => false, - 'example' => '10|2.0.1-R-20180412.1024|3.0.1-R-20180412.1024,11|2.1.1-R-20180412.1024|3.1.1-R-20180412.1024', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'ApkMd5', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'APK的MD5值', - 'type' => 'string', - 'required' => false, - 'example' => '34653456wertwe234653retwewer3456', - ], + 'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -6081,85 +3812,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '12345', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VersionId\\": \\"12345\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionId>12345</VersionId>\\r\\n</CreateAppVersionResponse>","errorExample":""}]', - 'title' => '创建应用升级版本', - 'summary' => '调用CreateAppVersion创建应用升级版本。', - 'description' => '> 当用户需要进行应用升级时,需要首先调用此接口创建一个应用版本,然后进行后续的版本测试、灰度、发布。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionDeviceGroupResponse>","errorExample":""}]', + 'title' => '删除一个测试设备分组', + 'summary' => '调用DeleteVersionDeviceGroup删除一个测试设备分组。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAppBlackWhiteVersions' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteVersionGroupDevice' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'WhiteAppVersions', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '白名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', - 'type' => 'string', - 'required' => false, - 'example' => '12,13,14', - ], + 'schema' => ['description' => '原始设备ID', 'type' => 'string', 'required' => true, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionId', + 'name' => 'DeviceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '设备所属测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'BlackAppVersions', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => '黑名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', - 'type' => 'string', - 'required' => false, - 'example' => '12,13,14', - ], + 'schema' => ['description' => '用于判断的DeviceIds的类型,取值有:**device_id**,**sn**,**vin**,**hardware_id**,**uuid**。', 'type' => 'string', 'required' => true, 'example' => 'device_id'], ], ], 'responses' => [ @@ -6167,70 +3881,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppBlackWhiteVersionsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppBlackWhiteVersionsResponse>","errorExample":""}]', - 'title' => '更新应用版本的版本的黑白名单', - 'summary' => '调用UpdateAppBlackWhiteVersions更新应用版本的版本的黑白名单。', - 'description' => '例如,若配置某个应用版本,只有哪些低版本的应用版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionGroupDeviceResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionGroupDeviceResponse>","errorExample":""}]', + 'title' => '从测试设备分组中删除一个特定设备', + 'summary' => '调用DeleteVersionGroupDevice从测试设备分组中删除一个特定设备。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAppVersionReleaseNote' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionGroupDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVersionGroupDeviceById' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionId', + 'name' => 'DeviceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1234'], ], [ - 'name' => 'ReleaseNote', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => '发布说明', - 'type' => 'string', - 'required' => true, - 'example' => 'sample release note', - ], + 'schema' => ['description' => '分组下设备记录的ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'], ], ], 'responses' => [ @@ -6238,70 +3945,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionReleaseNoteResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionReleaseNoteResponse>","errorExample":""}]', - 'title' => '更新应用版本的发布说明', - 'summary' => '调用UpdateAppVersionReleaseNote更新应用版本的发布说明。', - 'description' => '> 当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionGroupDeviceByIdRespone>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionGroupDeviceByIdRespone>","errorExample":""}]', + 'title' => '根据ID删除测试分组设备', + 'summary' => '调用DeleteVersionGroupDeviceById根据ID删除测试分组设备。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAppVersionStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionGroupDeviceById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVersionTest' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '版本状态', - 'type' => 'string', - 'required' => false, - 'example' => 'PUBLISHED', - ], + 'schema' => ['description' => '测试ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -6309,247 +4004,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionStatusResponse>","errorExample":""}]', - 'title' => '切换应用版本状态', - 'summary' => '测试通过、已发布、已下架、已废弃。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DeleteVersionTestResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionTestResponse>","errorExample":""}]', + 'title' => '删除版本下指定的测试', + 'summary' => '调用DeleteVersionTest删除版本下指定的测试。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAppVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionTest', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteVersionWhiteDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'BlackVersionList', - 'in' => 'query', - 'schema' => [ - 'description' => '版本黑名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'required' => false, - 'example' => '10,20,30', - ], - ], - [ - 'name' => 'IsAllowNewInstall', + 'name' => 'DeviceIds', 'in' => 'query', - 'schema' => [ - 'description' => '当客户端不存在该应用时,服务端是否允许返回该应用版本。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], + 'schema' => ['description' => '设备ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'description' => '应用ID,表示要针对哪个应用进行升级。', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - ], - [ - 'name' => 'AppVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '应用版本号', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionCode', - 'in' => 'query', - 'schema' => [ - 'description' => '应用版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'InstallType', - 'in' => 'query', - 'schema' => [ - 'description' => '应用升级包安装方式。取值:**auto** / **customize**。', - 'type' => 'string', - 'required' => false, - 'example' => 'auto', - ], - ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '版本备注', - 'type' => 'string', - 'required' => false, - 'example' => 'sample remark', - ], - ], - [ - 'name' => 'IsForceUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制升级,Y或N。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], - ], - [ - 'name' => 'IsSilentUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否静默升级,Y或N。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], - ], - [ - 'name' => 'IsNeedRestart', - 'in' => 'query', - 'schema' => [ - 'description' => '是否需要重启,Y或N。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], - ], - [ - 'name' => 'PackageUrl', - 'in' => 'query', - 'schema' => [ - 'description' => '升级包地址', - 'type' => 'string', - 'required' => false, - 'example' => 'http://www.oss-server.com/file.zip', - ], - ], - [ - 'name' => 'ReleaseNote', - 'in' => 'query', - 'schema' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'required' => false, - 'example' => 'sample release note', - ], - ], - [ - 'name' => 'WhiteVersionList', - 'in' => 'query', - 'schema' => [ - 'description' => '版本白名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'required' => false, - 'example' => '10,20,30', - ], - ], - [ - 'name' => 'RestartType', - 'in' => 'query', - 'schema' => [ - 'description' => '应用安装完成后的重启类型。取值:'."\n" - ."\n" - .'- **system**:表示系统重启'."\n" - .'- **app**:表示应用重启', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], - ], - [ - 'name' => 'RestartAppType', - 'in' => 'query', - 'schema' => [ - 'description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。'."\n" - ."\n" - .'- **service**:表示Service重启'."\n" - .'- **activity**:表示Activity重启', - 'type' => 'string', - 'required' => false, - 'example' => 'service', - ], - ], - [ - 'name' => 'RestartAppParam', - 'in' => 'query', - 'schema' => [ - 'description' => '应用重启时可以由服务端指定的重启参数', - 'type' => 'string', - 'required' => false, - 'example' => '{"restartDelay":1}', - ], - ], - [ - 'name' => 'DeviceAdapterList', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '应用版本的适配机型列表。'."\n" - ."\n" - .'格式为:`deviceModelId|minOsVersion|maxOsVersion`,即设备型号ID|最低的系统版本号|最高的系统版本号。', - 'type' => 'string', - 'required' => false, - 'example' => '10|2.0.1-R-20180412.1024|3.0.1-R-20180412.1024,11|2.1.1-R-20180412.1024|3.1.1-R-20180412.1024', - ], + 'schema' => ['description' => '版本类型。支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => false, - 'example' => '11', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], [ - 'name' => 'ApkMd5', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => 'APK的MD5值', - 'type' => 'string', - 'required' => false, - 'example' => '34653456wertwe234653retwewer3456', - ], + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => true, 'example' => 'hardware_id'], ], ], 'responses' => [ @@ -6557,164 +4086,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionResponse>","errorExample":""}]', - 'title' => '更新应用升级版本中的各项信息配置', - 'summary' => '调用UpdateAppVersion更新应用升级版本中的各项信息配置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}\\n"},{"type":"xml","example":"<DeleteVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionWhiteDevicesResponse>","errorExample":""}]', + 'title' => '删除系统版本或应用版本的设备白名单', + 'summary' => '调用DeleteVersionWhiteDevices删除系统版本或应用版本的设备白名单。', + 'description' => '> 当希望删除版本的设备白名单时,可以调用此接口。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateAppVersionRemark' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], - ], + 'ramActions' => [ [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '版本备注信息', - 'type' => 'string', - 'required' => true, - 'example' => 'sample remark', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionRemarkResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionRemarkResponse>","errorExample":""}]', - 'title' => '更新备注信息', - 'summary' => '在版本创建完成后,更新备注信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'GetDeviceAppUpdateFunnelEvents' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteVersionWhiteDevicesById' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'PackageName', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => '应用包名', - 'type' => 'string', - 'required' => false, - 'example' => 'com.aliyun.package1', - ], + 'schema' => ['description' => '白名单ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '1,2,3'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'TargetVersionCode', - 'in' => 'query', - 'schema' => [ - 'description' => '目标版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'IdType', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => false, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '版本类型,支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'OriginalId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -6722,115 +4159,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'EventList' => [ - 'description' => '升级进度事件列表信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PackageName' => [ - 'description' => '应用包名', - 'type' => 'string', - 'example' => 'com.aliyun.package1', - ], - 'DeviceId' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], - 'TargetVersionCode' => [ - 'description' => '升级目标版本versioncode', - 'type' => 'string', - 'example' => '2005680', - ], - 'Event' => [ - 'description' => '事件名称', - 'type' => 'string', - 'example' => 'os_download_succ', - ], - 'ReportTimestamp' => [ - 'description' => '上报时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16834500000', - ], - 'ReportTime' => [ - 'description' => '事件上报时间', - 'type' => 'string', - 'example' => '2018-02-14 14:20:18', - ], - 'TenantId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'P0VFCREU', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"EventList\\": [\\n {\\n \\"PackageName\\": \\"com.aliyun.package1\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"TargetVersionCode\\": \\"2005680\\",\\n \\"Event\\": \\"os_download_succ\\",\\n \\"ReportTimestamp\\": 16834500000,\\n \\"ReportTime\\": \\"2018-02-14 14:20:18\\",\\n \\"TenantId\\": \\"P0VFCREU\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<GetDeviceAppUpdateFunnelEventsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<EventList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<TenantId>P0VFCREU</TenantId>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<TargetVersionCode>2005680</TargetVersionCode>\\r\\n\\t\\t\\t<PackageName>com.aliyun.package1</PackageName>\\r\\n\\t\\t\\t<Event>os_download_succ</Event>\\r\\n\\t\\t\\t<ReportTime>2018-02-14 14:20:18</ReportTime>\\r\\n\\t\\t</Items>\\r\\n\\t</EventList>\\r\\n</GetDeviceAppUpdateFunnelEventsResponse>","errorExample":""}]', - 'title' => '获取设备应用升级的进度信息', - 'summary' => '调用GetDeviceAppUpdateFunnelEvents获取设备应用升级的进度信息。', - 'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionWhiteDevicesByIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionWhiteDevicesByIdResponse>","errorExample":""}]', + 'title' => '删除系统版本或应用版本设备白名单', + 'summary' => '根据ID删除系统版本或应用版本的设备白名单。', + 'description' => '> 当希望根据ID删除版本的设备白名单时,可以调用此接口。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PublishAppVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionWhiteDevicesById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeployFunctionFile' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'VersionId', + 'name' => 'FileId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '函数文件ID'."\n", 'type' => 'string', 'required' => true, 'example' => '35'], ], [ - 'name' => 'SendMessage', + 'name' => 'DeployEnv', 'in' => 'query', - 'schema' => [ - 'description' => '是否发送消息', - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], + 'schema' => ['description' => '部署环境,**0**:沙箱环境;**1**:生产环境。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], ], 'responses' => [ @@ -6838,121 +4224,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<PublishAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PublishAppVersionResponse>","errorExample":""}]', - 'title' => '发布应用版本', - 'summary' => '发布应用版本,可控制是否推送升级消息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeployFunctionFileResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeployFunctionFileResponse>","errorExample":""}]', + 'title' => '部署函数', + 'summary' => '调用DeployFunctionFile部署函数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindAppVersions' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:DeployFunctionFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeAppVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '版本状态,如**TESTING**,**TEST_PASSED**,**PREPUBLISH**,**PUBLISHED**。', - 'type' => 'string', - 'required' => false, - 'example' => 'PUBLISHED', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页大小,支持20,50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => false, - 'example' => '12345', - ], - ], - [ - 'name' => 'DeviceModelId', - 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'required' => false, - 'example' => '1230', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页索引,从1开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'description' => '应用ID', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '备注', - 'type' => 'string', - 'required' => false, - 'example' => 'sample remark', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -6960,232 +4283,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AppVersionList' => [ - 'description' => '版本列表信息,包括当前页的版本列表以及总共符合条件的版本个数。', + 'AppVersion' => [ + 'description' => '版本基本信息', 'type' => 'object', 'properties' => [ - 'Items' => [ - 'description' => '符合条件的当前页的版本列表。', + 'Status' => ['description' => '应用版本状态,状态定义和系统版本一致。', 'type' => 'string', 'example' => 'PUBLISHED'], + 'IsAllowNewInstall' => ['description' => '当客户端不存在该应用时,服务端是否允许返回该应用版本,取值:**Y | N**。', 'type' => 'string', 'example' => 'Y'], + 'ReleaseNote' => ['description' => '版本发布说明', 'type' => 'string', 'example' => 'sample release note'], + 'PackageName' => ['description' => '应用包名', 'type' => 'string', 'example' => 'com.aliyun.iovcc.ota'], + 'Remark' => ['description' => '版本备注信息,终端设备不可见。', 'type' => 'string', 'example' => 'sample remark'], + 'StatusName' => ['description' => '版本状态的中文名', 'type' => 'string', 'example' => '已发布'], + 'ApkMd5' => ['description' => 'APK的MD5值', 'type' => 'string', 'example' => '34653456wertwe234653retwewer3456'], + 'RestartAppParam' => ['description' => '应用重启参数', 'type' => 'string', 'example' => 'k1:v1'], + 'WhiteVersionList' => ['description' => '版本白名单,versioncode英文逗号拼接。', 'type' => 'string', 'example' => '10,20,30'], + 'AppName' => ['description' => '应用名称', 'type' => 'string', 'example' => 'iovcc-ota'], + 'AppId' => ['description' => '应用ID', 'type' => 'string', 'example' => '12'], + 'RestartAppType' => ['description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" + ."\n" + .'- **service**:表示Service重启'."\n" + .'- **activity**:表示Activity重启', 'type' => 'string', 'example' => 'activity'], + 'VersionCode' => ['description' => '应用版本versioncode,用于版本升级比较大小的逻辑。', 'type' => 'integer', 'format' => 'int64', 'example' => '201'], + 'BlackVersionList' => ['description' => '版本黑名单,versioncode英文逗号拼接。', 'type' => 'string', 'example' => '10,20,30'], + 'GmtModify' => ['description' => '更新时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'DownloadUrl' => ['description' => '升级包下载地址', 'type' => 'string', 'example' => 'http://www.cdn-server.com/file.zip'], + 'Adapters' => [ + 'description' => '应用版本的适配机型列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '版本状态,状态定义和系统版本升级一致。', - 'type' => 'string', - 'example' => 'PUBLISHED', - ], - 'GmtCreateTimestamp' => [ - 'description' => '版本创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12432500000', - ], - 'GmtModify' => [ - 'description' => '版本更新时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'IsAllowNewInstall' => [ - 'description' => '表示当客户端不存在此应用时,是否允许新安装此应用,相当于后装。', - 'type' => 'string', - 'example' => 'Y', - ], - 'StatusName' => [ - 'description' => '状态名', - 'type' => 'string', - 'example' => '已发布', - ], - 'RestartAppParam' => [ - 'description' => '应用重启参数,Y或N', - 'type' => 'string', - 'example' => 'N', - ], - 'IsSilentUpgrade' => [ - 'description' => '是否静默升级,Y或N', - 'type' => 'string', - 'example' => 'N', - ], - 'AppPackageName' => [ - 'description' => '应用包名', - 'type' => 'string', - 'example' => 'com.aliyun.iovcc.ota', - ], - 'GmtModifyTimestamp' => [ - 'description' => '版本更新时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12432500000', - ], - 'AppName' => [ - 'description' => '应用名', - 'type' => 'string', - 'example' => 'iovcc-ota', - ], - 'InstallType' => [ - 'description' => '版本升级包客户端安装类型。取值:'."\n" - ."\n" - .'- **auto**:表示自动安装'."\n" - .'- **customize**:表示自定义安装', - 'type' => 'string', - 'example' => 'auto', - ], - 'IsNeedRestart' => [ - 'description' => '是否需要重启,Y或N', - 'type' => 'string', - 'example' => 'N', - ], - 'RestartAppType' => [ - 'description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" - ."\n" - .'- **service**:表示Service重启'."\n" - .'- **activity**:表示Activity重启', - 'type' => 'string', - 'example' => 'service', - ], - 'AppId' => [ - 'description' => '应用ID', - 'type' => 'string', - 'example' => '20', - ], - 'RestartType' => [ - 'description' => '应用安装完成后的重启类型,取值:'."\n" - ."\n" - .'- **system**:表示系统重启'."\n" - .'- **app**:表示应用重启', - 'type' => 'string', - 'example' => 'app', - ], - 'GmtCreate' => [ - 'description' => '版本创建时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'AppVersion' => [ - 'description' => '应用版本号', - 'type' => 'string', - 'example' => '2.0.2', - ], - 'VersionCode' => [ - 'description' => '应用版本versioncode,是用于应用升级版本比较大小的字段。', - 'type' => 'string', - 'example' => '201', - ], - 'IsForceUpgrade' => [ - 'description' => '是否强制升级,Y或N', - 'type' => 'string', - 'example' => 'N', - ], - 'Id' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], + 'DeviceModelId' => ['description' => '适配的设备型号ID', 'type' => 'string', 'example' => '123'], + 'MaxOsVersion' => ['description' => '最高允许的系统版本号', 'type' => 'string', 'example' => '2.0.1-R-20180412.0923'], + 'MinOsVersion' => ['description' => '最低允许的系统版本号', 'type' => 'string', 'example' => '3.0.1-R-20180412.0923'], + 'VersionId' => ['description' => '当前版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Id' => ['description' => '升级包的ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1234'], + 'DeviceModelName' => ['description' => '机型名', 'type' => 'string', 'example' => 'DM1'], ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的总记录数,方便调用方计算总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'description' => '', + ], + ], + 'IsSilentUpgrade' => ['description' => '是否静默升级,取值:**Y | N**。', 'type' => 'string', 'example' => 'N'], + 'InstallType' => ['description' => '应用升级包安装方式。取值:**auto** / **customize**。', 'type' => 'string', 'example' => 'auto'], + 'IsNeedRestart' => ['description' => '是否需要重启,取值:**Y | N**。', 'type' => 'string', 'example' => 'N'], + 'Size' => ['description' => '升级包大小,字节为单位', 'type' => 'string', 'example' => '1204560'], + 'RestartType' => ['description' => '应用安装完成后的重启类型,取值:'."\n" + ."\n" + .'- **system**:表示系统重启'."\n" + .'- **app**:表示应用重启', 'type' => 'string', 'example' => 'app'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'Md5' => ['description' => '升级包MD5', 'type' => 'string', 'example' => '345adsff2094asas2345et3'], + 'AppVersion' => ['description' => '应用版本号', 'type' => 'string', 'example' => '2.0.1'], + 'IsForceUpgrade' => ['description' => '是否强制升级,取值:**Y | N**。', 'type' => 'string', 'example' => 'N'], + 'Id' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'OriginalUrl' => ['description' => '升级包原始地址', 'type' => 'string', 'example' => 'http://www.oss-server.com/file.zip'], ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"AppVersionList\\": {\\n \\"TotalCount\\": 1000,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 12432500000,\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"IsAllowNewInstall\\": \\"Y\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"RestartAppParam\\": \\"N\\",\\n \\"AppPackageName\\": \\"com.aliyun.iovcc.ota\\",\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"GmtModifyTimestamp\\": 12432500000,\\n \\"AppName\\": \\"iovcc-ota\\",\\n \\"InstallType\\": \\"auto\\",\\n \\"IsNeedRestart\\": \\"N\\",\\n \\"RestartAppType\\": \\"service\\",\\n \\"AppId\\": \\"20\\",\\n \\"RestartType\\": \\"app\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"AppVersion\\": \\"2.0.2\\",\\n \\"VersionCode\\": \\"201\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindAppVersionsResponse>\\r\\n\\t<AppVersionList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<AppId>1</AppId>\\r\\n\\t\\t\\t<AppName>iovcc-ota</AppName>\\r\\n\\t\\t\\t<AppPackageName>com.aliyun.iovcc.ota</AppPackageName>\\r\\n\\t\\t\\t<AppVersion>2.0.2</AppVersion>\\r\\n\\t\\t\\t<AsAllowNewInstall>N</AsAllowNewInstall>\\r\\n\\t\\t\\t<GmtCreate></GmtCreate>\\r\\n\\t\\t\\t<GmtModify></GmtModify>\\r\\n\\t\\t\\t<Id>124</Id>\\r\\n\\t\\t\\t<InstallType>auto</InstallType>\\r\\n\\t\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t\\t<IsNeedRestart>N</IsNeedRestart>\\r\\n\\t\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t\\t<RestartAppParam>N</RestartAppParam>\\r\\n\\t\\t\\t<RestartAppType>N</RestartAppType>\\r\\n\\t\\t\\t<RestartType>system</RestartType>\\r\\n\\t\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t\\t<VersionCode>202</VersionCode>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>1000</TotalCount>\\r\\n\\t</AppVersionList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindAppVersionsResponse>","errorExample":""}]', - 'title' => '按分页获取应用版本列表', - 'summary' => '调用FindAppVersions分页获取应用版本列表。', - 'description' => '**支持多种查询条件,如机型、系统版本号等。**', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AppVersion\\": {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"IsAllowNewInstall\\": \\"Y\\",\\n \\"ReleaseNote\\": \\"sample release note\\",\\n \\"PackageName\\": \\"com.aliyun.iovcc.ota\\",\\n \\"Remark\\": \\"sample remark\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"ApkMd5\\": \\"34653456wertwe234653retwewer3456\\",\\n \\"RestartAppParam\\": \\"k1:v1\\",\\n \\"WhiteVersionList\\": \\"10,20,30\\",\\n \\"AppName\\": \\"iovcc-ota\\",\\n \\"AppId\\": \\"12\\",\\n \\"RestartAppType\\": \\"activity\\",\\n \\"VersionCode\\": 201,\\n \\"BlackVersionList\\": \\"10,20,30\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"DownloadUrl\\": \\"http://www.cdn-server.com/file.zip\\",\\n \\"Adapters\\": [\\n {\\n \\"DeviceModelId\\": \\"123\\",\\n \\"MaxOsVersion\\": \\"2.0.1-R-20180412.0923\\",\\n \\"MinOsVersion\\": \\"3.0.1-R-20180412.0923\\",\\n \\"VersionId\\": 12345,\\n \\"Id\\": 1234,\\n \\"DeviceModelName\\": \\"DM1\\"\\n }\\n ],\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"InstallType\\": \\"auto\\",\\n \\"IsNeedRestart\\": \\"N\\",\\n \\"Size\\": \\"1204560\\",\\n \\"RestartType\\": \\"app\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"Md5\\": \\"345adsff2094asas2345et3\\",\\n \\"AppVersion\\": \\"2.0.1\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345,\\n \\"OriginalUrl\\": \\"http://www.oss-server.com/file.zip\\"\\n },\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeAppVersionResponse>\\r\\n\\t<AppVersion>\\r\\n\\t\\t<Adapters>\\r\\n\\t\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t\\t<Id>100010</Id>\\r\\n\\t\\t\\t<MaxOsVersion>3.0.1-R-20180412.0923</MaxOsVersion>\\r\\n\\t\\t\\t<MinOsVersion>2.0.1-R-20180412.0923</MinOsVersion>\\r\\n\\t\\t\\t<VersionId>123</VersionId>\\r\\n\\t\\t</Adapters>\\r\\n\\t\\t<ApkMd5>645adsff2094asas2345et8</ApkMd5>\\r\\n\\t\\t<AppId>12</AppId>\\r\\n\\t\\t<AppName>iovcc-ota</AppName>\\r\\n\\t\\t<AppVersion>2.0.1</AppVersion>\\r\\n\\t\\t<BlackVersionList></BlackVersionList>\\r\\n\\t\\t<DownloadUrl>http://www.cdn-server.com/file.zip</DownloadUrl>\\r\\n\\t\\t<GmtCreate>2018-04-24 12:23:45</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-04-24 12:23:45</GmtModify>\\r\\n\\t\\t<Id>123</Id>\\r\\n\\t\\t<InstallType>auto</InstallType>\\r\\n\\t\\t<IsAllowNewInstall>N</IsAllowNewInstall>\\r\\n\\t\\t<IsDisableCheckMd5>N</IsDisableCheckMd5>\\r\\n\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t<IsNeedRestart>N</IsNeedRestart>\\r\\n\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t<Md5>345adsff2094asas2345et3</Md5>\\r\\n\\t\\t<OriginalUrl>http://www.oss-server.com/file.zip</OriginalUrl>\\r\\n\\t\\t<PackageName>com.aliyun.iovcc.ota</PackageName>\\r\\n\\t\\t<ReleaseNote>sample release note</ReleaseNote>\\r\\n\\t\\t<Remark>sample remark</Remark>\\r\\n\\t\\t<RestartAppParam>k1:v1</RestartAppParam>\\r\\n\\t\\t<RestartAppType>N</RestartAppType>\\r\\n\\t\\t<RestartType>system</RestartType>\\r\\n\\t\\t<Size>12234523</Size>\\r\\n\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t<VersionCode>201</VersionCode>\\r\\n\\t\\t<WhiteVersionList></WhiteVersionList>\\r\\n\\t</AppVersion>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DescribeAppVersionResponse>","errorExample":""}]', + 'title' => '获取系统版本的详细信息', + 'summary' => '调用DescribeAppVersion获取系统版本的详细信息。', + 'description' => '> 用户希望查看应用版本详情时,可以调用此接口获取版本详细信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddVersionBlackDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAssistRTMPServerAddress' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceIds', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID列表,英文逗号隔开。具体设备ID使用哪个,由DeviceIdType决定。', - 'type' => 'string', - 'required' => true, - 'example' => '11,22,33', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,支持:'."\n" - ."\n" - .'- FOTA:系统升级'."\n" - .'- APP:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], - ], - [ - 'name' => 'DeviceIdType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- device_id:硬件ID,'."\n" - .'- sn:序列号,'."\n" - .'- vin:车架号,'."\n" - .'- hardware_id:硬件ID', - 'type' => 'string', - 'required' => true, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'VersionId', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '6fde56979c484b93b99fba257e3cbe83'], ], ], 'responses' => [ @@ -7193,227 +4398,263 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'RTMPServer' => ['description' => 'RTMP服务器地址', 'type' => 'string', 'example' => 'ra-service-qa.aicc.aliyun.com'], + 'OTP' => ['description' => '一次性验证码', 'type' => 'string', 'example' => 'ewga5dxHOB8Lm9VH'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionBlackDevicesResponse>","errorExample":""}]', - 'title' => '为系统版本或者应用版本添加黑名单', - 'summary' => '调用AddVersionBlackDevices为系统版本或者应用版本添加黑名单。', - 'description' => '> 在系统升级或应用升级时,当希望某些特定的设备不允许升级时,可以调用此接口添加版本的设备黑名单。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"RTMPServer\\": \\"ra-service-qa.aicc.aliyun.com\\",\\n \\"OTP\\": \\"ewga5dxHOB8Lm9VH\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeAssistRTMPServerAddressResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<RTMPServer>ra-rtmp.aicc.aliyun.com</RTMPServer>\\r\\n\\t<OTP>ewga5dxHOB8Lm9VH</OTP>\\r\\n</DescribeAssistRTMPServerAddressResponse>","errorExample":""}]', + 'title' => '获取远程桌面RTMP服务器地址', + 'summary' => '调用DescribeAssistRTMPServerAddress获取远程桌面RTMP服务器地址。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateOsVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistRTMPServerAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeAssistReport' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'IsForceNightUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制夜间升级,取值:**Y | N**。'."\n" - ."\n" - .'与强制升级不能同时选择是(Y)。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ - 'name' => 'MaxClientVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '允许的OTA SDK的最大版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '1200', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'DeviceModelId', + 'name' => 'AssistId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'required' => true, - 'example' => '12', - ], + 'schema' => ['description' => '远程诊断会话ID', 'type' => 'string', 'required' => true, 'example' => '510'], ], - [ - 'name' => 'SystemVersion', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '系统版本号', - 'type' => 'string', - 'required' => true, - 'example' => '2.0.1-R-20180501.1208', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'AssistResult' => ['description' => '诊断结论。', 'type' => 'string', 'example' => '手动设置正确时间'], + 'AssistReason' => ['description' => '诊断原因定位,描述问题的主要原因。', 'type' => 'string', 'example' => '没有和时间服务器同步'], + 'AssistId' => ['description' => '诊断会话ID。', 'type' => 'string', 'example' => '510'], + 'AssistDescription' => ['description' => '诊断缺陷描述,描述问题现象、复现步骤。', 'type' => 'string', 'example' => '设备时间异常'], + 'AssistTag' => ['description' => '诊断标签,用于历史查询,按空格分隔。', 'type' => 'string', 'example' => '系统时间'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"AssistResult\\": \\"手动设置正确时间\\",\\n \\"AssistReason\\": \\"没有和时间服务器同步\\",\\n \\"AssistId\\": \\"510\\",\\n \\"AssistDescription\\": \\"设备时间异常\\",\\n \\"AssistTag\\": \\"系统时间\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeAssistReportResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<AssistId>510</AssistId>\\r\\n\\t<AssistDescription>设备时间异常</AssistDescription>\\r\\n\\t<AssistReason>没有和时间服务器同步</AssistReason>\\r\\n\\t<AssistResult>手动设置正确时间</AssistResult>\\r\\n\\t<AssistTag>time</AssistTag>\\r\\n</DescribeAssistReportResponse>","errorExample":""}]', + 'title' => '获取指定的远程诊断报告', + 'summary' => '调用DescribeAssistReport获取指定的远程诊断报告。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ReleaseNote', - 'in' => 'query', - 'schema' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'required' => false, - 'example' => '改用UI用户体验,提升系统稳定性', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeAssistWSServerAddress' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '备注', - 'type' => 'string', - 'required' => false, - 'example' => '版本备注信息,终端设备不可见', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'BlackVersionList', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '系统版本黑名单列表,英文逗号隔开。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'IsMilestone', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '是否里程碑,取值:**Y | N**。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], + 'schema' => ['description' => 'DIS设备ID', 'type' => 'string', 'required' => true, 'example' => '6fde56979c484b93b99fba257e3cbc12'], ], - [ - 'name' => 'MinClientVersion', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '允许的OTA SDK的最小版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '1100', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'WsServer' => ['description' => 'WebSocket服务地址', 'type' => 'string', 'example' => 'ws://ra-service-qa.aicc.aliyun.com:7001'], + 'OTP' => ['description' => '一次性验证码', 'type' => 'string', 'example' => 'ewga5dxHOB8Lm9VH'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"WsServer\\": \\"ws://ra-service-qa.aicc.aliyun.com:7001\\",\\n \\"OTP\\": \\"ewga5dxHOB8Lm9VH\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', + 'title' => '获取WebSocket服务地址', + 'summary' => '获取远程诊断WebSocket服务器地址。', + 'description' => '获取远程诊断WebSocket服务器地址', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'WhiteVersionList', - 'in' => 'query', - 'schema' => [ - 'description' => '系统版本白名单,英文逗号隔开。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistWSServerAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeCustomizedFilter' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'IsForceUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制升级,取值:**Y | N**。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'NightUpgradeDownloadType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '夜间升级下载类型。1表示WIFI下下载,2表示任全网下载。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'NightUpgradeIsShowTip', + 'name' => 'Id', 'in' => 'query', + 'schema' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '夜间升级时是否给出提示框,取值:**Y | N**。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', + 'type' => 'object', + 'properties' => [ + 'CustomizedFilter' => [ + 'description' => '自定义过滤条件详情', + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '创建时间的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '123543500000'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'ValueCompareType' => ['description' => '值的比较类型。其中,'."\n" + ."\n" + .'- **NUMBER**:按数字比较'."\n" + .'- **STRING**:按字符串比较', 'type' => 'string', 'example' => 'NUMBER'], + 'VersionId' => ['description' => '所属版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'GmtModifyTimestamp' => ['description' => '修改时间的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '123543500000'], + 'Value' => ['description' => '过滤条件值', 'type' => 'string', 'example' => '1,5'], + 'ValueType' => ['description' => '过滤条件的输入类型,目前仅支持**WRITE**,表示手写输入。', 'type' => 'string', 'example' => 'WRITE'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'BlackWhiteType' => ['description' => '比较的黑白名单类型。BLACK:黑名单,WHITE:白名单。', 'type' => 'string', 'example' => 'BLACK'], + 'Name' => ['description' => '过滤条件名', 'type' => 'string', 'example' => 'AnotherFilter'], + 'VersionType' => ['description' => '所属版本类型:FOTA | APP。', 'type' => 'string', 'example' => 'FOTA'], + 'Id' => ['description' => '自定义过滤条件ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CustomizedFilter\\": {\\n \\"GmtCreateTimestamp\\": 123543500000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"ValueCompareType\\": \\"NUMBER\\",\\n \\"VersionId\\": 1,\\n \\"GmtModifyTimestamp\\": 123543500000,\\n \\"Value\\": \\"1,5\\",\\n \\"ValueType\\": \\"WRITE\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"BlackWhiteType\\": \\"BLACK\\",\\n \\"Name\\": \\"AnotherFilter\\",\\n \\"VersionType\\": \\"FOTA\\",\\n \\"Id\\": 1\\n },\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DescribeCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<CustomizedFilter>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>AnotherWhiteList</Name>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<ValueCompareType>NUMBER</ValueCompareType>\\r\\n\\t\\t<BlackWhiteType>BLACK</BlackWhiteType>\\r\\n\\t\\t<Value>1,5</Value>\\r\\n\\t\\t<ValueType>WRITE</ValueType>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</CustomizedFilter>\\r\\n</DescribeCustomizedFilterResponse>","errorExample":""}]', + 'title' => '获取自定义过滤条件详情', + 'summary' => '调用DescribeCustomizedFilter获取自定义过滤条件详情。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NightUpgradeIsAllowedCancel', - 'in' => 'query', - 'schema' => [ - 'description' => '夜间升级是否允许取消,取值:**Y | N**。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeDefaultSchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'RomList', - 'in' => 'query', - 'schema' => [ - 'description' => '升级包列表,包括全量包和增量包,格式为`baseVersion|romUrl,baseVersion|romUrl`。'."\n" - ."\n" - .'其中,**baseVersion**为基准版本,'."\n" - ."\n" - .'- 如果是全量包,则基准版本为0。'."\n" - .'- 如果是增量包,则基准版本为基准的系统版本号。', - 'type' => 'string', - 'required' => true, - 'example' => '0|http://www.oss-server.com/file1.zip,2.0.1|http://www.oss-server.com/file2.zip', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'EnableMobileDownload', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '是否允许移动网络下载升级包,取值:**Y | N**。', - 'type' => 'string', - 'required' => true, - 'example' => 'Y', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'MobileDownloadMaxSize', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '机型ID', 'type' => 'string', 'required' => true, 'example' => '120'], ], ], 'responses' => [ @@ -7421,103 +4662,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VersionId' => [ - 'description' => '返回创建的版本的ID', - 'type' => 'string', - 'example' => '12345', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'Schema' => ['description' => '默认schema信息', 'type' => 'string', 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VersionId\\": \\"12345\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionId>1003</VersionId>\\r\\n</CreateOsVersionResponse>","errorExample":""}]', - 'title' => '创建系统升级版本', - 'summary' => '调用CreateOsVersion创建系统升级版本。', - 'description' => '> 当用户需要进行FOTA升级(即系统升级)时,需要首先调用此接口创建一个系统版本,然后进行后续的版本测试、灰度、发布。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"Schema\\": \\"{\\\\\\"ecu\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"动力系统\\\\\\",\\\\\\"brake_controll\\\\\\":{\\\\\\"handbrake\\\\\\":\\\\\\"手刹状态\\\\\\"}},\\\\\\"device_info\\\\\\":{\\\\\\"vin\\\\\\":\\\\\\"车架号\\\\\\",\\\\\\"uuid\\\\\\":\\\\\\"uuid\\\\\\",\\\\\\"brand\\\\\\":\\\\\\"设备品牌\\\\\\",\\\\\\"plugin_version\\\\\\":{\\\\\\"ra\\\\\\":\\\\\\"远程诊断\\\\\\",\\\\\\"control\\\\\\":\\\\\\"远程控制\\\\\\",\\\\\\"node_desc\\\\\\":\\\\\\"插件版本号\\\\\\",\\\\\\"yundevice\\\\\\":\\\\\\"yundevice版本号\\\\\\"},\\\\\\"system_version\\\\\\":\\\\\\"系统版本号\\\\\\"},\\\\\\"car_body_hvac\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"车身与HVAC\\\\\\",\\\\\\"cigar_lighter\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"点烟器\\\\\\"},\\\\\\"cleaning_fluid\\\\\\":\\\\\\"清洗液\\\\\\"}}\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeDefaultSchemaResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<Schema>{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}</Schema>\\r\\n</DescribeDefaultSchemaResponse>","errorExample":""}]', + 'title' => '根据机型获取默认的schema信息', + 'summary' => '调用DescribeDefaultSchema根据机型获取默认的schema信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionBlackDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDefaultSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceBrand' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceIds', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID列表,英文逗号隔开。具体设备ID使用哪个,由**DeviceIdType**决定。', - 'type' => 'string', - 'required' => true, - 'example' => '11,22,33', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'ProjectId', + 'name' => 'DeviceBrandId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '查询的设备品牌ID,和**DeviceBrand**不能同时为空。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'VersionType', + 'name' => 'DeviceBrand', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '查询的设备品牌名称,和**DeviceBrandId**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'], ], [ - 'name' => 'VersionId', + 'name' => 'Start', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '查询列表起始位置。', 'type' => 'string', 'required' => false, 'example' => '0'], ], [ - 'name' => 'DeviceIdType', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => true, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '查询列表最大长度。', 'type' => 'string', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -7525,83 +4735,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceBrand' => [ + 'description' => '查询结果。', + 'type' => 'object', + 'properties' => [ + 'DeviceBrandId' => ['description' => '品牌ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Description' => ['description' => '品牌描述'."\n", 'type' => 'string', 'example' => '天猫精灵品牌'], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'Manufacture' => ['description' => '生产厂商'."\n", 'type' => 'string', 'example' => 'Alibaba'], + 'DeviceBrand' => ['description' => '品牌名称'."\n", 'type' => 'string', 'example' => '天猫精灵'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionBlackDevicesResponse>","errorExample":""}]', - 'title' => '删除系统版本或应用版本的设备黑名单', - 'summary' => '调用DeleteVersionBlackDevices删除系统版本或应用版本的设备黑名单。', - 'description' => '> 当需要删除版本的设备黑名单时,可以调用此接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceBrand\\": {\\n \\"DeviceBrandId\\": 1,\\n \\"Description\\": \\"天猫精灵品牌\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"Manufacture\\": \\"Alibaba\\",\\n \\"DeviceBrand\\": \\"天猫精灵\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceBrandResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceBrand>\\r\\n\\t\\t<Description>天猫精灵品牌</Description>\\r\\n\\t\\t<DeviceBrand>天猫精灵</DeviceBrand>\\r\\n\\t\\t<DeviceBrandId>1</DeviceBrandId>\\r\\n\\t\\t<Manufacture>Alibaba</Manufacture>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t</DeviceBrand>\\r\\n</DescribeDeviceBrandResponse>","errorExample":""}]', + 'title' => '查询获取设备品牌信息', + 'summary' => '根据品牌ID或品牌名称,查询获取设备品牌信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionBlackDevicesById' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceBrand', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceIdByOuterInfo' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Ids', - 'in' => 'query', - 'schema' => [ - 'description' => '黑名单ID列表,英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'example' => '100,200,300', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'VersionType', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '第三方设备唯一标识类型。'."\n" + ."\n" + .'目前支持:**sn**、**vin**、**hardware_id**。', 'type' => 'string', 'required' => false, 'example' => 'sn'], ], [ - 'name' => 'VersionId', + 'name' => 'QueryValue', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '第三方设备唯一标识的值。', 'type' => 'string', 'required' => false, 'example' => '12345abcde'], ], ], 'responses' => [ @@ -7609,98 +4810,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceId' => ['description' => '设备ID。', 'type' => 'string', 'example' => 'deviceabcde'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionBlackDevicesByIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionBlackDevicesByIdResponse>","errorExample":""}]', - 'title' => '删除系统版本或应用版本设备黑名单', - 'summary' => '根据ID删除系统版本或应用版本的设备黑名单名单。', - 'description' => '> 当希望根据黑名单ID删除版本的设备黑名单时,可以调用此接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceId\\": \\"deviceabcde\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceIdByOuterInfoResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceId>deviceabcde</DeviceId>\\r\\n</DescribeDeviceIdByOuterInfoResponse>","errorExample":""}]', + 'title' => '根据第三方设备唯一标识查询设备ID', + 'summary' => '调用DescribeDeviceIdByOuterInfo根据第三方设备唯一标识查询设备ID。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionWhiteDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceIdByOuterInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceInfo' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceIds', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID列表,英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'example' => '11,22,33', - ], - ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionType', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '设备ID。'."\n" + ."\n" + .'和**DeviceToken**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => '100'], ], [ - 'name' => 'VersionId', + 'name' => 'DeviceToken', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '设备Token。'."\n" + ."\n" + .'和**DeviceId**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'cn.xxxxxxx'], ], [ - 'name' => 'DeviceIdType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => true, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -7708,83 +4877,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceInfo' => [ + 'description' => '返回内容。', + 'type' => 'object', + 'properties' => [ + 'SerialNumber' => ['description' => '设备序列号'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'Status' => ['description' => '设备状态', 'type' => 'string', 'example' => '1'], + 'DeviceModelId' => ['description' => '设备型号ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'MacAddress' => ['description' => 'MAC地址'."\n", 'type' => 'string', 'example' => '00:00:00:00:00:00'], + 'DeviceId' => ['description' => '设备ID'."\n", 'type' => 'string', 'example' => 'cn.1234567890'], + 'DeviceType' => ['description' => '设备类型'."\n", 'type' => 'string', 'example' => '智能家居'], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'DeviceModel' => ['description' => '设备型号'."\n", 'type' => 'string', 'example' => 'X1'], + 'UsageType' => ['description' => '设备使用性质。'."\n" + ."\n" + .'- **0**:私人设备'."\n" + .'- **1**:运营或共享设备'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Vin' => ['description' => '设备车架号(汽车相关产品使用)'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'UsageTypeDesc' => ['description' => '设备使用性质描述。'."\n" + ."\n" + .'- **private**:私人设备'."\n" + .'- **business**:运营或共享设备', 'type' => 'string', 'example' => 'private'], + 'Uuid' => ['description' => '设备UUID'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'HardwareId' => ['description' => '硬件ID'."\n", 'type' => 'string', 'example' => 'xxxxxxx'], + 'Region' => ['description' => '设备所在国家代码'."\n", 'type' => 'string', 'example' => 'cn'], + 'SoftwareId' => ['description' => '软件ID'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'Name' => ['description' => '设备昵称'."\n", 'type' => 'string', 'example' => '我的天猫精灵'], + 'DeviceBrand' => ['description' => '设备品牌'."\n", 'type' => 'string', 'example' => 'TmallGenuine'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}\\n"},{"type":"xml","example":"<DeleteVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionWhiteDevicesResponse>","errorExample":""}]', - 'title' => '删除系统版本或应用版本的设备白名单', - 'summary' => '调用DeleteVersionWhiteDevices删除系统版本或应用版本的设备白名单。', - 'description' => '> 当希望删除版本的设备白名单时,可以调用此接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceInfo\\": {\\n \\"SerialNumber\\": \\"xxxxxxxx\\",\\n \\"Status\\": \\"1\\",\\n \\"DeviceModelId\\": 10,\\n \\"MacAddress\\": \\"00:00:00:00:00:00\\",\\n \\"DeviceId\\": \\"cn.1234567890\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"DeviceModel\\": \\"X1\\",\\n \\"UsageType\\": 0,\\n \\"Vin\\": \\"xxxxxxxx\\",\\n \\"UsageTypeDesc\\": \\"private\\",\\n \\"Uuid\\": \\"xxxxxxxx\\",\\n \\"HardwareId\\": \\"xxxxxxx\\",\\n \\"Region\\": \\"cn\\",\\n \\"SoftwareId\\": \\"xxxxxxxx\\",\\n \\"Name\\": \\"我的天猫精灵\\",\\n \\"DeviceBrand\\": \\"TmallGenuine\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceInfoResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceInfo>\\r\\n\\t\\t<DeviceBrand>TmallGenuine</DeviceBrand>\\r\\n\\t\\t<DeviceId>cn.1234567890</DeviceId>\\r\\n\\t\\t<DeviceModel>X1</DeviceModel>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>智能家居</DeviceType>\\r\\n\\t\\t<HardwareId>xxxxxxx</HardwareId>\\r\\n\\t\\t<MacAddress>00:00:00:00:00:00</MacAddress>\\r\\n\\t\\t<Name>我的天猫精灵</Name>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<SerialNumber>xxxxxx</SerialNumber>\\r\\n\\t\\t<SoftwareId>xxxxxx</SoftwareId>\\r\\n\\t\\t<UsageType>0</UsageType>\\r\\n\\t\\t<UsageTypeDesc>private</UsageTypeDesc>\\r\\n\\t\\t<Uuid>xxxxxx</Uuid>\\r\\n\\t</DeviceInfo>\\r\\n</DescribeDeviceInfoResponse>","errorExample":""}]', + 'title' => '获取设备信息', + 'summary' => '调用DescribeDeviceInfo获取设备信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionWhiteDevicesById' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceModel' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Ids', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '白名单ID列表,英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'example' => '1,2,3', - ], + 'schema' => ['description' => '设备型号ID。'."\n" + ."\n" + .'和**DeviceModel**不能同时为空。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionType', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '设备型号名。'."\n" + ."\n" + .'和**DeviceModelId**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'X1'], ], [ - 'name' => 'VersionId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -7792,80 +4972,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'DeviceModel' => [ + 'description' => '返回内容。', + 'type' => 'object', + 'properties' => [ + 'DeviceModelId' => ['description' => '型号ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'HardwareType' => ['description' => '设备ID生成依据'."\n", 'type' => 'string', 'example' => 'sn'], + 'DeviceName' => ['description' => '设备名称', 'type' => 'string', 'example' => 'device'], + 'DeviceType' => ['description' => '设备类型'."\n", 'type' => 'string', 'example' => '智能家居'], + 'CanCreateDeviceId' => ['description' => '是否可生成设备ID'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'OsPlatform' => ['description' => '系统平台', 'type' => 'string', 'example' => 'android'], + 'DeviceModel' => ['description' => '设备型号名称'."\n", 'type' => 'string', 'example' => 'ROEWE RX5'], + 'SecurityChip' => ['description' => '是否启用芯片ID2认证加固', 'type' => 'string', 'example' => '0'], + 'DeviceLogoUrl' => ['description' => '设备LogoURL', 'type' => 'string', 'example' => 'http://dis-cdn.aicc.aliyun.com/1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg'], + 'Description' => ['description' => '设备型号描述'."\n", 'type' => 'string', 'example' => '荣威RX5'], + 'ObjectKey' => ['description' => 'OSS存储的key', 'type' => 'string', 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg'], + 'InitUsageTypeDesc' => ['description' => '设备使用性质描述。'."\n" + ."\n" + .'0表示私人设备,1表示运营或共享设备。'."\n", 'type' => 'string', 'example' => '0'], + 'InitUsageType' => ['description' => '设备使用性质。'."\n" + ."\n" + .'0表示private,1表示business。默认为**0**。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DeviceBrand' => ['description' => '设备品牌名称'."\n", 'type' => 'string', 'example' => 'ROEWE'], + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionWhiteDevicesByIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionWhiteDevicesByIdResponse>","errorExample":""}]', - 'title' => '删除系统版本或应用版本设备白名单', - 'summary' => '根据ID删除系统版本或应用版本的设备白名单。', - 'description' => '> 当希望根据ID删除版本的设备白名单时,可以调用此接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceModel\\": {\\n \\"DeviceModelId\\": 10,\\n \\"HardwareType\\": \\"sn\\",\\n \\"DeviceName\\": \\"device\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"OsPlatform\\": \\"android\\",\\n \\"DeviceModel\\": \\"ROEWE RX5\\",\\n \\"SecurityChip\\": \\"0\\",\\n \\"DeviceLogoUrl\\": \\"http://dis-cdn.aicc.aliyun.com/1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg\\",\\n \\"Description\\": \\"荣威RX5\\",\\n \\"ObjectKey\\": \\"1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg\\",\\n \\"InitUsageTypeDesc\\": \\"0\\",\\n \\"InitUsageType\\": 0,\\n \\"DeviceBrand\\": \\"ROEWE\\"\\n },\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceModelResponse>\\r\\n\\t<DeviceModel>\\r\\n\\t\\t<CanCreateDeviceId>1</CanCreateDeviceId>\\r\\n\\t\\t<Description>荣威 RX5</Description>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareType>sn</HardwareType>\\r\\n\\t\\t<InitUsageType>0</InitUsageType>\\r\\n\\t\\t<InitUsageTypeDesc>private</InitUsageTypeDesc>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n <DeviceName>device</DeviceName>\\r\\n <ObjectKey>1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg</ObjectKey>\\r\\n <OsPlatform>android</OsPlatform>\\r\\n <SecurityChip>0</SecurityChip>\\r\\n\\t</DeviceModel>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DescribeDeviceModelResponse>","errorExample":""}]', + 'title' => '获取设备型号信息', + 'summary' => '根据型号名或型号ID,获取设备型号信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateOsBlackWhiteVersions' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceOnlineInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'WhiteVersions', - 'in' => 'query', - 'schema' => [ - 'description' => '白名单版本列表,英文逗号分隔。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180402.1208,3.0.1-R-20180402.1208', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'], ], [ - 'name' => 'VersionId', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '查询条件类型。取值:'."\n" + ."\n" + .'- deviceToken'."\n" + .'- deviceId'."\n" + .'- iasToken'."\n" + .'- iasId', 'type' => 'string', 'required' => true, 'example' => 'deviceId'], ], [ - 'name' => 'BlackVersions', + 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '黑名单版本列表,英文逗号分隔,黑白名单不能同时设置。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180402.1208,3.0.1-R-20180402.1208', - ], + 'schema' => ['description' => '查询对象。'."\n" + ."\n" + .'表示查询条件类型的对应值。', 'type' => 'string', 'required' => true, 'example' => 'c86b36f1d19c488f9ae3798f332b9fd5'], ], ], 'responses' => [ @@ -7873,236 +5066,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Devices' => [ + 'description' => '设备在线详情列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LoginTime' => ['description' => '最近联网时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525701500000'], + 'DeviceId' => ['description' => 'dis系统设备ID', 'type' => 'string', 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc'], + 'Online' => ['description' => '设备是否在线。'."\n" + ."\n" + .'1表示在线,0表示不在线,-1表示设备不存在。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ProjectId' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'example' => 'gsgshhfs'], + 'IasId' => ['description' => 'ias系统账号ID', 'type' => 'string', 'example' => '123xxxxxxxxxxx'], + 'SystemVersion' => ['description' => '系统版本', 'type' => 'string', 'example' => '5.3.0'], + 'Terminal' => ['description' => '设备机型', 'type' => 'string', 'example' => 'iphone7'], + 'ClientVersion' => ['description' => 'cmns客户端版本', 'type' => 'string', 'example' => '2.1.0.1.20170327'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsBlackWhiteVersionsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsBlackWhiteVersionsResponse>","errorExample":""}]', - 'title' => '更新系统版本的黑白名单', - 'summary' => '调用UpdateOsBlackWhiteVersions更新系统版本的版本的黑白名单。', - 'description' => '例如,若配置某个系统版本,只有哪些低版本的系统版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Devices\\": [\\n {\\n \\"LoginTime\\": 1525701500000,\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f33ab10cc\\",\\n \\"Online\\": 1,\\n \\"ProjectId\\": \\"gsgshhfs\\",\\n \\"IasId\\": \\"123xxxxxxxxxxx\\",\\n \\"SystemVersion\\": \\"5.3.0\\",\\n \\"Terminal\\": \\"iphone7\\",\\n \\"ClientVersion\\": \\"2.1.0.1.20170327\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DescribeDeviceOnlineInfoResponse>\\r\\n\\t<Devices>\\r\\n\\t\\t<DeviceId>6c845cc9c4fe11138aff5be5e0aeebjj</DeviceId>\\r\\n\\t\\t<Terminal>iphone8</Terminal>\\r\\n\\t\\t<IasId></IasId>\\r\\n\\t\\t<ProjectId>PYNNN9KS</ProjectId>\\r\\n\\t\\t<ClientVersion>2.3.0.4.20170217</ClientVersion>\\r\\n\\t\\t<SystemVersion>1.0.1-E-20180330.1343</SystemVersion>\\r\\n\\t\\t<Online>0</Online>\\r\\n\\t\\t<LoginTime>1523452482291</LoginTime>\\r\\n\\t</Devices>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DescribeDeviceOnlineInfoResponse>","errorExample":""}]', + 'title' => '查询设备在线详情', + 'summary' => '根据设备或者账号ID(token)查询设备在线详情。', + 'description' => '> 当指定deviceId或者deviceToken时,可判断具体设备是否在线。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateOsVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceOnlineInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceShadow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'IsMilestone', - 'in' => 'query', - 'schema' => [ - 'description' => '是否里程碑,Y或N。', - 'type' => 'string', - 'required' => true, - 'example' => 'Y', - ], - ], - [ - 'name' => 'IsForceNightUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制夜间升级,Y或N;与强制升级不能同时选择是。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'DeviceModelId', - 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'required' => true, - 'example' => '12', - ], - ], - [ - 'name' => 'SystemVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '系统版本号', - 'type' => 'string', - 'required' => true, - 'example' => '2.0.1-R-20180501.1208', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'ReleaseNote', - 'in' => 'query', - 'schema' => [ - 'description' => '版本发布说明,客户端展示升级说明。', - 'type' => 'string', - 'required' => true, - 'example' => '改用UI用户体验,提升系统稳定性', - ], - ], - [ - 'name' => 'Remark', - 'in' => 'query', - 'schema' => [ - 'description' => '版本备注,仅用于服务端管理维护。', - 'type' => 'string', - 'required' => false, - 'example' => '版本备注信息', - ], - ], - [ - 'name' => 'IsForceUpgrade', - 'in' => 'query', - 'schema' => [ - 'description' => '是否强制升级,Y或N。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ - 'name' => 'BlackVersionList', - 'in' => 'query', - 'schema' => [ - 'description' => '系统版本黑名单列表,英文逗号隔开。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209', - ], - ], - [ - 'name' => 'WhiteVersionList', - 'in' => 'query', - 'schema' => [ - 'description' => '系统版本白名单列表,英文逗号隔开。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209', - ], - ], - [ - 'name' => 'MaxClientVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '允许的OTA SDK的最大版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'MinClientVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '允许的OTA SDK的最小版本versioncode', - 'type' => 'string', - 'required' => false, - 'example' => '90', - ], - ], - [ - 'name' => 'NightUpgradeDownloadType', - 'in' => 'query', - 'schema' => [ - 'description' => '夜间升级下载类型,1表示WIFI下下载,2表示任全网下载。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'NightUpgradeIsShowTip', - 'in' => 'query', - 'schema' => [ - 'description' => '夜间升级时是否给出提示框,Y或N。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ - 'name' => 'NightUpgradeIsAllowedCancel', - 'in' => 'query', - 'schema' => [ - 'description' => '夜间升级时是否给出提示框,Y或N。', - 'type' => 'string', - 'required' => true, - 'example' => 'N', - ], - ], - [ - 'name' => 'RomList', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '升级包列表,包括全量包和增量包。'."\n" - ."\n" - .'格式为:`id|baseVersion|romUrl,id|baseVersion|romUrl`。'."\n" - ."\n" - .'- 第一位指升级包的ID,如果是新的升级包,则为0。'."\n" - .'- 第二位为基准系统版本号,全量包的基准系统版本号位0。'."\n" - .'- 最后一位为升级包下载地址。', - 'type' => 'string', - 'required' => true, - 'example' => '10|0|http://www.oss-server.com/file0.zip,11|123|http://www.oss-server.com/file1.zip,0|124|http://www.oss-server.com/file2.zip', - ], + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '1ac5e182e9634252a02d442a4d5d16fc'], ], [ - 'name' => 'Id', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '123456', - ], + 'schema' => ['description' => '机型名称', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'], ], [ - 'name' => 'EnableMobileDownload', + 'name' => 'Path', 'in' => 'query', - 'schema' => [ - 'description' => '是否允许移动网络下载升级包', - 'type' => 'string', - 'required' => true, - 'example' => 'Y', - ], + 'schema' => ['description' => '要获取的路径', 'type' => 'string', 'required' => true, 'example' => '/'], ], [ - 'name' => 'MobileDownloadMaxSize', + 'name' => 'ViewSubscribed', 'in' => 'query', - 'schema' => [ - 'description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '是否只查看订阅的信息', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -8110,70 +5159,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceShadow' => [ + 'description' => '设备影子信息', + 'type' => 'object', + 'properties' => [ + 'DeviceShadow' => ['description' => '设备其它信息', 'type' => 'string', 'example' => '[{\\"id\\":10102,\\"name\\":\\"车门:车门\\",\\"open\\":true,\\"pId\\":101,\\"path\\":\\"/车身与HVAC/车门/车门\\"},{\\"id\\":10101,\\"name\\":\\"锁止状态:1\\",\\"open\\":true,\\"pId\\":101,\\"path\\":\\"/车身与HVAC/车门/锁止状态\\"}]'], + 'DeviceInfo' => ['description' => '设备信息', 'type' => 'string', 'example' => '{\\"schema版本\\":\\"1.0\\",\\"uuid\\":\\"002\\",\\"制造商\\":\\"0110446as34\\",\\"对内型号\\":\\"test_model_product\\",\\"对外型号\\":\\"test_model\\",\\"插件版本号\\":{\\"插件版本号\\":\\"1.0\\",\\"远程控制\\":\\"1.0\\",\\"远程诊断\\":\\"1.0\\"},\\"数据更新时间\\":\\"2018-09-14 22:00:01\\",\\"最近登录账号ID\\":\\"4***********\\",\\"系统版本号\\":\\"1.0.0\\",\\"设备品牌\\":\\"003\\",\\"设备描述\\":\\"sample desc1\\",\\"车架号\\":\\"001\\"}'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionResponse>","errorExample":""}]', - 'title' => '更新系统版本的基本信息', - 'summary' => '调用UpdateOsVersion更新系统版本的基本信息。', - 'description' => '用户创建完系统版本后,可能需要修改系统版本,可以调用此接口进行修改。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceShadow\\": {\\n \\"DeviceShadow\\": \\"[{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":10102,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"车门:车门\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"open\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\":101,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/车身与HVAC/车门/车门\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":10101,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"锁止状态:1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"open\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\":101,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/车身与HVAC/车门/锁止状态\\\\\\\\\\\\\\"}]\\",\\n \\"DeviceInfo\\": \\"{\\\\\\\\\\\\\\"schema版本\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"uuid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"002\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"制造商\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0110446as34\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"对内型号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_model_product\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"对外型号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_model\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"插件版本号\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"插件版本号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"远程控制\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"远程诊断\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"数据更新时间\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2018-09-14 22:00:01\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"最近登录账号ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***********\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"系统版本号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"设备品牌\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"003\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"设备描述\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sample desc1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"车架号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"001\\\\\\\\\\\\\\"}\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeviceShadow>\\n <DeviceInfo>{\\"车架号\\":\\"001\\",\\"对外型号\\":\\"test_model\\",\\"最近登录账号ID\\":\\"439********\\",\\"对内型号\\":\\"test_model_product\\",\\"系统版本号\\":\\"1.0.0\\",\\"数据更新时间\\":\\"2018-09-14 21:49:29\\",\\"制造商\\":\\"0110446as34\\",\\"设备描述\\":\\"sample desc1\\",\\"设备品牌\\":\\"003\\",\\"插件版本号\\":{\\"远程诊断\\":\\"1.0\\",\\"远程控制\\":\\"1.0\\",\\"插件版本号\\":\\"1.0\\"},\\"uuid\\":\\"002\\",\\"schema版本\\":\\"1.0\\"}</DeviceInfo>\\n <DeviceShadow>[{\\"path\\":\\"/车身与HVAC/车门/引擎盖状态\\",\\"name\\":\\"引擎盖状态:3\\",\\"pId\\":101,\\"id\\":10103,\\"open\\":true},{\\"path\\":\\"/车身与HVAC/车门/车门\\",\\"name\\":\\"车门:车门\\",\\"pId\\":101,\\"id\\":10102,\\"open\\":true},{\\"path\\":\\"/车身与HVAC/车门/锁止状态\\",\\"name\\":\\"锁止状态:1\\",\\"pId\\":101,\\"id\\":10101,\\"open\\":true}]</DeviceShadow>\\n</DeviceShadow>\\n<RequestId>40FE5EA3-F4D3-4D4B-99BD-2F5B7B90DE7E</RequestId>","errorExample":""}]', + 'title' => '获取设备影子信息', + 'summary' => '调用DescribeDeviceShadow获取设备影子信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateOsVersionReleaseNote' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceShadow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDeviceValiditySchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '机型信息', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'], ], [ - 'name' => 'VersionId', + 'name' => 'SchemaVersion', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '10023', - ], + 'schema' => ['description' => 'schema版本', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], [ - 'name' => 'ReleaseNote', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'required' => true, - 'example' => 'new release note', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], ], 'responses' => [ @@ -8181,70 +5229,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'ItemList' => [ + 'description' => '验证schema列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Minimum' => ['description' => '最小数量', 'type' => 'number', 'format' => 'float', 'example' => '5'], + 'Type' => ['description' => '类型', 'type' => 'string', 'example' => 'string'], + 'Maximum' => ['description' => '最大数量', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'ItemType' => ['description' => '数据类型', 'type' => 'string', 'example' => 'boolean'], + 'EnumListStr' => ['description' => '枚举值的字符串信息', 'type' => 'string', 'example' => '[a,b]'], + 'ExclusiveMinimum' => ['description' => '是否不包含最小值', 'type' => 'boolean', 'example' => 'true'], + 'MaxLength' => ['description' => '最大长度', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Required' => ['description' => '是否是必须的', 'type' => 'string', 'example' => 'true'], + 'Description' => ['description' => '描述信息', 'type' => 'string', 'example' => '机型验证信息'], + 'ExclusiveMaximum' => ['description' => '是否不包含最大值', 'type' => 'boolean', 'example' => 'false'], + 'Path' => ['description' => '路径', 'type' => 'string', 'example' => '/havc/oil_level'], + 'MinLength' => ['description' => '最小长度', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionReleaseNoteResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionReleaseNoteResponse>","errorExample":""}]', - 'title' => '更新系统版本发布说明', - 'summary' => '调用UpdateOsVersionReleaseNote更新系统版本发布说明。', - 'description' => '当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"ItemList\\": [\\n {\\n \\"Minimum\\": 5,\\n \\"Type\\": \\"string\\",\\n \\"Maximum\\": 10,\\n \\"ItemType\\": \\"boolean\\",\\n \\"EnumListStr\\": \\"[a,b]\\",\\n \\"ExclusiveMinimum\\": true,\\n \\"MaxLength\\": 10,\\n \\"Required\\": \\"true\\",\\n \\"Description\\": \\"机型验证信息\\",\\n \\"ExclusiveMaximum\\": false,\\n \\"Path\\": \\"/havc/oil_level\\",\\n \\"MinLength\\": 5\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeDeviceValiditySchemaResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<ItemList>\\r\\n\\t\\t<description>开机时长</description>\\r\\n\\t\\t<enumListStr />\\r\\n\\t\\t<exclusiveMaximum />\\r\\n\\t\\t<exclusiveMinimum />\\r\\n\\t\\t<itemType />\\r\\n\\t\\t<maxLength />\\r\\n\\t\\t<maximum />\\r\\n\\t\\t<minLength />\\r\\n\\t\\t<minimum />\\r\\n\\t\\t<path>/system/environment_variables/system_runtime</path>\\r\\n\\t\\t<required>false</required>\\r\\n\\t\\t<type>string</type>\\r\\n\\t</ItemList>\\r\\n\\t<ItemList>\\r\\n\\t\\t<description>客户端Ip</description>\\r\\n\\t\\t<enumListStr />\\r\\n\\t\\t<exclusiveMaximum />\\r\\n\\t\\t<exclusiveMinimum />\\r\\n\\t\\t<itemType />\\r\\n\\t\\t<maxLength />\\r\\n\\t\\t<maximum />\\r\\n\\t\\t<minLength />\\r\\n\\t\\t<minimum />\\r\\n\\t\\t<path>/system/environment_variables/ip</path>\\r\\n\\t\\t<required>false</required>\\r\\n\\t\\t<type>string</type>\\r\\n\\t</ItemList>\\r\\n</DescribeDeviceValiditySchemaResponse>","errorExample":""}]', + 'title' => '根据机型获取验证schema', + 'summary' => '调用DescribeDeviceValiditySchema根据机型获取验证schema。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateOsVersionRemark' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceValiditySchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeMessage' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'], ], [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12304', - ], - ], - [ - 'name' => 'Remark', + 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'description' => '备注信息', - 'type' => 'string', - 'required' => true, - 'example' => 'sample remark', - ], + 'schema' => ['description' => '消息ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '455888'], ], ], 'responses' => [ @@ -8252,69 +5309,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'sfsgghdhh56666'], + 'Message' => [ + 'description' => '消息详情', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '消息类型。'."\n" + ."\n" + .'**1**表示透传;**2**表示通知。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Action' => ['description' => '消息侦听通道。', 'type' => 'string', 'example' => 'com.aliyun.iovcc.test'], + 'ProjectId' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'example' => 'ssgdghww'], + 'PredictSendCnt' => ['description' => '预期消息到达设备数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Uri' => ['description' => 'alios系统专用,用于定位接收消息应用。', 'type' => 'string', 'example' => 'page://broadcast.alios.com'], + 'Desc' => ['description' => '通知内容描述。', 'type' => 'string', 'example' => 'this is desc test'], + 'AuditMsg' => ['type' => 'string'], + 'AppName' => ['description' => '客户端应用名称。', 'type' => 'string', 'example' => 'pushdemo'], + 'AppKey' => ['description' => '客户端应用标识,项目工程下自定义应用appKey。', 'type' => 'string', 'example' => 'wTiRKC9m'], + 'GmtCreateTime' => ['description' => '消息创建时间,精确到毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525681245000'], + 'ExipiredTime' => ['description' => '失效时间,精确到毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525684245000'], + 'AckCnt' => ['description' => '消息到达设备数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Title' => ['description' => '通知标题。', 'type' => 'string', 'example' => 'this is a title test'], + 'Parameter' => ['description' => '消息参数。'."\n" + ."\n" + .'为pkgContent与customCent合并后的json字符串。', 'type' => 'string', 'example' => '{\\"package\\":\\"com.aliyun.iovcc.test\\",\\"key1\\":\\"value1\\"}"'], + 'Audit' => ['type' => 'integer', 'format' => 'int32'], + 'Id' => ['description' => '消息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2231942'], + 'SendStatus' => ['description' => '消息状态。'."\n" + ."\n" + .'**0**表示发送中;**1**表示消息发送完成;**2**表示消息已失效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionRemarkResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionRemarkResponse>","errorExample":""}]', - 'title' => '更新系统版本备注信息', - 'summary' => '在版本创建完成后,更新系统版本的备注信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"sfsgghdhh56666\\",\\n \\"Message\\": {\\n \\"Type\\": 2,\\n \\"Action\\": \\"com.aliyun.iovcc.test\\",\\n \\"ProjectId\\": \\"ssgdghww\\",\\n \\"PredictSendCnt\\": 3,\\n \\"Uri\\": \\"page://broadcast.alios.com\\",\\n \\"Desc\\": \\"this is desc test\\",\\n \\"AuditMsg\\": \\"\\",\\n \\"AppName\\": \\"pushdemo\\",\\n \\"AppKey\\": \\"wTiRKC9m\\",\\n \\"GmtCreateTime\\": 1525681245000,\\n \\"ExipiredTime\\": 1525684245000,\\n \\"AckCnt\\": 1,\\n \\"Title\\": \\"this is a title test\\",\\n \\"Parameter\\": \\"{\\\\\\\\\\\\\\"package\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"com.aliyun.iovcc.test\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value1\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"Audit\\": 0,\\n \\"Id\\": 2231942,\\n \\"SendStatus\\": 0\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The MessageId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DescribeMessageResponse>\\r\\n\\t<Message>\\r\\n\\t\\t<Id>2231942</Id>\\r\\n\\t\\t<AppName>ALIOS_JARVIS</AppName>\\r\\n\\t\\t<AppKey>WS2MptYY</AppKey>\\r\\n\\t\\t<ProjectId>ssgdghww</ProjectId>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t\\t<SendStatus>1</SendStatus>\\r\\n\\t\\t<Title></Title>\\r\\n\\t\\t<Desc></Desc>\\r\\n\\t\\t<Action>test.action.alios.com</Action>\\r\\n\\t\\t<Uri>page://broadcast.alios.com</Uri>\\r\\n\\t\\t<Parameter>{"package":"com.aliyun.iovcc.test","key1":"value1"}</Parameter>\\r\\n\\t\\t<PredictSendCnt>1</PredictSendCnt>\\r\\n\\t\\t<AckCnt>1</AckCnt>\\r\\n\\t\\t<GmtCreateTime>1525256539000</GmtCreateTime>\\r\\n\\t\\t<ExipiredTime>1525260138000</ExipiredTime>\\r\\n\\t</Message>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DescribeMessageResponse>","errorExample":""}]', + 'title' => '查询消息详情', + 'summary' => '根据消息ID查询消息详情。详情包括消息体内容、消息到达情况。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateOsVersionStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2023-01-06T13:51:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribeOpenAccount' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'Id', + 'name' => 'IdentityId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12304', - ], + 'schema' => ['description' => '云端用户ID。', 'type' => 'string', 'required' => false, 'example' => 'identityidtest'], ], [ - 'name' => 'Status', + 'name' => 'Idp', 'in' => 'query', - 'schema' => [ - 'description' => '版本状态', - 'type' => 'string', - 'required' => false, - 'example' => 'PUBLISHED', - ], + 'schema' => ['description' => '账号认证提供商。'."\n" + ."\n" + .'与**IdentityId**和(**IdToken+Idp**)不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'ALIOS'], + ], + [ + 'name' => 'IdToken', + 'in' => 'query', + 'schema' => ['description' => '账号Token。'."\n" + ."\n" + .'与**IdentityId**和(**IdToken+Idp**)不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'idtokentest'], + ], + [ + 'name' => 'OpenId', + 'in' => 'query', + 'schema' => ['description' => '三方账户平台ID。', 'type' => 'string', 'required' => false, 'example' => '12345'], ], ], 'responses' => [ @@ -8322,60 +5416,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'OpenAccount' => [ + 'description' => '返回内容。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。'."\n" + ."\n" + .'**0**表示正常,**1**表示禁用。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'**1**表示三方关联账号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DisplayName' => ['description' => '显示名', 'type' => 'string', 'example' => 'displaynametest'], + 'CreateAccessKey' => ['description' => '账号创建的AK', 'type' => 'string', 'example' => 'createaccesskeytest'], + 'OpenId' => ['description' => '三方平台账号ID', 'type' => 'string', 'example' => '12345'], + 'Mobile' => ['description' => '手机号', 'type' => 'string', 'example' => '1390000****'], + 'Region' => ['description' => '区域', 'type' => 'string', 'example' => 'cn'], + 'IdentityId' => ['description' => '账号ID', 'type' => 'string', 'example' => 'identityidtest'], + 'LoginId' => ['description' => '登录名', 'type' => 'string', 'example' => 'loginidtest'], + 'Idp' => ['description' => '三方平台标识简称呼,如ALIOS。', 'type' => 'string', 'example' => 'ALIOS'], + 'AliyunId' => ['description' => '租户ID', 'type' => 'string', 'example' => 'aliyunidtest'], + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionStatusResponse>","errorExample":""}]', - 'title' => '切换系统版本状态', - 'summary' => '调用UpdateOsVersionStatus切换系统版本状态。', - 'description' => '例如,测试通过、已发布、已下架、已废弃等。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OpenAccount\\": {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n },\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeOpenAccountResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<OpenAccount>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccount>\\r\\n</DescribeOpenAccountResponse>","errorExample":""}]', + 'title' => '获取账号信息', + 'summary' => '调用DescribeOpenAccount获取账号信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAppVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeOpenAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeOsVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'], ], ], 'responses' => [ @@ -8383,251 +5494,126 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AppVersion' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'OsVersion' => [ 'description' => '版本基本信息', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '应用版本状态,状态定义和系统版本一致。', - 'type' => 'string', - 'example' => 'PUBLISHED', - ], - 'IsAllowNewInstall' => [ - 'description' => '当客户端不存在该应用时,服务端是否允许返回该应用版本,取值:**Y | N**。', - 'type' => 'string', - 'example' => 'Y', - ], - 'ReleaseNote' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'example' => 'sample release note', - ], - 'PackageName' => [ - 'description' => '应用包名', - 'type' => 'string', - 'example' => 'com.aliyun.iovcc.ota', - ], - 'Remark' => [ - 'description' => '版本备注信息,终端设备不可见。', - 'type' => 'string', - 'example' => 'sample remark', - ], - 'StatusName' => [ - 'description' => '版本状态的中文名', - 'type' => 'string', - 'example' => '已发布', - ], - 'ApkMd5' => [ - 'description' => 'APK的MD5值', - 'type' => 'string', - 'example' => '34653456wertwe234653retwewer3456', - ], - 'RestartAppParam' => [ - 'description' => '应用重启参数', - 'type' => 'string', - 'example' => 'k1:v1', - ], - 'WhiteVersionList' => [ - 'description' => '版本白名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'example' => '10,20,30', - ], - 'AppName' => [ - 'description' => '应用名称', - 'type' => 'string', - 'example' => 'iovcc-ota', - ], - 'AppId' => [ - 'description' => '应用ID', - 'type' => 'string', - 'example' => '12', - ], - 'RestartAppType' => [ - 'description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" - ."\n" - .'- **service**:表示Service重启'."\n" - .'- **activity**:表示Activity重启', - 'type' => 'string', - 'example' => 'activity', - ], - 'VersionCode' => [ - 'description' => '应用版本versioncode,用于版本升级比较大小的逻辑。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '201', - ], - 'BlackVersionList' => [ - 'description' => '版本黑名单,versioncode英文逗号拼接。', - 'type' => 'string', - 'example' => '10,20,30', - ], - 'GmtModify' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'DownloadUrl' => [ - 'description' => '升级包下载地址', - 'type' => 'string', - 'example' => 'http://www.cdn-server.com/file.zip', - ], - 'Adapters' => [ - 'description' => '应用版本的适配机型列表', + 'Status' => ['description' => '版本状态,所有的状态有:'."\n" + ."\n" + .'- **INITIAL**:初始状态'."\n" + .'- **CREATING**:创建中'."\n" + .'- **CREATE_FAILED**:创建失败'."\n" + .'- **CREATE_COMPLETED**:创建完成'."\n" + .'- **TESTING**:测试中'."\n" + .'- **TEST_PASSED**:测试已通过'."\n" + .'- **PREPUBLISHED**:预发布'."\n" + .'- **PUBLISHED**:已发布'."\n" + .'- **UNUSED**:已废弃'."\n" + .'- **FROZEN**:已冻结'."\n" + .'- **DOWN**:已下架', 'type' => 'string', 'example' => 'PUBLISHED'], + 'DeviceModelId' => ['description' => '设备型号ID', 'type' => 'string', 'example' => '123'], + 'BlackVersionList' => ['description' => '系统版本黑名单列表,英文逗号隔开。', 'type' => 'string', 'example' => '2.0.1,3.0.1'], + 'IsMilestone' => ['description' => '是否里程碑,Y或N。', 'type' => 'string', 'example' => 'Y'], + 'GmtModify' => ['description' => '版本创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'ReleaseNote' => ['description' => '版本发布说明', 'type' => 'string', 'example' => '改用UI用户体验,提升系统稳定性'], + 'Remark' => ['description' => '备注', 'type' => 'string', 'example' => '版本备注信息,终端设备不可见'], + 'SystemVersion' => ['description' => '系统版本号', 'type' => 'string', 'example' => '2.0.1-R-20180506.0824'], + 'StatusName' => ['description' => '版本状态的中文名', 'type' => 'string', 'example' => '已发布'], + 'DeviceModelName' => ['description' => '机型名', 'type' => 'string', 'example' => 'DM1'], + 'WhiteVersionList' => ['description' => '系统版本白名单列表', 'type' => 'string', 'example' => '2.0.1,3.0.1'], + 'MaxClientVersion' => ['description' => '允许的OTA SDK的最大版本versioncode。', 'type' => 'string', 'example' => '200'], + 'RomList' => [ + 'description' => '升级包列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DeviceModelId' => [ - 'description' => '适配的设备型号ID', - 'type' => 'string', - 'example' => '123', - ], - 'MaxOsVersion' => [ - 'description' => '最高允许的系统版本号', - 'type' => 'string', - 'example' => '2.0.1-R-20180412.0923', - ], - 'MinOsVersion' => [ - 'description' => '最低允许的系统版本号', - 'type' => 'string', - 'example' => '3.0.1-R-20180412.0923', - ], - 'VersionId' => [ - 'description' => '当前版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Id' => [ - 'description' => '升级包的ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'DeviceModelName' => [ - 'description' => '机型名', - 'type' => 'string', - 'example' => 'DM1', - ], + 'GmtModify' => ['description' => '升级包修改时间,格式:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'SplitNum' => ['description' => '升级包分片数,10MB一个分片', 'type' => 'string', 'example' => '10'], + 'DownloadUrl' => ['description' => '升级包下载地址', 'type' => 'string', 'example' => 'https://www.cdn-server.com/file.zip'], + 'Size' => ['description' => '升级包大小,单位字节', 'type' => 'string', 'example' => '10000'], + 'GmtCreate' => ['description' => '升级包创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'VersionId' => ['description' => '升级包所属的版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Md5' => ['description' => '升级包MD5', 'type' => 'string', 'example' => 'we3utrw4esdfgkhsdlfha'], + 'BaseVersion' => ['description' => '基准系统版本,如果是全量包,则为空。', 'type' => 'string', 'example' => '2.0.1-R-20180502.1205'], + 'Id' => ['description' => '升级包ID', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'OriginalUrl' => ['description' => '升级包原始地址', 'type' => 'string', 'example' => 'http://www.oss-server.com/file.zip'], ], + 'description' => '', ], ], - 'IsSilentUpgrade' => [ - 'description' => '是否静默升级,取值:**Y | N**。', - 'type' => 'string', - 'example' => 'N', - ], - 'InstallType' => [ - 'description' => '应用升级包安装方式。取值:**auto** / **customize**。', - 'type' => 'string', - 'example' => 'auto', - ], - 'IsNeedRestart' => [ - 'description' => '是否需要重启,取值:**Y | N**。', - 'type' => 'string', - 'example' => 'N', - ], - 'Size' => [ - 'description' => '升级包大小,字节为单位', - 'type' => 'string', - 'example' => '1204560', - ], - 'RestartType' => [ - 'description' => '应用安装完成后的重启类型,取值:'."\n" - ."\n" - .'- **system**:表示系统重启'."\n" - .'- **app**:表示应用重启', - 'type' => 'string', - 'example' => 'app', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'Md5' => [ - 'description' => '升级包MD5', - 'type' => 'string', - 'example' => '345adsff2094asas2345et3', - ], - 'AppVersion' => [ - 'description' => '应用版本号', - 'type' => 'string', - 'example' => '2.0.1', - ], - 'IsForceUpgrade' => [ - 'description' => '是否强制升级,取值:**Y | N**。', - 'type' => 'string', - 'example' => 'N', - ], - 'Id' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'OriginalUrl' => [ - 'description' => '升级包原始地址', - 'type' => 'string', - 'example' => 'http://www.oss-server.com/file.zip', - ], + 'MinClientVersion' => ['description' => '允许的OTA SDK的最小版本versioncode。', 'type' => 'string', 'example' => '100'], + 'NightUpgradeOption' => [ + 'description' => '夜间升级选项', + 'type' => 'object', + 'properties' => [ + 'DownloadType' => ['description' => '夜间升级下载类型。'."\n" + ."\n" + .'- **1**表示WIFI下下载。'."\n" + .'- **2**表示任全网下载。', 'type' => 'string', 'example' => '1'], + 'IsAllowedCancel' => ['description' => '夜间升级是否允许取消,取值:Y或N。', 'type' => 'string', 'example' => 'N'], + 'IsShowTip' => ['description' => '夜间升级时是否给出提示框,取值:Y或N。', 'type' => 'string', 'example' => 'N'], + ], + ], + 'GmtCreate' => ['description' => '版本创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'IsForceNightUpgrade' => ['description' => '是否强制夜间升级,Y或N;不允许和是否强制升级同时设置为Y。', 'type' => 'string', 'example' => 'N'], + 'MobileDownloadMaxSize' => ['description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', 'type' => 'string', 'example' => '10'], + 'EnableMobileDownload' => ['description' => '是否允许移动网络下载升级包', 'type' => 'string', 'example' => 'Y'], + 'IsForceUpgrade' => ['description' => '是否强制升级,Y或N。', 'type' => 'string', 'example' => 'N'], + 'Id' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"AppVersion\\": {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"IsAllowNewInstall\\": \\"Y\\",\\n \\"ReleaseNote\\": \\"sample release note\\",\\n \\"PackageName\\": \\"com.aliyun.iovcc.ota\\",\\n \\"Remark\\": \\"sample remark\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"ApkMd5\\": \\"34653456wertwe234653retwewer3456\\",\\n \\"RestartAppParam\\": \\"k1:v1\\",\\n \\"WhiteVersionList\\": \\"10,20,30\\",\\n \\"AppName\\": \\"iovcc-ota\\",\\n \\"AppId\\": \\"12\\",\\n \\"RestartAppType\\": \\"activity\\",\\n \\"VersionCode\\": 201,\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"BlackVersionList\\": \\"10,20,30\\",\\n \\"DownloadUrl\\": \\"http://www.cdn-server.com/file.zip\\",\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"InstallType\\": \\"auto\\",\\n \\"IsNeedRestart\\": \\"N\\",\\n \\"Size\\": \\"1204560\\",\\n \\"RestartType\\": \\"app\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"Md5\\": \\"345adsff2094asas2345et3\\",\\n \\"AppVersion\\": \\"2.0.1\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345,\\n \\"OriginalUrl\\": \\"http://www.oss-server.com/file.zip\\",\\n \\"Adapters\\": [\\n {\\n \\"DeviceModelId\\": \\"123\\",\\n \\"MaxOsVersion\\": \\"2.0.1-R-20180412.0923\\",\\n \\"MinOsVersion\\": \\"3.0.1-R-20180412.0923\\",\\n \\"VersionId\\": 12345,\\n \\"Id\\": 1234,\\n \\"DeviceModelName\\": \\"DM1\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeAppVersionResponse>\\r\\n\\t<AppVersion>\\r\\n\\t\\t<Adapters>\\r\\n\\t\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t\\t<Id>100010</Id>\\r\\n\\t\\t\\t<MaxOsVersion>3.0.1-R-20180412.0923</MaxOsVersion>\\r\\n\\t\\t\\t<MinOsVersion>2.0.1-R-20180412.0923</MinOsVersion>\\r\\n\\t\\t\\t<VersionId>123</VersionId>\\r\\n\\t\\t</Adapters>\\r\\n\\t\\t<ApkMd5>645adsff2094asas2345et8</ApkMd5>\\r\\n\\t\\t<AppId>12</AppId>\\r\\n\\t\\t<AppName>iovcc-ota</AppName>\\r\\n\\t\\t<AppVersion>2.0.1</AppVersion>\\r\\n\\t\\t<BlackVersionList></BlackVersionList>\\r\\n\\t\\t<DownloadUrl>http://www.cdn-server.com/file.zip</DownloadUrl>\\r\\n\\t\\t<GmtCreate>2018-04-24 12:23:45</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-04-24 12:23:45</GmtModify>\\r\\n\\t\\t<Id>123</Id>\\r\\n\\t\\t<InstallType>auto</InstallType>\\r\\n\\t\\t<IsAllowNewInstall>N</IsAllowNewInstall>\\r\\n\\t\\t<IsDisableCheckMd5>N</IsDisableCheckMd5>\\r\\n\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t<IsNeedRestart>N</IsNeedRestart>\\r\\n\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t<Md5>345adsff2094asas2345et3</Md5>\\r\\n\\t\\t<OriginalUrl>http://www.oss-server.com/file.zip</OriginalUrl>\\r\\n\\t\\t<PackageName>com.aliyun.iovcc.ota</PackageName>\\r\\n\\t\\t<ReleaseNote>sample release note</ReleaseNote>\\r\\n\\t\\t<Remark>sample remark</Remark>\\r\\n\\t\\t<RestartAppParam>k1:v1</RestartAppParam>\\r\\n\\t\\t<RestartAppType>N</RestartAppType>\\r\\n\\t\\t<RestartType>system</RestartType>\\r\\n\\t\\t<Size>12234523</Size>\\r\\n\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t<VersionCode>201</VersionCode>\\r\\n\\t\\t<WhiteVersionList></WhiteVersionList>\\r\\n\\t</AppVersion>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DescribeAppVersionResponse>","errorExample":""}]', - 'title' => '获取系统版本的详细信息', - 'summary' => '调用DescribeAppVersion获取系统版本的详细信息。', - 'description' => '> 用户希望查看应用版本详情时,可以调用此接口获取版本详细信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OsVersion\\": {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"DeviceModelId\\": \\"123\\",\\n \\"BlackVersionList\\": \\"2.0.1,3.0.1\\",\\n \\"IsMilestone\\": \\"Y\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"ReleaseNote\\": \\"改用UI用户体验,提升系统稳定性\\",\\n \\"Remark\\": \\"版本备注信息,终端设备不可见\\",\\n \\"SystemVersion\\": \\"2.0.1-R-20180506.0824\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"WhiteVersionList\\": \\"2.0.1,3.0.1\\",\\n \\"MaxClientVersion\\": \\"200\\",\\n \\"RomList\\": [\\n {\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"SplitNum\\": \\"10\\",\\n \\"DownloadUrl\\": \\"https://www.cdn-server.com/file.zip\\",\\n \\"Size\\": \\"10000\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"VersionId\\": 12345,\\n \\"Md5\\": \\"we3utrw4esdfgkhsdlfha\\",\\n \\"BaseVersion\\": \\"2.0.1-R-20180502.1205\\",\\n \\"Id\\": 100,\\n \\"OriginalUrl\\": \\"http://www.oss-server.com/file.zip\\"\\n }\\n ],\\n \\"MinClientVersion\\": \\"100\\",\\n \\"NightUpgradeOption\\": {\\n \\"DownloadType\\": \\"1\\",\\n \\"IsAllowedCancel\\": \\"N\\",\\n \\"IsShowTip\\": \\"N\\"\\n },\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"IsForceNightUpgrade\\": \\"N\\",\\n \\"MobileDownloadMaxSize\\": \\"10\\",\\n \\"EnableMobileDownload\\": \\"Y\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeOsVersionResponse>\\r\\n\\t<OsVersion>\\r\\n\\t\\t<BlackVersionList>2.0.1,3.0.1</BlackVersionList>\\r\\n\\t\\t<DeviceModelId>100</DeviceModelId>\\r\\n\\t\\t<DeviceModelName>DM1</DeviceModelName>\\r\\n\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t<GmtModify>2017-12-06 13:04:06</GmtModify>\\r\\n\\t\\t<Id>123</Id>\\r\\n\\t\\t<IsDisableCheckMd5>N</IsDisableCheckMd5>\\r\\n\\t\\t<IsForceNightUpgrade>Y</IsForceNightUpgrade>\\r\\n\\t\\t<IsForceReboot>N</IsForceReboot>\\r\\n\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t<IsMilestone>N</IsMilestone>\\r\\n\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t<MaxClientVersion>200</MaxClientVersion>\\r\\n\\t\\t<MinClientVersion>100</MinClientVersion>\\r\\n\\t\\t<NightUpgradeOption>\\r\\n\\t\\t\\t<DownloadType>1</DownloadType>\\r\\n\\t\\t\\t<IsAllowedCancel>N</IsAllowedCancel>\\r\\n\\t\\t\\t<IsShowTip>N</IsShowTip>\\r\\n\\t\\t</NightUpgradeOption>\\r\\n\\t\\t<ReleaseNote>sample release note</ReleaseNote>\\r\\n\\t\\t<Remark>sample remark</Remark>\\r\\n\\t\\t<RomList>\\r\\n\\t\\t\\t<BaseVersion>1.0.1-R-20180409.0612</BaseVersion>\\r\\n\\t\\t\\t<DownloadUrl>http://www.cdn-server.com/file.zip</DownloadUrl>\\r\\n\\t\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2017-12-06 12:04:08</GmtModify>\\r\\n\\t\\t\\t<Id>123</Id>\\r\\n\\t\\t\\t<Md5>234der456ere56dhwer45ty6eghr570</Md5>\\r\\n\\t\\t\\t<OriginalUrl>http://www.oss-server.com/file.zip</OriginalUrl>\\r\\n\\t\\t\\t<Size>123456</Size>\\r\\n\\t\\t\\t<SplitNum>20</SplitNum>\\r\\n\\t\\t\\t<VersionId>234</VersionId>\\r\\n\\t\\t</RomList>\\r\\n\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t<SystemVersion>2.0.1-R-20180502.1208</SystemVersion>\\r\\n\\t\\t<WhiteVersionList>2.0.1,3.0.1</WhiteVersionList>\\r\\n\\t</OsVersion>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DescribeOsVersionResponse>","errorExample":""}]', + 'title' => '获取单个系统版本的详细信息', + 'summary' => '调用DescribeOsVersion获取单个系统版本的详细信息。', + 'description' => '用户希望查看版本详情时,可以调用此接口获取版本详细信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeOsVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeProjectAppSecurity' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => '11'], ], [ - 'name' => 'VersionId', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'A3BU0HBO'], ], ], 'responses' => [ @@ -8635,284 +5621,131 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'OsVersion' => [ - 'description' => '版本基本信息', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'B030DF87-3AC0-4096-A50B-98B16C98B6CC'], + 'ProjectAppSecurity' => [ + 'description' => '项目应用的密钥信息', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '版本状态,所有的状态有:'."\n" - ."\n" - .'- **INITIAL**:初始状态'."\n" - .'- **CREATING**:创建中'."\n" - .'- **CREATE_FAILED**:创建失败'."\n" - .'- **CREATE_COMPLETED**:创建完成'."\n" - .'- **TESTING**:测试中'."\n" - .'- **TEST_PASSED**:测试已通过'."\n" - .'- **PREPUBLISHED**:预发布'."\n" - .'- **PUBLISHED**:已发布'."\n" - .'- **UNUSED**:已废弃'."\n" - .'- **FROZEN**:已冻结'."\n" - .'- **DOWN**:已下架', - 'type' => 'string', - 'example' => 'PUBLISHED', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'example' => '123', - ], - 'BlackVersionList' => [ - 'description' => '系统版本黑名单列表,英文逗号隔开。', - 'type' => 'string', - 'example' => '2.0.1,3.0.1', - ], - 'IsMilestone' => [ - 'description' => '是否里程碑,Y或N。', - 'type' => 'string', - 'example' => 'Y', - ], - 'GmtModify' => [ - 'description' => '版本创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'ReleaseNote' => [ - 'description' => '版本发布说明', - 'type' => 'string', - 'example' => '改用UI用户体验,提升系统稳定性', - ], - 'Remark' => [ - 'description' => '备注', - 'type' => 'string', - 'example' => '版本备注信息,终端设备不可见', - ], - 'SystemVersion' => [ - 'description' => '系统版本号', - 'type' => 'string', - 'example' => '2.0.1-R-20180506.0824', - ], - 'StatusName' => [ - 'description' => '版本状态的中文名', - 'type' => 'string', - 'example' => '已发布', - ], - 'DeviceModelName' => [ - 'description' => '机型名', - 'type' => 'string', - 'example' => 'DM1', - ], - 'WhiteVersionList' => [ - 'description' => '系统版本白名单列表', - 'type' => 'string', - 'example' => '2.0.1,3.0.1', - ], - 'MaxClientVersion' => [ - 'description' => '允许的OTA SDK的最大版本versioncode。', - 'type' => 'string', - 'example' => '200', - ], - 'RomList' => [ - 'description' => '升级包列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtModify' => [ - 'description' => '升级包修改时间,格式:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'SplitNum' => [ - 'description' => '升级包分片数,10MB一个分片', - 'type' => 'string', - 'example' => '10', - ], - 'DownloadUrl' => [ - 'description' => '升级包下载地址', - 'type' => 'string', - 'example' => 'https://www.cdn-server.com/file.zip', - ], - 'Size' => [ - 'description' => '升级包大小,单位字节', - 'type' => 'string', - 'example' => '10000', - ], - 'GmtCreate' => [ - 'description' => '升级包创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'VersionId' => [ - 'description' => '升级包所属的版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Md5' => [ - 'description' => '升级包MD5', - 'type' => 'string', - 'example' => 'we3utrw4esdfgkhsdlfha', - ], - 'BaseVersion' => [ - 'description' => '基准系统版本,如果是全量包,则为空。', - 'type' => 'string', - 'example' => '2.0.1-R-20180502.1205', - ], - 'Id' => [ - 'description' => '升级包ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'OriginalUrl' => [ - 'description' => '升级包原始地址', - 'type' => 'string', - 'example' => 'http://www.oss-server.com/file.zip', - ], - ], - ], - ], - 'MinClientVersion' => [ - 'description' => '允许的OTA SDK的最小版本versioncode。', - 'type' => 'string', - 'example' => '100', - ], - 'NightUpgradeOption' => [ - 'description' => '夜间升级选项', - 'type' => 'object', - 'properties' => [ - 'DownloadType' => [ - 'description' => '夜间升级下载类型。'."\n" - ."\n" - .'- **1**表示WIFI下下载。'."\n" - .'- **2**表示任全网下载。', - 'type' => 'string', - 'example' => '1', - ], - 'IsAllowedCancel' => [ - 'description' => '夜间升级是否允许取消,取值:Y或N。', - 'type' => 'string', - 'example' => 'N', - ], - 'IsShowTip' => [ - 'description' => '夜间升级时是否给出提示框,取值:Y或N。', - 'type' => 'string', - 'example' => 'N', - ], - ], - ], - 'GmtCreate' => [ - 'description' => '版本创建时间,格式:`yyyy-MM-dd HH:mm:ss`。', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'IsForceNightUpgrade' => [ - 'description' => '是否强制夜间升级,Y或N;不允许和是否强制升级同时设置为Y。', - 'type' => 'string', - 'example' => 'N', - ], - 'MobileDownloadMaxSize' => [ - 'description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', - 'type' => 'string', - 'example' => '10', - ], - 'EnableMobileDownload' => [ - 'description' => '是否允许移动网络下载升级包', - 'type' => 'string', - 'example' => 'Y', - ], - 'IsForceUpgrade' => [ - 'description' => '是否强制升级,Y或N。', - 'type' => 'string', - 'example' => 'N', - ], - 'Id' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], + 'AppSecret' => ['description' => '应用AppSecret', 'type' => 'string', 'example' => '222222'], + 'AppKey' => ['description' => '应用AppKey', 'type' => 'string', 'example' => '111111'], + 'AppId' => ['description' => '应用ID', 'type' => 'string', 'example' => 'A3BU0HBO'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1508737512000'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1508737512000'], + 'Id' => ['description' => '主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OsVersion\\": {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"DeviceModelId\\": \\"123\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"IsMilestone\\": \\"Y\\",\\n \\"BlackVersionList\\": \\"2.0.1,3.0.1\\",\\n \\"ReleaseNote\\": \\"改用UI用户体验,提升系统稳定性\\",\\n \\"Remark\\": \\"版本备注信息,终端设备不可见\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"SystemVersion\\": \\"2.0.1-R-20180506.0824\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"WhiteVersionList\\": \\"2.0.1,3.0.1\\",\\n \\"MaxClientVersion\\": \\"200\\",\\n \\"MinClientVersion\\": \\"100\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"IsForceNightUpgrade\\": \\"N\\",\\n \\"MobileDownloadMaxSize\\": \\"10\\",\\n \\"EnableMobileDownload\\": \\"Y\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345,\\n \\"RomList\\": [\\n {\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"SplitNum\\": \\"10\\",\\n \\"DownloadUrl\\": \\"https://www.cdn-server.com/file.zip\\",\\n \\"Size\\": \\"10000\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"VersionId\\": 12345,\\n \\"Md5\\": \\"we3utrw4esdfgkhsdlfha\\",\\n \\"BaseVersion\\": \\"2.0.1-R-20180502.1205\\",\\n \\"Id\\": 100,\\n \\"OriginalUrl\\": \\"http://www.oss-server.com/file.zip\\"\\n }\\n ],\\n \\"NightUpgradeOption\\": {\\n \\"IsAllowedCancel\\": \\"N\\",\\n \\"DownloadType\\": \\"1\\",\\n \\"IsShowTip\\": \\"N\\"\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeOsVersionResponse>\\r\\n\\t<OsVersion>\\r\\n\\t\\t<BlackVersionList>2.0.1,3.0.1</BlackVersionList>\\r\\n\\t\\t<DeviceModelId>100</DeviceModelId>\\r\\n\\t\\t<DeviceModelName>DM1</DeviceModelName>\\r\\n\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t<GmtModify>2017-12-06 13:04:06</GmtModify>\\r\\n\\t\\t<Id>123</Id>\\r\\n\\t\\t<IsDisableCheckMd5>N</IsDisableCheckMd5>\\r\\n\\t\\t<IsForceNightUpgrade>Y</IsForceNightUpgrade>\\r\\n\\t\\t<IsForceReboot>N</IsForceReboot>\\r\\n\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t<IsMilestone>N</IsMilestone>\\r\\n\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t<MaxClientVersion>200</MaxClientVersion>\\r\\n\\t\\t<MinClientVersion>100</MinClientVersion>\\r\\n\\t\\t<NightUpgradeOption>\\r\\n\\t\\t\\t<DownloadType>1</DownloadType>\\r\\n\\t\\t\\t<IsAllowedCancel>N</IsAllowedCancel>\\r\\n\\t\\t\\t<IsShowTip>N</IsShowTip>\\r\\n\\t\\t</NightUpgradeOption>\\r\\n\\t\\t<ReleaseNote>sample release note</ReleaseNote>\\r\\n\\t\\t<Remark>sample remark</Remark>\\r\\n\\t\\t<RomList>\\r\\n\\t\\t\\t<BaseVersion>1.0.1-R-20180409.0612</BaseVersion>\\r\\n\\t\\t\\t<DownloadUrl>http://www.cdn-server.com/file.zip</DownloadUrl>\\r\\n\\t\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2017-12-06 12:04:08</GmtModify>\\r\\n\\t\\t\\t<Id>123</Id>\\r\\n\\t\\t\\t<Md5>234der456ere56dhwer45ty6eghr570</Md5>\\r\\n\\t\\t\\t<OriginalUrl>http://www.oss-server.com/file.zip</OriginalUrl>\\r\\n\\t\\t\\t<Size>123456</Size>\\r\\n\\t\\t\\t<SplitNum>20</SplitNum>\\r\\n\\t\\t\\t<VersionId>234</VersionId>\\r\\n\\t\\t</RomList>\\r\\n\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t<SystemVersion>2.0.1-R-20180502.1208</SystemVersion>\\r\\n\\t\\t<WhiteVersionList>2.0.1,3.0.1</WhiteVersionList>\\r\\n\\t</OsVersion>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DescribeOsVersionResponse>","errorExample":""}]', - 'title' => '获取单个系统版本的详细信息', - 'summary' => '调用DescribeOsVersion获取单个系统版本的详细信息。', - 'description' => '用户希望查看版本详情时,可以调用此接口获取版本详细信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B030DF87-3AC0-4096-A50B-98B16C98B6CC\\",\\n \\"ProjectAppSecurity\\": {\\n \\"AppSecret\\": \\"222222\\",\\n \\"AppKey\\": \\"111111\\",\\n \\"AppId\\": \\"A3BU0HBO\\",\\n \\"GmtCreate\\": 1508737512000,\\n \\"GmtModified\\": 1508737512000,\\n \\"Id\\": 4\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<DescribeProjectAppSecurityResponse>\\r\\n\\t<RequestId>B030DF87-3AC0-4096-A50B-98B16C98B6CC</RequestId>\\r\\n\\t<ProjectAppSecurity>\\r\\n\\t\\t<AppSecret>222222</AppSecret>\\r\\n\\t\\t<AppId>A3BU0HBO</AppId>\\r\\n\\t\\t<Id>4</Id>\\r\\n\\t\\t<GmtCreate>1508737512000</GmtCreate>\\r\\n\\t\\t<AppKey>111111</AppKey>\\r\\n\\t\\t<GmtModified>1524736346000</GmtModified>\\r\\n\\t</ProjectAppSecurity>\\r\\n</DescribeProjectAppSecurityResponse>","errorExample":""}]', + 'title' => '查询指定项目下指定应用的密钥信息', + 'summary' => '调用DescribeProjectAppSecurity查询指定项目下指定应用的密钥信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetDeviceSystemUpdateFunnelEvents' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeProjectAppSecurity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeShadowSchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'OriginalId', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '机型', 'type' => 'string', 'required' => true, 'example' => 'model_2nd'], + ], + [ + 'name' => 'IsSimple', + 'in' => 'query', + 'schema' => ['description' => '是否不返回描述信息', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ProjectId', 'in' => 'query', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Schema' => ['description' => 'schema信息', 'type' => 'string', 'example' => '[ { \\"id\\": 102, \\"name\\": \\"product:对内型号\\", \\"open\\": false, \\"pId\\": 1, \\"path\\": \\"/device_info/product\\" }, { \\"id\\": 101, \\"name\\": \\"manufacture:制造商\\", \\"open\\": false, \\"pId\\": 1, \\"path\\": \\"/device_info/manufacture\\" } ]'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Schema\\": \\"[ { \\\\\\\\\\\\\\"id\\\\\\\\\\\\\\": 102, \\\\\\\\\\\\\\"name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"product:对内型号\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"open\\\\\\\\\\\\\\": false, \\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\"path\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"/device_info/product\\\\\\\\\\\\\\" }, { \\\\\\\\\\\\\\"id\\\\\\\\\\\\\\": 101, \\\\\\\\\\\\\\"name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"manufacture:制造商\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"open\\\\\\\\\\\\\\": false, \\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\"path\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"/device_info/manufacture\\\\\\\\\\\\\\" } ]\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeShadowSchemaResponse>\\r\\n <RequestId>195D7F63-0904-49ED-854B-13C7BB37F764</RequestId>\\r\\n\\t<Schema>[{"path":"/device_info/product","name":"product:对内型号","pId":1,"id":102,"open":false},{"path":"/device_info/manufacture","name":"manufacture:制造商","pId":1,"id":101,"open":false}]</Schema>\\r\\n</DescribeShadowSchemaResponse>","errorExample":""}]', + 'title' => '根据机型获取schema信息', + 'summary' => '调用DescribeShadowSchema根据机型获取schema信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TargetVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '目标系统版本号', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180412.0824', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeVersionDeviceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'IdType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => false, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -8920,174 +5753,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'EventList' => [ - 'description' => '升级进度事件列表信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeviceId' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], - 'TargetVersion' => [ - 'description' => '升级的目标系统版本号', - 'type' => 'string', - 'example' => '2.0.1-R-20180412.0824', - ], - 'Event' => [ - 'description' => '事件名称', - 'type' => 'string', - 'example' => 'os_download_succ', - ], - 'ReportTimestamp' => [ - 'description' => '上报时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '167845600000', - ], - 'ReportTime' => [ - 'description' => '事件上报时间', - 'type' => 'string', - 'example' => '2018-02-14 14:20:18', - ], - 'TenantId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'P0VFCREU', - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceGroup' => [ + 'description' => '分组详情', + 'type' => 'object', + 'properties' => [ + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'Description' => ['description' => '分组描述', 'type' => 'string', 'example' => '测试'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '分组名', 'type' => 'string', 'example' => '升级分组'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'MaxCount' => ['description' => '设备分组的最大设备数', 'type' => 'string', 'example' => '100'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"EventList\\": [\\n {\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"TargetVersion\\": \\"2.0.1-R-20180412.0824\\",\\n \\"Event\\": \\"os_download_succ\\",\\n \\"ReportTimestamp\\": 167845600000,\\n \\"ReportTime\\": \\"2018-02-14 14:20:18\\",\\n \\"TenantId\\": \\"P0VFCREU\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<GetDeviceSystemUpdateFunnelEventsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<EventList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<TenantId>P0VFCREU</TenantId>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<TargetVersion>2.0.1-R-20180412.0824</TargetVersion>\\r\\n\\t\\t\\t<Event>os_download_succ</Event>\\r\\n\\t\\t\\t<ReportTime>2018-02-14 14:20:18</ReportTime>\\r\\n\\t\\t</Items>\\r\\n\\t</EventList>\\r\\n</GetDeviceSystemUpdateFunnelEventsResponse>","errorExample":""}]', - 'title' => '获取设备系统升级的进度信息', - 'summary' => '调用GetDeviceSystemUpdateFunnelEvents获取设备系统升级的进度信息。', - 'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroup\\": {\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": 1,\\n \\"MaxCount\\": \\"100\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroup>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t<Description>测试</Description>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</DeviceGroup>\\r\\n</DescribeVersionDeviceGroupResponse>","errorExample":""}]', + 'title' => '获取一个测试设备分组的详情', + 'summary' => '调用DescribeVersionDeviceGroup获取一个测试设备分组的详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DelayPublishOsVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:31.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DiagnosisVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'VersionId', + 'name' => 'OriginalId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12323', - ], + 'schema' => ['description' => '对应ID类型的ID值', 'type' => 'string', 'required' => true, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'SASUHQ', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'PrepubTime', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '定时预发布时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570672685997', - ], + 'schema' => ['description' => '版本类型,取值有:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], [ - 'name' => 'PublishTime', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '定时发布时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570672685997', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'DownTime', + 'name' => 'IdType', 'in' => 'query', - 'schema' => [ - 'description' => '定时下架时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1570672685997', - ], + 'schema' => ['description' => '用于判断的OriginalId的类型,取值有:**device_id**, **sn**, **vin**, **hardware_id**, **uuid **。', 'type' => 'string', 'required' => true, 'example' => 'device_id'], ], [ - 'name' => 'Email', + 'name' => 'DiagnoseStyle', 'in' => 'query', - 'schema' => [ - 'description' => '邮箱', - 'type' => 'string', - 'required' => true, - 'example' => '12323232@qq.com', - ], + 'schema' => ['description' => '诊断类型', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Description', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '描述', - 'type' => 'string', - 'required' => false, - 'example' => '发布描述', - ], + 'schema' => ['description' => '待诊断的请求查询时间段开始时间点', 'type' => 'string', 'required' => false, 'example' => '2019-09-18 10:44'], ], [ - 'name' => 'SendMessage', - 'in' => 'query', - 'schema' => [ - 'description' => '升级说明', - 'type' => 'string', - 'required' => false, - 'example' => '升级说明', - ], - ], - [ - 'name' => 'PrepublishCount', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '预发布总数限制', - 'type' => 'string', - 'required' => false, - 'example' => '1000', - ], + 'schema' => ['description' => '待诊断的请求查询时间段结束时间点', 'type' => 'string', 'required' => false, 'example' => '2019-09-18 14:44'], ], ], 'responses' => [ @@ -9095,131 +5857,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DiagnosisResult' => ['description' => '诊断结果', 'type' => 'string', 'example' => 'Invalid instance type'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>","errorExample":""}]', - 'title' => '定时发布系统版本', - 'summary' => '定时发布系统版本。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'FindOsVersions' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DiagnosisResult\\": \\"Invalid instance type\\"\\n}","type":"json"}]', + 'title' => '诊断某特定设备查询不到某特定版本的原因', + 'summary' => '调用DiagnosisVersion诊断某特定设备查询不到某特定版本的原因。', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:31.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DiagnosisVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindAppVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '版本状态,如**TESTING**,**TEST_PASSED**,**PREPUBLISH**,**PUBLISHED**。', 'type' => 'string', 'required' => false, 'example' => 'PUBLISHED'], ], [ - 'name' => 'PageIndex', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '分页索引,表示要获取第几页的数据,第一页从1开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页大小,允许20、50、100三个选择。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '每页大小,支持20,50。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => false, - 'example' => '1205', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '12345'], ], [ 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号(机型)ID', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], + 'schema' => ['description' => '设备型号ID', 'type' => 'string', 'required' => false, 'example' => '1230'], ], [ - 'name' => 'SystemVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '系统版本号', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.1-R-20180402.1208', - ], - ], - [ - 'name' => 'Status', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '版本状态,如:**TESTING**,**TEST_PASSED**,**PREPUBLISH**,**PUBLISHED**。', - 'type' => 'string', - 'required' => false, - 'example' => 'TESTING', - ], + 'schema' => ['description' => '分页索引,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'IsMilestone', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '是否里程碑,Y或N。', - 'type' => 'string', - 'required' => false, - 'example' => 'N', - ], + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => false, 'example' => '123'], ], [ 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '版本备注', - 'type' => 'string', - 'required' => false, - 'example' => '备注', - ], + 'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'example' => 'sample remark'], ], ], 'responses' => [ @@ -9227,219 +5944,128 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'OsVersionList' => [ - 'description' => '版本列表信息,包括当前页的版本列表以及总共符合条件的版本个数', + 'AppVersionList' => [ + 'description' => '版本列表信息,包括当前页的版本列表以及总共符合条件的版本个数。', 'type' => 'object', 'properties' => [ 'Items' => [ - 'description' => '符合条件的当前页的版本列表', + 'description' => '符合条件的当前页的版本列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '版本状态', - 'type' => 'string', - 'example' => 'PUBLISHED', - ], - 'GmtCreateTimestamp' => [ - 'description' => '版本创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16754300000', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'example' => '123', - ], - 'GmtModify' => [ - 'description' => '版本更新时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'IsMilestone' => [ - 'description' => '是否里程碑', - 'type' => 'string', - 'example' => 'Y', - ], - 'Remark' => [ - 'description' => '版本备注', - 'type' => 'string', - 'example' => '测试', - ], - 'SystemVersion' => [ - 'description' => '系统版本号', - 'type' => 'string', - 'example' => '2.0.1-R-20180506.0824', - ], - 'StatusName' => [ - 'description' => '状态名', - 'type' => 'string', - 'example' => '已发布', - ], - 'IsForceReboot' => [ - 'description' => '是否强制重启', - 'type' => 'string', - 'example' => 'N', - ], - 'DeviceModelName' => [ - 'description' => '机型名', - 'type' => 'string', - 'example' => 'DM1', - ], - 'IsSilentUpgrade' => [ - 'description' => '是否静默升级', - 'type' => 'string', - 'example' => 'N', - ], - 'GmtModifyTimestamp' => [ - 'description' => '版本更新时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16754300000', - ], - 'IsForceNightUpgrade' => [ - 'description' => '是否夜间强制升级', - 'type' => 'string', - 'example' => 'N', - ], - 'GmtCreate' => [ - 'description' => '版本创建时间', - 'type' => 'string', - 'example' => '2018-04-24 12:23:45', - ], - 'IsForceUpgrade' => [ - 'description' => '是否强制升级', - 'type' => 'string', - 'example' => 'N', - ], - 'Id' => [ - 'description' => '版本ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12004', - ], + 'Status' => ['description' => '版本状态,状态定义和系统版本升级一致。', 'type' => 'string', 'example' => 'PUBLISHED'], + 'GmtCreateTimestamp' => ['description' => '版本创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '12432500000'], + 'GmtModify' => ['description' => '版本更新时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'IsAllowNewInstall' => ['description' => '表示当客户端不存在此应用时,是否允许新安装此应用,相当于后装。', 'type' => 'string', 'example' => 'Y'], + 'StatusName' => ['description' => '状态名', 'type' => 'string', 'example' => '已发布'], + 'RestartAppParam' => ['description' => '应用重启参数,Y或N', 'type' => 'string', 'example' => 'N'], + 'IsSilentUpgrade' => ['description' => '是否静默升级,Y或N', 'type' => 'string', 'example' => 'N'], + 'AppPackageName' => ['description' => '应用包名', 'type' => 'string', 'example' => 'com.aliyun.iovcc.ota'], + 'GmtModifyTimestamp' => ['description' => '版本更新时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '12432500000'], + 'AppName' => ['description' => '应用名', 'type' => 'string', 'example' => 'iovcc-ota'], + 'InstallType' => ['description' => '版本升级包客户端安装类型。取值:'."\n" + ."\n" + .'- **auto**:表示自动安装'."\n" + .'- **customize**:表示自定义安装', 'type' => 'string', 'example' => 'auto'], + 'IsNeedRestart' => ['description' => '是否需要重启,Y或N', 'type' => 'string', 'example' => 'N'], + 'RestartAppType' => ['description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。取值:'."\n" + ."\n" + .'- **service**:表示Service重启'."\n" + .'- **activity**:表示Activity重启', 'type' => 'string', 'example' => 'service'], + 'AppId' => ['description' => '应用ID', 'type' => 'string', 'example' => '20'], + 'RestartType' => ['description' => '应用安装完成后的重启类型,取值:'."\n" + ."\n" + .'- **system**:表示系统重启'."\n" + .'- **app**:表示应用重启', 'type' => 'string', 'example' => 'app'], + 'GmtCreate' => ['description' => '版本创建时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'AppVersion' => ['description' => '应用版本号', 'type' => 'string', 'example' => '2.0.2'], + 'VersionCode' => ['description' => '应用版本versioncode,是用于应用升级版本比较大小的字段。', 'type' => 'string', 'example' => '201'], + 'IsForceUpgrade' => ['description' => '是否强制升级,Y或N', 'type' => 'string', 'example' => 'N'], + 'Id' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], ], + 'description' => '', ], ], - 'TotalCount' => [ - 'description' => '符合条件的总记录数,方便调用方计算总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'TotalCount' => ['description' => '符合条件的总记录数,方便调用方计算总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OsVersionList\\": {\\n \\"TotalCount\\": 1000,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 16754300000,\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"DeviceModelId\\": \\"123\\",\\n \\"IsMilestone\\": \\"Y\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"Remark\\": \\"测试\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"SystemVersion\\": \\"2.0.1-R-20180506.0824\\",\\n \\"IsForceReboot\\": \\"N\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"GmtModifyTimestamp\\": 16754300000,\\n \\"IsForceNightUpgrade\\": \\"N\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12004\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindOsVersionsResponse>\\r\\n\\t<OsVersionList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceModelId>100</DeviceModelId>\\r\\n\\t\\t\\t<DeviceModelName>DM1</DeviceModelName>\\r\\n\\t\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2017-12-06 13:04:06</GmtModify>\\r\\n\\t\\t\\t<Id>123</Id>\\r\\n\\t\\t\\t<IsForceNightUpgrade>Y</IsForceNightUpgrade>\\r\\n\\t\\t\\t<IsForceReboot>N</IsForceReboot>\\r\\n\\t\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t\\t<IsMilestone>N</IsMilestone>\\r\\n\\t\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t\\t<Remark>测试</Remark>\\r\\n\\t\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t\\t<SystemVersion>2.0.1-R-20180502.1208</SystemVersion>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>1000</TotalCount>\\r\\n\\t</OsVersionList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindOsVersionsResponse>","errorExample":""}]', - 'title' => '分页获取系统版本列表', - 'summary' => '调用FindOsVersions分页获取系统版本列表。', - 'description' => '> 此接口支持多种查询条件,如机型、系统版本号等。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AppVersionList\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"GmtCreateTimestamp\\": 12432500000,\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"IsAllowNewInstall\\": \\"Y\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"RestartAppParam\\": \\"N\\",\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"AppPackageName\\": \\"com.aliyun.iovcc.ota\\",\\n \\"GmtModifyTimestamp\\": 12432500000,\\n \\"AppName\\": \\"iovcc-ota\\",\\n \\"InstallType\\": \\"auto\\",\\n \\"IsNeedRestart\\": \\"N\\",\\n \\"RestartAppType\\": \\"service\\",\\n \\"AppId\\": \\"20\\",\\n \\"RestartType\\": \\"app\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"AppVersion\\": \\"2.0.2\\",\\n \\"VersionCode\\": \\"201\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12345\\n }\\n ],\\n \\"TotalCount\\": 1000\\n },\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindAppVersionsResponse>\\r\\n\\t<AppVersionList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<AppId>1</AppId>\\r\\n\\t\\t\\t<AppName>iovcc-ota</AppName>\\r\\n\\t\\t\\t<AppPackageName>com.aliyun.iovcc.ota</AppPackageName>\\r\\n\\t\\t\\t<AppVersion>2.0.2</AppVersion>\\r\\n\\t\\t\\t<AsAllowNewInstall>N</AsAllowNewInstall>\\r\\n\\t\\t\\t<GmtCreate></GmtCreate>\\r\\n\\t\\t\\t<GmtModify></GmtModify>\\r\\n\\t\\t\\t<Id>124</Id>\\r\\n\\t\\t\\t<InstallType>auto</InstallType>\\r\\n\\t\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t\\t<IsNeedRestart>N</IsNeedRestart>\\r\\n\\t\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t\\t<RestartAppParam>N</RestartAppParam>\\r\\n\\t\\t\\t<RestartAppType>N</RestartAppType>\\r\\n\\t\\t\\t<RestartType>system</RestartType>\\r\\n\\t\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t\\t<VersionCode>202</VersionCode>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>1000</TotalCount>\\r\\n\\t</AppVersionList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindAppVersionsResponse>","errorExample":""}]', + 'title' => '按分页获取应用版本列表', + 'summary' => '调用FindAppVersions分页获取应用版本列表。', + 'description' => '**支持多种查询条件,如机型、系统版本号等。**', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionWhiteDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindAppVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindCustomizedFilters' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], - ], - [ - 'name' => 'DeviceId', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID,支持模糊匹配。', - 'type' => 'string', - 'required' => false, - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'OriginalId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID,支持模糊匹配。', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ - 'name' => 'PageIndex', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '分页索引,从1开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '自定义过滤条件名', 'type' => 'string', 'required' => false, 'example' => 'AnotherFilter'], ], [ - 'name' => 'PageSize', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,支持10、20、50三种。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '版本类型,取值有:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -9447,127 +6073,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceList' => [ - 'description' => '设备列表信息', + 'CustomizedFilterList' => [ + 'description' => '查询自定义过滤条件结果', 'type' => 'object', 'properties' => [ 'Items' => [ - 'description' => '当前分页的设备数据', + 'description' => '结果详情列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1868400000', - ], - 'OriginalId' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'example' => '23452345234523452', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], - 'IdType' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'example' => 'hardware_id', - ], - 'GmtCreate' => [ - 'description' => '添加时间', - 'type' => 'string', - 'example' => '2018-02-14 14:20:18', - ], - 'Id' => [ - 'description' => '白名单ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], + 'GmtModifyTimestamp' => ['description' => '修改时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '12354350000'], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '12354350000'], + 'Value' => ['description' => '过滤条件值', 'type' => 'string', 'example' => '1,4'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'ValueCompareType' => ['description' => '值的比较类型: **NUMBER**(按数字比较),**STRING**(按字符串比较)。', 'type' => 'string', 'example' => 'NUMBER'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'BlackWhiteType' => ['description' => '比较的黑白名单类型:**BLACK**(黑名单),**WHITE**(白名单)。', 'type' => 'string', 'example' => 'BLACK'], + 'Name' => ['description' => '过滤条件名', 'type' => 'string', 'example' => 'AnotherFilter'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], - 'TotalCount' => [ - 'description' => '总共符合条件的设备数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1868400000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"hardware_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": 123\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindVersionWhiteDevicesResponse>","errorExample":""}]', - 'title' => '分页获取系统版本或应用版本的设备白名单', - 'summary' => '调用FindVersionWhiteDevices分页获取系统版本或应用版本的设备白名单。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CustomizedFilterList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 12354350000,\\n \\"GmtCreateTimestamp\\": 12354350000,\\n \\"Value\\": \\"1,4\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"ValueCompareType\\": \\"NUMBER\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"BlackWhiteType\\": \\"BLACK\\",\\n \\"Name\\": \\"AnotherFilter\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"TotalCount\\": 30\\n },\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindCustomizedFiltersResponse>\\r\\n\\t<CustomizedFilterList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<BlackWhiteType>BLACK</BlackWhiteType>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>AnotherList</Name>\\r\\n\\t\\t\\t<Value>1,5</Value>\\r\\n\\t\\t\\t<ValueCompareType>NUMBER</ValueCompareType>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t</CustomizedFilterList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindCustomizedFiltersResponse>","errorExample":""}]', + 'title' => '查询自定义过滤条件', + 'summary' => '按分页查询自定义过滤条件,可根据过滤条件名进行查询。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PublishOsVersion' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindCustomizedFilters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindCustomizedProperties' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'SendMessage', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '是否推送消息', - 'type' => 'boolean', - 'required' => true, - 'example' => 'false', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '查询自定义属性名', 'type' => 'string', 'required' => false, 'example' => 'AnotherWhiteList'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,取值有:FOTA 系统版本, APP 应用版本。', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -9575,90 +6178,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'CustomizedPropertyList' => [ + 'description' => '自定义属性查询结果', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '返回记录列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1324320000'], + 'Value' => ['description' => '自定义属性值', 'type' => 'string', 'example' => '1.0,2.0'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '自定义属性名', 'type' => 'string', 'example' => 'AnotherWhiteList'], + 'Id' => ['description' => '自定义属性ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<PublishOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PublishOsVersionResponse>","errorExample":""}]', - 'title' => '发布系统版本', - 'summary' => '发布系统版本,可控制是否推送升级消息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"CustomizedPropertyList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1324320000,\\n \\"Value\\": \\"1.0,2.0\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"AnotherWhiteList\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"TotalCount\\": 30\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindCustomizedPropertiesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<CustomizedPropertyList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>AnotherWhiteList</Name>\\r\\n\\t\\t\\t<Value>1.0,2.0</Value>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</CustomizedPropertyList>\\r\\n</FindCustomizedPropertiesResponse>","errorExample":""}]', + 'title' => '查询自定义属性列表', + 'summary' => '按分页查询自定义属性列表,可根据自定义属性名进行搜索。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateShadowSchema' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindCustomizedProperties', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindOsVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '分页索引,表示要获取第几页的数据,第一页从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页大小,允许20、50、100三个选择。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '1205'], + ], + [ 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '机型ID', - 'type' => 'string', - 'required' => true, - 'example' => '120', - ], + 'schema' => ['description' => '设备型号(机型)ID', 'type' => 'string', 'required' => false, 'example' => '123'], ], [ - 'name' => 'AuthType', + 'name' => 'SystemVersion', 'in' => 'query', - 'schema' => [ - 'description' => '认证类型', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '系统版本号', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180402.1208'], ], [ - 'name' => 'Namespace', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '命名空间', - 'type' => 'string', - 'required' => false, - 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8', - ], + 'schema' => ['description' => '版本状态,如:**TESTING**,**TEST_PASSED**,**PREPUBLISH**,**PUBLISHED**。', 'type' => 'string', 'required' => false, 'example' => 'TESTING'], ], [ - 'name' => 'ProjectId', + 'name' => 'IsMilestone', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '是否里程碑,Y或N。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], [ - 'name' => 'Schema', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => 'schema信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}', - ], + 'schema' => ['description' => '版本备注', 'type' => 'string', 'required' => false, 'example' => '备注'], ], ], 'responses' => [ @@ -9666,60 +6294,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'OsVersionList' => [ + 'description' => '版本列表信息,包括当前页的版本列表以及总共符合条件的版本个数', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '符合条件的当前页的版本列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '版本状态', 'type' => 'string', 'example' => 'PUBLISHED'], + 'GmtCreateTimestamp' => ['description' => '版本创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '16754300000'], + 'DeviceModelId' => ['description' => '设备型号ID', 'type' => 'string', 'example' => '123'], + 'GmtModify' => ['description' => '版本更新时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'IsMilestone' => ['description' => '是否里程碑', 'type' => 'string', 'example' => 'Y'], + 'Remark' => ['description' => '版本备注', 'type' => 'string', 'example' => '测试'], + 'SystemVersion' => ['description' => '系统版本号', 'type' => 'string', 'example' => '2.0.1-R-20180506.0824'], + 'StatusName' => ['description' => '状态名', 'type' => 'string', 'example' => '已发布'], + 'IsForceReboot' => ['description' => '是否强制重启', 'type' => 'string', 'example' => 'N'], + 'DeviceModelName' => ['description' => '机型名', 'type' => 'string', 'example' => 'DM1'], + 'IsSilentUpgrade' => ['description' => '是否静默升级', 'type' => 'string', 'example' => 'N'], + 'GmtModifyTimestamp' => ['description' => '版本更新时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '16754300000'], + 'IsForceNightUpgrade' => ['description' => '是否夜间强制升级', 'type' => 'string', 'example' => 'N'], + 'GmtCreate' => ['description' => '版本创建时间', 'type' => 'string', 'example' => '2018-04-24 12:23:45'], + 'IsForceUpgrade' => ['description' => '是否强制升级', 'type' => 'string', 'example' => 'N'], + 'Id' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12004'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '符合条件的总记录数,方便调用方计算总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</CreateShadowSchemaResponse>","errorExample":""}]', - 'title' => '新建某机型的schema信息', - 'summary' => '调用CreateShadowSchema新建某机型的schema信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OsVersionList\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"GmtCreateTimestamp\\": 16754300000,\\n \\"DeviceModelId\\": \\"123\\",\\n \\"GmtModify\\": \\"2018-04-24 12:23:45\\",\\n \\"IsMilestone\\": \\"Y\\",\\n \\"Remark\\": \\"测试\\",\\n \\"SystemVersion\\": \\"2.0.1-R-20180506.0824\\",\\n \\"StatusName\\": \\"已发布\\",\\n \\"IsForceReboot\\": \\"N\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"IsSilentUpgrade\\": \\"N\\",\\n \\"GmtModifyTimestamp\\": 16754300000,\\n \\"IsForceNightUpgrade\\": \\"N\\",\\n \\"GmtCreate\\": \\"2018-04-24 12:23:45\\",\\n \\"IsForceUpgrade\\": \\"N\\",\\n \\"Id\\": 12004\\n }\\n ],\\n \\"TotalCount\\": 1000\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindOsVersionsResponse>\\r\\n\\t<OsVersionList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceModelId>100</DeviceModelId>\\r\\n\\t\\t\\t<DeviceModelName>DM1</DeviceModelName>\\r\\n\\t\\t\\t<GmtCreate>2017-12-06 12:04:08</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2017-12-06 13:04:06</GmtModify>\\r\\n\\t\\t\\t<Id>123</Id>\\r\\n\\t\\t\\t<IsForceNightUpgrade>Y</IsForceNightUpgrade>\\r\\n\\t\\t\\t<IsForceReboot>N</IsForceReboot>\\r\\n\\t\\t\\t<IsForceUpgrade>N</IsForceUpgrade>\\r\\n\\t\\t\\t<IsMilestone>N</IsMilestone>\\r\\n\\t\\t\\t<IsSilentUpgrade>N</IsSilentUpgrade>\\r\\n\\t\\t\\t<Remark>测试</Remark>\\r\\n\\t\\t\\t<Status>PUBLISHED</Status>\\r\\n\\t\\t\\t<StatusName>已发布</StatusName>\\r\\n\\t\\t\\t<SystemVersion>2.0.1-R-20180502.1208</SystemVersion>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>1000</TotalCount>\\r\\n\\t</OsVersionList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindOsVersionsResponse>","errorExample":""}]', + 'title' => '分页获取系统版本列表', + 'summary' => '调用FindOsVersions分页获取系统版本列表。', + 'description' => '> 此接口支持多种查询条件,如机型、系统版本号等。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteShadowSchema' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindOsVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindPrepublishPassedDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'PrepublishId', 'in' => 'query', - 'schema' => [ - 'description' => '数据记录ID', - 'type' => 'string', - 'required' => true, - 'example' => '12', - ], + 'schema' => ['description' => '预发布ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '云设备ID', 'type' => 'string', 'required' => false, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], ], ], 'responses' => [ @@ -9727,100 +6402,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceList' => [ + 'description' => '查询到的设备信息', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '设备列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '查询时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '124643600000'], + 'DeviceId' => ['description' => '云设备ID', 'type' => 'string', 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], + 'GmtCreate' => ['description' => '查询时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteShadowSchemaResponse>","errorExample":""}]', - 'title' => '删除某机型的schema信息', - 'summary' => '调用DeleteShadowSchema删除某机型的schema信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 124643600000,\\n \\"DeviceId\\": \\"b8fe2e24ff2b48e0a3aa4e49809fc1b3\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindPrepublishPassedDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceId>b8fe2e24ff2b48e0a3aa4e49809fc1b3</DeviceId>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindPrepublishPassedDevicesResponse>","errorExample":""}]', + 'title' => '查询设备的云设备ID列表', + 'summary' => '按分页查询某一个预发布下的已查询设备的云设备ID列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateShadowSchema' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishPassedDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindPrepublishesByParentId' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceModelId', - 'in' => 'query', - 'schema' => [ - 'description' => '机型ID', - 'type' => 'string', - 'required' => true, - 'example' => '120', - ], - ], - [ - 'name' => 'AuthType', - 'in' => 'query', - 'schema' => [ - 'description' => '认证类型', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'description' => '命名空间', - 'type' => 'string', - 'required' => false, - 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Schema', - 'in' => 'query', - 'schema' => [ - 'description' => 'schema信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}', - ], - ], - [ - 'name' => 'Id', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => '待修改的数据记录ID', - 'type' => 'string', - 'required' => true, - 'example' => '12', - ], + 'schema' => ['description' => '父预发布ID', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -9828,49 +6481,94 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'PrepublishList' => [ + 'description' => '查询预发布结果列表', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '返回记录列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '165465000000'], + 'DeviceModelId' => ['description' => '设备型号ID', 'type' => 'string', 'example' => '12'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'IsActive' => ['description' => '预发布是否为启用状态', 'type' => 'string', 'example' => 'Y'], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '1'], + 'BarrierCount' => ['description' => '预发布允许设备数', 'type' => 'string', 'example' => '1000'], + 'IsTotalPrepublish' => ['description' => '是否为总量预发布', 'type' => 'string', 'example' => 'N'], + 'GmtModifyTimestamp' => ['description' => '更新时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '165465000000'], + 'ParentId' => ['description' => '父预发布ID,为0表示该预发布为父预发布。', 'type' => 'string', 'example' => '1'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '预发布名', 'type' => 'string', 'example' => '第一次预发布'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'VersionType' => ['description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', 'type' => 'string', 'example' => 'FOTA'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateShadowSchemaResponse>","errorExample":""}]', - 'title' => '修改某机型的 schema 信息', - 'summary' => '调用UpdateShadowSchema修改某机型的schema信息.。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PrepublishList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 165465000000,\\n \\"DeviceModelId\\": \\"12\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"IsActive\\": \\"Y\\",\\n \\"VersionId\\": \\"1\\",\\n \\"BarrierCount\\": \\"1000\\",\\n \\"IsTotalPrepublish\\": \\"N\\",\\n \\"GmtModifyTimestamp\\": 165465000000,\\n \\"ParentId\\": \\"1\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次预发布\\",\\n \\"Id\\": 2,\\n \\"VersionType\\": \\"FOTA\\"\\n }\\n ],\\n \\"TotalCount\\": 30\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindPrepublishesByParentIdResponse>\\r\\n\\t<PrepublishList>\\r\\n\\t\\t<BarrierCount>1000</BarrierCount>\\r\\n\\t\\t<DeviceModelId>12</DeviceModelId>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t<Id>2</Id>\\r\\n\\t\\t<IsActive>Y</IsActive>\\r\\n\\t\\t<IsTotalPrepublish>N</IsTotalPrepublish>\\r\\n\\t\\t<Name>第一次预发布</Name>\\r\\n\\t\\t<ParentId>1</ParentId>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t</PrepublishList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindPrepublishesByParentIdResponse>","errorExample":""}]', + 'title' => '查询父预发布下的子预发布', + 'summary' => '调用FindPrepublishesByParentId查询父预发布下的子预发布。', + 'description' => '适用于应用版本的预发布,每次创建的预发布是父预发布,对每个适配机型创建一个子预发布。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListShadowSchemaDeviceModels' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishesByParentId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindPrepublishesByVersionId' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -9878,165 +6576,111 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ModelList' => [ - 'description' => '返回的机型列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'PrepublishList' => [ + 'description' => '查询预发布结果列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DeviceModelId' => [ - 'description' => '设备模型ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '208', - ], - 'HardwareType' => [ - 'description' => '硬件类型', - 'type' => 'string', - 'example' => 'sn', - ], - 'DeviceType' => [ - 'description' => '设备类型', - 'type' => 'string', - 'example' => 'car_auto', - ], - 'CanCreateDeviceId' => [ - 'description' => '是否可创建设备ID', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'PIC3UA0V', - ], - 'OsPlatform' => [ - 'description' => '操作系统的平台类型:**android**,**alios**,**linux**,**qnx**。', - 'type' => 'string', - 'example' => 'linux', - ], - 'DeviceModel' => [ - 'description' => '设备机型', - 'type' => 'string', - 'example' => 'model_2nd', - ], - 'SecurityChip' => [ - 'description' => '芯片认证加固方案。0:不启用,1:启用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Description' => [ - 'description' => '描述信息', - 'type' => 'string', - 'example' => 'description', - ], - 'InitUsageTypeDesc' => [ - 'description' => '使用性质解释', - 'type' => 'string', - 'example' => 'private', - ], - 'InitUsageType' => [ - 'description' => '使用性质,私营或商业', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DeviceBrand' => [ - 'description' => '设备品牌', - 'type' => 'string', - 'example' => 'brand_2nd', - ], - ], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1684530000000'], + 'DeviceModelId' => ['description' => '设备型号ID', 'type' => 'string', 'example' => '12'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'IsActive' => ['description' => '预发布是否为启用状态', 'type' => 'string', 'example' => 'Y'], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '1'], + 'BarrierCount' => ['description' => '预发布允许设备数', 'type' => 'string', 'example' => '1000'], + 'DeviceModelName' => ['description' => '机型名', 'type' => 'string', 'example' => 'DM1'], + 'IsTotalPrepublish' => ['description' => '是否为总量预发布', 'type' => 'string', 'example' => 'N'], + 'GmtModifyTimestamp' => ['description' => '修改时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1684530000000'], + 'ParentId' => ['description' => '父预发布ID,为0表示该预发布为父预发布', 'type' => 'string', 'example' => '0'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '预发布名', 'type' => 'string', 'example' => '第一次预发布'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '1'], + 'VersionType' => ['description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本。', 'type' => 'string', 'example' => 'FOTA'], + 'PassedCount' => ['description' => '已查询设备数 ', 'type' => 'string', 'example' => '0'], + ], + 'description' => '', ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '4F501674-4FE3-47F9-ADAD-A1875A325798', - ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4F501674-4FE3-47F9-ADAD-A1875A325798\\",\\n \\"ModelList\\": [\\n {\\n \\"DeviceModelId\\": 208,\\n \\"HardwareType\\": \\"sn\\",\\n \\"DeviceType\\": \\"car_auto\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"OsPlatform\\": \\"linux\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"SecurityChip\\": 0,\\n \\"Description\\": \\"description\\",\\n \\"InitUsageTypeDesc\\": \\"private\\",\\n \\"InitUsageType\\": 1,\\n \\"DeviceBrand\\": \\"brand_2nd\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListShadowSchemaDeviceModelsResponse>\\r\\n\\t<ModelList>\\r\\n\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareType>sn</HardwareType>\\r\\n\\t\\t<InitUsageType>0</InitUsageType>\\r\\n\\t\\t<DeviceBrand>brand_2nd</DeviceBrand>\\r\\n\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t<SecurityChip>0</SecurityChip>\\r\\n\\t\\t<InitUsageTypeDesc>private</InitUsageTypeDesc>\\r\\n\\t\\t<CanCreateDeviceId>1</CanCreateDeviceId>\\r\\n\\t</ModelList>\\r\\n\\t<RequestId>4F501674-4FE3-47F9-ADAD-A1875A325798</RequestId>\\r\\n</ListShadowSchemaDeviceModelsResponse>","errorExample":""}]', - 'title' => '获取所有机型列表', - 'summary' => '在新增设备范式时,根据当前的projectId获取这个项目下的所有机型列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PrepublishList\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1684530000000,\\n \\"DeviceModelId\\": \\"12\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"IsActive\\": \\"Y\\",\\n \\"VersionId\\": \\"1\\",\\n \\"BarrierCount\\": \\"1000\\",\\n \\"DeviceModelName\\": \\"DM1\\",\\n \\"IsTotalPrepublish\\": \\"N\\",\\n \\"GmtModifyTimestamp\\": 1684530000000,\\n \\"ParentId\\": \\"0\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次预发布\\",\\n \\"Id\\": \\"1\\",\\n \\"VersionType\\": \\"FOTA\\",\\n \\"PassedCount\\": \\"0\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindPrepublishesByVersionIdResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<PrepublishList>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<ParentId>1</ParentId>\\r\\n\\t\\t<Name>第一次预发布</Name>\\r\\n\\t\\t<DeviceModelId>12</DeviceModelId>\\r\\n\\t\\t<IsTotalPrepublish>N</IsTotalPrepublish>\\r\\n\\t\\t<BarrierCount>1000</BarrierCount>\\r\\n\\t\\t<IsActive>Y</IsActive>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</PrepublishList>\\r\\n</FindPrepublishesByVersionIdResponse>","errorExample":""}]', + 'title' => '查询版本下的预发布列表', + 'summary' => '调用FindPrepublishesByVersionId查询版本下的预发布列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListShadowSchemas' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishesByVersionId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindVersionBlackDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'QueryType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '查询类型', - 'type' => 'string', - 'required' => false, - 'example' => 'deviceModelId', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], [ - 'name' => 'QueryValue', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '和查询类型匹配的查询值', - 'type' => 'string', - 'required' => false, - 'example' => '120', - ], + 'schema' => ['description' => '版本类型,支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID,模糊匹配', 'type' => 'string', 'required' => false, 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + ], + [ + 'name' => 'OriginalId', + 'in' => 'query', + 'schema' => ['description' => '源设备ID,模糊匹配', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], ], [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '查询的页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页索引,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页查询的数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小,支持10、20、50三种。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], ], 'responses' => [ @@ -10044,245 +6688,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'PageList' => [ - 'description' => '查询结果列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceList' => [ + 'description' => '设备列表信息', 'type' => 'object', 'properties' => [ - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '当前页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页记录数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '总记录数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SimpleSign' => [ - 'description' => '是否简单验证(无参考价值)', - 'type' => 'boolean', - 'example' => 'false', - ], - 'HasNextPage' => [ - 'description' => '是否有下一页', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - 'List' => [ - 'description' => '结果列表', + 'Items' => [ + 'description' => '当前页设备数', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AuthTypeDesc' => [ - 'description' => '认证类型描述', - 'type' => 'string', - 'example' => '基于账号', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120', - ], - 'AuthType' => [ - 'description' => '账号认证类型', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'PIC3UA0V', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1537255499517', - ], - 'Namespace' => [ - 'description' => '命名空间', - 'type' => 'string', - 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8', - ], - 'DeviceModel' => [ - 'description' => '设备机型', - 'type' => 'string', - 'example' => 'model_2nd', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1537255499517', - ], - 'ModuleSchema' => [ - 'description' => '机型shema信息', - 'type' => 'string', - 'example' => '{"a":"b"}', - ], - 'Id' => [ - 'description' => '数据唯一记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '168566700000'], + 'OriginalId' => ['description' => '源设备ID', 'type' => 'string', 'example' => '23452345234523452'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + 'IdType' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'example' => 'hardware_id'], + 'GmtCreate' => ['description' => '设备添加时间', 'type' => 'string', 'example' => '2018-02-14 14:20:18'], + 'Id' => ['description' => 'ID,主键', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '总共符合条件的设备数', 'type' => 'integer', 'format' => 'int32', 'example' => '25'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"PageList\\": {\\n \\"List\\": [\\n {\\n \\"AuthTypeDesc\\": \\"基于账号\\",\\n \\"DeviceModelId\\": 120,\\n \\"AuthType\\": 0,\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"GmtCreate\\": 1537255499517,\\n \\"Namespace\\": \\"b09e93ce436aaf0dcfc2fb2004c1fde8\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"GmtModified\\": 1537255499517,\\n \\"ModuleSchema\\": \\"{\\\\\\"a\\\\\\":\\\\\\"b\\\\\\"}\\",\\n \\"Id\\": 12\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"SimpleSign\\": false,\\n \\"HasNextPage\\": false\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListShadowSchemasResponse>\\r\\n\\t<RequestId>973C5884-2CB8-40B4-9D9F-F92BA38BD85F</RequestId>\\r\\n\\t<PageList>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<HasNextPage>true</HasNextPage>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t\\t<GmtCreate>1537255499517</GmtCreate>\\r\\n\\t\\t\\t<ModuleSchema>{"ecu": {"node_desc": "动力系统", "brake_controll": {"handbrake": "手刹状态", "node_desc": "驻车制动", "brake_fluid": "制动液", "brake_lining": "制动衬片", "brake_status": "刹车状态", "brake_auxiliary": "辅助制动", "brake_emergency": "应急制动", "brake_pedal_strength": "刹车踏板强度"}}, "device_info": {"vin": "车架号", "uuid": "uuid", "brand": "设备品牌", "product": "对内型号", "version": "schema版本", "node_desc": "设备描述", "manufacture": "制造商", "device_model": "对外型号", "plugin_version": {"ra": "远程诊断", "control": "远程控制", "node_desc": "插件版本号", "yundevice": "yundevice版本号"}, "system_version": "系统版本号"}, "car_body_hvac": {"door": {"node_desc": "车门", "bonnet_ststus": "引擎盖状态", "vehicle_rl_door": {"node_desc": "后左侧门", "door_status": "开合状态"}, "vehicle_rr_door": {"node_desc": "后右侧门", "door_status": "开合状态"}, "vehicle_driver_door": {"node_desc": "驾驶员车门", "door_status": "开合状态"}, "vehicle_locked_status": "锁止状态", "vehicle_passenger_door": {"node_desc": "副驾驶车门", "door_status": "开合状态"}}, "hvac": {"ac": {"ac_type": "控温模式", "ac_switch": "AC开启", "node_desc": "空调系统", "ac_engine_status": "压缩机运转状态", "ac_setting_temperature": "空调设定温度"}, "node_desc": "通风与空气调节", "air_temperature": "车内温度", "ventilation_system": {"air_rate": "风速", "node_desc": "通风系统", "air_recirc": "空气循环方式", "air_direction": "风向"}}, "chair": {"node_desc": "座椅", "chair_memory": {"node_desc": "座椅记忆", "chair_driver_hight": "驾驶位座椅高度", "chair_driver_header": "驾驶位座椅头枕", "chair_driver_shifting": "驾驶位座椅位移", "chair_passenger_hight": "副驾驶位座椅高度", "chair_passenger_header": "副驾驶位座椅头枕", "chair_passenger_shifting": "副驾驶位座椅位移"}, "seat_heating": {"node_desc": "座椅加热", "seat_heating_driver_gear": "主驾驶座加热档位", "seat_heating_passenger_gear": "副驾驶座加热档位"}}, "light": {"fog_light": {"node_desc": "雾灯", "fog_fl_light": "前左雾灯", "fog_fr_light": "前右雾灯", "fog_rear_light": "后雾灯"}, "node_desc": "灯光", "foot_light": "脚灯", "read_light": {"node_desc": "阅读灯", "read_fl_light": "左前阅读灯", "read_fr_light": "右前阅读灯", "read_rl_light": "右前阅读灯", "read_rr_light": "右后阅读灯"}, "tail_light": {"node_desc": "尾灯", "tail_l_light": "左尾灯", "tail_r_light": "右尾灯"}, "turn_light": {"node_desc": "转向灯", "turn_l_light": "左侧转向灯", "turn_r_light": "左侧转向灯", "turn_fl_light": "左前转向灯", "turn_fr_light": "右前转向灯", "turn_rl_light": "左后转向灯", "turn_rr_light": "右后转向灯"}, "brake_light": {"node_desc": "刹车灯", "brake_h_light": "高位刹车灯", "brake_l_light": "左刹车灯", "brake_r_light": "右刹车灯"}, "trunk_light": "后备箱灯", "backup_light": "倒车灯", "hazard_light": "警示灯", "license_light": "牌照灯", "welcome_light": {"node_desc": "迎宾灯", "welcome_fl_light": "左前迎宾灯", "welcome_fr_light": "右前迎宾灯", "welcome_rl_light": "左后迎宾灯", "welcome_rr_light": "右后迎宾灯"}, "cosmetic_light": {"node_desc": "化妆灯", "cosmetic_fl_light": "左前化妆灯", "cosmetic_fr_light": "右后化妆灯", "cosmetic_rl_light": "左后化妆灯"}, "glovebox_light": "手套箱灯", "clearance_light": "示廓灯", "rear_view_ground": "后视镜照地灯", "head_light_status": "大灯照明模式"}, "radar": {"node_desc": "雷达", "raer_radar": {"node_desc": "后雷达", "rear_radar_status": "后雷达状态", "rear_radar_interval": "后方障碍物距离"}, "front_radar": {"node_desc": "前雷达", "front_radar_status": "前雷达状态", "front_radar_interval": "前方障碍物距离"}}, "cooling": {"coolant": "冷却液", "node_desc": "冷却系统", "water_pump": "水泵", "water_tank": "水箱", "cooling_fan": "风扇", "cooling_radiator": "散热器", "water_temperature": "水温"}, "steering": {"node_desc": "方向盘", "steering_wheel_angle": "打转角度"}, "node_desc": "车身与HVAC", "lubricating": {"oil_pump": "机油泵", "node_desc": "润滑系统", "oil_ducts": "油道", "oil_level": "机油油位", "oil_filter": "机油滤清器", "pressure_plug": "感压塞", "oil_gather_colander": "集滤器", "pressure_limiting_valve": "限压阀"}, "cigar_lighter": {"node_desc": "点烟器", "cigar_lighter_rear": "后点烟器", "cigar_lighter_temp": "点烟器温度", "cigar_lighter_driver": "前点烟器"}, "cleaning_fluid": "清洗液"}}</ModuleSchema>\\r\\n\\t\\t\\t<GmtModified>1537255499517</GmtModified>\\r\\n\\t\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t\\t<AuthTypeDesc>用户模式</AuthTypeDesc>\\r\\n\\t\\t\\t<Id>53</Id>\\r\\n\\t\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t\\t<AuthType>101</AuthType>\\r\\n\\t\\t\\t<Namespace>b09e93ce436aaf0dcfc2fb2004c1fde8</Namespace>\\r\\n\\t\\t</List>\\r\\n\\t</PageList>\\r\\n</ListShadowSchemasResponse>","errorExample":""}]', - 'title' => '获取schema分页数据', - 'summary' => '根据项目ID、分页信息等,获取schema的分页数据。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 168566700000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"hardware_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": 123\\n }\\n ],\\n \\"TotalCount\\": 25\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindVersionBlackDevicesResponse>","errorExample":""}]', + 'title' => '获取系统版本或应用版本设备黑名单', + 'summary' => '分页获取系统版本或者应用版本的设备黑名单。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDefaultSchema' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindVersionDeviceGroups' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '云设备ID', 'type' => 'string', 'required' => false, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], ], [ - 'name' => 'DeviceModelId', + 'name' => 'OriginalId', 'in' => 'query', - 'schema' => [ - 'description' => '机型ID', - 'type' => 'string', - 'required' => true, - 'example' => '120', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'Schema' => [ - 'description' => '默认schema信息', - 'type' => 'string', - 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}', - ], - ], - ], + 'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Schema\\": \\"{\\\\\\"ecu\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"动力系统\\\\\\",\\\\\\"brake_controll\\\\\\":{\\\\\\"handbrake\\\\\\":\\\\\\"手刹状态\\\\\\"}},\\\\\\"device_info\\\\\\":{\\\\\\"vin\\\\\\":\\\\\\"车架号\\\\\\",\\\\\\"uuid\\\\\\":\\\\\\"uuid\\\\\\",\\\\\\"brand\\\\\\":\\\\\\"设备品牌\\\\\\",\\\\\\"plugin_version\\\\\\":{\\\\\\"ra\\\\\\":\\\\\\"远程诊断\\\\\\",\\\\\\"control\\\\\\":\\\\\\"远程控制\\\\\\",\\\\\\"node_desc\\\\\\":\\\\\\"插件版本号\\\\\\",\\\\\\"yundevice\\\\\\":\\\\\\"yundevice版本号\\\\\\"},\\\\\\"system_version\\\\\\":\\\\\\"系统版本号\\\\\\"},\\\\\\"car_body_hvac\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"车身与HVAC\\\\\\",\\\\\\"cigar_lighter\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"点烟器\\\\\\"},\\\\\\"cleaning_fluid\\\\\\":\\\\\\"清洗液\\\\\\"}}\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeDefaultSchemaResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<Schema>{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}</Schema>\\r\\n</DescribeDefaultSchemaResponse>","errorExample":""}]', - 'title' => '根据机型获取默认的schema信息', - 'summary' => '调用DescribeDefaultSchema根据机型获取默认的schema信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDeviceValiditySchema' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'DeviceModel', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '机型信息', - 'type' => 'string', - 'required' => false, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ - 'name' => 'SchemaVersion', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'schema版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '分组名', 'type' => 'string', 'required' => false, 'example' => '升级'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], ], 'responses' => [ @@ -10290,143 +6795,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'ItemList' => [ - 'description' => '验证schema列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Minimum' => [ - 'description' => '最小数量', - 'type' => 'number', - 'format' => 'float', - 'example' => '5', - ], - 'Type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => 'string', - ], - 'Maximum' => [ - 'description' => '最大数量', - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'ItemType' => [ - 'description' => '数据类型', - 'type' => 'string', - 'example' => 'boolean', - ], - 'EnumListStr' => [ - 'description' => '枚举值的字符串信息', - 'type' => 'string', - 'example' => '[a,b]', - ], - 'ExclusiveMinimum' => [ - 'description' => '是否不包含最小值', - 'type' => 'boolean', - 'example' => 'true', - ], - 'MaxLength' => [ - 'description' => '最大长度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Required' => [ - 'description' => '是否是必须的', - 'type' => 'string', - 'example' => 'true', - ], - 'Description' => [ - 'description' => '描述信息', - 'type' => 'string', - 'example' => '机型验证信息', - ], - 'ExclusiveMaximum' => [ - 'description' => '是否不包含最大值', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Path' => [ - 'description' => '路径', - 'type' => 'string', - 'example' => '/havc/oil_level', - ], - 'MinLength' => [ - 'description' => '最小长度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceGroupList' => [ + 'description' => '查询结果列表', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '返回记录列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtModifyTimestamp' => ['description' => '修改时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '16834654000000'], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '16834654000000'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'Description' => ['description' => '分组描述', 'type' => 'string', 'example' => '测试'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '分组名', 'type' => 'string', 'example' => '升级分组'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'MaxCount' => ['description' => '最大设备数', 'type' => 'string', 'example' => '100'], + ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"ItemList\\": [\\n {\\n \\"Type\\": \\"string\\",\\n \\"Minimum\\": 5,\\n \\"Maximum\\": 10,\\n \\"ItemType\\": \\"boolean\\",\\n \\"ExclusiveMinimum\\": true,\\n \\"EnumListStr\\": \\"[a,b]\\",\\n \\"MaxLength\\": 10,\\n \\"Required\\": \\"true\\",\\n \\"Description\\": \\"机型验证信息\\",\\n \\"ExclusiveMaximum\\": false,\\n \\"Path\\": \\"/havc/oil_level\\",\\n \\"MinLength\\": 5\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeDeviceValiditySchemaResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<ItemList>\\r\\n\\t\\t<description>开机时长</description>\\r\\n\\t\\t<enumListStr />\\r\\n\\t\\t<exclusiveMaximum />\\r\\n\\t\\t<exclusiveMinimum />\\r\\n\\t\\t<itemType />\\r\\n\\t\\t<maxLength />\\r\\n\\t\\t<maximum />\\r\\n\\t\\t<minLength />\\r\\n\\t\\t<minimum />\\r\\n\\t\\t<path>/system/environment_variables/system_runtime</path>\\r\\n\\t\\t<required>false</required>\\r\\n\\t\\t<type>string</type>\\r\\n\\t</ItemList>\\r\\n\\t<ItemList>\\r\\n\\t\\t<description>客户端Ip</description>\\r\\n\\t\\t<enumListStr />\\r\\n\\t\\t<exclusiveMaximum />\\r\\n\\t\\t<exclusiveMinimum />\\r\\n\\t\\t<itemType />\\r\\n\\t\\t<maxLength />\\r\\n\\t\\t<maximum />\\r\\n\\t\\t<minLength />\\r\\n\\t\\t<minimum />\\r\\n\\t\\t<path>/system/environment_variables/ip</path>\\r\\n\\t\\t<required>false</required>\\r\\n\\t\\t<type>string</type>\\r\\n\\t</ItemList>\\r\\n</DescribeDeviceValiditySchemaResponse>","errorExample":""}]', - 'title' => '根据机型获取验证schema', - 'summary' => '调用DescribeDeviceValiditySchema根据机型获取验证schema。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroupList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 16834654000000,\\n \\"GmtCreateTimestamp\\": 16834654000000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": 1,\\n \\"MaxCount\\": \\"100\\"\\n }\\n ],\\n \\"TotalCount\\": 10\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionDeviceGroupsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupList>\\r\\n\\t\\t<TotalCount>10</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t\\t<Description>测试</Description>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceGroupList>\\r\\n</FindVersionDeviceGroupsResponse>","errorExample":""}]', + 'title' => '查询测试设备分组', + 'summary' => '分页查询测试设备分组,可根据分组名、分组包含的云设备ID查询。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeShadowSchema' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindVersionGroupDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceModel', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '机型', - 'type' => 'string', - 'required' => true, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'IsSimple', + 'name' => 'OriginalId', 'in' => 'query', - 'schema' => [ - 'description' => '是否不返回描述信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], ], [ - 'name' => 'ProjectId', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'DeviceGroupId', + 'in' => 'query', + 'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '云设备ID', 'type' => 'string', 'required' => false, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], ], ], 'responses' => [ @@ -10434,75 +6899,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Schema' => [ - 'description' => 'schema信息', - 'type' => 'string', - 'example' => '[ { \\"id\\": 102, \\"name\\": \\"product:对内型号\\", \\"open\\": false, \\"pId\\": 1, \\"path\\": \\"/device_info/product\\" }, { \\"id\\": 101, \\"name\\": \\"manufacture:制造商\\", \\"open\\": false, \\"pId\\": 1, \\"path\\": \\"/device_info/manufacture\\" } ]', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'GroupDeviceList' => [ + 'description' => '设备列表', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '当前分页的设备数据', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '18635800000'], + 'OriginalId' => ['description' => '源设备ID', 'type' => 'string', 'example' => '23452345234523452'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + 'IdType' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'example' => 'device_id'], + 'GmtCreate' => ['description' => '添加时间', 'type' => 'string', 'example' => '2018-02-14 14:20:18'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '123'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '设备记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Schema\\": \\"[ { \\\\\\\\\\\\\\"id\\\\\\\\\\\\\\": 102, \\\\\\\\\\\\\\"name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"product:对内型号\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"open\\\\\\\\\\\\\\": false, \\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\"path\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"/device_info/product\\\\\\\\\\\\\\" }, { \\\\\\\\\\\\\\"id\\\\\\\\\\\\\\": 101, \\\\\\\\\\\\\\"name\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"manufacture:制造商\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"open\\\\\\\\\\\\\\": false, \\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\"path\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"/device_info/manufacture\\\\\\\\\\\\\\" } ]\\",\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DescribeShadowSchemaResponse>\\r\\n <RequestId>195D7F63-0904-49ED-854B-13C7BB37F764</RequestId>\\r\\n\\t<Schema>[{"path":"/device_info/product","name":"product:对内型号","pId":1,"id":102,"open":false},{"path":"/device_info/manufacture","name":"manufacture:制造商","pId":1,"id":101,"open":false}]</Schema>\\r\\n</DescribeShadowSchemaResponse>","errorExample":""}]', - 'title' => '根据机型获取schema信息', - 'summary' => '调用DescribeShadowSchema根据机型获取schema信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"GroupDeviceList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 18635800000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"device_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": \\"123\\"\\n }\\n ],\\n \\"TotalCount\\": 2\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionGroupDevicesResponse>\\r\\n\\t<GroupDeviceList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t</GroupDeviceList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindVersionGroupDevicesResponse>","errorExample":""}]', + 'title' => '查询指定分组中的设备列表', + 'summary' => '根据云设备ID,分页查询指定分组中的设备列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddUploadedFunctionFileInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindVersionMessageSendRecords' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', 'type' => 'string', 'required' => false, 'example' => 'FOTA'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'ObjectKey', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '已上传的文件标识符', - 'type' => 'string', - 'required' => true, - 'example' => 'function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'FileName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '文件名', - 'type' => 'string', - 'required' => true, - 'example' => 'hello.zip', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'MessageType', + 'in' => 'query', + 'schema' => ['description' => ' 消息类型,取值:'."\n" + ."\n" + .'- **SYSTEM_UPDATE**:系统版本发布消息推送,'."\n" + .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', 'type' => 'string', 'required' => false, 'example' => 'SYSTEM_UPDATE'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -10510,133 +7009,129 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'MessageSendRecordList' => [ + 'description' => '查询到的消息发送记录', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '发送记录列表详情', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1645460000'], + 'MessageType' => ['description' => ' 消息类型,取值:'."\n" + .' '."\n" + .'- **SYSTEM_UPDATE**:系统版本发布消息推送'."\n" + .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', 'type' => 'string', 'example' => 'SYSTEM_UPDATE'], + 'FailedCount' => ['description' => '失败消息数', 'type' => 'string', 'example' => '0'], + 'SkippedCount' => ['description' => '跳过消息数', 'type' => 'string', 'example' => '0'], + 'Result' => ['description' => '消息发送结果', 'type' => 'string', 'example' => 'SUCCESS'], + 'SucceededCount' => ['description' => '成功消息数', 'type' => 'string', 'example' => '100'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '1'], + 'ResultDesc' => ['description' => '消息发送结果描述', 'type' => 'string', 'example' => '发送成功'], + 'TargetId' => ['description' => '目标ID', 'type' => 'string', 'example' => '1'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<AddUploadedFunctionFileInfoResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddUploadedFunctionFileInfoResponse>","errorExample":""}]', - 'title' => '添加已上传的函数文件', - 'summary' => '添加已经上传(先请求GenerateFunctionFileUploadMeta)的函数文件。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MessageSendRecordList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1645460000,\\n \\"MessageType\\": \\"SYSTEM_UPDATE\\",\\n \\"FailedCount\\": \\"0\\",\\n \\"SkippedCount\\": \\"0\\",\\n \\"Result\\": \\"SUCCESS\\",\\n \\"SucceededCount\\": \\"100\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"ResultDesc\\": \\"发送成功\\",\\n \\"TargetId\\": \\"1\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"TotalCount\\": 30\\n },\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionMessageSendRecordsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<MessageSendRecordList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<MessageType>SYSTEM_UPDATE</MessageType>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<TargetId>1</TargetId>\\r\\n\\t\\t\\t<Result>SUCCESS</Result>\\r\\n\\t\\t\\t<ResultDesc>发送成功</ResultDesc>\\r\\n\\t\\t\\t<SucceededCount>100</SucceededCount>\\r\\n\\t\\t\\t<FailedCount>0</FailedCount>\\r\\n\\t\\t\\t<SkippedCount>0</SkippedCount>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</MessageSendRecordList>\\r\\n</FindVersionMessageSendRecordsResponse>","errorExample":""}]', + 'title' => '查询群发消息记录', + 'summary' => '查询版本下的群发消息记录,只针对按照机型群发的消息记录的查询。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteFunctionFile' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionMessageSendRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindVersionMessages' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'FileName', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '文件名', - 'type' => 'string', - 'required' => true, - 'example' => 'hello.zip', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'FileType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '文件类型。**0**:单文件;**1**:包文件。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - ], - ], + [ + 'name' => 'MessageType', + 'in' => 'query', + 'schema' => ['description' => '取值有:'."\n" + ."\n" + .'- **VERSION_TEST**:系统版本测试消息推送'."\n" + .'- **SYSTEM_UPDATE**:系统版本发布消息推送'."\n" + .'- **APP_VERSION_TEST**:应用自升级测试消息推送'."\n" + .'- **APP_VERSION_UPDATE**:应用自升级发布消息推送', 'type' => 'string', 'required' => false, 'example' => 'VERSION_TEST'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteFunctionFileResponse>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteFunctionFileResponse>","errorExample":""}]', - 'title' => '删除函数文件', - 'summary' => '调用DeleteFunctionFile删除函数文件。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListDeployedFunctions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'TestId', + 'in' => 'query', + 'schema' => ['description' => '测试ID', 'type' => 'string', 'required' => false, 'example' => '1'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'FileId', + 'name' => 'SendRecordId', 'in' => 'query', - 'schema' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '群发记录ID', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '云设备ID', 'type' => 'string', 'required' => false, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -10644,147 +7139,102 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Functions' => [ - 'description' => '函数记录', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => 'PE9FQC48', - ], - 'GmtCreate' => [ - 'description' => '创建时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'Name' => [ - 'description' => '函数名', - 'type' => 'string', - 'example' => 'someFunc', - ], - 'GmtModified' => [ - 'description' => '修改时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535872636000', - ], - 'Id' => [ - 'description' => '函数ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'FileId' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'MessageList' => [ + 'description' => '查询到的消息结果', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '结果列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtModifyTimestamp' => ['description' => '修改时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '18974500000'], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '18974500000'], + 'Status' => ['description' => '发送状态', 'type' => 'string', 'example' => 'SUCCESS'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'MessageId' => ['description' => '发送的消息ID', 'type' => 'string', 'example' => '1'], + 'DeviceId' => ['description' => '云设备ID', 'type' => 'string', 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '1'], + 'StatusDesc' => ['description' => '发送状态描述', 'type' => 'string', 'example' => '发送成功'], + 'TestId' => ['description' => '测试ID', 'type' => 'string', 'example' => '1'], + 'Id' => ['description' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Functions\\": [\\n {\\n \\"ProjectId\\": \\"PE9FQC48\\",\\n \\"GmtCreate\\": 1535604251000,\\n \\"Name\\": \\"someFunc\\",\\n \\"GmtModified\\": 1535872636000,\\n \\"Id\\": 1,\\n \\"FileId\\": 1\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListDeployedFunctionsResponse>\\r\\n\\t<Functions>\\r\\n\\t\\t<FileId>46</FileId>\\r\\n\\t\\t<GmtCreate>1536201206000</GmtCreate>\\r\\n\\t\\t<GmtModified>1536201206000</GmtModified>\\r\\n\\t\\t<Id>35</Id>\\r\\n\\t\\t<Name>someFunc</Name>\\r\\n\\t\\t<ProjectId>PE9FQC48</ProjectId>\\r\\n\\t</Functions>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListDeployedFunctionsResponse>","errorExample":""}]', - 'title' => '查询已部署的函数', - 'summary' => '调用ListDeployedFunctions查询已部署的函数。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"MessageList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 18974500000,\\n \\"GmtCreateTimestamp\\": 18974500000,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"MessageId\\": \\"1\\",\\n \\"DeviceId\\": \\"b8fe2e24ff2b48e0a3aa4e49809fc1b3\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"StatusDesc\\": \\"发送成功\\",\\n \\"TestId\\": \\"1\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"TotalCount\\": 5\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionMessagesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<MessageList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<TestId>1</TestId>\\r\\n\\t\\t\\t<MessageId>1</MessageId>\\r\\n\\t\\t\\t<DeviceId>b8fe2e24ff2b48e0a3aa4e49809fc1b3</DeviceId>\\r\\n\\t\\t\\t<Status>SUCCESS</Status>\\r\\n\\t\\t\\t<StatusDesc>发送成功</StatusDesc>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</MessageList>\\r\\n</FindVersionMessagesResponse>","errorExample":""}]', + 'title' => '查询消息发送情况', + 'summary' => '查询某一版本、测试或群发记录下的消息发送情况。', + 'description' => '> 根据MessageType决定查询的目标类型。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunctionExecuteLog' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionMessages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'FindVersionTests' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], - ], - [ - 'name' => 'FileId', - 'in' => 'query', - 'schema' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'FunctionName', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '函数名', - 'type' => 'string', - 'required' => true, - 'example' => 'someFunc', - ], + 'schema' => ['description' => '本页开始序号', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Env', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '函数所部署的环境,0:沙箱环境;1:生产环境。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ - 'name' => 'PageIndex', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '目标页号,默认为1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'PageSize', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '每页所显示的项数,默认为10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', 'type' => 'string', 'required' => false, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -10792,131 +7242,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LogList' => [ - 'description' => '日志列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'VersionTestList' => [ + 'description' => '版本测试的查询结果', 'type' => 'object', 'properties' => [ - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '目标页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页所显示的项数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'HasNextPage' => [ - 'description' => '是否有下一页', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'Logs' => [ - 'description' => '日志数组', + 'Items' => [ + 'description' => '返回记录列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '函数执行时,标准输出的日志内容', - 'type' => 'string', - 'example' => '2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log', - ], - 'BackEndRequestId' => [ - 'description' => '后端运行环境调用的编号', - 'type' => 'string', - 'example' => '5f541c0a-2175-7651-7b7e-c8a0bff5cb7e', - ], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1685450000'], + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '1'], + 'GmtModifyTimestamp' => ['description' => '修改时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1685450000'], + 'FailedCount' => ['description' => '发送消息失败数', 'type' => 'string', 'example' => '0'], + 'DeviceGroupId' => ['description' => '测试设备分组ID', 'type' => 'string', 'example' => '1'], + 'SkippedCount' => ['description' => '跳过消息数', 'type' => 'string', 'example' => '0'], + 'Description' => ['description' => '测试描述', 'type' => 'string', 'example' => '测试描述'], + 'SucceededCount' => ['description' => '发送消息成功数', 'type' => 'string', 'example' => '100'], + 'DeviceGroupName' => ['description' => '测试设备分组名称', 'type' => 'string', 'example' => '测试分组'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '测试名', 'type' => 'string', 'example' => '第一次测试'], + 'Id' => ['description' => '测试ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'VersionType' => ['description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', 'type' => 'string', 'example' => 'FOTA'], ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"LogList\\": {\\n \\"Logs\\": [\\n {\\n \\"Message\\": \\"2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log\\",\\n \\"BackEndRequestId\\": \\"5f541c0a-2175-7651-7b7e-c8a0bff5cb7e\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"HasNextPage\\": true\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionExecuteLogResponse>\\r\\n\\t<LogList>\\r\\n\\t\\t<Logs>\\r\\n\\t\\t\\t<BackEndRequestId>5f541c0a-2175-7651-7b7e-c8a0bff5cb7e</BackEndRequestId>\\r\\n\\t\\t <Message>2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log</Message>\\r\\n\\t </Logs>\\r\\n\\t<Pagination>\\r\\n\\t\\t<HasNextPage>false</HasNextPage>\\r\\n\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t<PageSize>10</PageSize>\\r\\n\\t</Pagination>\\r\\n </LogList>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionExecuteLogResponse>","errorExample":""}]', - 'title' => '查询函数执行日志', - 'summary' => '按分页列出函数执行的日志。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"VersionTestList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1685450000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"VersionId\\": \\"1\\",\\n \\"GmtModifyTimestamp\\": 1685450000,\\n \\"FailedCount\\": \\"0\\",\\n \\"DeviceGroupId\\": \\"1\\",\\n \\"SkippedCount\\": \\"0\\",\\n \\"Description\\": \\"测试描述\\",\\n \\"SucceededCount\\": \\"100\\",\\n \\"DeviceGroupName\\": \\"测试分组\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次测试\\",\\n \\"Id\\": 1,\\n \\"VersionType\\": \\"FOTA\\"\\n }\\n ],\\n \\"TotalCount\\": 30\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindVersionTestsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<VersionTestList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<VersionType>FOTA</VersionType>\\r\\n\\t\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t\\t<Name>第一次测试</Name>\\r\\n\\t\\t\\t<DeviceGroupId>1</DeviceGroupId>\\r\\n\\t\\t\\t<DeviceGroupName>测试分组</DeviceGroupName>\\r\\n\\t\\t\\t<Description>测试描述</Description>\\r\\n\\t\\t\\t<SucceededCount>100</SucceededCount>\\r\\n\\t\\t\\t<FailedCount>0</FailedCount>\\r\\n\\t\\t\\t<SkippedCount>0</SkippedCount>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</VersionTestList>\\r\\n</FindVersionTestsResponse>","errorExample":""}]', + 'title' => '分页查询版本测试列表', + 'summary' => '调用FindVersionTests分页查询版本测试列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunctionFiles' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionTests', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FindVersionWhiteDevices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'FileType', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '文件类型,0:单文件;1:包文件', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], + ], + [ + 'name' => 'VersionType', + 'in' => 'query', + 'schema' => ['description' => '版本类型。支持:'."\n" + ."\n" + .'- **FOTA**:系统升级'."\n" + .'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID,支持模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + ], + [ + 'name' => 'OriginalId', + 'in' => 'query', + 'schema' => ['description' => '源设备ID,支持模糊匹配。', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], ], [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '目标页号,默认为1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页索引,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页所显示的项数,默认为10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小,支持10、20、50三种。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], ], 'responses' => [ @@ -10924,185 +7360,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'FileList' => [ - 'description' => '文件列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceList' => [ + 'description' => '设备列表信息', 'type' => 'object', 'properties' => [ - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '目标页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '记录总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '每页所显示的项数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - ], - ], - 'Files' => [ - 'description' => '文件数组', + 'Items' => [ + 'description' => '当前分页的设备数据', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '文件状态。0:正常;1:已删除', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ProductionDeployTime' => [ - 'description' => '生成环境的部署时间,精确到毫秒的Unix时间戳'."\n" - ."\n" - .'> 只有当生成环境的部署状态为已部署,才可获取到该值,否则该字段不返回。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'ProductionDeployStatus' => [ - 'description' => '生成环境的部署状态。0:未部署,1:已部署', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => '文件描述', - 'type' => 'string', - 'example' => 'This is description', - ], - 'SandboxDeployTime' => [ - 'description' => '沙箱环境的部署时间,精确到毫秒的Unix时间戳'."\n" - ."\n" - .'> 只有当沙箱环境的部署状态为已部署,才可获取到该值,否则该字段不返回。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'GmtCreate' => [ - 'description' => '创建时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'SandboxDeployStatus' => [ - 'description' => '沙箱环境的部署状态。0:未部署,1:已部署', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GmtModified' => [ - 'description' => '修改时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'Name' => [ - 'description' => '文件名', - 'type' => 'string', - 'example' => 'hello.zip', - ], - 'ContentId' => [ - 'description' => '文件内容ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Id' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'GmtCreateTimestamp' => ['description' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1868400000'], + 'OriginalId' => ['description' => '源设备ID', 'type' => 'string', 'example' => '23452345234523452'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + 'IdType' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'example' => 'hardware_id'], + 'GmtCreate' => ['description' => '添加时间', 'type' => 'string', 'example' => '2018-02-14 14:20:18'], + 'Id' => ['description' => '白名单ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '总共符合条件的设备数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"FileList\\": {\\n \\"Files\\": [\\n {\\n \\"Status\\": 0,\\n \\"ProductionDeployTime\\": 1535604251000,\\n \\"ProductionDeployStatus\\": 1,\\n \\"Description\\": \\"This is description\\",\\n \\"SandboxDeployTime\\": 1535604251000,\\n \\"GmtCreate\\": 1535604251000,\\n \\"SandboxDeployStatus\\": 1,\\n \\"GmtModified\\": 1535604251000,\\n \\"Name\\": \\"hello.zip\\",\\n \\"ContentId\\": 1,\\n \\"Id\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionFilesResponse>\\r\\n\\t<FileList>\\r\\n\\t\\t<Files>\\r\\n\\t\\t\\t<ContentId>5</ContentId>\\r\\n\\t\\t\\t<GmtCreate>1509422113000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1510150180000</GmtModified>\\r\\n\\t\\t\\t<Id>17</Id>\\r\\n\\t\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t\\t<ProductionDeployStatus>0</ProductionDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployStatus>1</SandboxDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployTime>1509422113000</SandboxDeployTime>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t</Files>\\r\\n\\t\\t<Files>\\r\\n\\t\\t\\t<ContentId>29</ContentId>\\r\\n\\t\\t\\t<Description>This is Desciption</Description>\\r\\n\\t\\t\\t<GmtCreate>1534739368000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1534739368000</GmtModified>\\r\\n\\t\\t\\t<Id>41</Id>\\r\\n\\t\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t\\t<ProductionDeployStatus>1</ProductionDeployStatus>\\r\\n\\t\\t\\t<ProductionDeployTime>1509422113000</ProductionDeployTime>\\r\\n\\t\\t\\t<SandboxDeployStatus>1</SandboxDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployTime>1509422113000</SandboxDeployTime>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t</Files>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>15</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>2</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</FileList>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionFilesResponse>","errorExample":""}]', - 'title' => '查询函数文件', - 'summary' => '列出指定项目、指定类型的函数文件,支持分页。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 1868400000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"hardware_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": 123\\n }\\n ],\\n \\"TotalCount\\": 30\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindVersionWhiteDevicesResponse>","errorExample":""}]', + 'title' => '分页获取系统版本或应用版本的设备白名单', + 'summary' => '调用FindVersionWhiteDevices分页获取系统版本或应用版本的设备白名单。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListFunctionFilesByProjectId' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GenerateFunctionFileUploadMeta' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '目标页号,默认为1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'PageSize', + 'name' => 'FileName', 'in' => 'query', - 'schema' => [ - 'description' => '每页所显示的项数,默认为10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'], ], ], 'responses' => [ @@ -11110,111 +7447,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Files' => [ - 'description' => '文件记录', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '文件类型,0:单文件;1:包文件', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Status' => [ - 'description' => '文件状态,0:正常;1:已删除', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GmtCreate' => [ - 'description' => '创建时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535604251000', - ], - 'GmtModified' => [ - 'description' => '修改时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535872636000', - ], - 'Name' => [ - 'description' => '文件名', - 'type' => 'string', - 'example' => 'hello.zip', - ], - 'Id' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ContentId' => [ - 'description' => '文件内容ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'UploadMeta' => [ + 'description' => '上传文件的元信息', + 'type' => 'object', + 'properties' => [ + 'PostObjectPolicy' => [ + 'description' => '上传文件的入参信息,想要了解更多,请参考OSS的[PostObject](https://help.aliyun.com/document_detail/31988.html)描述。', + 'type' => 'object', + 'properties' => [ + 'Signature' => ['description' => '签名信息,详见[Post Signature](https://help.aliyun.com/document_detail/31988.html?spm=a2c4g.11186623.4.5.3d774382LHt5Uz#h2-url-3)', 'type' => 'string', 'example' => 'XuG0kIHhWPbztVfDGA1HhzdKPJI='], + 'Host' => ['description' => '上传文件的目标地址', 'type' => 'string', 'example' => 'https://iovcc-yunfunction-qa.oss-cn-shanghai.aliyuncs.com'], + 'Policy' => ['description' => 'Base64编码过的[PostPolicy](https://help.aliyun.com/document_detail/31988.html?spm=a2c4g.11186623.4.5.3d774382LHt5Uz#h2-url-2)信息', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0='], + 'Expire' => ['description' => 'PostPolicy的过期时长(毫秒)', 'type' => 'string', 'example' => '1537236687'], + 'AccessId' => ['description' => '临时的访问ID', 'type' => 'string', 'example' => 'STS.NHm36Gt3rEesnNGi7spRPCMeD'], ], ], + 'SecurityToken' => ['description' => 'RAM角色扮演的STS Token,详情参见[STS临时授权](https://help.aliyun.com/document_detail/32016.html)。', 'type' => 'string', 'example' => 'CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63'], + 'ObjectKey' => ['description' => '上传文件的标识', 'type' => 'string', 'example' => 'function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Files\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 0,\\n \\"GmtCreate\\": 1535604251000,\\n \\"GmtModified\\": 1535872636000,\\n \\"Name\\": \\"hello.zip\\",\\n \\"Id\\": 1,\\n \\"ContentId\\": 1\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionFilesByProjectIdResponse>\\r\\n\\t<Files>\\r\\n\\t\\t<ContentId>17</ContentId>\\r\\n\\t\\t<GmtCreate>1536201185000</GmtCreate>\\r\\n\\t\\t<GmtModified>1536633019000</GmtModified>\\r\\n\\t\\t<Id>46</Id>\\r\\n\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</Files>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionFilesByProjectIdResponse>","errorExample":""}]', - 'title' => '根据项目ID查询函数文件', - 'summary' => '列出指定项目所创建的函数单文件及包文件,支持分页。', - 'description' => '> 如在创建触发器时,需要先列出当前项目关联的函数文件,然后进行函数的选择。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"UploadMeta\\": {\\n \\"PostObjectPolicy\\": {\\n \\"Signature\\": \\"XuG0kIHhWPbztVfDGA1HhzdKPJI=\\",\\n \\"Host\\": \\"https://iovcc-yunfunction-qa.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=\\",\\n \\"Expire\\": \\"1537236687\\",\\n \\"AccessId\\": \\"STS.NHm36Gt3rEesnNGi7spRPCMeD\\"\\n },\\n \\"SecurityToken\\": \\"CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63\\",\\n \\"ObjectKey\\": \\"function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GenerateFunctionFileUploadMetaResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<UploadMeta>\\r\\n\\t\\t<ObjectKey>function/file/1288127239930711/PE9FQC48/6F25F67C-F411-499F-BCE2-67CA563CB064/hello.zip</ObjectKey>\\r\\n\\t\\t<PostObjectPolicy>\\r\\n\\t\\t\\t<AccessId>STS.NHm36Gt3rEesnNGi7spRPCMeD</AccessId>\\r\\n\\t\\t\\t<Expire>1537236687</Expire>\\r\\n\\t\\t\\t<Host>https://iovcc-yunfunction-online.oss-cn-shanghai.aliyuncs.com</Host>\\r\\n\\t\\t\\t<Policy>eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=</Policy>\\r\\n\\t\\t\\t<Signature>XuG0kIHhWPbztVfDGA1HhzdKPJI=</Signature>\\r\\n\\t\\t</PostObjectPolicy>\\r\\n\\t\\t<SecurityToken>CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63</SecurityToken>\\r\\n\\t</UploadMeta>\\r\\n</GenerateFunctionFileUploadMetaResponse>","errorExample":""}]', + 'title' => '生成函数文件上传元信息', + 'summary' => '调用GenerateFunctionFileUploadMeta生成函数文件上传元信息。', + 'description' => '> 获取到上传元信息后,即可把函数文件上传到OSS。更多信息,可见OSS的[服务端签名后直传](https://help.aliyun.com/document_detail/31926.html)描述。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GenerateFunctionFileUploadMeta' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateFunctionFileUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GenerateOssUploadMeta' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'], ], [ - 'name' => 'FileName', + 'name' => 'Ext', 'in' => 'query', - 'schema' => [ - 'description' => '文件名', - 'type' => 'string', - 'required' => true, - 'example' => 'hello.zip', - ], + 'schema' => ['description' => '文件类型后缀。', 'type' => 'string', 'required' => true, 'example' => 'rsa'], ], ], 'responses' => [ @@ -11222,140 +7526,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'UploadMeta' => [ - 'description' => '上传文件的元信息', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7676B259-FFA5-4971-A9D7-7B3F48D1DEEB'], + 'OssUploadMeta' => [ + 'description' => '上传OSS所需的凭证信息。', 'type' => 'object', 'properties' => [ - 'PostObjectPolicy' => [ - 'description' => '上传文件的入参信息,想要了解更多,请参考OSS的[PostObject](https://help.aliyun.com/document_detail/31988.html)描述。', - 'type' => 'object', - 'properties' => [ - 'Signature' => [ - 'description' => '签名信息,详见[Post Signature](https://help.aliyun.com/document_detail/31988.html?spm=a2c4g.11186623.4.5.3d774382LHt5Uz#h2-url-3)', - 'type' => 'string', - 'example' => 'XuG0kIHhWPbztVfDGA1HhzdKPJI=', - ], - 'Host' => [ - 'description' => '上传文件的目标地址', - 'type' => 'string', - 'example' => 'https://iovcc-yunfunction-qa.oss-cn-shanghai.aliyuncs.com', - ], - 'Policy' => [ - 'description' => 'Base64编码过的[PostPolicy](https://help.aliyun.com/document_detail/31988.html?spm=a2c4g.11186623.4.5.3d774382LHt5Uz#h2-url-2)信息', - 'type' => 'string', - 'example' => 'eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=', - ], - 'Expire' => [ - 'description' => 'PostPolicy的过期时长(毫秒)', - 'type' => 'string', - 'example' => '1537236687', - ], - 'AccessId' => [ - 'description' => '临时的访问ID', - 'type' => 'string', - 'example' => 'STS.NHm36Gt3rEesnNGi7spRPCMeD', - ], - ], - ], - 'SecurityToken' => [ - 'description' => 'RAM角色扮演的STS Token,详情参见[STS临时授权](https://help.aliyun.com/document_detail/32016.html)。', - 'type' => 'string', - 'example' => 'CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63', - ], - 'ObjectKey' => [ - 'description' => '上传文件的标识', - 'type' => 'string', - 'example' => 'function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip', - ], + 'SecurityToken' => ['description' => 'sts授权访问token。', 'type' => 'string', 'example' => 'xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo='], + 'ObjectKey' => ['description' => '文件在OSS上存储的完整文件名。', 'type' => 'string', 'example' => '1768723179523459/11/2018-05-07/cert.rsa'], + 'AccessKeySecret' => ['description' => '临时的AccessKey Secret。', 'type' => 'string', 'example' => 'xxxxxxxxxxxxxxxxx'], + 'AccessKeyId' => ['description' => '临时的AccessKey ID。', 'type' => 'string', 'example' => 'STS.xxxxxxxxxxxxxxxxx'], + 'Bucket' => ['description' => '上传到指定的Bucket。', 'type' => 'string', 'example' => 'xxxx'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"UploadMeta\\": {\\n \\"SecurityToken\\": \\"CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63\\",\\n \\"ObjectKey\\": \\"function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip\\",\\n \\"PostObjectPolicy\\": {\\n \\"Signature\\": \\"XuG0kIHhWPbztVfDGA1HhzdKPJI=\\",\\n \\"Host\\": \\"https://iovcc-yunfunction-qa.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=\\",\\n \\"Expire\\": \\"1537236687\\",\\n \\"AccessId\\": \\"STS.NHm36Gt3rEesnNGi7spRPCMeD\\"\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GenerateFunctionFileUploadMetaResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<UploadMeta>\\r\\n\\t\\t<ObjectKey>function/file/1288127239930711/PE9FQC48/6F25F67C-F411-499F-BCE2-67CA563CB064/hello.zip</ObjectKey>\\r\\n\\t\\t<PostObjectPolicy>\\r\\n\\t\\t\\t<AccessId>STS.NHm36Gt3rEesnNGi7spRPCMeD</AccessId>\\r\\n\\t\\t\\t<Expire>1537236687</Expire>\\r\\n\\t\\t\\t<Host>https://iovcc-yunfunction-online.oss-cn-shanghai.aliyuncs.com</Host>\\r\\n\\t\\t\\t<Policy>eyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=</Policy>\\r\\n\\t\\t\\t<Signature>XuG0kIHhWPbztVfDGA1HhzdKPJI=</Signature>\\r\\n\\t\\t</PostObjectPolicy>\\r\\n\\t\\t<SecurityToken>CAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/42n25S6/gSlokqEMRvGxCVNeJctboL2CqPSdWYl5Llx+Qp2MyLMDO/JUYlCllp1aGrIunGc9KBNnpA/00amMl0HFfPdlihNoLzxvwDR98LXw6+QCNbDdNNXGVLo9MbMn2jUpTINQXx0FLNEG1iuAd3lRmkgMbZ+MCH7QfEh1DX0/Ico5+LQqKpdM5xJpxyISncvsx/fbGT1zVLuVoYtvV3i7JP8nLWo9eTHl9a/xSBNa/N+5phMQlyeqk9HelKrfzx0qQi6ryKzdutl04cZrkKCn2YfK3x7vLvRLPLFN8ybuT8IG+fkILNZJjyrQgvJGMGMg1XfdE9K3h2TAUlDT/HLKS7+VfMJQmiT6XCiftmgcMvkA+0pYvRfwfWGvKh/Hc2A7RgPwRqFWZPhDG4K/VbKVwVIwM5XOrMd+gpMkAC85GPlBbJSyhtwktQu/DDfP7MssgdE96uAs4bidZHPskc6jB0FQmpG6jVi0AKf2d+Xa1fy7LwPJKg8r6ZzfV+qBVC8Ubq0BqAAWxX+0Nwa5DhRemsT1hWIFHzz7zvt8mvHXE42bOQsmHAlThYrG27r1IJ4PeiL17aiTPK0nW5aXpvjaskg+b42mR/YsI0T7v7xMuMj6btceXEBBMl3a82lDryxBtj6+N49U5Wn+bKXXAtz5/ti7LWHALboNLIOyJLWZeWOOMzyA63</SecurityToken>\\r\\n\\t</UploadMeta>\\r\\n</GenerateFunctionFileUploadMetaResponse>","errorExample":""}]', - 'title' => '生成函数文件上传元信息', - 'summary' => '调用GenerateFunctionFileUploadMeta生成函数文件上传元信息。', - 'description' => '> 获取到上传元信息后,即可把函数文件上传到OSS。更多信息,可见OSS的[服务端签名后直传](https://help.aliyun.com/document_detail/31926.html)描述。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7676B259-FFA5-4971-A9D7-7B3F48D1DEEB\\",\\n \\"OssUploadMeta\\": {\\n \\"SecurityToken\\": \\"xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=\\",\\n \\"ObjectKey\\": \\"1768723179523459/11/2018-05-07/cert.rsa\\",\\n \\"AccessKeySecret\\": \\"xxxxxxxxxxxxxxxxx\\",\\n \\"AccessKeyId\\": \\"STS.xxxxxxxxxxxxxxxxx\\",\\n \\"Bucket\\": \\"xxxx\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\n<OssUploadMeta>\\n <AccessKeyId>STS.xxxxxxxxxxxxxxxxx</AccessKeyId>\\n <AccessKeySecret>xxxxxxxxxxxxxxxxx</AccessKeySecret>\\n <Bucket>xxx</Bucket>\\n <ObjectKey>1768723179523459/11/2018-05-07/cert.rsa</ObjectKey>\\n <SecurityToken>xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=</SecurityToken>\\n</OssUploadMeta>","errorExample":""}]', + 'title' => '获取文件上传OSS凭证', + 'summary' => '获取文件上传OSS的凭证,凭证具有一定的时效性,且凭证被赋予了有限的权限。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'InvokeFunction' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateOssUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GenerateSdkDownloadInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'Sdks', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '用户选择要下载的sdk集合,多个以英文逗号隔开。', 'type' => 'string', 'required' => true, 'example' => 'AiCCSDK-FOTA,AiCCSDK-CMNS'], ], [ - 'name' => 'FileId', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '函数文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '自定义应用ID。', 'type' => 'string', 'required' => true, 'example' => 'A3BU0HBO'], ], [ - 'name' => 'FunctionName', + 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '函数名称', - 'type' => 'string', - 'required' => true, - 'example' => 'someFunc', - ], + 'schema' => ['description' => '系统类型,1-Android。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Env', + 'name' => 'PkgName', 'in' => 'query', - 'schema' => [ - 'description' => '函数所部署的环境,0:沙箱环境;1:生产环境。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '自定义应用的包名。', 'type' => 'string', 'required' => true, 'example' => 'com.test.app'], ], [ - 'name' => 'Parameters', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '调用函数的入参', - 'type' => 'string', - 'required' => true, - 'example' => '{"key":"value"}', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'], + ], + [ + 'name' => 'CertFileObjectKey', + 'in' => 'query', + 'schema' => ['description' => 'RSA证书文件上传OSS后,在OSS上的完整文件名。', 'type' => 'string', 'required' => true, 'example' => '1768723179523459/11/2018-05-07/1525699039841.rsa'], ], ], 'responses' => [ @@ -11363,87 +7616,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Result' => [ - 'description' => '返回结果', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F3BAE77D-1954-48C5-95F6-D4937B29E2F4'], + 'SdkDownloadInfo' => [ + 'description' => 'SDK下载的信息。', 'type' => 'object', 'properties' => [ - 'Output' => [ - 'description' => '函数执行时的标准输出', - 'type' => 'string', - 'example' => 'hello, bla bla bla...', - ], - 'BackEndRequestId' => [ - 'description' => '后端运行环境调用的请求ID', - 'type' => 'string', - 'example' => '54117932-59f1-4955-7a26-0c96962fd645', - ], + 'Url' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Result\\": {\\n \\"Output\\": \\"hello, bla bla bla...\\",\\n \\"BackEndRequestId\\": \\"54117932-59f1-4955-7a26-0c96962fd645\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<InvokeFunctionResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n\\t<Result>\\r\\n\\t\\t<BackEndRequestId>2b500332-5a7b-9b5b-b92e-38685b95efaa</BackEndRequestId>\\r\\n\\t\\t<Output>succeed</Output>\\r\\n\\t</Result>\\r\\n</InvokeFunctionResponse>","errorExample":""}]', - 'title' => '调用函数', - 'summary' => '使用InvokeFunction调用函数。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F3BAE77D-1954-48C5-95F6-D4937B29E2F4\\",\\n \\"SdkDownloadInfo\\": {\\n \\"Url\\": \\"http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<GenerateSdkDownloadInfoResponse>\\r\\n\\t<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\r\\n\\t<SdkDownloadInfo>\\r\\n\\t\\t<Url>http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/aicc-sdk-1525699039841.zip?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D</Url>\\r\\n\\t</SdkDownloadInfo>\\r\\n</GenerateSdkDownloadInfoResponse>","errorExample":""}]', + 'title' => '获取SDK下载的信息', + 'summary' => '调用GenerateSdkDownloadInfo获取SDK下载的信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeployFunctionFile' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateSdkDownloadInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GenerateSysAppDownloadInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'Plugins', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '下载AiCC Container应用时,用户选择的插件集合,支持多选,以json数组存储。', 'type' => 'string', 'required' => true, 'example' => '[{"PkgName":"com.aliyun.aicc.yundevice","VersionCode":20180228},{"PkgName":"com.aliyun.aicc.remoteassistant","VersionCode":""}]'], ], [ - 'name' => 'FileId', + 'name' => 'SignMode', 'in' => 'query', - 'schema' => [ - 'description' => '函数文件ID'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '35', - ], + 'schema' => ['description' => '签名方式。取值:'."\n" + ."\n" + .'- **customized**:自定义签名'."\n" + .'- **platform**:由平台签名', 'type' => 'string', 'required' => true, 'example' => 'customized'], ], [ - 'name' => 'DeployEnv', + 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '部署环境,**0**:沙箱环境;**1**:生产环境。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '系统类型,1-Android。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PkgName', + 'in' => 'query', + 'schema' => ['description' => '用户选择下载的系统应用包名。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.aicc'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'], + ], + [ + 'name' => 'CertFileObjectKey', + 'in' => 'query', + 'schema' => ['description' => 'RSA证书文件上传OSS后,在OSS上的完整文件名。', 'type' => 'string', 'required' => false, 'example' => '1768723179523459/11/2018-05-07/1525699039841.rsa'], ], ], 'responses' => [ @@ -11451,136 +7705,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F3BAE77D-1954-48C5-95F6-D4937B29E2F4'], + 'SysAppDownloadInfo' => [ + 'description' => '系统应用下载信息。', + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeployFunctionFileResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeployFunctionFileResponse>","errorExample":""}]', - 'title' => '部署函数', - 'summary' => '调用DeployFunctionFile部署函数。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F3BAE77D-1954-48C5-95F6-D4937B29E2F4\\",\\n \\"SysAppDownloadInfo\\": {\\n \\"Url\\": \\"http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<GenerateSysAppDownloadInfoResponse>\\r\\n\\t<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\r\\n\\t<SysAppDownloadInfo>\\r\\n\\t\\t<Url>http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D</Url>\\r\\n\\t</SysAppDownloadInfo>\\r\\n</GenerateSysAppDownloadInfoResponse>","errorExample":""}]', + 'title' => '获取IoVCC系统应用下载信息', + 'summary' => '调用GenerateSysAppDownloadInfo获取IoVCC系统应用下载信息。', + 'description' => '> 用户上传自己的证书文件(.rsa),IoVCC根据用户上传的证书文件,生成对应的安全图片,并存储到用户下载的系统应用中。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateTrigger' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateSysAppDownloadInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDeviceAppUpdateFunnelEvents' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], - ], - [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'description' => '命名空间,如:syncstore的namespace。', - 'type' => 'string', - 'required' => true, - 'example' => 'f323baa35c304751a4b1254adc8230bf', - ], - ], - [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '触发器触发的事件标识,如:syncstore路径。', - 'type' => 'string', - 'required' => true, - 'example' => '/', - ], - ], - [ - 'name' => 'FileIds', + 'name' => 'PackageName', 'in' => 'query', - 'schema' => [ - 'description' => '目标函数所在的文件ID。'."\n" - ."\n" - .'与目标函数ID相对应,多个以英文逗号","分隔。', - 'type' => 'string', - 'required' => true, - 'example' => '1,2', - ], + 'schema' => ['description' => '应用包名', 'type' => 'string', 'required' => false, 'example' => 'com.aliyun.package1'], ], [ - 'name' => 'FunctionIds', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '目标函数ID。'."\n" - ."\n" - .'与目标函数所在的文件ID相对应,多个以英文逗号","分隔。', - 'type' => 'string', - 'required' => true, - 'example' => '35,36', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'InvocationMode', + 'name' => 'TargetVersionCode', 'in' => 'query', - 'schema' => [ - 'description' => '调用模式。'."\n" - ."\n" - .'- **0**:串行(同步)调用'."\n" - .'- **1**:并行(异步)调用', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '目标版本versioncode', 'type' => 'string', 'required' => false, 'example' => '100'], ], [ - 'name' => 'Sandbox', + 'name' => 'IdType', 'in' => 'query', - 'schema' => [ - 'description' => '是否在沙箱环境触发。'."\n" - ."\n" - .'- **0**(默认):不在该环境执行'."\n" - .'- **1**:在该环境执行', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => false, 'example' => 'hardware_id'], ], [ - 'name' => 'Production', + 'name' => 'OriginalId', 'in' => 'query', - 'schema' => [ - 'description' => '是否在生产环境触发。'."\n" - ."\n" - .'- **0**(默认):不在该环境执行'."\n" - .'- **1**:在该环境执行', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], ], ], 'responses' => [ @@ -11588,61 +7792,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'EventList' => [ + 'description' => '升级进度事件列表信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PackageName' => ['description' => '应用包名', 'type' => 'string', 'example' => 'com.aliyun.package1'], + 'DeviceId' => ['description' => '云设备ID', 'type' => 'string', 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + 'TargetVersionCode' => ['description' => '升级目标版本versioncode', 'type' => 'string', 'example' => '2005680'], + 'Event' => ['description' => '事件名称', 'type' => 'string', 'example' => 'os_download_succ'], + 'ReportTimestamp' => ['description' => '上报时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '16834500000'], + 'ReportTime' => ['description' => '事件上报时间', 'type' => 'string', 'example' => '2018-02-14 14:20:18'], + 'TenantId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'P0VFCREU'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateTriggerResponse>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateTriggerResponse>","errorExample":""}]', - 'title' => '创建触发器', - 'summary' => '调用CreateTrigger创建触发器。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"EventList\\": [\\n {\\n \\"PackageName\\": \\"com.aliyun.package1\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"TargetVersionCode\\": \\"2005680\\",\\n \\"Event\\": \\"os_download_succ\\",\\n \\"ReportTimestamp\\": 16834500000,\\n \\"ReportTime\\": \\"2018-02-14 14:20:18\\",\\n \\"TenantId\\": \\"P0VFCREU\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<GetDeviceAppUpdateFunnelEventsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<EventList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<TenantId>P0VFCREU</TenantId>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<TargetVersionCode>2005680</TargetVersionCode>\\r\\n\\t\\t\\t<PackageName>com.aliyun.package1</PackageName>\\r\\n\\t\\t\\t<Event>os_download_succ</Event>\\r\\n\\t\\t\\t<ReportTime>2018-02-14 14:20:18</ReportTime>\\r\\n\\t\\t</Items>\\r\\n\\t</EventList>\\r\\n</GetDeviceAppUpdateFunnelEventsResponse>","errorExample":""}]', + 'title' => '获取设备应用升级的进度信息', + 'summary' => '调用GetDeviceAppUpdateFunnelEvents获取设备应用升级的进度信息。', + 'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteTrigger' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetDeviceAppUpdateFunnelEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDeviceSystemUpdateFunnelEvents' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'OriginalId', + 'in' => 'query', + 'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'Id', + 'name' => 'TargetVersion', 'in' => 'query', - 'schema' => [ - 'description' => '触发器ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '目标系统版本号', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180412.0824'], + ], + [ + 'name' => 'IdType', + 'in' => 'query', + 'schema' => ['description' => '设备ID类型,支持:'."\n" + ."\n" + .'- **device_id**:硬件ID'."\n" + .'- **sn**:序列号'."\n" + .'- **vin**:车架号'."\n" + .'- **hardware_id**:硬件ID', 'type' => 'string', 'required' => false, 'example' => 'hardware_id'], ], ], 'responses' => [ @@ -11650,89 +7884,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'EventList' => [ + 'description' => '升级进度事件列表信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceId' => ['description' => '云设备ID', 'type' => 'string', 'example' => 'AS23DG23SA5D43GA34SD23GW456E'], + 'TargetVersion' => ['description' => '升级的目标系统版本号', 'type' => 'string', 'example' => '2.0.1-R-20180412.0824'], + 'Event' => ['description' => '事件名称', 'type' => 'string', 'example' => 'os_download_succ'], + 'ReportTimestamp' => ['description' => '上报时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '167845600000'], + 'ReportTime' => ['description' => '事件上报时间', 'type' => 'string', 'example' => '2018-02-14 14:20:18'], + 'TenantId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'P0VFCREU'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeleteTriggerResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteTriggerResponse>","errorExample":""}]', - 'title' => '删除触发器', - 'summary' => '调用DeleteTrigger删除触发器。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"EventList\\": [\\n {\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"TargetVersion\\": \\"2.0.1-R-20180412.0824\\",\\n \\"Event\\": \\"os_download_succ\\",\\n \\"ReportTimestamp\\": 167845600000,\\n \\"ReportTime\\": \\"2018-02-14 14:20:18\\",\\n \\"TenantId\\": \\"P0VFCREU\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<GetDeviceSystemUpdateFunnelEventsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<EventList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<TenantId>P0VFCREU</TenantId>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<TargetVersion>2.0.1-R-20180412.0824</TargetVersion>\\r\\n\\t\\t\\t<Event>os_download_succ</Event>\\r\\n\\t\\t\\t<ReportTime>2018-02-14 14:20:18</ReportTime>\\r\\n\\t\\t</Items>\\r\\n\\t</EventList>\\r\\n</GetDeviceSystemUpdateFunnelEventsResponse>","errorExample":""}]', + 'title' => '获取设备系统升级的进度信息', + 'summary' => '调用GetDeviceSystemUpdateFunnelEvents获取设备系统升级的进度信息。', + 'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateTrigger' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetDeviceSystemUpdateFunnelEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetNamespaceData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ - 'name' => 'Id', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '触发器ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'Namespace唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'cc6c29893f2be7d465db44ec7b5d593e'], ], [ - 'name' => 'Sandbox', + 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '是否在沙箱环境触发。'."\n" - ."\n" - .'- **0**(默认):不在该环境执行'."\n" - .'- **1**:在该环境执行', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '数据空间划分和鉴权方式。'."\n" + ."\n" + .'- 1:基于账号'."\n" + .'- 2:基于设备'."\n" + .'- 101:基于账号和设备', 'type' => 'string', 'required' => true, 'example' => '101'], ], [ - 'name' => 'Production', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => '是否在生产环境触发。'."\n" - ."\n" - .'- **0**(默认):不在该环境执行'."\n" - .'- **1**:在该环境执行', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '设备ID类型。取值范围:**uuid**/**sn**/**vin**/**hardware_id**。'."\n" + ."\n" + .'> 当`AuthType=2或101`时,此项必填。', 'type' => 'string', 'required' => false, 'example' => 'uuid'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => false, 'example' => '1ac5e182e9634252a02d442a4d5d16fc'], + ], + [ + 'name' => 'AccountType', + 'in' => 'query', + 'schema' => ['description' => '用户ID类型。'."\n" + ."\n" + .'- `www.weibo.com`:微博'."\n" + .'- `www.openaccount.alios.cn`:AliOS'."\n" + .'- `www.amap.com`:高德'."\n" + .'- `www.yundevicedemo.aliyun.com`:YUNDEVICE_DEMO'."\n" + .'- `anonymous`:匿名'."\n" + ."\n" + .'> 当AuthType=1或101,此项必填。', 'type' => 'string', 'required' => false, 'example' => 'www.weibo.com'], + ], + [ + 'name' => 'AccountId', + 'in' => 'query', + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'example' => '10000'], ], ], 'responses' => [ @@ -11740,82 +7999,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], + 'Data' => ['description' => 'Namespace里的数据', 'type' => 'string', 'example' => '[{\\"path\\":\\"/\\",\\"content\\":\\"Window\\",\\"children\\":[{\\"path\\":\\"/Window\\",\\"content\\":\\"SunroofSlideCtrl\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofSlideCtrl\\",\\"content\\":\\"val\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofSlideCtrl/val\\",\\"content\\":\\"3\\"}]}]},{\\"path\\":\\"/Window\\",\\"content\\":\\"SunroofTiltCtrl\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofTiltCtrl\\",\\"content\\":\\"val\\",\\"children\\":[{\\"path\\":\\"/Window/SunroofTiltCtrl/val\\",\\"content\\":\\"1\\"}]}]}]}]'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateTriggerResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</UpdateTriggerResponse>","errorExample":""}]', - 'title' => '修改触发器', - 'summary' => '调用UpdateTrigger修改触发器。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SunroofSlideCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofSlideCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofSlideCtrl/val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3\\\\\\\\\\\\\\"}]}]},{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SunroofTiltCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofTiltCtrl\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/Window/SunroofTiltCtrl/val\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}]}]}]}]\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GetNamespaceDataResponse>\\r\\n<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Data>[{"path":"/","content":"Window","children":[{"path":"/Window","content":"SunroofSlideCtrl","children":[{"path":"/Window/SunroofSlideCtrl","content":"val","children":[{"path":"/Window/SunroofSlideCtrl/val","content":"3"}]}]},{"path":"/Window","content":"SunroofTiltCtrl","children":[{"path":"/Window/SunroofTiltCtrl","content":"val","children":[{"path":"/Window/SunroofTiltCtrl/val","content":"1"}]}]}]}]</Data>\\r\\n</GetNamespaceDataResponse>","errorExample":""}]', + 'title' => '查询Namespace里存的数据', + 'summary' => '调用GetNamespaceData查询Namespace里存的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListTriggers' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetNamespaceData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetNamespaceStatisticsData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PE9FQC48', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '命名空间,如:syncstore的namespace', - 'type' => 'string', - 'required' => true, - 'example' => 'f323baa35c304751a4b1254adc8230bf', - ], + 'schema' => ['description' => 'Namespace唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'cc6c29893f2be7d465db44ec7b5d593e'], ], [ - 'name' => 'PageIndex', + 'name' => 'DimensionType', 'in' => 'query', - 'schema' => [ - 'description' => '目标页号,默认为1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '统计维度类型。'."\n" + ."\n" + .'- **101**-用户日活'."\n" + .'- **102**-设备日活'."\n" + .'- **103**-数据提交次数'."\n" + .'- **111**-每分钟用户访问次数'."\n" + .'- **112**-每分钟设备访问次数'."\n" + .'- **113**-每分钟数据提交次数', 'type' => 'string', 'required' => true, 'example' => '101'], ], [ - 'name' => 'PageSize', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '每页所显示的项数,默认为10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '开始时间。'."\n" + ."\n" + .'- 按日统计,如:2018-08-16'."\n" + .'- 按分钟统计,如:2018-08-23 13:53', 'type' => 'string', 'required' => false, 'example' => '2018-09-20'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。'."\n" + ."\n" + .'- 按日统计,如:2018-08-16'."\n" + .'- 按分钟统计,如:2018-08-23 13:53', 'type' => 'string', 'required' => false, 'example' => '2018-09-18'], ], ], 'responses' => [ @@ -11823,235 +8087,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'TriggerList' => [ - 'description' => '触发器列表', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], + 'Statistics' => [ + 'description' => '统计结果', 'type' => 'object', 'properties' => [ - 'Pagination' => [ - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '目标页号', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '分页总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '每页所显示的项数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - ], + 'Categories' => [ + 'type' => 'array', + 'items' => ['description' => '统计分类', 'type' => 'integer', 'example' => '["1534907280000","1534907340000","1534907400000"]', 'format' => 'int64'], + 'description' => '', ], - 'Triggers' => [ - 'description' => '触发器数组', + 'Series' => [ + 'description' => '统计数据', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '触发器状态,-1:关联函数已删除;1:关联函数未部署;2:关联函数已部署', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Type' => [ - 'description' => '触发器类型,0:syncstore', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Production' => [ - 'description' => '是否在生产环境触发,0:不在该环境执行;1:在该环境执行,默认为0', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Functions' => [ - 'description' => '函数数组', + 'Data' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreate' => [ - 'description' => '创建时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535872636000', - ], - 'FileName' => [ - 'description' => '文件名', - 'type' => 'string', - 'example' => 'hello.zip', - ], - 'Name' => [ - 'description' => '函数名', - 'type' => 'string', - 'example' => 'someFunc', - ], - 'GmtModified' => [ - 'description' => '修改时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535872636000', - ], - 'Id' => [ - 'description' => '函数ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'FileId' => [ - 'description' => '文件ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'Sandbox' => [ - 'description' => '是否在沙箱环境触发,0:不在该环境执行;1:在该环境执行,默认为0', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Namespace' => [ - 'description' => '命名空间,如:syncstore的namespace', - 'type' => 'string', - 'example' => 'f323baa35c304751a4b1254adc8230bf', - ], - 'GmtModified' => [ - 'description' => '修改时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535873636000', - ], - 'Source' => [ - 'description' => '触发器触发的事件标识,如:syncstore路径', - 'type' => 'string', - 'example' => '/', - ], - 'ChainedFunctionIds' => [ - 'description' => '链式函数ID,多个以英文逗号”,“分隔,分别对应Functions数组的每一项', - 'type' => 'string', - 'example' => '/', - ], - 'GmtCreate' => [ - 'description' => '创建时间,精确到毫秒的Unix时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1535873636000', - ], - 'InvocationMode' => [ - 'description' => '调用模式,0:串行(同步)调用;1:并行(异步)调用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Id' => [ - 'description' => '触发器ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'items' => ['description' => '统计数据结果,每一项数据按顺序对应Categories的每一项。', 'type' => 'integer', 'example' => '[1,10,5]', 'format' => 'int64'], + 'description' => '', ], + 'Name' => ['description' => '统计数据的名称。', 'type' => 'string', 'example' => '设备访问次数'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"TriggerList\\": {\\n \\"Triggers\\": [\\n {\\n \\"Status\\": 2,\\n \\"Type\\": 0,\\n \\"Production\\": 1,\\n \\"ChainedFunctionIds\\": \\"/\\",\\n \\"GmtCreate\\": 1535873636000,\\n \\"Sandbox\\": 1,\\n \\"Namespace\\": \\"f323baa35c304751a4b1254adc8230bf\\",\\n \\"GmtModified\\": 1535873636000,\\n \\"Source\\": \\"/\\",\\n \\"InvocationMode\\": 0,\\n \\"Id\\": 1,\\n \\"Functions\\": [\\n {\\n \\"GmtCreate\\": 1535872636000,\\n \\"FileName\\": \\"hello.zip\\",\\n \\"Name\\": \\"someFunc\\",\\n \\"GmtModified\\": 1535872636000,\\n \\"Id\\": 1,\\n \\"FileId\\": 1\\n }\\n ]\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11\\n }\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListTriggersResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n\\t<TriggerList>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<Triggers>\\r\\n\\t\\t\\t<Functions>\\r\\n\\t\\t\\t\\t<FileId>46</FileId>\\r\\n\\t\\t\\t\\t<FileName>hello.zip</FileName>\\r\\n\\t\\t\\t\\t<GmtCreate>1536201206000</GmtCreate>\\r\\n\\t\\t\\t\\t<GmtModified>1536201206000</GmtModified>\\r\\n\\t\\t\\t\\t<Id>36</Id>\\r\\n\\t\\t\\t\\t<Name>someFunc</Name>\\r\\n\\t\\t\\t</Functions>\\r\\n\\t\\t\\t<GmtCreate>1537154684000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1537154684000</GmtModified>\\r\\n\\t\\t\\t<Id>2533</Id>\\r\\n\\t\\t\\t<InvocationMode>0</InvocationMode>\\r\\n\\t\\t\\t<Namespace>f323baa35c304751a4b1254adc8230bf</Namespace>\\r\\n\\t\\t\\t<Production>1</Production>\\r\\n\\t\\t\\t<Sandbox>1</Sandbox>\\r\\n\\t\\t\\t<Source>/</Source>\\r\\n\\t\\t\\t<Status>2</Status>\\r\\n\\t\\t\\t<Type>0</Type>\\r\\n\\t\\t</Triggers>\\r\\n\\t</TriggerList>\\r\\n</ListTriggersResponse>","errorExample":""}]', - 'title' => '按分页列出触发器', - 'summary' => '调用ListTriggers列出触发器,支持分页。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"Statistics\\": {\\n \\"Categories\\": [\\n 0\\n ],\\n \\"Series\\": [\\n {\\n \\"Data\\": [\\n 0\\n ],\\n \\"Name\\": \\"设备访问次数\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<GetNamespaceStatisticsDataResponse>\\r\\n\\t<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Statistics>\\r\\n\\t\\t<Series>\\r\\n\\t\\t\\t<Data>1</Data>\\r\\n\\t\\t\\t<Data>10</Data>\\r\\n\\t\\t\\t<Data>5</Data>\\r\\n\\t\\t\\t<Name>设备访问次数</Name>\\r\\n\\t\\t</Series>\\r\\n\\t\\t<Categories>1534907280000</Categories>\\r\\n\\t\\t<Categories>1534907340000</Categories>\\r\\n\\t\\t<Categories>1534907400000</Categories>\\r\\n\\t</Statistics>\\r\\n</GetNamespaceStatisticsDataResponse>","errorExample":""}]', + 'title' => '查询Namespace的业务统计数据', + 'summary' => '调用GetNamespaceStatisticsData查询Namespace的业务统计数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddVersionGroupDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-05-26T12:50:16.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetNamespaceStatisticsData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetOssUploadMeta' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceIdType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型。支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => true, - 'example' => 'sn', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'DeviceIds', - 'in' => 'query', - 'schema' => [ - 'description' => '云设备ID列表', - 'type' => 'string', - 'required' => true, - 'example' => '"b8fe2e24ff2b48e0a3aa4e49809fc1b3","b8f12e24ff2b48e0a3aa4e49809fc1b3"', - ], - ], - [ - 'name' => 'DeviceGroupId', + 'name' => 'Ext', 'in' => 'query', - 'schema' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '文件后缀', 'type' => 'string', 'required' => true, 'example' => 'zip'], ], ], 'responses' => [ @@ -12059,97 +8173,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'OssUploadMeta' => [ + 'description' => '上传需要的信息', + 'type' => 'object', + 'properties' => [ + 'AccessKey' => ['description' => '上传需要的信息', 'type' => 'string', 'example' => 'STS.xxxxxxxxxxx'], + 'Signature' => ['description' => '签名', 'type' => 'string', 'example' => 'xxxxxxxxxxxx='], + 'Host' => ['description' => '上传的OSS服务器地址', 'type' => 'string', 'example' => 'http://xxxxxx.oss-cn-shanghai.aliyuncs.com'], + 'Policy' => ['description' => 'OSS上传文件的Policy', 'type' => 'string', 'example' => 'xxxxxxxxxxxxxx'], + 'SecurityToken' => ['description' => 'STS token', 'type' => 'string', 'example' => 'xxxxxxxxxxxxxx'], + 'ObjectKey' => ['description' => '上传文件的目标路径', 'type' => 'string', 'example' => '11/1527911483513.zip'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionGroupDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionGroupDevicesResponse>","errorExample":""}]', - 'title' => '批量添加设备到测试设备分组中', - 'summary' => '通过云设备ID批量添加一个或多个设备到测试设备分组中。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OssUploadMeta\\": {\\n \\"AccessKey\\": \\"STS.xxxxxxxxxxx\\",\\n \\"Signature\\": \\"xxxxxxxxxxxx=\\",\\n \\"Host\\": \\"http://xxxxxx.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"xxxxxxxxxxxxxx\\",\\n \\"SecurityToken\\": \\"xxxxxxxxxxxxxx\\",\\n \\"ObjectKey\\": \\"11/1527911483513.zip\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<RequestId>4EFF678D-DD88-4AEB-B81C-B760AFDFA250</RequestId>\\n<OssUploadMeta>\\n <Policy>xxxxxxxxx</Policy>\\n <SecurityToken>xxxxxxxxxx</SecurityToken>\\n <Signature>xxxxxxxxxxx=</Signature>\\n <ObjectKey>11/1527911483513.zip</ObjectKey>\\n <Host>http://xxxxxxx.oss-cn-shanghai.aliyuncs.com</Host>\\n <AccessKey>STS.xxxxxxxx</AccessKey>\\n</OssUploadMeta>","errorExample":""}]', + 'title' => '获取上传升级包到OSS所需信息', + 'summary' => '获取上传升级包到OSS所需要的STS token和Policy等信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddVersionWhiteDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetOssUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'InvokeFunction' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'DeviceIds', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID列表,英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'example' => '11,22,33', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'ProjectId', + 'name' => 'FileId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '函数文件ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], [ - 'name' => 'VersionType', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '函数名称', 'type' => 'string', 'required' => true, 'example' => 'someFunc'], ], [ - 'name' => 'DeviceIdType', + 'name' => 'Env', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'required' => true, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '函数所部署的环境,0:沙箱环境;1:生产环境。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ - 'name' => 'VersionId', + 'name' => 'Parameters', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '调用函数的入参', 'type' => 'string', 'required' => true, 'example' => '{"key":"value"}'], ], ], 'responses' => [ @@ -12157,85 +8259,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Result' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Output' => ['description' => '函数执行时的标准输出', 'type' => 'string', 'example' => 'hello, bla bla bla...'], + 'BackEndRequestId' => ['description' => '后端运行环境调用的请求ID', 'type' => 'string', 'example' => '54117932-59f1-4955-7a26-0c96962fd645'], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<AddVersionWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</AddVersionWhiteDevicesResponse>","errorExample":""}]', - 'title' => '添加系统版本或应用版本的设备白名单', - 'summary' => '调用AddVersionWhiteDevices添加系统版本或应用版本的设备白名单。', - 'description' => '> 当希望添加版本的设备白名单时,可以调用此接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Result\\": {\\n \\"Output\\": \\"hello, bla bla bla...\\",\\n \\"BackEndRequestId\\": \\"54117932-59f1-4955-7a26-0c96962fd645\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<InvokeFunctionResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n\\t<Result>\\r\\n\\t\\t<BackEndRequestId>2b500332-5a7b-9b5b-b92e-38685b95efaa</BackEndRequestId>\\r\\n\\t\\t<Output>succeed</Output>\\r\\n\\t</Result>\\r\\n</InvokeFunctionResponse>","errorExample":""}]', + 'title' => '调用函数', + 'summary' => '使用InvokeFunction调用函数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'AddVersionWhiteDevicesByDeviceGroups' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:InvokeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListApiGatewayApps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'UEWE232', - ], - ], - [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'FOTA', - ], - ], - [ - 'name' => 'GroupIds', - 'in' => 'query', - 'schema' => [ - 'description' => '设备分组ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12', - ], - ], - [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '12323', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '11'], ], ], 'responses' => [ @@ -12243,85 +8321,73 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'Data' => [ - 'description' => '返回数据', - 'type' => 'string', - 'example' => 'success', + 'ApiGatewayApps' => [ + 'description' => '关联的网关app信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GatewayAppKey' => ['description' => 'API网关应用AppKey。', 'type' => 'string', 'example' => '24659924'], + 'Status' => ['description' => '状态。0表示正常,1表示禁用。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'GatewayAppSecret' => ['description' => 'API网关应用AppSecret,接口不会返回完整的AppSecret,只显示头尾几个字符。', 'type' => 'string', 'example' => 'a******1'], + 'GatewayAppId' => ['description' => 'API网关应用ID。', 'type' => 'string', 'example' => '1111111'], + 'UserId' => ['description' => '所属用户ID。', 'type' => 'string', 'example' => '1768723179523459'], + 'ProjectId' => ['description' => '项目ID。', 'type' => 'string', 'example' => '11'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1508400744000'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525340035000'], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'], + ], + 'description' => '', + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9CC2A1F1-DAE4-47DA-A682-240AF2DEED84'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"success\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\n<Data>success</Data>","errorExample":""}]', - 'title' => '将分组中的设备添加为版本黑白名单设备', - 'summary' => '通过设备分组将分组中的设备添加为版本黑白名单设备。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApiGatewayApps\\": [\\n {\\n \\"GatewayAppKey\\": \\"24659924\\",\\n \\"Status\\": 0,\\n \\"GatewayAppSecret\\": \\"a******1\\",\\n \\"GatewayAppId\\": \\"1111111\\",\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"ProjectId\\": \\"11\\",\\n \\"GmtCreate\\": 1508400744000,\\n \\"GmtModified\\": 1525340035000,\\n \\"Id\\": 8\\n }\\n ],\\n \\"RequestId\\": \\"9CC2A1F1-DAE4-47DA-A682-240AF2DEED84\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<ListApiGatewayAppsResponse>\\r\\n\\t<ApiGatewayApps>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<GatewayAppId>1111111</GatewayAppId>\\r\\n\\t\\t<Id>8</Id>\\r\\n\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t<GatewayAppKey>24659924</GatewayAppKey>\\r\\n\\t\\t<GmtCreate>1508400744000</GmtCreate>\\r\\n\\t\\t<GmtModified>1525340035000</GmtModified>\\r\\n\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t\\t<GatewayAppSecret>a******1</GatewayAppSecret>\\r\\n\\t</ApiGatewayApps>\\r\\n\\t<RequestId>9CC2A1F1-DAE4-47DA-A682-240AF2DEED84</RequestId>\\r\\n</ListApiGatewayAppsResponse>","errorExample":""}]', + 'title' => '查询项目关联的网关 APP 的信息', + 'summary' => '调用ListApiGatewayApps查询项目关联的网关app的信息。', + 'description' => '> 目前限制只能关联一个网关app。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateDeviceBrand' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListApiGatewayApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListApps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], - ], - [ - 'name' => 'BrandName', - 'in' => 'query', - 'schema' => [ - 'description' => '品牌名称', - 'type' => 'string', - 'required' => true, - 'example' => 'TmallGenius', - ], - ], - [ - 'name' => 'Manufacture', - 'in' => 'query', - 'schema' => [ - 'description' => '厂商名称', - 'type' => 'string', - 'required' => false, - 'example' => 'Alibaba', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '品牌描述', - 'type' => 'string', - 'required' => false, - 'example' => '天猫精灵', - ], + 'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'PV37HJ8Q'], ], ], 'responses' => [ @@ -12329,169 +8395,163 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'BrandId' => [ - 'description' => '新增的品牌ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Apps' => [ + 'description' => '自定义应用对象列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => ['description' => '应用名称', 'type' => 'string', 'example' => 'app_test'], + 'AppKey' => ['description' => '应用标识', 'type' => 'string', 'example' => 'ZBjeuffe'], + 'OsType' => ['description' => '应用运行系统类型。'."\n" + ."\n" + .'- 0:YunOS'."\n" + .'- 1:Android'."\n" + .'- 2:iOS', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AppPackage' => ['description' => '应用包名', 'type' => 'string', 'example' => 'com.aliyun.test'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"BrandId\\": 1,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CreateDeviceBrandResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<BrandId>1</BrandId>\\r\\n</CreateDeviceBrandResponse>","errorExample":""}]', - 'title' => '创建设备品牌', - 'summary' => '调用CreateDeviceBrand创建设备品牌。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Apps\\": [\\n {\\n \\"AppName\\": \\"app_test\\",\\n \\"AppKey\\": \\"ZBjeuffe\\",\\n \\"OsType\\": 1,\\n \\"AppPackage\\": \\"com.aliyun.test\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListAppsResponse>\\n\\t<Apps>\\n\\t\\t<AppKey>ZBjeuffe</AppKey>\\n\\t\\t<AppName>app_test</AppName>\\n\\t\\t<AppPackage>com.aliyun.test</AppPackage>\\n\\t\\t<OsType>6</OsType>\\n\\t</Apps>\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\n</ListAppsResponse>","errorExample":""}]', + 'title' => '获取项目工程下应用列表', + 'summary' => '根据项目工程ID,获取项目工程下应用列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateDeviceModel' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListAssistActionDetails' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'InitUsageType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备出厂使用性质。'."\n" - ."\n" - .'- **0**:私人设备;'."\n" - .'- **1**:运营或共享设备', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'CanCreateDeviceId', - 'in' => 'query', - 'schema' => [ - 'description' => '是否允许该型号创建设备ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ModelName', + 'name' => 'ActionTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'X1', - ], + 'schema' => ['description' => '执行操作的时间戳ID', 'type' => 'string', 'required' => true, 'example' => '1524560714502LwoJKfp'], ], [ - 'name' => 'HardwareType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID生成依据。', - 'type' => 'string', - 'required' => false, - 'example' => 'sn', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], - [ - 'name' => 'BrandName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '品牌名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'TmallGenius', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'Results' => [ + 'description' => '操作详情列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '操作类型', 'type' => 'string', 'example' => 'event'], + 'Action' => ['description' => '操作', 'type' => 'string', 'example' => 'top'], + 'Data' => ['description' => '操作结果', 'type' => 'string', 'example' => 'Processes: 331 total, 2 running, 329 sleeping, 1936 threads'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '37aac8e7d96c42ea94fd5408e351474e'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'UpdatedAt' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'string', 'example' => '1525398712826BdAw5KN'], + 'ID' => ['description' => '操作ID', 'type' => 'string', 'example' => '40475'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Results\\": [\\n {\\n \\"Type\\": \\"event\\",\\n \\"Action\\": \\"top\\",\\n \\"Data\\": \\"Processes: 331 total, 2 running, 329 sleeping, 1936 threads\\",\\n \\"DeviceId\\": \\"37aac8e7d96c42ea94fd5408e351474e\\",\\n \\"CreatedAt\\": 1525767660000,\\n \\"UpdatedAt\\": 1525767660000,\\n \\"Timestamp\\": \\"1525398712826BdAw5KN\\",\\n \\"ID\\": \\"40475\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistActionDetailsResponse>\\r\\n<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<ResultList>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<CreatedAt>1525767660000</CreatedAt>\\r\\n\\t\\t<UpdatedAt>1525767660000</UpdatedAt>\\r\\n\\t\\t<Data>Processes: 331 total, 2 running, 329 sleeping, 1936 threads</Data>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<ID>40475</ID>\\r\\n\\t\\t<Timestamp>1525398712826BdAw5KN</Timestamp>\\r\\n\\t\\t<Type>event</Type>\\r\\n\\t</ResultList>\\r\\n\\t<ResultList>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<CreatedAt>2018-04-24 17:05:15</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24 17:05:15</UpdatedAt>\\r\\n\\t\\t<Data>Load Avg: 2.38, 2.23, 2.06 CPU usage: 8.52% user, 4.80% sys, 86.67% idle SharedLibs: 142M resident, 42M data, 17M linkedit.</Data>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<ID>40476</ID>\\r\\n\\t\\t<Timestamp>1525398712826BdAw5KN</Timestamp>\\r\\n\\t\\t<Type>event</Type>\\r\\n\\t</ResultList>\\r\\n</ListAssistActionDetailsResponse>","errorExample":""}]', + 'title' => '获取指定诊断操作的详情信息', + 'summary' => '调用ListAssistActionDetails获取指定诊断操作的详情信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '型号描述。', - 'type' => 'string', - 'required' => false, - 'example' => '天猫精灵X1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistActionDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListAssistDevices' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DeviceType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备类型。', - 'type' => 'string', - 'required' => false, - 'example' => '智能音箱', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'SecurityChip', - 'in' => 'query', - 'schema' => [ - 'description' => '是否启用芯片ID2认证加固。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'OsPlatform', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '系统平台。', - 'type' => 'string', - 'required' => false, - 'example' => 'android', - ], + 'schema' => ['description' => '分页页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'ObjectKey', + 'name' => 'Condition', 'in' => 'query', - 'schema' => [ - 'description' => 'OSS存储的key。', - 'type' => 'string', - 'required' => false, - 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg', - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{"vin":"LVFAG7A31HK000029"}'], ], [ - 'name' => 'DeviceName', + 'name' => 'PerPage', 'in' => 'query', - 'schema' => [ - 'description' => '设备名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'device', - ], + 'schema' => ['description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], ], 'responses' => [ @@ -12499,85 +8559,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceModelId' => [ - 'description' => '新增设备型号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '35'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'PerPage' => ['description' => '每页数目', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageIndex' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Devices' => [ + 'description' => '设备列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SerialNumber' => ['description' => '序列号', 'type' => 'string', 'example' => 'DX3JNY1FDTD2'], + 'HardwareId' => ['description' => '硬件ID', 'type' => 'string', 'example' => 'BALFL8429HI'], + 'DeviceName' => ['description' => '设备名称', 'type' => 'string', 'example' => 'Model S'], + 'AccessTime' => ['description' => '设备访问时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '6fde56979c484b93b99fba257e3cbe83'], + 'UUID' => ['description' => 'AliOS设备UUID', 'type' => 'string', 'example' => '842972B2C0F4C9F030E60769CA65806A'], + 'VIN' => ['description' => '车架码', 'type' => 'string', 'example' => 'LVFAG7A31HK000029'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceModelId\\": 10,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CreateDeviceModelResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceModelId>10</DeviceModelId>\\r\\n</CreateDeviceModelResponse>","errorExample":""}]', - 'title' => '创建一个新的设备型号', - 'summary' => '调用CreateDeviceModel创建一个新的设备型号。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 35,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"PerPage\\": 20,\\n \\"PageIndex\\": 1,\\n \\"Devices\\": [\\n {\\n \\"SerialNumber\\": \\"DX3JNY1FDTD2\\",\\n \\"HardwareId\\": \\"BALFL8429HI\\",\\n \\"DeviceName\\": \\"Model S\\",\\n \\"AccessTime\\": 1525767660000,\\n \\"DeviceId\\": \\"6fde56979c484b93b99fba257e3cbe83\\",\\n \\"UUID\\": \\"842972B2C0F4C9F030E60769CA65806A\\",\\n \\"VIN\\": \\"LVFAG7A31HK000029\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistDevicesResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<PageIndex>1</PageIndex>\\r\\n\\t<PerPage>20</PerPage>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>Model S</DeviceName>\\r\\n\\t\\t<AccessTime>1525767660000</AccessTime>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t</DeviceList>\\r\\n</ListAssistDevicesResponse>","errorExample":""}]', + 'title' => '获取连接远程诊断的设备列表', + 'summary' => '调用ListAssistDevices获取连接远程诊断的设备列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateVersionDeviceGroup' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListAssistHistories' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'MaxCount', + 'name' => 'PerPage', 'in' => 'query', - 'schema' => [ - 'description' => '设备分组允许最大设备数', - 'type' => 'string', - 'required' => true, - 'example' => '100', - ], + 'schema' => ['description' => '每页数目', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], ], [ - 'name' => 'ProjectId', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Name', + 'name' => 'Condition', 'in' => 'query', - 'schema' => [ - 'description' => '分组名', - 'type' => 'string', - 'required' => true, - 'example' => '升级分组1', - ], + 'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{"vin":"LVFAG7A31HK000029"}'], ], [ - 'name' => 'Description', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '分组描述', - 'type' => 'string', - 'required' => false, - 'example' => '测试分组', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], ], 'responses' => [ @@ -12585,67 +8648,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceGroupId' => [ - 'description' => '创建的测试设备分组ID', - 'type' => 'string', - 'example' => '1', + 'TotalCount' => ['description' => '总数目', 'type' => 'integer', 'format' => 'int32', 'example' => '46'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'PerPage' => ['description' => '每页数目', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'Histories' => [ + 'description' => '历史列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SerialNumber' => ['description' => '序列号', 'type' => 'string', 'example' => 'BALFL8429SN'], + 'EndTime' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767680000'], + 'StartTime' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'UNAME' => ['description' => '操作者用户名', 'type' => 'string', 'example' => 'admin'], + 'HardwareId' => ['description' => '硬件ID', 'type' => 'string', 'example' => 'BALFL8429HI'], + 'DeviceName' => ['description' => '设备名称', 'type' => 'string', 'example' => 'Model S'], + 'UUID' => ['description' => 'AliOS设备UUID', 'type' => 'string', 'example' => '842972B2C0F4C9F030E60769CA65806A'], + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => '6fde56979c484b93b99fba257e3cbe83'], + 'VIN' => ['description' => '车架号', 'type' => 'string', 'example' => 'LHK000026VFAG7A31'], + 'UID' => ['description' => '操作者用户ID', 'type' => 'string', 'example' => '12345'], + 'ID' => ['description' => '诊断会话ID', 'type' => 'string', 'example' => '510'], + ], + 'description' => '', + ], ], + 'PageIndex' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceGroupId\\": \\"1\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<CreateVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupId>1</DeviceGroupId>\\r\\n</CreateVersionDeviceGroupResponse>","errorExample":""}]', - 'title' => '创建一个用于测试的设备分组', - 'summary' => '调用CreateVersionDeviceGroup创建一个用于测试的设备分组。', - 'description' => '测试设备分组用于进行系统或应用版本的测试。创建测试设备分组后,在创建版本的测试时,选择该分组,会自动向分组中设备推送待测试版本的升级信息。'."\n" - ."\n" - .'> 因为版本会关联机型,因此测试设备分组中的设备的机型需和待测试版本上配置的机型相同才可升级待测试版本,否则测试无效。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 46,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"PerPage\\": 20,\\n \\"Histories\\": [\\n {\\n \\"SerialNumber\\": \\"BALFL8429SN\\",\\n \\"EndTime\\": 1525767680000,\\n \\"StartTime\\": 1525767660000,\\n \\"UNAME\\": \\"admin\\",\\n \\"HardwareId\\": \\"BALFL8429HI\\",\\n \\"DeviceName\\": \\"Model S\\",\\n \\"UUID\\": \\"842972B2C0F4C9F030E60769CA65806A\\",\\n \\"DeviceId\\": \\"6fde56979c484b93b99fba257e3cbe83\\",\\n \\"VIN\\": \\"LHK000026VFAG7A31\\",\\n \\"UID\\": \\"12345\\",\\n \\"ID\\": \\"510\\"\\n }\\n ],\\n \\"PageIndex\\": 1\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistHistoriesResponse>\\r\\n<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<PageIndex>1</PageIndex>\\r\\n\\t<PerPage>20</PerPage>\\r\\n\\t<TotalCount>2</TotalCount>\\r\\n\\t<Histories>\\r\\n\\t\\t<ID>510</ID>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>phone</DeviceName>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t\\t<UID>12345</UID>\\r\\n\\t\\t<UNAME>admin</UNAME>\\r\\n\\t\\t<StartTime>1513231605000</StartTime>\\r\\n\\t\\t<EndTime>1513231705000</EndTime>\\r\\n\\t</Histories>\\r\\n\\t<Histories>\\r\\n\\t\\t<ID>511</ID>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>phone</DeviceName>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t\\t<UID>12345</UID>\\r\\n\\t\\t<UNAME>admin</UNAME>\\r\\n\\t\\t<StartTime>1513231705000</StartTime>\\r\\n\\t\\t<EndTime>1513231905000</EndTime>\\r\\n\\t</Histories>\\r\\n</ListAssistHistoriesResponse>","errorExample":""}]', + 'title' => '获取远程诊断历史列表', + 'summary' => '调用ListAssistHistories获取远程诊断历史列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteAllVersionGroupDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistHistories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListAssistHistoryDetails' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'DeviceGroupId', + 'name' => 'AssistId', 'in' => 'query', - 'schema' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '诊断会话ID', 'type' => 'string', 'required' => true, 'example' => '510'], ], ], 'responses' => [ @@ -12653,60 +8731,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'Actions' => [ + 'description' => '操作列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => '操作', 'type' => 'string', 'example' => 'top'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'Timestamp' => ['description' => '操作时间戳ID', 'type' => 'string', 'example' => '1524560987853KrvUfI1'], + 'UpdatedAt' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525767660000'], + 'AssistId' => ['description' => '诊断会话ID', 'type' => 'string', 'example' => '510'], + 'ID' => ['description' => '操作ID', 'type' => 'string', 'example' => '40475'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteAllVersionGroupDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteAllVersionGroupDevicesResponse>","errorExample":""}]', - 'title' => '删除测试设备分组中的所有设备', - 'summary' => '调用DeleteAllVersionGroupDevices删除测试设备分组中的所有设备。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Actions\\": [\\n {\\n \\"Action\\": \\"top\\",\\n \\"CreatedAt\\": 1525767660000,\\n \\"Timestamp\\": \\"1524560987853KrvUfI1\\",\\n \\"UpdatedAt\\": 1525767660000,\\n \\"AssistId\\": \\"510\\",\\n \\"ID\\": \\"40475\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistHistoryDetailsResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<ActionList>\\r\\n\\t\\t<ID>45070</ID>\\r\\n\\t\\t<AssistId>510</AssistId>\\r\\n\\t\\t<Action>ls</Action>\\r\\n\\t\\t<Timestamp>1524560987853KrvUfI1</Timestamp>\\r\\n\\t\\t<CreatedAt>2018-04-24T09:09:57</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24T09:09:59</UpdatedAt>\\r\\n\\t</ActionList>\\r\\n\\t<ActionList>\\r\\n\\t\\t<ID>45071</ID>\\r\\n\\t\\t<AssistId>510</AssistId>\\r\\n\\t\\t<Action>top</Action>\\r\\n\\t\\t<Timestamp>1524560758970zQCkx3A</Timestamp>\\r\\n\\t\\t<CreatedAt>2018-04-24T09:29:41</CreatedAt>\\r\\n\\t\\t<UpdatedAt>2018-04-24T09:29:41</UpdatedAt>\\r\\n\\t</ActionList>\\r\\n</ListAssistHistoryDetailsResponse>","errorExample":""}]', + 'title' => '获取指定诊断历史的详情', + 'summary' => '获取指定诊断历史的详情,即所执行的命令列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteDevice' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistHistoryDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListClientPluginVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceId', + 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'ProjectId', + 'name' => 'PkgName', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '插件包名。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.aicc.yundevice'], ], ], 'responses' => [ @@ -12714,72 +8806,136 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID'."\n", - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', + 'ClientPluginVersions' => [ + 'description' => '客户端插件版本信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Version' => ['description' => '版本名称', 'type' => 'string', 'example' => '1.1.1.20180103102554-3'], + 'DownloadUrl' => ['description' => '下载地址', 'type' => 'string', 'example' => 'http://xxxxx.oss-cn-shanghai.aliyuncs.com/1046834015363116/xxx/2019-09-17/1568704641998-com.aliyun.aicc-1.2-36-g4e4b62e.apk?spm=5176.11279587.0.0.f7944f48XVfS6a&Expires=1568708242&OSSAccessKeyId=xxxx&Signature=xxx%3D&response-content-disposition=attachment%3Bfilename%3Dcom.aliyun.aicc-1.2-36-g4e4b62e.apk%3Bfilename%2A%3DUTF-8%27%27com.aliyun.aicc-1.2-36-g4e4b62e.apk'], + 'Size' => ['description' => '插件包大小,单位:Byte', 'type' => 'integer', 'format' => 'int64', 'example' => '743503'], + 'PkgName' => ['description' => '插件包名', 'type' => 'string', 'example' => 'com.aliyun.aicc.yundevice'], + 'VersionCode' => ['description' => '版本号', 'type' => 'integer', 'format' => 'int64', 'example' => '201'], + 'Id' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + ], + 'description' => '', + ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '647D4B28-7646-424E-88DD-61B7969E5C1E'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DeleteDeviceResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DeleteDeviceResponse>","errorExample":""}]', - 'title' => '删除设备信息', - 'summary' => '调用DeleteDevice删除设备信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClientPluginVersions\\": [\\n {\\n \\"Version\\": \\"1.1.1.20180103102554-3\\",\\n \\"DownloadUrl\\": \\"http://xxxxx.oss-cn-shanghai.aliyuncs.com/1046834015363116/xxx/2019-09-17/1568704641998-com.aliyun.aicc-1.2-36-g4e4b62e.apk?spm=5176.11279587.0.0.f7944f48XVfS6a&Expires=1568708242&OSSAccessKeyId=xxxx&Signature=xxx%3D&response-content-disposition=attachment%3Bfilename%3Dcom.aliyun.aicc-1.2-36-g4e4b62e.apk%3Bfilename%2A%3DUTF-8%27%27com.aliyun.aicc-1.2-36-g4e4b62e.apk\\",\\n \\"Size\\": 743503,\\n \\"PkgName\\": \\"com.aliyun.aicc.yundevice\\",\\n \\"VersionCode\\": 201,\\n \\"Id\\": 40\\n }\\n ],\\n \\"RequestId\\": \\"647D4B28-7646-424E-88DD-61B7969E5C1E\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientPluginVersionsResponse>\\r\\n\\t<RequestId>7257DEDE-3558-4AE5-BA9B-2AD7A4FFB61E</RequestId>\\r\\n\\t<ClientPluginVersions>\\r\\n\\t\\t<VersionCode>201</VersionCode>\\r\\n\\t\\t<Id>40</Id>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yundevice</PkgName>\\r\\n\\t\\t<Version>1.1.1.20180103102554-3</Version>\\r\\n\\t\\t<Size>743503</Size>\\r\\n\\t</ClientPluginVersions>\\r\\n</ListClientPluginVersionsResponse>","errorExample":""}]', + 'title' => '根据指定的插件包名查询该插件的版本列表', + 'summary' => '调用ListClientPluginVersions根据指定的插件包名查询该插件的版本列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionAllBlackDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListClientPluginVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListClientPlugins' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'OsType', 'in' => 'query', + 'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '647D4B28-7646-424E-88DD-61B7969E5C1E'], + 'ClientPlugins' => [ + 'description' => '客户端插件信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PkgName' => ['description' => '插件包名', 'type' => 'string', 'example' => 'com.aliyun.aicc.yundevice'], + 'Name' => ['description' => '插件名称', 'type' => 'string', 'example' => 'YunDevice'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"647D4B28-7646-424E-88DD-61B7969E5C1E\\",\\n \\"ClientPlugins\\": [\\n {\\n \\"PkgName\\": \\"com.aliyun.aicc.yundevice\\",\\n \\"Name\\": \\"YunDevice\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientPluginsResponse>\\r\\n\\t<RequestId>647D4B28-7646-424E-88DD-61B7969E5C1E</RequestId>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>YunDevice</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yundevice</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>RemoteAssistant</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.remoteassistant</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>YunControl</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yuncontrol</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n</ListClientPluginsResponse>","errorExample":""}]', + 'title' => '查询客户端插件列表', + 'summary' => '调用ListClientPlugins查询客户端插件列表。', + 'description' => '> 在下载AiCC Container客户端app时,需要选择客户端插件,通过此接口查询插件列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListClientPlugins', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListClientSdks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VersionId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -12787,72 +8943,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'ClientSdks' => [ + 'description' => '客户端SDK信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'OsType' => ['description' => '系统类型,1-Android。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1512976910000'], + 'GmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1512976910000'], + 'Name' => ['description' => 'SDK名称。', 'type' => 'string', 'example' => 'AiCCSDK-FOTA'], + 'PkgName' => ['description' => '包名,SDK该字段为空。', 'type' => 'string', 'example' => 'null'], + 'PkgType' => ['description' => '包类型,0表示sdk, 1表示app。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + ], + 'description' => '', + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionAllBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionAllBlackDevicesResponse>","errorExample":""}]', - 'title' => '删除所有黑名单设备', - 'summary' => '删除系统版本或应用版本下的所有黑名单设备。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClientSdks\\": [\\n {\\n \\"OsType\\": 1,\\n \\"GmtCreate\\": 1512976910000,\\n \\"GmtModified\\": 1512976910000,\\n \\"Name\\": \\"AiCCSDK-FOTA\\",\\n \\"PkgName\\": \\"null\\",\\n \\"PkgType\\": 0,\\n \\"Id\\": 6\\n }\\n ],\\n \\"RequestId\\": \\"D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientSdksResponse>\\r\\n\\t<ClientSdks>\\r\\n\\t\\t<Name>AiCCSDK-FOTA</Name>\\r\\n\\t\\t<OsType>1</OsType>\\r\\n\\t\\t<PkgName></PkgName>\\r\\n\\t\\t<Id>6</Id>\\r\\n\\t\\t<GmtCreate>1512976910000</GmtCreate>\\r\\n\\t\\t<GmtModified>1512976910000</GmtModified>\\r\\n\\t\\t<PkgType>0</PkgType>\\r\\n\\t</ClientSdks>\\r\\n\\t<ClientSdks>\\r\\n\\t\\t<Name>AiCCSDK-SyncStore</Name>\\r\\n\\t\\t<OsType>1</OsType>\\r\\n\\t\\t<PkgName></PkgName>\\r\\n\\t\\t<Id>9</Id>\\r\\n\\t\\t<GmtCreate>1513309968000</GmtCreate>\\r\\n\\t\\t<GmtModified>1513309968000</GmtModified>\\r\\n\\t\\t<PkgType>0</PkgType>\\r\\n\\t</ClientSdks>\\r\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\r\\n</ListClientSdksResponse>","errorExample":""}]', + 'title' => '查询客户端SDK列表', + 'summary' => '调用ListClientSdks查询客户端SDK列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionAllWhiteDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListClientSdks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListConnectLogs' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fgsggsgg'], ], [ - 'name' => 'VersionType', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型。支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => 'dis系统设备ID。', 'type' => 'string', 'required' => true, 'example' => 'fc35429dff9b473c81d7ef5f62ab11dc'], ], [ - 'name' => 'VersionId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '查询日志起始时间,精确到秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1525684245'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询日志截止时间,精确到秒。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1525694245'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -12860,59 +9039,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID。'."\n", 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Logs' => [ + 'description' => '返回日志分页列表对象。', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页对象。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '分页每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], + ], + 'List' => [ + 'description' => '日志列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Sid' => ['description' => '长连接的sessionid。', 'type' => 'string', 'example' => 'rkp_u-sTz_1_29473_1525516404577'], + 'Status' => ['description' => '连接状态。', 'type' => 'string', 'example' => '断开'], + 'Time' => ['description' => '日志时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525517083249'], + 'DeviceId' => ['description' => 'dis系统设备ID。', 'type' => 'string', 'example' => 'fc71429ddd9b473c81d7ef5f44ab10cc'], + 'SystemVersion' => ['description' => '设备系统版本。', 'type' => 'string', 'example' => '4.4.4'], + 'Ip' => ['description' => '设备Ip。', 'type' => 'string', 'example' => '220.180.xx.xxx'], + 'NetWorking' => ['description' => '网络类型,比如EDGE、LTE、WIFI等。', 'type' => 'string', 'example' => 'EDGE'], + 'Terminal' => ['description' => '设备机型。', 'type' => 'string', 'example' => 'iphone7'], + ], + 'description' => '', + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionAllWhiteDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionAllWhiteDevicesResponse>","errorExample":""}]', - 'title' => '删除所有设备白名单', - 'summary' => '删除系统版本或应用版本下的所有设备白名单。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Logs\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n },\\n \\"List\\": [\\n {\\n \\"Sid\\": \\"rkp_u-sTz_1_29473_1525516404577\\",\\n \\"Status\\": \\"断开\\",\\n \\"Time\\": 1525517083249,\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f44ab10cc\\",\\n \\"SystemVersion\\": \\"4.4.4\\",\\n \\"Ip\\": \\"220.180.xx.xxx\\",\\n \\"NetWorking\\": \\"EDGE\\",\\n \\"Terminal\\": \\"iphone7\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The DeviceId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListConnectLogsResponse>\\r\\n\\t<Logs>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>10</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceId>3583820a2cf941a8810b3e0a2435b13d</DeviceId>\\r\\n\\t\\t\\t<SystemVersion>4.4.4</SystemVersion>\\r\\n\\t\\t\\t<Terminal>MuMu</Terminal>\\r\\n\\t\\t\\t<Ip>::ffff:112.10.xx.xx</Ip>\\r\\n\\t\\t\\t<NetWorking>wifi</NetWorking>\\r\\n\\t\\t\\t<Time>1525517083250</Time>\\r\\n\\t\\t\\t<Status>连接</Status>\\r\\n\\t\\t\\t<Sid>Hymmibopf_1_29473_1525517083243</Sid>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceId />\\r\\n\\t\\t\\t<SystemVersion />\\r\\n\\t\\t\\t<Terminal />\\r\\n\\t\\t\\t<Ip />\\r\\n\\t\\t\\t<NetWorking />\\r\\n\\t\\t\\t<Time>1525517083249</Time>\\r\\n\\t\\t\\t<Status>断开</Status>\\r\\n\\t\\t\\t<Sid>rkp_u-sTz_1_29473_1525516404577</Sid>\\r\\n\\t\\t</List>\\r\\n\\t</Logs>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListConnectLogsResponse>","errorExample":""}]', + 'title' => '查询设备连接日志', + 'summary' => '根据设备ID、时间范围查询设备连接日志。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionDeviceGroup' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListConnectLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDeployedFunctions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'Id', + 'name' => 'FileId', 'in' => 'query', - 'schema' => [ - 'description' => '分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -12920,79 +9132,89 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Functions' => [ + 'description' => '函数记录', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProjectId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'PE9FQC48'], + 'GmtCreate' => ['description' => '创建时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'Name' => ['description' => '函数名', 'type' => 'string', 'example' => 'someFunc'], + 'GmtModified' => ['description' => '修改时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535872636000'], + 'Id' => ['description' => '函数ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'FileId' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionDeviceGroupResponse>","errorExample":""}]', - 'title' => '删除一个测试设备分组', - 'summary' => '调用DeleteVersionDeviceGroup删除一个测试设备分组。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Functions\\": [\\n {\\n \\"ProjectId\\": \\"PE9FQC48\\",\\n \\"GmtCreate\\": 1535604251000,\\n \\"Name\\": \\"someFunc\\",\\n \\"GmtModified\\": 1535872636000,\\n \\"Id\\": 1,\\n \\"FileId\\": 1\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListDeployedFunctionsResponse>\\r\\n\\t<Functions>\\r\\n\\t\\t<FileId>46</FileId>\\r\\n\\t\\t<GmtCreate>1536201206000</GmtCreate>\\r\\n\\t\\t<GmtModified>1536201206000</GmtModified>\\r\\n\\t\\t<Id>35</Id>\\r\\n\\t\\t<Name>someFunc</Name>\\r\\n\\t\\t<ProjectId>PE9FQC48</ProjectId>\\r\\n\\t</Functions>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListDeployedFunctionsResponse>","errorExample":""}]', + 'title' => '查询已部署的函数', + 'summary' => '调用ListDeployedFunctions查询已部署的函数。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionGroupDevice' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeployedFunctions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDeviceBrands' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'DeviceIds', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '原始设备ID', - 'type' => 'string', - 'required' => true, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'ProjectId', + 'name' => 'DeviceBrandId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '查询的设备品牌ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DeviceGroupId', + 'name' => 'DeviceBrand', 'in' => 'query', - 'schema' => [ - 'description' => '设备所属测试设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '查询的设备品牌名称,支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'Tmall'], ], [ - 'name' => 'DeviceIdType', + 'name' => 'Start', 'in' => 'query', - 'schema' => [ - 'description' => '用于判断的DeviceIds的类型,取值有:**device_id**,**sn**,**vin**,**hardware_id**,**uuid**。', - 'type' => 'string', - 'required' => true, - 'example' => 'device_id', - ], + 'schema' => ['description' => '返回列表起始位置。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'Length', + 'in' => 'query', + 'schema' => ['description' => '最多返回记录条数。', 'type' => 'string', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -13000,242 +9222,371 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'DeviceBrands' => [ + 'description' => '查询结果。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceBrandId' => ['description' => '品牌ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Description' => ['description' => '品牌描述'."\n", 'type' => 'string', 'example' => '荣威 '], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'Manufacture' => ['description' => '生产厂商'."\n", 'type' => 'string', 'example' => 'SAIC'], + 'DeviceBrand' => ['description' => '品牌名称'."\n", 'type' => 'string', 'example' => 'ROEWE'], + ], + 'description' => '', + ], ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionGroupDeviceResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionGroupDeviceResponse>","errorExample":""}]', - 'title' => '从测试设备分组中删除一个特定设备', - 'summary' => '调用DeleteVersionGroupDevice从测试设备分组中删除一个特定设备。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceBrands\\": [\\n {\\n \\"DeviceBrandId\\": 1,\\n \\"Description\\": \\"荣威\\\\t\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"Manufacture\\": \\"SAIC\\",\\n \\"DeviceBrand\\": \\"ROEWE\\"\\n }\\n ],\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDeviceBrandsResponse>\\r\\n\\t<DeviceBrands>\\r\\n\\t\\t<Description>荣威</Description>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceBrandId>1</DeviceBrandId>\\r\\n\\t\\t<Manufacture>SAIC</Manufacture>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t</DeviceBrands>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</ListDeviceBrandsResponse>","errorExample":""}]', + 'title' => '查询获取品牌列表', + 'summary' => '根据品牌ID或根据品牌名称,模糊查询获取品牌列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteVersionGroupDeviceById' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceBrands', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDeviceModels' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'DeviceModelId', + 'in' => 'query', + 'schema' => ['description' => '设备型号ID', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'Length', + 'in' => 'query', + 'schema' => ['description' => '列表最大长度', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DeviceModel', + 'in' => 'query', + 'schema' => ['description' => '设备型号名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'X1'], + ], + [ + 'name' => 'DeviceBrand', + 'in' => 'query', + 'schema' => ['description' => '设备品牌', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'], + ], + [ + 'name' => 'Start', + 'in' => 'query', + 'schema' => ['description' => '列表起始位置', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'DeviceGroupId', + 'name' => 'DeviceBrandId', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1234', + 'type' => 'object', + 'properties' => [ + 'DeviceModels' => [ + 'description' => '查询结果列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceModelId' => ['description' => '型号ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'HardwareType' => ['description' => '设备ID生成依据'."\n", 'type' => 'string', 'example' => 'sn'], + 'DeviceName' => ['type' => 'string'], + 'DeviceType' => ['description' => '设备类型'."\n", 'type' => 'string', 'example' => '智能家居'], + 'CanCreateDeviceId' => ['description' => '是否可生成设备ID'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'OsPlatform' => ['type' => 'string'], + 'DeviceModel' => ['description' => '设备型号'."\n", 'type' => 'string', 'example' => 'X1'], + 'SecurityChip' => ['type' => 'string'], + 'DeviceLogoUrl' => ['type' => 'string'], + 'Description' => ['description' => '设备型号描述'."\n", 'type' => 'string', 'example' => '天猫精灵X1'], + 'ObjectKey' => ['type' => 'string'], + 'InitUsageTypeDesc' => ['description' => '表示设备使用性质的描述,0:表示私人设备;1:表示运营或共享设备;'."\n", 'type' => 'string', 'example' => '私人设备'], + 'InitUsageType' => ['description' => '表示设备使用性质,0:表示私人设备;1:表示运营或共享设备;默认为0'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'DeviceBrand' => ['description' => '设备品牌'."\n", 'type' => 'string', 'example' => 'TmallGenius'], + ], + 'description' => '', + ], + ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceModels\\": [\\n {\\n \\"DeviceModelId\\": 10,\\n \\"HardwareType\\": \\"sn\\",\\n \\"DeviceName\\": \\"\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"OsPlatform\\": \\"\\",\\n \\"DeviceModel\\": \\"X1\\",\\n \\"SecurityChip\\": \\"\\",\\n \\"DeviceLogoUrl\\": \\"\\",\\n \\"Description\\": \\"天猫精灵X1\\",\\n \\"ObjectKey\\": \\"\\",\\n \\"InitUsageTypeDesc\\": \\"私人设备\\",\\n \\"InitUsageType\\": 0,\\n \\"DeviceBrand\\": \\"TmallGenius\\"\\n }\\n ],\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', + 'title' => '查询设备型号列表', + 'summary' => '查询设备型号列表。', + 'description' => '查询设备型号列表', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Ids', - 'in' => 'query', - 'schema' => [ - 'description' => '分组下设备记录的ID列表,英文逗号分割。', - 'type' => 'string', - 'required' => true, - 'example' => '11,22,33', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], + ], + 'ListDeviceTypes' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'DeviceTypes' => [ + 'description' => '返回内容', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceType' => ['description' => '设备类型标识'."\n", 'type' => 'string', 'example' => 'car_auto'], + 'Name' => ['description' => '设备类型名称'."\n", 'type' => 'string', 'example' => '智能汽车'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DeleteVersionGroupDeviceByIdRespone>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</DeleteVersionGroupDeviceByIdRespone>","errorExample":""}]', - 'title' => '根据ID删除测试分组设备', - 'summary' => '调用DeleteVersionGroupDeviceById根据ID删除测试分组设备。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceTypes\\": [\\n {\\n \\"DeviceType\\": \\"car_auto\\",\\n \\"Name\\": \\"智能汽车\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDeviceTypesResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>路由器</Name>\\r\\n\\t\\t<DeviceType>router</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>电视</Name>\\r\\n\\t\\t<DeviceType>tv</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>平板</Name>\\r\\n\\t\\t<DeviceType>pad</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>手机</Name>\\r\\n\\t\\t<DeviceType>phone</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>智能汽车</Name>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>考勤机</Name>\\r\\n\\t\\t<DeviceType>attendance</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>电子班牌</Name>\\r\\n\\t\\t<DeviceType>electronic_plate</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n</ListDeviceTypesResponse>","errorExample":""}]', + 'title' => '获取系统支持的所有设备类型列表', + 'summary' => '调用ListDeviceTypes获取系统支持的所有设备类型列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateDeviceModel' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDevices' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'InitUsageType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备出厂使用性质。'."\n" - ."\n" - .'0表示私人设备,1表示运营或共享设备。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'ModelName', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'X2', - ], + 'schema' => ['description' => '设备型号ID'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'Id', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '设备型号名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'ROEWE RX5 '], ], [ - 'name' => 'BrandName', + 'name' => 'Start', 'in' => 'query', - 'schema' => [ - 'description' => '品牌名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'ROEWE', - ], + 'schema' => ['description' => '返回结果列表起始位置', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Description', + 'name' => 'Length', 'in' => 'query', + 'schema' => ['description' => '返回结果列表最大长度', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '型号描述。', - 'type' => 'string', - 'required' => false, - 'example' => '荣威 RX5', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'Devices' => [ + 'description' => '返回内容'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SerialNumber' => ['description' => '设备序列号'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'Status' => ['description' => '设备状态', 'type' => 'string', 'example' => '0'], + 'DeviceModelId' => ['description' => '设备型号ID'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'MacAddress' => ['description' => 'MAC地址'."\n", 'type' => 'string', 'example' => '00:00:00:00:00:00'], + 'DeviceId' => ['description' => '设备ID'."\n", 'type' => 'string', 'example' => 'cn.1234567890'], + 'DeviceType' => ['description' => '设备类型'."\n", 'type' => 'string', 'example' => 'car_auto '], + 'ProjectId' => ['description' => '项目ID'."\n", 'type' => 'string', 'example' => 'projectTest'], + 'DeviceModel' => ['description' => '设备型号'."\n", 'type' => 'string', 'example' => 'ROEWE RX5 '], + 'UsageType' => ['description' => '设备使用性质。'."\n" + ."\n" + .'0表示私人设备,1表示运营或共享设备。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Vin' => ['description' => '设备车架号(汽车相关产品使用)'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'UsageTypeDesc' => ['description' => '设备使用性质描述。'."\n" + ."\n" + .' **private**表示私人设备,**business**表示运营或共享设备。'."\n", 'type' => 'string', 'example' => 'private'], + 'Uuid' => ['description' => '设备UUID'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'HardwareId' => ['description' => '硬件ID'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'Region' => ['description' => '设备所在国家代码'."\n", 'type' => 'string', 'example' => 'cn'], + 'SoftwareId' => ['description' => '软件ID'."\n", 'type' => 'string', 'example' => 'xxxxxxxx'], + 'Name' => ['description' => '设备昵称'."\n", 'type' => 'string', 'example' => '我的设备'], + 'DeviceBrand' => ['description' => '设备品牌'."\n", 'type' => 'string', 'example' => 'ROEWE'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Devices\\": [\\n {\\n \\"SerialNumber\\": \\"xxxxxxxx\\",\\n \\"Status\\": \\"0\\",\\n \\"DeviceModelId\\": 10,\\n \\"MacAddress\\": \\"00:00:00:00:00:00\\",\\n \\"DeviceId\\": \\"cn.1234567890\\",\\n \\"DeviceType\\": \\"car_auto\\\\t\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"DeviceModel\\": \\"ROEWE RX5\\\\t\\",\\n \\"UsageType\\": 0,\\n \\"Vin\\": \\"xxxxxxxx\\",\\n \\"UsageTypeDesc\\": \\"private\\",\\n \\"Uuid\\": \\"xxxxxxxx\\",\\n \\"HardwareId\\": \\"xxxxxxxx\\",\\n \\"Region\\": \\"cn\\",\\n \\"SoftwareId\\": \\"xxxxxxxx\\",\\n \\"Name\\": \\"我的设备\\",\\n \\"DeviceBrand\\": \\"ROEWE\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDevicesResponse>\\r\\n\\t<Devices>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceId>cn.1234567890</DeviceId>\\r\\n\\t\\t<DeviceModel>ROEWE RX5</DeviceModel>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareId>xxxxxxx</HardwareId>\\r\\n\\t\\t<MacAddress>00:00:00:00:00:00</MacAddress>\\r\\n\\t\\t<Name>我的设备</Name>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<SerialNumber>xxxxxx</SerialNumber>\\r\\n\\t\\t<SoftwareId>xxxxxx</SoftwareId>\\r\\n\\t\\t<UsageType>0</UsageType>\\r\\n\\t\\t<UsageTypeDesc>private</UsageTypeDesc>\\r\\n <Status>0</Status>\\r\\n\\t\\t<Uuid>xxxxxx</Uuid>\\r\\n\\t</Devices>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</ListDevicesResponse>","errorExample":""}]', + 'title' => '查询设备列表', + 'summary' => '调用ListDevices查询设备列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DeviceType', - 'in' => 'query', - 'schema' => [ - 'description' => '设备类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'car_auto', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListFunctionExecuteLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CanCreateDeviceId', - 'in' => 'query', - 'schema' => [ - 'description' => '是否允许该型号创建设备ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'HardwareType', + 'name' => 'FileId', 'in' => 'query', - 'schema' => [ - 'description' => '硬件类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'hardware_id', - ], + 'schema' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], [ - 'name' => 'SecurityChip', + 'name' => 'FunctionName', 'in' => 'query', - 'schema' => [ - 'description' => '是否启用芯片ID2认证加固。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '函数名', 'type' => 'string', 'required' => true, 'example' => 'someFunc'], ], [ - 'name' => 'OsPlatform', + 'name' => 'Env', 'in' => 'query', - 'schema' => [ - 'description' => '系统平台。', - 'type' => 'string', - 'required' => false, - 'example' => 'android', - ], + 'schema' => ['description' => '函数所部署的环境,0:沙箱环境;1:生产环境。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], ], [ - 'name' => 'ObjectKey', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => 'OSS存储的key。', - 'type' => 'string', - 'required' => false, - 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg', - ], + 'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DeviceName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '设备名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'device', - ], + 'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -13243,79 +9594,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', + 'LogList' => [ + 'description' => '日志列表', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '目标页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页所显示的项数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'HasNextPage' => ['description' => '是否有下一页', 'type' => 'boolean', 'example' => 'true'], + ], + ], + 'Logs' => [ + 'description' => '日志数组', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '函数执行时,标准输出的日志内容', 'type' => 'string', 'example' => '2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log'], + 'BackEndRequestId' => ['description' => '后端运行环境调用的编号', 'type' => 'string', 'example' => '5f541c0a-2175-7651-7b7e-c8a0bff5cb7e'], + ], + 'description' => '', + ], + ], + ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<UpdateDeviceModelResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</UpdateDeviceModelResponse>","errorExample":""}]', - 'title' => '修改设备型号信息', - 'summary' => '调用UpdateDeviceModel修改设备型号信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"LogList\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"HasNextPage\\": true\\n },\\n \\"Logs\\": [\\n {\\n \\"Message\\": \\"2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log\\",\\n \\"BackEndRequestId\\": \\"5f541c0a-2175-7651-7b7e-c8a0bff5cb7e\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionExecuteLogResponse>\\r\\n\\t<LogList>\\r\\n\\t\\t<Logs>\\r\\n\\t\\t\\t<BackEndRequestId>5f541c0a-2175-7651-7b7e-c8a0bff5cb7e</BackEndRequestId>\\r\\n\\t\\t <Message>2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log</Message>\\r\\n\\t </Logs>\\r\\n\\t<Pagination>\\r\\n\\t\\t<HasNextPage>false</HasNextPage>\\r\\n\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t<PageSize>10</PageSize>\\r\\n\\t</Pagination>\\r\\n </LogList>\\r\\n <RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionExecuteLogResponse>","errorExample":""}]', + 'title' => '查询函数执行日志', + 'summary' => '按分页列出函数执行的日志。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateVersionDeviceGroup' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionExecuteLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListFunctionFiles' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'Name', + 'name' => 'FileType', 'in' => 'query', - 'schema' => [ - 'description' => '分组名', - 'type' => 'string', - 'required' => true, - 'example' => '测试分组-2', - ], + 'schema' => ['description' => '文件类型,0:单文件;1:包文件', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Description', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '分组描述', - 'type' => 'string', - 'required' => false, - 'example' => '测试描述', - ], + 'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Id', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -13323,71 +9690,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'FileList' => [ + 'description' => '文件列表', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '目标页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '记录总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '每页所显示的项数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], + ], + ], + 'Files' => [ + 'description' => '文件数组', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '文件状态。0:正常;1:已删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ProductionDeployTime' => ['description' => '生成环境的部署时间,精确到毫秒的Unix时间戳'."\n" + ."\n" + .'> 只有当生成环境的部署状态为已部署,才可获取到该值,否则该字段不返回。', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'ProductionDeployStatus' => ['description' => '生成环境的部署状态。0:未部署,1:已部署', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Description' => ['description' => '文件描述', 'type' => 'string', 'example' => 'This is description'], + 'SandboxDeployTime' => ['description' => '沙箱环境的部署时间,精确到毫秒的Unix时间戳'."\n" + ."\n" + .'> 只有当沙箱环境的部署状态为已部署,才可获取到该值,否则该字段不返回。', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'GmtCreate' => ['description' => '创建时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'SandboxDeployStatus' => ['description' => '沙箱环境的部署状态。0:未部署,1:已部署', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GmtModified' => ['description' => '修改时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'Name' => ['description' => '文件名', 'type' => 'string', 'example' => 'hello.zip'], + 'ContentId' => ['description' => '文件内容ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Id' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateVersionDeviceGroupResponse>","errorExample":""}]', - 'title' => '更新测试设备分组', - 'summary' => '调用UpdateVersionDeviceGroup更新测试设备分组。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"FileList\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11\\n },\\n \\"Files\\": [\\n {\\n \\"Status\\": 0,\\n \\"ProductionDeployTime\\": 1535604251000,\\n \\"ProductionDeployStatus\\": 1,\\n \\"Description\\": \\"This is description\\",\\n \\"SandboxDeployTime\\": 1535604251000,\\n \\"GmtCreate\\": 1535604251000,\\n \\"SandboxDeployStatus\\": 1,\\n \\"GmtModified\\": 1535604251000,\\n \\"Name\\": \\"hello.zip\\",\\n \\"ContentId\\": 1,\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionFilesResponse>\\r\\n\\t<FileList>\\r\\n\\t\\t<Files>\\r\\n\\t\\t\\t<ContentId>5</ContentId>\\r\\n\\t\\t\\t<GmtCreate>1509422113000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1510150180000</GmtModified>\\r\\n\\t\\t\\t<Id>17</Id>\\r\\n\\t\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t\\t<ProductionDeployStatus>0</ProductionDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployStatus>1</SandboxDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployTime>1509422113000</SandboxDeployTime>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t</Files>\\r\\n\\t\\t<Files>\\r\\n\\t\\t\\t<ContentId>29</ContentId>\\r\\n\\t\\t\\t<Description>This is Desciption</Description>\\r\\n\\t\\t\\t<GmtCreate>1534739368000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1534739368000</GmtModified>\\r\\n\\t\\t\\t<Id>41</Id>\\r\\n\\t\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t\\t<ProductionDeployStatus>1</ProductionDeployStatus>\\r\\n\\t\\t\\t<ProductionDeployTime>1509422113000</ProductionDeployTime>\\r\\n\\t\\t\\t<SandboxDeployStatus>1</SandboxDeployStatus>\\r\\n\\t\\t\\t<SandboxDeployTime>1509422113000</SandboxDeployTime>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t</Files>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>15</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>2</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</FileList>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionFilesResponse>","errorExample":""}]', + 'title' => '查询函数文件', + 'summary' => '列出指定项目、指定类型的函数文件,支持分页。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateApiGatewayAppStatus' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListFunctionFilesByProjectId' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'PPCVFRG7', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'GatewayAppId', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '网关应用AppId。', - 'type' => 'string', - 'required' => true, - 'example' => '5929076', - ], + 'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Status', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '状态,0-正常,1-禁用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -13395,71 +9795,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Files' => [ + 'description' => '文件记录', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '文件类型,0:单文件;1:包文件', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Status' => ['description' => '文件状态,0:正常;1:已删除', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'GmtCreate' => ['description' => '创建时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535604251000'], + 'GmtModified' => ['description' => '修改时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535872636000'], + 'Name' => ['description' => '文件名', 'type' => 'string', 'example' => 'hello.zip'], + 'Id' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'ContentId' => ['description' => '文件内容ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<UpdateApiGatewayAppStatusResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateApiGatewayAppStatusResponse>","errorExample":""}]', - 'title' => '修改项目关联的网关 APP 状态', - 'summary' => '调用UpdateApiGatewayAppStatus修改项目关联的网关app状态。', - 'description' => '> 禁用状态下,客户端无法调用IoVCC通过API网关暴露的接口。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Files\\": [\\n {\\n \\"Type\\": 1,\\n \\"Status\\": 0,\\n \\"GmtCreate\\": 1535604251000,\\n \\"GmtModified\\": 1535872636000,\\n \\"Name\\": \\"hello.zip\\",\\n \\"Id\\": 1,\\n \\"ContentId\\": 1\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListFunctionFilesByProjectIdResponse>\\r\\n\\t<Files>\\r\\n\\t\\t<ContentId>17</ContentId>\\r\\n\\t\\t<GmtCreate>1536201185000</GmtCreate>\\r\\n\\t\\t<GmtModified>1536633019000</GmtModified>\\r\\n\\t\\t<Id>46</Id>\\r\\n\\t\\t<Name>hello.zip</Name>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</Files>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListFunctionFilesByProjectIdResponse>","errorExample":""}]', + 'title' => '根据项目ID查询函数文件', + 'summary' => '列出指定项目所创建的函数单文件及包文件,支持分页。', + 'description' => '> 如在创建触发器时,需要先列出当前项目关联的函数文件,然后进行函数的选择。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateProject' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionFilesByProjectId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListMessageAcks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页每页数据集数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'gsgshhfs'], ], [ - 'name' => 'Name', + 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '项目名称', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'dis系统设备ID。可实现查询结果:'."\n" + ."\n" + .'1. 单独DeviceId条件查询时,返回该设备消息ack记录列表。'."\n" + .'2. 与MessageId参数联合查询时,返回指定设备指定消息ack记录。', 'type' => 'string', 'required' => false, 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc'], ], [ - 'name' => 'Description', + 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'description' => '项目描述', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '消息id。可实现查询结果:'."\n" + ."\n" + .'1. 单独MessageId条件查询时,返回该消息ack记录列表。'."\n" + .'2. 与DeviceId参数联合查询时,返回指定设备指定消息ack记录。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24266'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -13467,74 +9893,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'MessageAcks' => [ + 'description' => 'ack记录分页数据对象。', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页对象。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '分页每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], + ], + 'List' => [ + 'description' => '分页列表数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceId' => ['description' => 'dis系统设备ID。', 'type' => 'string', 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc'], + 'AckTime' => ['description' => '消息到达时间,精确到ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525684245000'], + 'Mid' => ['description' => '消息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '24266'], + ], + 'description' => '', + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<UpdateProjectResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateProjectResponse>","errorExample":""}]', - 'title' => '修改项目基本信息', - 'summary' => '调用UpdateProject修改项目基本信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"MessageAcks\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n },\\n \\"List\\": [\\n {\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f33ab10cc\\",\\n \\"AckTime\\": 1525684245000,\\n \\"Mid\\": 24266\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The DeviceId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListMessageAcksResponse>\\r\\n\\t<MessageAcks>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>3</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525517606000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>205951</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525516333000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106578</Mid>\\r\\n\\t\\t\\t<DeviceId>fc71429ddd9b473c81d7ef5f33ab10cc</DeviceId>\\r\\n\\t\\t\\t<AckTime>1525517639000</AckTime>\\r\\n\\t\\t</List>\\r\\n\\t</MessageAcks>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListMessageAcksResponse>","errorExample":""}]', + 'title' => '查询消息ack记录列表', + 'summary' => '根据消息id、设备id查询消息ack记录列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceModel' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListMessageAcks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListMessageReceivers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceModelId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID。'."\n" - ."\n" - .'和**DeviceModel**不能同时为空。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'], ], [ - 'name' => 'DeviceModel', + 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名。'."\n" - ."\n" - .'和**DeviceModelId**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'X1', - ], + 'schema' => ['description' => '消息ID。', 'type' => 'string', 'required' => true, 'example' => '32555'], ], [ - 'name' => 'ProjectId', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -13542,165 +9991,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DeviceModel' => [ - 'description' => '返回内容。', + 'MessageReceivers' => [ + 'description' => '分页查询设备接收者数据对象。', 'type' => 'object', 'properties' => [ - 'DeviceModelId' => [ - 'description' => '型号ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'HardwareType' => [ - 'description' => '设备ID生成依据'."\n", - 'type' => 'string', - 'example' => 'sn', - ], - 'DeviceName' => [ - 'description' => '设备名称', - 'type' => 'string', - 'example' => 'device', - ], - 'DeviceType' => [ - 'description' => '设备类型'."\n", - 'type' => 'string', - 'example' => '智能家居', - ], - 'CanCreateDeviceId' => [ - 'description' => '是否可生成设备ID'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'OsPlatform' => [ - 'description' => '系统平台', - 'type' => 'string', - 'example' => 'android', - ], - 'DeviceModel' => [ - 'description' => '设备型号名称'."\n", - 'type' => 'string', - 'example' => 'ROEWE RX5', - ], - 'SecurityChip' => [ - 'description' => '是否启用芯片ID2认证加固', - 'type' => 'string', - 'example' => '0', - ], - 'DeviceLogoUrl' => [ - 'description' => '设备LogoURL', - 'type' => 'string', - 'example' => 'http://dis-cdn.aicc.aliyun.com/1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg', - ], - 'Description' => [ - 'description' => '设备型号描述'."\n", - 'type' => 'string', - 'example' => '荣威RX5', - ], - 'ObjectKey' => [ - 'description' => 'OSS存储的key', - 'type' => 'string', - 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg', - ], - 'InitUsageTypeDesc' => [ - 'description' => '设备使用性质描述。'."\n" - ."\n" - .'0表示私人设备,1表示运营或共享设备。'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'InitUsageType' => [ - 'description' => '设备使用性质。'."\n" - ."\n" - .'0表示private,1表示business。默认为**0**。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'Pagination' => [ + 'description' => '分页查询对象。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'PageSize' => ['description' => '分页每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], ], - 'DeviceBrand' => [ - 'description' => '设备品牌名称'."\n", - 'type' => 'string', - 'example' => 'ROEWE', + 'List' => [ + 'description' => '设备接收者对象列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '消息接收对象类型。'."\n" + ."\n" + .'取值:**uuid**(deviceId)、**imei**、**kp**、**terminal**。', 'type' => 'string', 'example' => 'uuid'], + 'Value' => ['description' => '设备接收对象值。', 'type' => 'string', 'example' => 'fc35429dff9b473c81d7ef5f62ab11dc'], + 'Mid' => ['description' => '消息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '33566'], + ], + 'description' => '', + ], ], ], ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceModel\\": {\\n \\"DeviceModelId\\": 10,\\n \\"HardwareType\\": \\"sn\\",\\n \\"DeviceName\\": \\"device\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"OsPlatform\\": \\"android\\",\\n \\"DeviceModel\\": \\"ROEWE RX5\\",\\n \\"SecurityChip\\": \\"0\\",\\n \\"DeviceLogoUrl\\": \\"http://dis-cdn.aicc.aliyun.com/1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg\\",\\n \\"Description\\": \\"荣威RX5\\",\\n \\"ObjectKey\\": \\"1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg\\",\\n \\"InitUsageTypeDesc\\": \\"0\\",\\n \\"InitUsageType\\": 0,\\n \\"DeviceBrand\\": \\"ROEWE\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceModelResponse>\\r\\n\\t<DeviceModel>\\r\\n\\t\\t<CanCreateDeviceId>1</CanCreateDeviceId>\\r\\n\\t\\t<Description>荣威 RX5</Description>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareType>sn</HardwareType>\\r\\n\\t\\t<InitUsageType>0</InitUsageType>\\r\\n\\t\\t<InitUsageTypeDesc>private</InitUsageTypeDesc>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n <DeviceName>device</DeviceName>\\r\\n <ObjectKey>1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg</ObjectKey>\\r\\n <OsPlatform>android</OsPlatform>\\r\\n <SecurityChip>0</SecurityChip>\\r\\n\\t</DeviceModel>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</DescribeDeviceModelResponse>","errorExample":""}]', - 'title' => '获取设备型号信息', - 'summary' => '根据型号名或型号ID,获取设备型号信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"MessageReceivers\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 30,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n },\\n \\"List\\": [\\n {\\n \\"Type\\": \\"uuid\\",\\n \\"Value\\": \\"fc35429dff9b473c81d7ef5f62ab11dc\\",\\n \\"Mid\\": 33566\\n }\\n ]\\n },\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The MessageId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListMessageReceiversResponse>\\r\\n\\t<MessageReceivers>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<Type>deviceId</Type>\\r\\n\\t\\t\\t<Value>1583820a2cf345a8810b3e0a2435b16f</Value>\\r\\n\\t\\t</List>\\r\\n\\t</MessageReceivers>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListMessageReceiversResponse>","errorExample":""}]', + 'title' => '根据消息ID查询消息设备接收对象列表', + 'summary' => '调用ListMessageReceivers根据消息ID查询消息设备接收对象列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceOnlineInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListMessageReceivers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListNamespaces' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'sghghshr', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '查询条件类型。取值:'."\n" - ."\n" - .'- deviceToken'."\n" - .'- deviceId'."\n" - .'- iasToken'."\n" - .'- iasId', - 'type' => 'string', - 'required' => true, - 'example' => 'deviceId', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ - 'name' => 'Value', + 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '查询对象。'."\n" - ."\n" - .'表示查询条件类型的对应值。', - 'type' => 'string', - 'required' => true, - 'example' => 'c86b36f1d19c488f9ae3798f332b9fd5', - ], + 'schema' => ['description' => '数据空间划分和鉴权方式。'."\n" + ."\n" + .'- 1:基于账号'."\n" + .'- 2:基于设备'."\n" + .'- 101:基于账号和设备', 'type' => 'string', 'required' => false, 'example' => '101'], ], ], 'responses' => [ @@ -13708,144 +10085,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Devices' => [ - 'description' => '设备在线详情列表。', + 'Namespaces' => [ + 'description' => 'Namespace集合', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LoginTime' => [ - 'description' => '最近联网时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525701500000', - ], - 'DeviceId' => [ - 'description' => 'dis系统设备ID', - 'type' => 'string', - 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc', - ], - 'Online' => [ - 'description' => '设备是否在线。'."\n" - ."\n" - .'1表示在线,0表示不在线,-1表示设备不存在。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProjectId' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'example' => 'gsgshhfs', - ], - 'IasId' => [ - 'description' => 'ias系统账号ID', - 'type' => 'string', - 'example' => '123xxxxxxxxxxx', - ], - 'SystemVersion' => [ - 'description' => '系统版本', - 'type' => 'string', - 'example' => '5.3.0', - ], - 'Terminal' => [ - 'description' => '设备机型', - 'type' => 'string', - 'example' => 'iphone7', - ], - 'ClientVersion' => [ - 'description' => 'cmns客户端版本', - 'type' => 'string', - 'example' => '2.1.0.1.20170327', - ], - ], + 'AuthType' => ['description' => '数据空间划分和鉴权方式。'."\n" + ."\n" + .'- 1:基于账号'."\n" + .'- 2:基于设备'."\n" + .'- 101:基于账号和设备', 'type' => 'integer', 'format' => 'int32', 'example' => '101'], + 'Description' => ['description' => 'Namespace说明', 'type' => 'string', 'example' => 'test'], + 'UserId' => ['description' => '所属租户ID', 'type' => 'string', 'example' => '123456'], + 'ProjectId' => ['description' => '所属项目ID', 'type' => 'string', 'example' => 'PLR58HKB'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1526871654000'], + 'Namespace' => ['description' => 'Namespace唯一标识', 'type' => 'string', 'example' => 'cca8e86c056bdc4fe78751vbf3f26c7k'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1526871654000'], + 'Name' => ['description' => 'Namespace名称', 'type' => 'string', 'example' => 'test'], + ], + 'description' => '', ], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Devices\\": [\\n {\\n \\"LoginTime\\": 1525701500000,\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f33ab10cc\\",\\n \\"Online\\": 1,\\n \\"ProjectId\\": \\"gsgshhfs\\",\\n \\"IasId\\": \\"123xxxxxxxxxxx\\",\\n \\"SystemVersion\\": \\"5.3.0\\",\\n \\"Terminal\\": \\"iphone7\\",\\n \\"ClientVersion\\": \\"2.1.0.1.20170327\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DescribeDeviceOnlineInfoResponse>\\r\\n\\t<Devices>\\r\\n\\t\\t<DeviceId>6c845cc9c4fe11138aff5be5e0aeebjj</DeviceId>\\r\\n\\t\\t<Terminal>iphone8</Terminal>\\r\\n\\t\\t<IasId></IasId>\\r\\n\\t\\t<ProjectId>PYNNN9KS</ProjectId>\\r\\n\\t\\t<ClientVersion>2.3.0.4.20170217</ClientVersion>\\r\\n\\t\\t<SystemVersion>1.0.1-E-20180330.1343</SystemVersion>\\r\\n\\t\\t<Online>0</Online>\\r\\n\\t\\t<LoginTime>1523452482291</LoginTime>\\r\\n\\t</Devices>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DescribeDeviceOnlineInfoResponse>","errorExample":""}]', - 'title' => '查询设备在线详情', - 'summary' => '根据设备或者账号ID(token)查询设备在线详情。', - 'description' => '> 当指定deviceId或者deviceToken时,可判断具体设备是否在线。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Namespaces\\": [\\n {\\n \\"AuthType\\": 101,\\n \\"Description\\": \\"test\\",\\n \\"UserId\\": \\"123456\\",\\n \\"ProjectId\\": \\"PLR58HKB\\",\\n \\"GmtCreate\\": 1526871654000,\\n \\"Namespace\\": \\"cca8e86c056bdc4fe78751vbf3f26c7k\\",\\n \\"GmtModified\\": 1526871654000,\\n \\"Name\\": \\"test\\"\\n }\\n ],\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListNamespacesResponse>\\r\\n<RequestId>49C0C0A1-2D02-466B-BC26-D73117062FAE</RequestId>\\r\\n\\t<Namespaces>\\r\\n\\t\\t<Namespace>cca8e86c056bdc4fe7875a9bf3f26c7f</Namespace>\\r\\n\\t\\t<Name>DEFAULT_BY_ACCOUNT_DEVICEDEFAULT_BY_ACCOUNT_DEVICE</Name>\\r\\n\\t\\t<UserId>1151125281886341</UserId>\\r\\n\\t\\t<ProjectId>PLR58NHL</ProjectId>\\r\\n\\t\\t<Description>DEFAULT_BY_ACCOUNT_DEVICE</Description>\\r\\n\\t\\t<GmtCreate>1526871654000</GmtCreate>\\r\\n\\t\\t<GmtModified>1526871654000</GmtModified>\\r\\n\\t\\t<AuthType>101</AuthType>\\r\\n\\t</Namespaces>\\r\\n\\t<Namespaces>\\r\\n\\t\\t<Namespace>f04998a1834f4a6d8debb403b995713a</Namespace>\\r\\n\\t\\t<Name>DEFAULT_BY_DEVICE</Name>\\r\\n\\t\\t<UserId>1151125281886341</UserId>\\r\\n\\t\\t<ProjectId>PLR58NHL</ProjectId>\\r\\n\\t\\t<Description>DEFAULT_BY_DEVICE</Description>\\r\\n\\t\\t<GmtCreate>1526871654000</GmtCreate>\\r\\n\\t\\t<GmtModified>1526871654000</GmtModified>\\r\\n\\t\\t<AuthType>2</AuthType>\\r\\n\\t</Namespaces>\\r\\n</ListNamespacesResponse>","errorExample":""}]', + 'title' => '查询指定项目的Namespace列表', + 'summary' => '调用ListNamespaces查询指定项目的Namespace列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceShadow' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListOfflineMessages' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PIC3UA0V', - ], + 'schema' => ['description' => '分页查询每页数据集数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'DeviceId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID', - 'type' => 'string', - 'required' => true, - 'example' => '1ac5e182e9634252a02d442a4d5d16fc', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'], ], [ - 'name' => 'DeviceModel', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '机型名称', - 'type' => 'string', - 'required' => false, - 'example' => 'model_2nd', - ], + 'schema' => ['description' => '离线箱查询类型。取值:**deviceId**、**kp**。', 'type' => 'string', 'required' => true, 'example' => 'deviceId'], ], [ - 'name' => 'Path', + 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '要获取的路径', - 'type' => 'string', - 'required' => true, - 'example' => '/', - ], + 'schema' => ['description' => '**deviceId**或者**kp**(iasId)对应的值。', 'type' => 'string', 'required' => true, 'example' => 'fc71429ddd9b473c81d7ef5f33ab10cc'], ], [ - 'name' => 'ViewSubscribed', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '是否只查看订阅的信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -13853,75 +10181,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceShadow' => [ - 'description' => '设备影子信息', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'OfflineMessages' => [ + 'description' => '离线消息分页查询数据对象。', 'type' => 'object', 'properties' => [ - 'DeviceShadow' => [ - 'description' => '设备其它信息', - 'type' => 'string', - 'example' => '[{\\"id\\":10102,\\"name\\":\\"车门:车门\\",\\"open\\":true,\\"pId\\":101,\\"path\\":\\"/车身与HVAC/车门/车门\\"},{\\"id\\":10101,\\"name\\":\\"锁止状态:1\\",\\"open\\":true,\\"pId\\":101,\\"path\\":\\"/车身与HVAC/车门/锁止状态\\"}]', + 'Pagination' => [ + 'description' => '分页对象。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '分页每页数据集大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], ], - 'DeviceInfo' => [ - 'description' => '设备信息', - 'type' => 'string', - 'example' => '{\\"schema版本\\":\\"1.0\\",\\"uuid\\":\\"002\\",\\"制造商\\":\\"0110446as34\\",\\"对内型号\\":\\"test_model_product\\",\\"对外型号\\":\\"test_model\\",\\"插件版本号\\":{\\"插件版本号\\":\\"1.0\\",\\"远程控制\\":\\"1.0\\",\\"远程诊断\\":\\"1.0\\"},\\"数据更新时间\\":\\"2018-09-14 22:00:01\\",\\"最近登录账号ID\\":\\"4***********\\",\\"系统版本号\\":\\"1.0.0\\",\\"设备品牌\\":\\"003\\",\\"设备描述\\":\\"sample desc1\\",\\"车架号\\":\\"001\\"}', + 'List' => [ + 'description' => '离线消息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ExpiredTime' => ['description' => '消息失效时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525693420000'], + 'Mid' => ['description' => '消息ID', 'type' => 'integer', 'format' => 'int64', 'example' => '106577'], + 'GmtCreate' => ['description' => '消息创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525517606000'], + ], + 'description' => '', + ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceShadow\\": {\\n \\"DeviceShadow\\": \\"[{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":10102,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"车门:车门\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"open\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\":101,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/车身与HVAC/车门/车门\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":10101,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"锁止状态:1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"open\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"pId\\\\\\\\\\\\\\":101,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/车身与HVAC/车门/锁止状态\\\\\\\\\\\\\\"}]\\",\\n \\"DeviceInfo\\": \\"{\\\\\\\\\\\\\\"schema版本\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"uuid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"002\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"制造商\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0110446as34\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"对内型号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_model_product\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"对外型号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_model\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"插件版本号\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"插件版本号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"远程控制\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"远程诊断\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"数据更新时间\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2018-09-14 22:00:01\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"最近登录账号ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***********\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"系统版本号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1.0.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"设备品牌\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"003\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"设备描述\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sample desc1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"车架号\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"001\\\\\\\\\\\\\\"}\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<DeviceShadow>\\n <DeviceInfo>{\\"车架号\\":\\"001\\",\\"对外型号\\":\\"test_model\\",\\"最近登录账号ID\\":\\"439********\\",\\"对内型号\\":\\"test_model_product\\",\\"系统版本号\\":\\"1.0.0\\",\\"数据更新时间\\":\\"2018-09-14 21:49:29\\",\\"制造商\\":\\"0110446as34\\",\\"设备描述\\":\\"sample desc1\\",\\"设备品牌\\":\\"003\\",\\"插件版本号\\":{\\"远程诊断\\":\\"1.0\\",\\"远程控制\\":\\"1.0\\",\\"插件版本号\\":\\"1.0\\"},\\"uuid\\":\\"002\\",\\"schema版本\\":\\"1.0\\"}</DeviceInfo>\\n <DeviceShadow>[{\\"path\\":\\"/车身与HVAC/车门/引擎盖状态\\",\\"name\\":\\"引擎盖状态:3\\",\\"pId\\":101,\\"id\\":10103,\\"open\\":true},{\\"path\\":\\"/车身与HVAC/车门/车门\\",\\"name\\":\\"车门:车门\\",\\"pId\\":101,\\"id\\":10102,\\"open\\":true},{\\"path\\":\\"/车身与HVAC/车门/锁止状态\\",\\"name\\":\\"锁止状态:1\\",\\"pId\\":101,\\"id\\":10101,\\"open\\":true}]</DeviceShadow>\\n</DeviceShadow>\\n<RequestId>40FE5EA3-F4D3-4D4B-99BD-2F5B7B90DE7E</RequestId>","errorExample":""}]', - 'title' => '获取设备影子信息', - 'summary' => '调用DescribeDeviceShadow获取设备影子信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"OfflineMessages\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n },\\n \\"List\\": [\\n {\\n \\"ExpiredTime\\": 1525693420000,\\n \\"Mid\\": 106577,\\n \\"GmtCreate\\": 1525517606000\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListOfflineMessagesResponse>\\r\\n\\t<OfflineMessages>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<ExpiredTime>1525693420000</ExpiredTime>\\r\\n\\t\\t\\t<GmtCreate>1525517606000</GmtCreate>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>205951</Mid>\\r\\n\\t\\t\\t<ExpiredTime>1525693520000</ExpiredTime>\\r\\n\\t\\t\\t<GmtCreate>1525517616000</GmtCreate>\\r\\n\\t\\t</List>\\r\\n\\t</OfflineMessages>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListOfflineMessagesResponse>","errorExample":""}]', + 'title' => '查询设备离线消息列表', + 'summary' => '根据deviceId或kp查询设备离线消息列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeVersionDeviceGroup' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOfflineMessages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListOpenAccountLinks' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'Id', + 'name' => 'IdentityId', 'in' => 'query', - 'schema' => [ - 'description' => '分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '云端用户ID。'."\n" + ."\n" + .'和**idToken+Idp**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'identityidtest'], + ], + [ + 'name' => 'Idp', + 'in' => 'query', + 'schema' => ['description' => '账号认证提供商。'."\n" + ."\n" + .'**IdentityId+Idp**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'ALIOS'], + ], + [ + 'name' => 'OpenId', + 'in' => 'query', + 'schema' => ['description' => '三方账户平台ID。', 'type' => 'string', 'required' => false, 'example' => '12345'], ], ], 'responses' => [ @@ -13929,96 +10283,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceGroup' => [ - 'description' => '分组详情', - 'type' => 'object', - 'properties' => [ - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'Description' => [ - 'description' => '分组描述', - 'type' => 'string', - 'example' => '测试', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '分组名', - 'type' => 'string', - 'example' => '升级分组', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxCount' => [ - 'description' => '设备分组的最大设备数', - 'type' => 'string', - 'example' => '100', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'OpenAccounts' => [ + 'description' => '返回内容。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。'."\n" + ."\n" + .'0表示正常,1表示禁用。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'1表示三方关联账号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DisplayName' => ['description' => '显示名', 'type' => 'string', 'example' => 'displaynametest'], + 'CreateAccessKey' => ['description' => '账号创建的AK', 'type' => 'string', 'example' => 'createaccesskeytest'], + 'OpenId' => ['description' => '三方平台账号ID', 'type' => 'string', 'example' => '12345'], + 'Mobile' => ['description' => '手机号'."\n" + ."\n", 'type' => 'string', 'example' => '1390000****'], + 'Region' => ['description' => '区域', 'type' => 'string', 'example' => 'cn'], + 'IdentityId' => ['description' => '账号ID'."\n", 'type' => 'string', 'example' => 'identityidtest'], + 'LoginId' => ['description' => '登录名', 'type' => 'string', 'example' => 'loginidtest'], + 'Idp' => ['description' => '三方平台标识简称呼', 'type' => 'string', 'example' => 'ALIOS'], + 'AliyunId' => ['description' => '租户ID', 'type' => 'string', 'example' => 'aliyunidtest'], + ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroup\\": {\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": 1,\\n \\"MaxCount\\": \\"100\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<DescribeVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroup>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t<Description>测试</Description>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</DeviceGroup>\\r\\n</DescribeVersionDeviceGroupResponse>","errorExample":""}]', - 'title' => '获取一个测试设备分组的详情', - 'summary' => '调用DescribeVersionDeviceGroup获取一个测试设备分组的详情。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"OpenAccounts\\": [\\n {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListOpenAccountLinksResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<OpenAccountLinks>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccountLinks>\\r\\n</ListOpenAccountLinksResponse>","errorExample":""}]', + 'title' => '根据三方账号ID查询账号列表', + 'summary' => '调用ListOpenAccountLinks根据三方账号ID查询账号列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryPrepublishPassedDeviceCount' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOpenAccountLinks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListOpenAccounts' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '返回列表最大长度', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'PrepublishId', + 'name' => 'Start', 'in' => 'query', - 'schema' => [ - 'description' => '预发布ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '返回列表起始位置', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Mobile', + 'in' => 'query', + 'schema' => ['description' => '手机号', 'type' => 'string', 'required' => false, 'example' => '1390000****'], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => ['description' => '电子邮箱', 'type' => 'string', 'required' => false, 'example' => 'test@alibaba.com'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'query', + 'schema' => ['description' => '显示名'."\n", 'type' => 'string', 'required' => false, 'example' => 'displaynametest'], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], ], 'responses' => [ @@ -14026,171 +10388,156 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'Count' => [ - 'description' => '预发布的已查询设备数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], + 'OpenAccounts' => [ + 'description' => '返回内容', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。'."\n" + ."\n" + .'0表示正常,1表示禁用。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Type' => ['description' => '类型。'."\n" + ."\n" + .'1表示三方关联账号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DisplayName' => ['description' => '显示名'."\n", 'type' => 'string', 'example' => 'displaynametest'], + 'CreateAccessKey' => ['description' => '账号创建的AK'."\n", 'type' => 'string', 'example' => 'createaccesskeytest'], + 'OpenId' => ['description' => '三方平台账号ID'."\n", 'type' => 'string', 'example' => '12345'], + 'Mobile' => ['description' => '手机号'."\n", 'type' => 'string', 'example' => '1390000****'], + 'Region' => ['description' => '区域', 'type' => 'string', 'example' => 'cn'], + 'IdentityId' => ['description' => '账号ID'."\n", 'type' => 'string', 'example' => 'identityidtest'], + 'LoginId' => ['description' => '登录名', 'type' => 'string', 'example' => 'loginidtest'], + 'Idp' => ['description' => '三方平台标识简称呼', 'type' => 'string', 'example' => 'ALIOS'], + 'AliyunId' => ['description' => '租户ID', 'type' => 'string', 'example' => 'aliyunidtest'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Count\\": 1000,\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<QueryPrepublishPassedDeviceCountResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<Count>1000</Count>\\r\\n</QueryPrepublishPassedDeviceCountResponse>","errorExample":""}]', - 'title' => '查询指定预发布的已查询设备数', - 'summary' => '调用QueryPrepublishPassedDeviceCount查询指定预发布的已查询设备数,已查询设备会根据其云设备ID进行去重。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"OpenAccounts\\": [\\n {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"DisplayName\\": \\"displaynametest\\",\\n \\"CreateAccessKey\\": \\"createaccesskeytest\\",\\n \\"OpenId\\": \\"12345\\",\\n \\"Mobile\\": \\"1390000****\\",\\n \\"Region\\": \\"cn\\",\\n \\"IdentityId\\": \\"identityidtest\\",\\n \\"LoginId\\": \\"loginidtest\\",\\n \\"Idp\\": \\"ALIOS\\",\\n \\"AliyunId\\": \\"aliyunidtest\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListOpenAccountsResponse>\\r\\n\\t<RequestId>81275440-EF9D-4570-A78F-7576441D3BF8</RequestId>\\r\\n\\t<OpenAccounts>\\r\\n\\t\\t<AliyunId>aliyunidtest</AliyunId>\\r\\n\\t\\t<CreateAccessKey>createaccesskeytest</CreateAccessKey>\\r\\n\\t\\t<DisplayName>displaynametest</DisplayName>\\r\\n\\t\\t<IdentityId>identityidtest</IdentityId>\\r\\n\\t\\t<Idp>ALIOS</Idp>\\r\\n\\t\\t<LoginId>loginidtest</LoginId>\\r\\n\\t\\t<Mobile>1390000****</Mobile>\\r\\n\\t\\t<OpenId>12345</OpenId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Type>1</Type>\\r\\n\\t</OpenAccounts>\\r\\n</ListOpenAccountsResponse>","errorExample":""}]', + 'title' => '查询账号列表', + 'summary' => '调用ListOpenAccounts查询账号列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListVersionDeviceGroups' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOpenAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + ], + 'ListPreChecks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'AK' => [], ], ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceGroupList' => [ - 'description' => '结果列表', + 'RequestId' => ['description' => '本次请求编号', 'type' => 'string', 'example' => 'BB80AC68-1E8A-4A46-B348-7D875AE9132A'], + 'PreChecks' => [ + 'description' => '预检返回结果', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'Description' => [ - 'description' => '分组描述', - 'type' => 'string', - 'example' => '测试', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '分组名', - 'type' => 'string', - 'example' => '升级分组', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '1', - ], + 'Key' => ['description' => '检查项', 'type' => 'string', 'example' => 'IovccEnabled'], + 'Link' => ['description' => '检查项主页', 'type' => 'string', 'example' => 'https://www.aliyun.com/product/iovcc'], + 'Price' => ['description' => '检查项收费模式', 'type' => 'string', 'example' => 'FreeTrial'], + 'State' => ['description' => '检查结果', 'type' => 'string', 'example' => 'Enabled'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroupList\\": [\\n {\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": \\"1\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<ListVersionDeviceGroupsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupList>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t<Description>测试</Description>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</DeviceGroupList>\\r\\n</ListVersionDeviceGroupsResponse>","errorExample":""}]', - 'title' => '列出项目下的所有测试设备分组信息', - 'summary' => '调用ListVersionDeviceGroups列出项目下的所有测试设备分组信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BB80AC68-1E8A-4A46-B348-7D875AE9132A\\",\\n \\"PreChecks\\": [\\n {\\n \\"Key\\": \\"IovccEnabled\\",\\n \\"Link\\": \\"https://www.aliyun.com/product/iovcc\\",\\n \\"Price\\": \\"FreeTrial\\",\\n \\"State\\": \\"Enabled\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListPreChecksResponse>\\n\\t<PreChecks>\\n\\t\\t<Link>https://www.aliyun.com/product/iovcc</Link>\\n\\t\\t<Key>IovccEnabled</Key>\\n\\t\\t<State>Enabled</State>\\n\\t\\t<Price>FreeTrial</Price>\\n\\t</PreChecks>\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\n</ListPreChecksResponse>","errorExample":""}]', + 'title' => '查询预检查结果', + 'summary' => '调用ListPreChecks查询预检查结果。', + 'description' => '> 查询用户是否已开通本产品以及依赖的其它云产品。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListAssistDevices' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListPreChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListProjectApps' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'], ], [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '分页页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码,从**1**开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Condition', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询条件', - 'type' => 'string', - 'required' => false, - 'example' => '{"vin":"LVFAG7A31HK000029"}', - ], + 'schema' => ['description' => '每页记录条数,默认为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'PerPage', + 'name' => 'Keywords', 'in' => 'query', - 'schema' => [ - 'description' => '每页个数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '应用名称或包名关键字。', 'type' => 'string', 'required' => false, 'example' => 'app'], ], ], 'responses' => [ @@ -14198,167 +10545,164 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '35', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'PerPage' => [ - 'description' => '每页数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageIndex' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Devices' => [ - 'description' => '设备列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SerialNumber' => [ - 'description' => '序列号', - 'type' => 'string', - 'example' => 'DX3JNY1FDTD2', - ], - 'HardwareId' => [ - 'description' => '硬件ID', - 'type' => 'string', - 'example' => 'BALFL8429HI', - ], - 'DeviceName' => [ - 'description' => '设备名称', - 'type' => 'string', - 'example' => 'Model S', - ], - 'AccessTime' => [ - 'description' => '设备访问时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525767660000', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => '6fde56979c484b93b99fba257e3cbe83', - ], - 'UUID' => [ - 'description' => 'AliOS设备UUID', - 'type' => 'string', - 'example' => '842972B2C0F4C9F030E60769CA65806A', - ], - 'VIN' => [ - 'description' => '车架码', - 'type' => 'string', - 'example' => 'LVFAG7A31HK000029', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A15971B1-DC63-4AEC-A8B1-85CB8CD78227'], + 'Result' => [ + 'description' => '查询结果。', + 'type' => 'object', + 'properties' => [ + 'ProjectApps' => [ + 'description' => '应用列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '应用状态。'."\n" + ."\n" + .'0表示正常,1表示删除。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ProjectId' => ['description' => '所属项目ID', 'type' => 'string', 'example' => '11'], + 'UserId' => ['description' => '所属用户ID', 'type' => 'string', 'example' => '1768723179523459'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1524736376000'], + 'AppPkgName' => ['description' => '应用包名', 'type' => 'string', 'example' => 'com.app1'], + 'AppName' => ['description' => '应用名称', 'type' => 'string', 'example' => 'app1'], + 'AppSecret' => ['description' => '应用AppSecret。'."\n" + ."\n" + .'默认不完全显示,只显示头尾2个字符。', 'type' => 'string', 'example' => 'Q******F'], + 'AppKey' => ['description' => '应用AppKey', 'type' => 'string', 'example' => 'mPp7O4LW'], + 'AppId' => ['description' => '应用AppId', 'type' => 'string', 'example' => 'AX4R4JWQ'], + 'OsType' => ['description' => '系统类型,1-Android。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1524736376000'], + 'Id' => ['description' => '主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '78'], + ], + 'description' => '', ], ], + 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '总记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageIndex\\": 1,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"TotalCount\\": 35,\\n \\"PerPage\\": 20,\\n \\"Devices\\": [\\n {\\n \\"SerialNumber\\": \\"DX3JNY1FDTD2\\",\\n \\"HardwareId\\": \\"BALFL8429HI\\",\\n \\"DeviceName\\": \\"Model S\\",\\n \\"AccessTime\\": 1525767660000,\\n \\"DeviceId\\": \\"6fde56979c484b93b99fba257e3cbe83\\",\\n \\"UUID\\": \\"842972B2C0F4C9F030E60769CA65806A\\",\\n \\"VIN\\": \\"LVFAG7A31HK000029\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListAssistDevicesResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n\\t<PageIndex>1</PageIndex>\\r\\n\\t<PerPage>20</PerPage>\\r\\n\\t<TotalCount>1</TotalCount>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<DeviceId>37aac8e7d96c42ea94fd5408e351474e</DeviceId>\\r\\n\\t\\t<DeviceName>Model S</DeviceName>\\r\\n\\t\\t<AccessTime>1525767660000</AccessTime>\\r\\n\\t\\t<VIN>LVFAG7A31HK000029</VIN>\\r\\n\\t\\t<SerialNumber>DX3JNY1FDTD2</SerialNumber>\\r\\n\\t</DeviceList>\\r\\n</ListAssistDevicesResponse>","errorExample":""}]', - 'title' => '获取连接远程诊断的设备列表', - 'summary' => '调用ListAssistDevices获取连接远程诊断的设备列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A15971B1-DC63-4AEC-A8B1-85CB8CD78227\\",\\n \\"Result\\": {\\n \\"ProjectApps\\": [\\n {\\n \\"Status\\": 0,\\n \\"ProjectId\\": \\"11\\",\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"GmtModified\\": 1524736376000,\\n \\"AppPkgName\\": \\"com.app1\\",\\n \\"AppName\\": \\"app1\\",\\n \\"AppSecret\\": \\"Q******F\\",\\n \\"AppKey\\": \\"mPp7O4LW\\",\\n \\"AppId\\": \\"AX4R4JWQ\\",\\n \\"OsType\\": 1,\\n \\"GmtCreate\\": 1524736376000,\\n \\"Id\\": 78\\n }\\n ],\\n \\"TotalPage\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<ListProjectAppsResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<TotalPage>1</TotalPage>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<ProjectApps>\\r\\n\\t\\t\\t<OsType>1</OsType>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t\\t<AppSecret>Q******F</AppSecret>\\r\\n\\t\\t\\t<AppPkgName>com.app1</AppPkgName>\\r\\n\\t\\t\\t<AppId>AX4R4JWQ</AppId>\\r\\n\\t\\t\\t<AppName>app1</AppName>\\r\\n\\t\\t\\t<Id>78</Id>\\r\\n\\t\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t\\t<GmtCreate>1524736376000</GmtCreate>\\r\\n\\t\\t\\t<AppKey>mPp7O4LW</AppKey>\\r\\n\\t\\t\\t<GmtModified>1524736376000</GmtModified>\\r\\n\\t\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t\\t</ProjectApps>\\r\\n\\t</Result>\\r\\n\\t<RequestId>18178DD4-70F9-4BA1-956E-5D8ED4D5B27C</RequestId>\\r\\n</ListProjectAppsResponse>","errorExample":""}]', + 'title' => '查询所有自定义应用', + 'summary' => '根据项目ID查询项目下的所有自定义应用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListConnectLogs' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListProjectApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListProjects' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'PageSize', - 'in' => 'query', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3305DEE5-4020-4FF0-9D42-5882B1580088'], + 'Projects' => [ + 'description' => '项目列表信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态,0表示正常', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Description' => ['description' => '项目描述', 'type' => 'string', 'example' => 'test'], + 'UserId' => ['description' => '项目所属用户ID', 'type' => 'string', 'example' => '1768723179523459'], + 'ProjectId' => ['description' => '项目ID', 'type' => 'string', 'example' => '11'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1508341160000'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525687817000'], + 'Name' => ['description' => '项目名称', 'type' => 'string', 'example' => 'aicc_test11'], + 'Id' => ['description' => '主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '11'], + 'Creator' => ['description' => '项目创建人', 'type' => 'string', 'example' => 'user001'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3305DEE5-4020-4FF0-9D42-5882B1580088\\",\\n \\"Projects\\": [\\n {\\n \\"Status\\": 0,\\n \\"Description\\": \\"test\\",\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"ProjectId\\": \\"11\\",\\n \\"GmtCreate\\": 1508341160000,\\n \\"GmtModified\\": 1525687817000,\\n \\"Name\\": \\"aicc_test11\\",\\n \\"Id\\": 11,\\n \\"Creator\\": \\"user001\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListProjectsResponse>\\r\\n\\t<Projects>\\r\\n\\t\\t<Name>aicc_test22</Name>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Description>test3</Description>\\r\\n\\t\\t<Creator>aicc-qa</Creator>\\r\\n\\t\\t<Id>11</Id>\\r\\n\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t<GmtCreate>1508341160000</GmtCreate>\\r\\n\\t\\t<GmtModified>1525687817000</GmtModified>\\r\\n\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t</Projects>\\r\\n\\t<RequestId>3305DEE5-4020-4FF0-9D42-5882B1580088</RequestId>\\r\\n</ListProjectsResponse>","errorExample":""}]', + 'title' => '查询项目列表', + 'summary' => '调用ListProjects查询项目列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-13T11:40:24.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fgsggsgg', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListRpcServices' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DeviceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'dis系统设备ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fc35429dff9b473c81d7ef5f62ab11dc', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '查询日志起始时间,精确到秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1525684245', - ], + 'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'], ], [ - 'name' => 'EndTime', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '查询日志截止时间,精确到秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1525694245', - ], + 'schema' => ['description' => '分页查询页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'PageIndex', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询每页数据集数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -14366,195 +10710,200 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。'."\n", - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Logs' => [ - 'description' => '返回日志分页列表对象。', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'RpcServices' => [ + 'description' => 'Rpc服务接口分页查询数据对象', 'type' => 'object', 'properties' => [ 'Pagination' => [ - 'description' => '分页对象。', + 'description' => '分页对象', 'type' => 'object', 'properties' => [ - 'PageIndex' => [ - 'description' => '分页页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], + 'PageIndex' => ['description' => '分页页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '分页每页数据集大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], ], ], 'List' => [ - 'description' => '日志列表。', + 'description' => 'Rpc服务接口注册列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Sid' => [ - 'description' => '长连接的sessionid。', - 'type' => 'string', - 'example' => 'rkp_u-sTz_1_29473_1525516404577', - ], - 'Status' => [ - 'description' => '连接状态。', - 'type' => 'string', - 'example' => '断开', - ], - 'Time' => [ - 'description' => '日志时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525517083249', - ], - 'DeviceId' => [ - 'description' => 'dis系统设备ID。', - 'type' => 'string', - 'example' => 'fc71429ddd9b473c81d7ef5f44ab10cc', - ], - 'SystemVersion' => [ - 'description' => '设备系统版本。', - 'type' => 'string', - 'example' => '4.4.4', - ], - 'Ip' => [ - 'description' => '设备Ip。', - 'type' => 'string', - 'example' => '220.180.xx.xxx', - ], - 'NetWorking' => [ - 'description' => '网络类型,比如EDGE、LTE、WIFI等。', - 'type' => 'string', - 'example' => 'EDGE', - ], - 'Terminal' => [ - 'description' => '设备机型。', - 'type' => 'string', - 'example' => 'iphone7', - ], + 'MethodName' => ['description' => '方法名称', 'type' => 'string', 'example' => 'rpcTest'], + 'Type' => ['description' => '调用方式,包括http及hsf两种。', 'type' => 'string', 'example' => 'http'], + 'InterfaceName' => ['description' => '接口名称', 'type' => 'string', 'example' => 'https://portal.aicc.aliyun.com/rpcServiceTest.html'], + 'Params' => ['description' => '接口参数', 'type' => 'string', 'example' => 'param1,param2'], + 'AppKey' => ['description' => 'cmns客户端应用appKey', 'type' => 'string', 'example' => 'aorlFafJ'], + 'GroupName' => ['description' => '服务分组名称', 'type' => 'string', 'example' => 'lbs'], + 'GmtCreate' => ['description' => '服务注册时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525684245000'], + 'IsDelete' => ['description' => '是否逻辑删除,**Y**为已删除,**N**为未删除。', 'type' => 'string', 'example' => 'N'], + 'VersionCode' => ['description' => '版本号', 'type' => 'string', 'example' => '2018-05-01'], + 'GmtModified' => ['description' => '服务修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525684245000'], + 'Id' => ['description' => '记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Logs\\": {\\n \\"List\\": [\\n {\\n \\"Sid\\": \\"rkp_u-sTz_1_29473_1525516404577\\",\\n \\"Status\\": \\"断开\\",\\n \\"Time\\": 1525517083249,\\n \\"DeviceId\\": \\"fc71429ddd9b473c81d7ef5f44ab10cc\\",\\n \\"SystemVersion\\": \\"4.4.4\\",\\n \\"Ip\\": \\"220.180.xx.xxx\\",\\n \\"NetWorking\\": \\"EDGE\\",\\n \\"Terminal\\": \\"iphone7\\"\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The DeviceId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListConnectLogsResponse>\\r\\n\\t<Logs>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>10</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceId>3583820a2cf941a8810b3e0a2435b13d</DeviceId>\\r\\n\\t\\t\\t<SystemVersion>4.4.4</SystemVersion>\\r\\n\\t\\t\\t<Terminal>MuMu</Terminal>\\r\\n\\t\\t\\t<Ip>::ffff:112.10.xx.xx</Ip>\\r\\n\\t\\t\\t<NetWorking>wifi</NetWorking>\\r\\n\\t\\t\\t<Time>1525517083250</Time>\\r\\n\\t\\t\\t<Status>连接</Status>\\r\\n\\t\\t\\t<Sid>Hymmibopf_1_29473_1525517083243</Sid>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceId />\\r\\n\\t\\t\\t<SystemVersion />\\r\\n\\t\\t\\t<Terminal />\\r\\n\\t\\t\\t<Ip />\\r\\n\\t\\t\\t<NetWorking />\\r\\n\\t\\t\\t<Time>1525517083249</Time>\\r\\n\\t\\t\\t<Status>断开</Status>\\r\\n\\t\\t\\t<Sid>rkp_u-sTz_1_29473_1525516404577</Sid>\\r\\n\\t\\t</List>\\r\\n\\t</Logs>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListConnectLogsResponse>","errorExample":""}]', - 'title' => '查询设备连接日志', - 'summary' => '根据设备ID、时间范围查询设备连接日志。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"RpcServices\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n },\\n \\"List\\": [\\n {\\n \\"MethodName\\": \\"rpcTest\\",\\n \\"Type\\": \\"http\\",\\n \\"InterfaceName\\": \\"https://portal.aicc.aliyun.com/rpcServiceTest.html\\",\\n \\"Params\\": \\"param1,param2\\",\\n \\"AppKey\\": \\"aorlFafJ\\",\\n \\"GroupName\\": \\"lbs\\",\\n \\"GmtCreate\\": 1525684245000,\\n \\"IsDelete\\": \\"N\\",\\n \\"VersionCode\\": \\"2018-05-01\\",\\n \\"GmtModified\\": 1525684245000,\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The ProjectId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListRpcServicesResponse>\\r\\n\\t<RpcServices>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<AppKey>cH8Rj1CF</AppKey>\\r\\n\\t\\t\\t<Method>rpcTest1</Method>\\r\\n <MethodName>rpcTest1</MethodName>\\r\\n <VersionCode>2018-05-01</VersionCode> \\r\\n\\t\\t\\t<InterfaceName>https://portal.aicc.aliyun.com/rpcServiceTest.html</InterfaceName>\\r\\n\\t\\t\\t<GroupName>rpcTest</GroupName>\\r\\n\\t\\t\\t<Version>1.0.0</Version>\\r\\n\\t\\t\\t<Type>http</Type>\\r\\n\\t\\t\\t<Params>param1,param2</Params>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1513846288000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1513846288000</GmtModified>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>2</Id>\\r\\n\\t\\t\\t<AppKey>cH8Rj1CF</AppKey>\\r\\n\\t\\t\\t<Method>rpcTest2</Method>\\r\\n <MethodName>rpcTest2</MethodName>\\r\\n <VersionCode>2018-05-02</VersionCode>\\r\\n\\t\\t\\t<InterfaceName>https://portal.aicc.aliyun.com/rpcServiceTest.html</InterfaceName>\\r\\n\\t\\t\\t<GroupName>rpcTest</GroupName>\\r\\n\\t\\t\\t<Version>1.0.0</Version>\\r\\n\\t\\t\\t<Type>http</Type>\\r\\n\\t\\t\\t<Params>param1,param2</Params>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1513846284000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1513846284000</GmtModified>\\r\\n\\t\\t</List>\\r\\n\\t</RpcServices>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListRpcServicesResponse>","errorExample":""}]', + 'title' => '查询Rpc服务接口注册记录列表', + 'summary' => '调用ListRpcServices查询Rpc服务接口注册记录列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListDeviceModels' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListRpcServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListSchemaSubscribes' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceModelId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'Length', + 'name' => 'DeviceModel', 'in' => 'query', - 'schema' => [ - 'description' => '列表最大长度', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '机型信息', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'], ], [ - 'name' => 'DeviceModel', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名,支持模糊查询', - 'type' => 'string', - 'required' => false, - 'example' => 'X1', - ], + 'schema' => ['description' => '查询的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DeviceBrand', + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => '查询的每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '设备品牌', - 'type' => 'string', - 'required' => false, - 'example' => 'TmallGenius', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'PageList' => [ + 'description' => '返回的数据列表信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '返回的分页信息', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '当前页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SimpleSign' => ['description' => '是否返回简单数据标志', 'type' => 'boolean', 'example' => 'false'], + 'HasNextPage' => ['description' => '是否有下一页', 'type' => 'boolean', 'example' => 'true'], + ], + ], + 'List' => [ + 'description' => '订阅列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DeviceModelId' => ['description' => '机型ID', 'type' => 'integer', 'format' => 'int64', 'example' => '120'], + 'Version' => ['description' => '版本', 'type' => 'string', 'example' => '1.0'], + 'ProjectId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'PIC3UA0V'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1537255540160'], + 'Namespace' => ['description' => '命名空间', 'type' => 'string', 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8'], + 'ValiditySchema' => ['description' => '验证的schema信息', 'type' => 'string', 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}'], + 'DeviceModel' => ['description' => '机型名称', 'type' => 'string', 'example' => 'model_2nd'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1537255540160'], + 'Id' => ['description' => '数据记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PageList\\": [\\n {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"SimpleSign\\": false,\\n \\"HasNextPage\\": true\\n },\\n \\"List\\": [\\n {\\n \\"DeviceModelId\\": 120,\\n \\"Version\\": \\"1.0\\",\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"GmtCreate\\": 1537255540160,\\n \\"Namespace\\": \\"b09e93ce436aaf0dcfc2fb2004c1fde8\\",\\n \\"ValiditySchema\\": \\"{\\\\\\"ecu\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"动力系统\\\\\\",\\\\\\"brake_controll\\\\\\":{\\\\\\"handbrake\\\\\\":\\\\\\"手刹状态\\\\\\"}},\\\\\\"device_info\\\\\\":{\\\\\\"vin\\\\\\":\\\\\\"车架号\\\\\\",\\\\\\"uuid\\\\\\":\\\\\\"uuid\\\\\\",\\\\\\"brand\\\\\\":\\\\\\"设备品牌\\\\\\",\\\\\\"plugin_version\\\\\\":{\\\\\\"ra\\\\\\":\\\\\\"远程诊断\\\\\\",\\\\\\"control\\\\\\":\\\\\\"远程控制\\\\\\",\\\\\\"node_desc\\\\\\":\\\\\\"插件版本号\\\\\\",\\\\\\"yundevice\\\\\\":\\\\\\"yundevice版本号\\\\\\"},\\\\\\"system_version\\\\\\":\\\\\\"系统版本号\\\\\\"},\\\\\\"car_body_hvac\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"车身与HVAC\\\\\\",\\\\\\"cigar_lighter\\\\\\":{\\\\\\"node_desc\\\\\\":\\\\\\"点烟器\\\\\\"},\\\\\\"cleaning_fluid\\\\\\":\\\\\\"清洗液\\\\\\"}}\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"GmtModified\\": 1537255540160,\\n \\"Id\\": 12\\n }\\n ]\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListSchemaSubscribesResponse>\\r\\n\\t<PageList>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t\\t<GmtCreate>1537255540160</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1537255540160</GmtModified>\\r\\n\\t\\t\\t<Id>49</Id>\\r\\n\\t\\t\\t<Namespace>b09e93ce436aaf0dcfc2fb2004c1fde8</Namespace>\\r\\n\\t\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t\\t<ValiditySchema>{"type": "object", "title": "model_2nd", "$schema": "http://json-schema.org/draft-04/schema#", "properties": {"car_body_hvac": {"properties": {"cooling": {"properties": {"water_temperature": {"type": "number", "maximum": 30.0, "minimum": 20.0, "description": "水温"}}}, "lubricating": {"properties": {"oil_level": {"type": "number", "maximum": 6.0, "minimum": 3.0, "description": "机油油位"}}}}}}}</ValiditySchema>\\r\\n\\t\\t\\t<Version>1.0</Version>\\r\\n\\t\\t</List>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<HasNextPage>true</HasNextPage>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</PageList>\\r\\n\\t<RequestId>EDCF581A-6A1A-4595-9542-96D084F5F231</RequestId>\\r\\n</ListSchemaSubscribesResponse>","errorExample":""}]', + 'title' => '查询订阅列表', + 'summary' => '调用ListSchemaSubscribes查询订阅列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Start', - 'in' => 'query', - 'schema' => [ - 'description' => '列表起始位置', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListSchemaSubscribes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListShadowSchemaDeviceModels' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'DeviceBrandId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], ], 'responses' => [ @@ -14562,165 +10911,95 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DeviceModels' => [ - 'description' => '查询结果列表', + 'ModelList' => [ + 'description' => '返回的机型列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DeviceModelId' => [ - 'description' => '型号ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'HardwareType' => [ - 'description' => '设备ID生成依据'."\n", - 'type' => 'string', - 'example' => 'sn', - ], - 'DeviceName' => [ - 'type' => 'string', - ], - 'DeviceType' => [ - 'description' => '设备类型'."\n", - 'type' => 'string', - 'example' => '智能家居', - ], - 'CanCreateDeviceId' => [ - 'description' => '是否可生成设备ID'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'OsPlatform' => [ - 'type' => 'string', - ], - 'DeviceModel' => [ - 'description' => '设备型号'."\n", - 'type' => 'string', - 'example' => 'X1', - ], - 'SecurityChip' => [ - 'type' => 'string', - ], - 'DeviceLogoUrl' => [ - 'type' => 'string', - ], - 'Description' => [ - 'description' => '设备型号描述'."\n", - 'type' => 'string', - 'example' => '天猫精灵X1', - ], - 'ObjectKey' => [ - 'type' => 'string', - ], - 'InitUsageTypeDesc' => [ - 'description' => '表示设备使用性质的描述,0:表示私人设备;1:表示运营或共享设备;'."\n", - 'type' => 'string', - 'example' => '私人设备', - ], - 'InitUsageType' => [ - 'description' => '表示设备使用性质,0:表示私人设备;1:表示运营或共享设备;默认为0'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DeviceBrand' => [ - 'description' => '设备品牌'."\n", - 'type' => 'string', - 'example' => 'TmallGenius', - ], - ], + 'DeviceModelId' => ['description' => '设备模型ID', 'type' => 'integer', 'format' => 'int64', 'example' => '208'], + 'HardwareType' => ['description' => '硬件类型', 'type' => 'string', 'example' => 'sn'], + 'DeviceType' => ['description' => '设备类型', 'type' => 'string', 'example' => 'car_auto'], + 'CanCreateDeviceId' => ['description' => '是否可创建设备ID', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ProjectId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'PIC3UA0V'], + 'OsPlatform' => ['description' => '操作系统的平台类型:**android**,**alios**,**linux**,**qnx**。', 'type' => 'string', 'example' => 'linux'], + 'DeviceModel' => ['description' => '设备机型', 'type' => 'string', 'example' => 'model_2nd'], + 'SecurityChip' => ['description' => '芯片认证加固方案。0:不启用,1:启用。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Description' => ['description' => '描述信息', 'type' => 'string', 'example' => 'description'], + 'InitUsageTypeDesc' => ['description' => '使用性质解释', 'type' => 'string', 'example' => 'private'], + 'InitUsageType' => ['description' => '使用性质,私营或商业', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DeviceBrand' => ['description' => '设备品牌', 'type' => 'string', 'example' => 'brand_2nd'], + ], + 'description' => '', ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4F501674-4FE3-47F9-ADAD-A1875A325798'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceModels\\": [\\n {\\n \\"DeviceModelId\\": 10,\\n \\"HardwareType\\": \\"sn\\",\\n \\"Description\\": \\"天猫精灵X1\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"InitUsageTypeDesc\\": \\"私人设备\\",\\n \\"InitUsageType\\": 0,\\n \\"DeviceModel\\": \\"X1\\",\\n \\"DeviceBrand\\": \\"TmallGenius\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', - 'title' => '查询设备型号列表', - 'summary' => '查询设备型号列表。', - 'description' => '查询设备型号列表', - ], - 'ListDevices' => [ - 'methods' => [ - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ModelList\\": [\\n {\\n \\"DeviceModelId\\": 208,\\n \\"HardwareType\\": \\"sn\\",\\n \\"DeviceType\\": \\"car_auto\\",\\n \\"CanCreateDeviceId\\": 1,\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"OsPlatform\\": \\"linux\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"SecurityChip\\": 0,\\n \\"Description\\": \\"description\\",\\n \\"InitUsageTypeDesc\\": \\"private\\",\\n \\"InitUsageType\\": 1,\\n \\"DeviceBrand\\": \\"brand_2nd\\"\\n }\\n ],\\n \\"RequestId\\": \\"4F501674-4FE3-47F9-ADAD-A1875A325798\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListShadowSchemaDeviceModelsResponse>\\r\\n\\t<ModelList>\\r\\n\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareType>sn</HardwareType>\\r\\n\\t\\t<InitUsageType>0</InitUsageType>\\r\\n\\t\\t<DeviceBrand>brand_2nd</DeviceBrand>\\r\\n\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t<SecurityChip>0</SecurityChip>\\r\\n\\t\\t<InitUsageTypeDesc>private</InitUsageTypeDesc>\\r\\n\\t\\t<CanCreateDeviceId>1</CanCreateDeviceId>\\r\\n\\t</ModelList>\\r\\n\\t<RequestId>4F501674-4FE3-47F9-ADAD-A1875A325798</RequestId>\\r\\n</ListShadowSchemaDeviceModelsResponse>","errorExample":""}]', + 'title' => '获取所有机型列表', + 'summary' => '在新增设备范式时,根据当前的projectId获取这个项目下的所有机型列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListShadowSchemaDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListShadowSchemas' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'DeviceModelId', + 'name' => 'QueryType', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '查询类型', 'type' => 'string', 'required' => false, 'example' => 'deviceModelId'], ], [ - 'name' => 'DeviceModel', + 'name' => 'QueryValue', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名,支持模糊查询', - 'type' => 'string', - 'required' => false, - 'example' => 'ROEWE RX5 ', - ], + 'schema' => ['description' => '和查询类型匹配的查询值', 'type' => 'string', 'required' => false, 'example' => '120'], ], [ - 'name' => 'Start', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '返回结果列表起始位置', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '查询的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Length', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '返回结果列表最大长度', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '每页查询的数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -14728,251 +11007,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'Devices' => [ - 'description' => '返回内容'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SerialNumber' => [ - 'description' => '设备序列号'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'Status' => [ - 'description' => '设备状态', - 'type' => 'string', - 'example' => '0', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'MacAddress' => [ - 'description' => 'MAC地址'."\n", - 'type' => 'string', - 'example' => '00:00:00:00:00:00', - ], - 'DeviceId' => [ - 'description' => '设备ID'."\n", - 'type' => 'string', - 'example' => 'cn.1234567890', - ], - 'DeviceType' => [ - 'description' => '设备类型'."\n", - 'type' => 'string', - 'example' => 'car_auto ', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'DeviceModel' => [ - 'description' => '设备型号'."\n", - 'type' => 'string', - 'example' => 'ROEWE RX5 ', - ], - 'UsageType' => [ - 'description' => '设备使用性质。'."\n" - ."\n" - .'0表示私人设备,1表示运营或共享设备。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Vin' => [ - 'description' => '设备车架号(汽车相关产品使用)'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'UsageTypeDesc' => [ - 'description' => '设备使用性质描述。'."\n" - ."\n" - .' **private**表示私人设备,**business**表示运营或共享设备。'."\n", - 'type' => 'string', - 'example' => 'private', - ], - 'Uuid' => [ - 'description' => '设备UUID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'HardwareId' => [ - 'description' => '硬件ID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'Region' => [ - 'description' => '设备所在国家代码'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - 'SoftwareId' => [ - 'description' => '软件ID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'Name' => [ - 'description' => '设备昵称'."\n", - 'type' => 'string', - 'example' => '我的设备', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'PageList' => [ + 'description' => '查询结果列表', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '当前页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页记录数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总记录数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SimpleSign' => ['description' => '是否简单验证(无参考价值)', 'type' => 'boolean', 'example' => 'false'], + 'HasNextPage' => ['description' => '是否有下一页', 'type' => 'boolean', 'example' => 'false'], ], - 'DeviceBrand' => [ - 'description' => '设备品牌'."\n", - 'type' => 'string', - 'example' => 'ROEWE', + ], + 'List' => [ + 'description' => '结果列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AuthTypeDesc' => ['description' => '认证类型描述', 'type' => 'string', 'example' => '基于账号'], + 'DeviceModelId' => ['description' => '设备型号ID', 'type' => 'integer', 'format' => 'int64', 'example' => '120'], + 'AuthType' => ['description' => '账号认证类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ProjectId' => ['description' => '项目ID', 'type' => 'string', 'example' => 'PIC3UA0V'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1537255499517'], + 'Namespace' => ['description' => '命名空间', 'type' => 'string', 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8'], + 'DeviceModel' => ['description' => '设备机型', 'type' => 'string', 'example' => 'model_2nd'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1537255499517'], + 'ModuleSchema' => ['description' => '机型shema信息', 'type' => 'string', 'example' => '{"a":"b"}'], + 'Id' => ['description' => '数据唯一记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"Devices\\": [\\n {\\n \\"Status\\": \\"0\\",\\n \\"SerialNumber\\": \\"xxxxxxxx\\",\\n \\"DeviceModelId\\": 10,\\n \\"MacAddress\\": \\"00:00:00:00:00:00\\",\\n \\"DeviceType\\": \\"car_auto\\\\t\\",\\n \\"DeviceId\\": \\"cn.1234567890\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"DeviceModel\\": \\"ROEWE RX5\\\\t\\",\\n \\"Vin\\": \\"xxxxxxxx\\",\\n \\"UsageType\\": 0,\\n \\"UsageTypeDesc\\": \\"private\\",\\n \\"Uuid\\": \\"xxxxxxxx\\",\\n \\"HardwareId\\": \\"xxxxxxxx\\",\\n \\"Region\\": \\"cn\\",\\n \\"SoftwareId\\": \\"xxxxxxxx\\",\\n \\"Name\\": \\"我的设备\\",\\n \\"DeviceBrand\\": \\"ROEWE\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDevicesResponse>\\r\\n\\t<Devices>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceId>cn.1234567890</DeviceId>\\r\\n\\t\\t<DeviceModel>ROEWE RX5</DeviceModel>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t\\t<HardwareId>xxxxxxx</HardwareId>\\r\\n\\t\\t<MacAddress>00:00:00:00:00:00</MacAddress>\\r\\n\\t\\t<Name>我的设备</Name>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<SerialNumber>xxxxxx</SerialNumber>\\r\\n\\t\\t<SoftwareId>xxxxxx</SoftwareId>\\r\\n\\t\\t<UsageType>0</UsageType>\\r\\n\\t\\t<UsageTypeDesc>private</UsageTypeDesc>\\r\\n <Status>0</Status>\\r\\n\\t\\t<Uuid>xxxxxx</Uuid>\\r\\n\\t</Devices>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</ListDevicesResponse>","errorExample":""}]', - 'title' => '查询设备列表', - 'summary' => '调用ListDevices查询设备列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"PageList\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"SimpleSign\\": false,\\n \\"HasNextPage\\": false\\n },\\n \\"List\\": [\\n {\\n \\"AuthTypeDesc\\": \\"基于账号\\",\\n \\"DeviceModelId\\": 120,\\n \\"AuthType\\": 0,\\n \\"ProjectId\\": \\"PIC3UA0V\\",\\n \\"GmtCreate\\": 1537255499517,\\n \\"Namespace\\": \\"b09e93ce436aaf0dcfc2fb2004c1fde8\\",\\n \\"DeviceModel\\": \\"model_2nd\\",\\n \\"GmtModified\\": 1537255499517,\\n \\"ModuleSchema\\": \\"{\\\\\\"a\\\\\\":\\\\\\"b\\\\\\"}\\",\\n \\"Id\\": 12\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListShadowSchemasResponse>\\r\\n\\t<RequestId>973C5884-2CB8-40B4-9D9F-F92BA38BD85F</RequestId>\\r\\n\\t<PageList>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<HasNextPage>true</HasNextPage>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<DeviceModel>model_2nd</DeviceModel>\\r\\n\\t\\t\\t<GmtCreate>1537255499517</GmtCreate>\\r\\n\\t\\t\\t<ModuleSchema>{"ecu": {"node_desc": "动力系统", "brake_controll": {"handbrake": "手刹状态", "node_desc": "驻车制动", "brake_fluid": "制动液", "brake_lining": "制动衬片", "brake_status": "刹车状态", "brake_auxiliary": "辅助制动", "brake_emergency": "应急制动", "brake_pedal_strength": "刹车踏板强度"}}, "device_info": {"vin": "车架号", "uuid": "uuid", "brand": "设备品牌", "product": "对内型号", "version": "schema版本", "node_desc": "设备描述", "manufacture": "制造商", "device_model": "对外型号", "plugin_version": {"ra": "远程诊断", "control": "远程控制", "node_desc": "插件版本号", "yundevice": "yundevice版本号"}, "system_version": "系统版本号"}, "car_body_hvac": {"door": {"node_desc": "车门", "bonnet_ststus": "引擎盖状态", "vehicle_rl_door": {"node_desc": "后左侧门", "door_status": "开合状态"}, "vehicle_rr_door": {"node_desc": "后右侧门", "door_status": "开合状态"}, "vehicle_driver_door": {"node_desc": "驾驶员车门", "door_status": "开合状态"}, "vehicle_locked_status": "锁止状态", "vehicle_passenger_door": {"node_desc": "副驾驶车门", "door_status": "开合状态"}}, "hvac": {"ac": {"ac_type": "控温模式", "ac_switch": "AC开启", "node_desc": "空调系统", "ac_engine_status": "压缩机运转状态", "ac_setting_temperature": "空调设定温度"}, "node_desc": "通风与空气调节", "air_temperature": "车内温度", "ventilation_system": {"air_rate": "风速", "node_desc": "通风系统", "air_recirc": "空气循环方式", "air_direction": "风向"}}, "chair": {"node_desc": "座椅", "chair_memory": {"node_desc": "座椅记忆", "chair_driver_hight": "驾驶位座椅高度", "chair_driver_header": "驾驶位座椅头枕", "chair_driver_shifting": "驾驶位座椅位移", "chair_passenger_hight": "副驾驶位座椅高度", "chair_passenger_header": "副驾驶位座椅头枕", "chair_passenger_shifting": "副驾驶位座椅位移"}, "seat_heating": {"node_desc": "座椅加热", "seat_heating_driver_gear": "主驾驶座加热档位", "seat_heating_passenger_gear": "副驾驶座加热档位"}}, "light": {"fog_light": {"node_desc": "雾灯", "fog_fl_light": "前左雾灯", "fog_fr_light": "前右雾灯", "fog_rear_light": "后雾灯"}, "node_desc": "灯光", "foot_light": "脚灯", "read_light": {"node_desc": "阅读灯", "read_fl_light": "左前阅读灯", "read_fr_light": "右前阅读灯", "read_rl_light": "右前阅读灯", "read_rr_light": "右后阅读灯"}, "tail_light": {"node_desc": "尾灯", "tail_l_light": "左尾灯", "tail_r_light": "右尾灯"}, "turn_light": {"node_desc": "转向灯", "turn_l_light": "左侧转向灯", "turn_r_light": "左侧转向灯", "turn_fl_light": "左前转向灯", "turn_fr_light": "右前转向灯", "turn_rl_light": "左后转向灯", "turn_rr_light": "右后转向灯"}, "brake_light": {"node_desc": "刹车灯", "brake_h_light": "高位刹车灯", "brake_l_light": "左刹车灯", "brake_r_light": "右刹车灯"}, "trunk_light": "后备箱灯", "backup_light": "倒车灯", "hazard_light": "警示灯", "license_light": "牌照灯", "welcome_light": {"node_desc": "迎宾灯", "welcome_fl_light": "左前迎宾灯", "welcome_fr_light": "右前迎宾灯", "welcome_rl_light": "左后迎宾灯", "welcome_rr_light": "右后迎宾灯"}, "cosmetic_light": {"node_desc": "化妆灯", "cosmetic_fl_light": "左前化妆灯", "cosmetic_fr_light": "右后化妆灯", "cosmetic_rl_light": "左后化妆灯"}, "glovebox_light": "手套箱灯", "clearance_light": "示廓灯", "rear_view_ground": "后视镜照地灯", "head_light_status": "大灯照明模式"}, "radar": {"node_desc": "雷达", "raer_radar": {"node_desc": "后雷达", "rear_radar_status": "后雷达状态", "rear_radar_interval": "后方障碍物距离"}, "front_radar": {"node_desc": "前雷达", "front_radar_status": "前雷达状态", "front_radar_interval": "前方障碍物距离"}}, "cooling": {"coolant": "冷却液", "node_desc": "冷却系统", "water_pump": "水泵", "water_tank": "水箱", "cooling_fan": "风扇", "cooling_radiator": "散热器", "water_temperature": "水温"}, "steering": {"node_desc": "方向盘", "steering_wheel_angle": "打转角度"}, "node_desc": "车身与HVAC", "lubricating": {"oil_pump": "机油泵", "node_desc": "润滑系统", "oil_ducts": "油道", "oil_level": "机油油位", "oil_filter": "机油滤清器", "pressure_plug": "感压塞", "oil_gather_colander": "集滤器", "pressure_limiting_valve": "限压阀"}, "cigar_lighter": {"node_desc": "点烟器", "cigar_lighter_rear": "后点烟器", "cigar_lighter_temp": "点烟器温度", "cigar_lighter_driver": "前点烟器"}, "cleaning_fluid": "清洗液"}}</ModuleSchema>\\r\\n\\t\\t\\t<GmtModified>1537255499517</GmtModified>\\r\\n\\t\\t\\t<ProjectId>PIC3UA0V</ProjectId>\\r\\n\\t\\t\\t<AuthTypeDesc>用户模式</AuthTypeDesc>\\r\\n\\t\\t\\t<Id>53</Id>\\r\\n\\t\\t\\t<DeviceModelId>208</DeviceModelId>\\r\\n\\t\\t\\t<AuthType>101</AuthType>\\r\\n\\t\\t\\t<Namespace>b09e93ce436aaf0dcfc2fb2004c1fde8</Namespace>\\r\\n\\t\\t</List>\\r\\n\\t</PageList>\\r\\n</ListShadowSchemasResponse>","errorExample":""}]', + 'title' => '获取schema分页数据', + 'summary' => '根据项目ID、分页信息等,获取schema的分页数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListDeviceTypes' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListShadowSchemas', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ + ], + 'ListSupportFeatures' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'AK' => [], ], ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceTypes' => [ - 'description' => '返回内容', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '1B0DA203-B3BA-43CD-9506-5DF33ACEFF26'], + 'SupportFeatures' => [ + 'description' => '已开通的服务模块', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DeviceType' => [ - 'description' => '设备类型标识'."\n", - 'type' => 'string', - 'example' => 'car_auto', - ], - 'Name' => [ - 'description' => '设备类型名称'."\n", - 'type' => 'string', - 'example' => '智能汽车', - ], + 'Name' => ['description' => '服务名称', 'type' => 'string', 'example' => 'OTA'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceTypes\\": [\\n {\\n \\"Name\\": \\"智能汽车\\",\\n \\"DeviceType\\": \\"car_auto\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDeviceTypesResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>路由器</Name>\\r\\n\\t\\t<DeviceType>router</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>电视</Name>\\r\\n\\t\\t<DeviceType>tv</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>平板</Name>\\r\\n\\t\\t<DeviceType>pad</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>手机</Name>\\r\\n\\t\\t<DeviceType>phone</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>智能汽车</Name>\\r\\n\\t\\t<DeviceType>car_auto</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>考勤机</Name>\\r\\n\\t\\t<DeviceType>attendance</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n\\t<DeviceTypes>\\r\\n\\t\\t<Name>电子班牌</Name>\\r\\n\\t\\t<DeviceType>electronic_plate</DeviceType>\\r\\n\\t</DeviceTypes>\\r\\n</ListDeviceTypesResponse>","errorExample":""}]', - 'title' => '获取系统支持的所有设备类型列表', - 'summary' => '调用ListDeviceTypes获取系统支持的所有设备类型列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B0DA203-B3BA-43CD-9506-5DF33ACEFF26\\",\\n \\"SupportFeatures\\": [\\n {\\n \\"Name\\": \\"OTA\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListSupportFeaturesResponse>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>OTA</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>DIS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>IAS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>RA</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>CMNS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<RequestId>1B0DA203-B3BA-43CD-9506-5DF33ACEFF26</RequestId>\\r\\n</ListSupportFeaturesResponse>","errorExample":""}]', + 'title' => '查询已开通的服务列表', + 'summary' => '调用ListSupportFeatures查询已开通的服务列表。', + 'description' => '> 查询用户已开通哪些IoVCC的服务模块。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListMessageReceivers' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-14T11:20:41.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListSupportFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListTriggers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'sfgsghd6', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'MessageId', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '消息ID。', - 'type' => 'string', - 'required' => true, - 'example' => '32555', - ], + 'schema' => ['description' => '命名空间,如:syncstore的namespace', 'type' => 'string', 'required' => true, 'example' => 'f323baa35c304751a4b1254adc8230bf'], ], [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -14980,153 +11174,121 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'MessageReceivers' => [ - 'description' => '分页查询设备接收者数据对象。', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'TriggerList' => [ + 'description' => '触发器列表', 'type' => 'object', 'properties' => [ 'Pagination' => [ - 'description' => '分页查询对象。', + 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'PageIndex' => [ - 'description' => '分页页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'PageIndex' => ['description' => '目标页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '分页总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageSize' => ['description' => '每页所显示的项数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], ], ], - 'List' => [ - 'description' => '设备接收者对象列表。', + 'Triggers' => [ + 'description' => '触发器数组', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '消息接收对象类型。'."\n" - ."\n" - .'取值:**uuid**(deviceId)、**imei**、**kp**、**terminal**。', - 'type' => 'string', - 'example' => 'uuid', - ], - 'Value' => [ - 'description' => '设备接收对象值。', - 'type' => 'string', - 'example' => 'fc35429dff9b473c81d7ef5f62ab11dc', - ], - 'Mid' => [ - 'description' => '消息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33566', + 'Status' => ['description' => '触发器状态,-1:关联函数已删除;1:关联函数未部署;2:关联函数已部署', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'Type' => ['description' => '触发器类型,0:syncstore', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Production' => ['description' => '是否在生产环境触发,0:不在该环境执行;1:在该环境执行,默认为0', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Functions' => [ + 'description' => '函数数组', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtCreate' => ['description' => '创建时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535872636000'], + 'FileName' => ['description' => '文件名', 'type' => 'string', 'example' => 'hello.zip'], + 'Name' => ['description' => '函数名', 'type' => 'string', 'example' => 'someFunc'], + 'GmtModified' => ['description' => '修改时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535872636000'], + 'Id' => ['description' => '函数ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'FileId' => ['description' => '文件ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], ], + 'Sandbox' => ['description' => '是否在沙箱环境触发,0:不在该环境执行;1:在该环境执行,默认为0', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Namespace' => ['description' => '命名空间,如:syncstore的namespace', 'type' => 'string', 'example' => 'f323baa35c304751a4b1254adc8230bf'], + 'GmtModified' => ['description' => '修改时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535873636000'], + 'Source' => ['description' => '触发器触发的事件标识,如:syncstore路径', 'type' => 'string', 'example' => '/'], + 'ChainedFunctionIds' => ['description' => '链式函数ID,多个以英文逗号”,“分隔,分别对应Functions数组的每一项', 'type' => 'string', 'example' => '/'], + 'GmtCreate' => ['description' => '创建时间,精确到毫秒的Unix时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1535873636000'], + 'InvocationMode' => ['description' => '调用模式,0:串行(同步)调用;1:并行(异步)调用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Id' => ['description' => '触发器ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'description' => '', ], ], ], ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"MessageReceivers\\": {\\n \\"List\\": [\\n {\\n \\"Type\\": \\"uuid\\",\\n \\"Value\\": \\"fc35429dff9b473c81d7ef5f62ab11dc\\",\\n \\"Mid\\": 33566\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 30,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The MessageId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListMessageReceiversResponse>\\r\\n\\t<MessageReceivers>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Mid>106577</Mid>\\r\\n\\t\\t\\t<Type>deviceId</Type>\\r\\n\\t\\t\\t<Value>1583820a2cf345a8810b3e0a2435b16f</Value>\\r\\n\\t\\t</List>\\r\\n\\t</MessageReceivers>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListMessageReceiversResponse>","errorExample":""}]', - 'title' => '根据消息ID查询消息设备接收对象列表', - 'summary' => '调用ListMessageReceivers根据消息ID查询消息设备接收对象列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"TriggerList\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 11\\n },\\n \\"Triggers\\": [\\n {\\n \\"Status\\": 2,\\n \\"Type\\": 0,\\n \\"Production\\": 1,\\n \\"Functions\\": [\\n {\\n \\"GmtCreate\\": 1535872636000,\\n \\"FileName\\": \\"hello.zip\\",\\n \\"Name\\": \\"someFunc\\",\\n \\"GmtModified\\": 1535872636000,\\n \\"Id\\": 1,\\n \\"FileId\\": 1\\n }\\n ],\\n \\"Sandbox\\": 1,\\n \\"Namespace\\": \\"f323baa35c304751a4b1254adc8230bf\\",\\n \\"GmtModified\\": 1535873636000,\\n \\"Source\\": \\"/\\",\\n \\"ChainedFunctionIds\\": \\"/\\",\\n \\"GmtCreate\\": 1535873636000,\\n \\"InvocationMode\\": 0,\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListTriggersResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n\\t<TriggerList>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<Triggers>\\r\\n\\t\\t\\t<Functions>\\r\\n\\t\\t\\t\\t<FileId>46</FileId>\\r\\n\\t\\t\\t\\t<FileName>hello.zip</FileName>\\r\\n\\t\\t\\t\\t<GmtCreate>1536201206000</GmtCreate>\\r\\n\\t\\t\\t\\t<GmtModified>1536201206000</GmtModified>\\r\\n\\t\\t\\t\\t<Id>36</Id>\\r\\n\\t\\t\\t\\t<Name>someFunc</Name>\\r\\n\\t\\t\\t</Functions>\\r\\n\\t\\t\\t<GmtCreate>1537154684000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1537154684000</GmtModified>\\r\\n\\t\\t\\t<Id>2533</Id>\\r\\n\\t\\t\\t<InvocationMode>0</InvocationMode>\\r\\n\\t\\t\\t<Namespace>f323baa35c304751a4b1254adc8230bf</Namespace>\\r\\n\\t\\t\\t<Production>1</Production>\\r\\n\\t\\t\\t<Sandbox>1</Sandbox>\\r\\n\\t\\t\\t<Source>/</Source>\\r\\n\\t\\t\\t<Status>2</Status>\\r\\n\\t\\t\\t<Type>0</Type>\\r\\n\\t\\t</Triggers>\\r\\n\\t</TriggerList>\\r\\n</ListTriggersResponse>","errorExample":""}]', + 'title' => '按分页列出触发器', + 'summary' => '调用ListTriggers列出触发器,支持分页。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceBrand' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListTriggers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListUpstreamAppKeyRelations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], - ], - [ - 'name' => 'DeviceBrandId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌ID,和**DeviceBrand**不能同时为空。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'DeviceBrand', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌名称,和**DeviceBrandId**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'TmallGenius', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'], ], [ - 'name' => 'Start', + 'name' => 'AppServerId', 'in' => 'query', - 'schema' => [ - 'description' => '查询列表起始位置。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '服务端应用ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'], ], [ - 'name' => 'Length', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '查询列表最大长度。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -15134,103 +11296,96 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceBrand' => [ - 'description' => '查询结果。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'RelationList' => [ + 'description' => '应用映射关系分页查询数据对象。', 'type' => 'object', 'properties' => [ - 'DeviceBrandId' => [ - 'description' => '品牌ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '品牌描述'."\n", - 'type' => 'string', - 'example' => '天猫精灵品牌', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'Manufacture' => [ - 'description' => '生产厂商'."\n", - 'type' => 'string', - 'example' => 'Alibaba', + 'Pagination' => [ + 'description' => '分页对象。', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页查询页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分页每页数据集大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], ], - 'DeviceBrand' => [ - 'description' => '品牌名称'."\n", - 'type' => 'string', - 'example' => '天猫精灵', + 'List' => [ + 'description' => '映射关系列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => '会员中心'], + 'AppKey' => ['description' => '客户端应用标识,为cmns应用appKey。', 'type' => 'string', 'example' => 'afsgwewt'], + 'AppPackage' => ['description' => '应用包名。', 'type' => 'string', 'example' => 'com.test.member'], + 'ProjectId' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'example' => 'fsgtd5y5r'], + 'GmtCreate' => ['description' => '记录创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525696592000'], + 'PAppKey' => ['description' => '服务端应用标识。', 'type' => 'string', 'example' => 'cfsgweFv'], + 'Id' => ['description' => '记录ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], ], ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceBrand\\": {\\n \\"Manufacture\\": \\"Alibaba\\",\\n \\"DeviceBrandId\\": 1,\\n \\"Description\\": \\"天猫精灵品牌\\",\\n \\"DeviceBrand\\": \\"天猫精灵\\",\\n \\"ProjectId\\": \\"projectTest\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceBrandResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceBrand>\\r\\n\\t\\t<Description>天猫精灵品牌</Description>\\r\\n\\t\\t<DeviceBrand>天猫精灵</DeviceBrand>\\r\\n\\t\\t<DeviceBrandId>1</DeviceBrandId>\\r\\n\\t\\t<Manufacture>Alibaba</Manufacture>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t</DeviceBrand>\\r\\n</DescribeDeviceBrandResponse>","errorExample":""}]', - 'title' => '查询获取设备品牌信息', - 'summary' => '根据品牌ID或品牌名称,查询获取设备品牌信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"RelationList\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n },\\n \\"List\\": [\\n {\\n \\"AppName\\": \\"会员中心\\",\\n \\"AppKey\\": \\"afsgwewt\\",\\n \\"AppPackage\\": \\"com.test.member\\",\\n \\"ProjectId\\": \\"fsgtd5y5r\\",\\n \\"GmtCreate\\": 1525696592000,\\n \\"PAppKey\\": \\"cfsgweFv\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppServerId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListUpstreamAppKeyRelationsResponse>\\r\\n\\t<RelationList>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<AppKey>gU4bcOff</AppKey>\\r\\n <AppName>会员中心</AppName>\\r\\n <AppPackage>com.test.member</AppPackage>\\r\\n\\t\\t\\t<GmtCreate>1525696754000</GmtCreate>\\r\\n\\t\\t\\t<Id>275</Id>\\r\\n\\t\\t\\t<PAppKey>JU3ffOub</PAppKey>\\r\\n\\t\\t\\t<ProjectId>fJCR8g2I</ProjectId>\\r\\n\\t\\t</List>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</RelationList>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListUpstreamAppKeyRelationsResponse>","errorExample":""}]', + 'title' => '查询上行消息客户端与服务端映射列表', + 'summary' => '根据服务端应用ID,查询上行消息客户端与服务端映射列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceIdByOuterInfo' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListUpstreamAppKeyRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListUpstreamAppServers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'], ], [ - 'name' => 'QueryType', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '第三方设备唯一标识类型。'."\n" - ."\n" - .'目前支持:**sn**、**vin**、**hardware_id**。', - 'type' => 'string', - 'required' => false, - 'example' => 'sn', - ], + 'schema' => ['description' => '分页查询页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'QueryValue', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '第三方设备唯一标识的值。', - 'type' => 'string', - 'required' => false, - 'example' => '12345abcde', - ], + 'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'string', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -15238,78 +11393,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceId' => [ - 'description' => '设备ID。', - 'type' => 'string', - 'example' => 'deviceabcde', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'AppServers' => [ + 'description' => '服务端应用分页查询数据对象。', + 'type' => 'object', + 'properties' => [ + 'Pagination' => [ + 'description' => '分页对象', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => ['description' => '分页查询页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalPageCount' => ['description' => '总分页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分页每页数据集大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '数据集总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + ], + 'List' => [ + 'description' => '服务端应用列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProjectId' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'example' => 'Gs6st7ye'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525701500000'], + 'Tags' => ['description' => '上行消息业务标签。多个标签通过英文逗号拼接。', 'type' => 'string', 'example' => 'tag1,tag2,tag3'], + 'QueueNameList' => ['description' => 'mns消费队列列表,应用服务端通过该队列接收上行消息,多个队列通过英文逗号拼接。', 'type' => 'string', 'example' => 'com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3'], + 'PAppKey' => ['description' => '服务端应用唯一标识', 'type' => 'string', 'example' => 'fsgstyye'], + 'GmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1525701500000'], + 'Name' => ['description' => '服务端应用名称', 'type' => 'string', 'example' => 'iovcc-test'], + 'Id' => ['description' => '记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'description' => '', + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceId\\": \\"deviceabcde\\",\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceIdByOuterInfoResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceId>deviceabcde</DeviceId>\\r\\n</DescribeDeviceIdByOuterInfoResponse>","errorExample":""}]', - 'title' => '根据第三方设备唯一标识查询设备ID', - 'summary' => '调用DescribeDeviceIdByOuterInfo根据第三方设备唯一标识查询设备ID。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"AppServers\\": {\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n },\\n \\"List\\": [\\n {\\n \\"ProjectId\\": \\"Gs6st7ye\\",\\n \\"GmtCreate\\": 1525701500000,\\n \\"Tags\\": \\"tag1,tag2,tag3\\",\\n \\"QueueNameList\\": \\"com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3\\",\\n \\"PAppKey\\": \\"fsgstyye\\",\\n \\"GmtModified\\": 1525701500000,\\n \\"Name\\": \\"iovcc-test\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The ProjectId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListUpstreamAppServersResponse>\\r\\n\\t<AppServers>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>7</Id>\\r\\n\\t\\t\\t<PAppKey>jRfe7P5k</PAppKey>\\r\\n\\t\\t\\t<ProjectId>8ZJH0595</ProjectId>\\r\\n\\t\\t\\t<Name>test1</Name>\\r\\n\\t\\t\\t<Tags>testTag</Tags>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1514357674000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1525427071182</GmtModified>\\r\\n\\t\\t\\t<QueueNameList>com-yunos-iovcc-cmns-forward-qa-jRfe7P5k-testTag</QueueNameList>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>6</Id>\\r\\n\\t\\t\\t<PAppKey>mRFG7Bee</PAppKey>\\r\\n\\t\\t\\t<ProjectId>8ZJH0595</ProjectId>\\r\\n\\t\\t\\t<Name>test2</Name>\\r\\n\\t\\t\\t<Tags>tag1,tag2,tag3</Tags>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1514344420000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1525427071182</GmtModified>\\r\\n\\t\\t\\t<QueueNameList>com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3</QueueNameList>\\r\\n\\t\\t</List>\\r\\n\\t</AppServers>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListUpstreamAppServersResponse>","errorExample":""}]', + 'title' => '获取上行消息服务端应用列表', + 'summary' => '根据项目工程ID获取上行消息服务端应用列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDeviceInfo' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListUpstreamAppServers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListVersionDeviceGroups' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DeviceId', - 'in' => 'query', - 'schema' => [ - 'description' => '设备ID。'."\n" - ."\n" - .'和**DeviceToken**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'DeviceToken', - 'in' => 'query', - 'schema' => [ - 'description' => '设备Token。'."\n" - ."\n" - .'和**DeviceId**不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn.xxxxxxx', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], ], 'responses' => [ @@ -15317,209 +11481,142 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceInfo' => [ - 'description' => '返回内容。', - 'type' => 'object', - 'properties' => [ - 'SerialNumber' => [ - 'description' => '设备序列号'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'Status' => [ - 'description' => '设备状态', - 'type' => 'string', - 'example' => '1', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'MacAddress' => [ - 'description' => 'MAC地址'."\n", - 'type' => 'string', - 'example' => '00:00:00:00:00:00', - ], - 'DeviceId' => [ - 'description' => '设备ID'."\n", - 'type' => 'string', - 'example' => 'cn.1234567890', - ], - 'DeviceType' => [ - 'description' => '设备类型'."\n", - 'type' => 'string', - 'example' => '智能家居', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'DeviceModel' => [ - 'description' => '设备型号'."\n", - 'type' => 'string', - 'example' => 'X1', - ], - 'UsageType' => [ - 'description' => '设备使用性质。'."\n" - ."\n" - .'- **0**:私人设备'."\n" - .'- **1**:运营或共享设备'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Vin' => [ - 'description' => '设备车架号(汽车相关产品使用)'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'UsageTypeDesc' => [ - 'description' => '设备使用性质描述。'."\n" - ."\n" - .'- **private**:私人设备'."\n" - .'- **business**:运营或共享设备', - 'type' => 'string', - 'example' => 'private', - ], - 'Uuid' => [ - 'description' => '设备UUID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'HardwareId' => [ - 'description' => '硬件ID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxx', - ], - 'Region' => [ - 'description' => '设备所在国家代码'."\n", - 'type' => 'string', - 'example' => 'cn', - ], - 'SoftwareId' => [ - 'description' => '软件ID'."\n", - 'type' => 'string', - 'example' => 'xxxxxxxx', - ], - 'Name' => [ - 'description' => '设备昵称'."\n", - 'type' => 'string', - 'example' => '我的天猫精灵', - ], - 'DeviceBrand' => [ - 'description' => '设备品牌'."\n", - 'type' => 'string', - 'example' => 'TmallGenuine', + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'DeviceGroupList' => [ + 'description' => '结果列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GmtModify' => ['description' => '修改时间', 'type' => 'string', 'example' => '2018-01-01 00:01:00'], + 'Description' => ['description' => '分组描述', 'type' => 'string', 'example' => '测试'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2018-01-01 00:00:00'], + 'Name' => ['description' => '分组名', 'type' => 'string', 'example' => '升级分组'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceInfo\\": {\\n \\"Status\\": \\"1\\",\\n \\"SerialNumber\\": \\"xxxxxxxx\\",\\n \\"DeviceModelId\\": 10,\\n \\"MacAddress\\": \\"00:00:00:00:00:00\\",\\n \\"DeviceType\\": \\"智能家居\\",\\n \\"DeviceId\\": \\"cn.1234567890\\",\\n \\"ProjectId\\": \\"projectTest\\",\\n \\"DeviceModel\\": \\"X1\\",\\n \\"Vin\\": \\"xxxxxxxx\\",\\n \\"UsageType\\": 0,\\n \\"UsageTypeDesc\\": \\"private\\",\\n \\"Uuid\\": \\"xxxxxxxx\\",\\n \\"HardwareId\\": \\"xxxxxxx\\",\\n \\"Region\\": \\"cn\\",\\n \\"SoftwareId\\": \\"xxxxxxxx\\",\\n \\"Name\\": \\"我的天猫精灵\\",\\n \\"DeviceBrand\\": \\"TmallGenuine\\"\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<DescribeDeviceInfoResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<DeviceInfo>\\r\\n\\t\\t<DeviceBrand>TmallGenuine</DeviceBrand>\\r\\n\\t\\t<DeviceId>cn.1234567890</DeviceId>\\r\\n\\t\\t<DeviceModel>X1</DeviceModel>\\r\\n\\t\\t<DeviceModelId>10</DeviceModelId>\\r\\n\\t\\t<DeviceType>智能家居</DeviceType>\\r\\n\\t\\t<HardwareId>xxxxxxx</HardwareId>\\r\\n\\t\\t<MacAddress>00:00:00:00:00:00</MacAddress>\\r\\n\\t\\t<Name>我的天猫精灵</Name>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t\\t<Region>cn</Region>\\r\\n\\t\\t<SerialNumber>xxxxxx</SerialNumber>\\r\\n\\t\\t<SoftwareId>xxxxxx</SoftwareId>\\r\\n\\t\\t<UsageType>0</UsageType>\\r\\n\\t\\t<UsageTypeDesc>private</UsageTypeDesc>\\r\\n\\t\\t<Uuid>xxxxxx</Uuid>\\r\\n\\t</DeviceInfo>\\r\\n</DescribeDeviceInfoResponse>","errorExample":""}]', - 'title' => '获取设备信息', - 'summary' => '调用DescribeDeviceInfo获取设备信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroupList\\": [\\n {\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": \\"1\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<ListVersionDeviceGroupsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupList>\\r\\n\\t\\t<Id>1</Id>\\r\\n\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t<Description>测试</Description>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t</DeviceGroupList>\\r\\n</ListVersionDeviceGroupsResponse>","errorExample":""}]', + 'title' => '列出项目下的所有测试设备分组信息', + 'summary' => '调用ListVersionDeviceGroups列出项目下的所有测试设备分组信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ConnectAssistDevice' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListVersionDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'PublishAppVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'HardwareId', - 'in' => 'formData', - 'schema' => [ - 'description' => '硬件ID', - 'type' => 'string', - 'required' => false, - 'example' => 'BALFL8429HI', - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AllowCommandExtension', - 'in' => 'formData', - 'schema' => [ - 'description' => '允许执行扩展命令', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'DeviceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '6fde56979c484b93b99fba257e3cbe83', - ], + 'name' => 'SendMessage', + 'in' => 'query', + 'schema' => ['description' => '是否发送消息', 'type' => 'boolean', 'required' => true, 'example' => 'false'], ], - [ - 'name' => 'SerialNumber', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '序列号', - 'type' => 'string', - 'required' => false, - 'example' => 'BALFL8429SN', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<PublishAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PublishAppVersionResponse>","errorExample":""}]', + 'title' => '发布应用版本', + 'summary' => '发布应用版本,可控制是否推送升级消息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'VIN', - 'in' => 'formData', - 'schema' => [ - 'description' => '车架号', - 'type' => 'string', - 'required' => false, - 'example' => 'LHK000026VFAG7A31', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:PublishAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'PublishOsVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'UUID', - 'in' => 'formData', - 'schema' => [ - 'description' => 'AliOS设备UUID', - 'type' => 'string', - 'required' => false, - 'example' => '842972B2C0F4C9F030E60769CA65806A', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ [ 'name' => 'ProjectId', - 'in' => 'formData', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'PZ1HK7JZ', - ], + 'in' => 'query', + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'SendMessage', + 'in' => 'query', + 'schema' => ['description' => '是否推送消息', 'type' => 'boolean', 'required' => true, 'example' => 'false'], ], ], 'responses' => [ @@ -15527,152 +11624,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ConnectAssistDeviceResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ConnectAssistDeviceResponse>","errorExample":""}]', - 'title' => '通知设备建立诊断连接', - 'summary' => '通知设备建立诊断web socket连接。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<PublishOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PublishOsVersionResponse>","errorExample":""}]', + 'title' => '发布系统版本', + 'summary' => '发布系统版本,可控制是否推送升级消息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CountActivatedOrNewRegistrationDevice' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:PublishOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'PushMessage' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'ProjectId', + 'name' => 'AppPackage', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '消息归属客户端应用包名。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.iovcc.cmns.test'], ], [ - 'name' => 'DeviceType', + 'name' => 'Desc', 'in' => 'query', - 'schema' => [ - 'description' => '设备类型', - 'type' => 'string', - 'required' => false, - 'example' => 'car_auto', - ], + 'schema' => ['description' => '通知内容详情,消息类型为通知时必传。', 'type' => 'string', 'required' => false, 'example' => 'this is desc test'], ], [ - 'name' => 'DeviceBrandId', + 'name' => 'Act', 'in' => 'query', - 'schema' => [ - 'description' => '设备品牌ID', - 'type' => 'string', - 'required' => false, - 'example' => '15', - ], + 'schema' => ['description' => '广播侦听通道,为客户端与服务端约定配置。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.iovcc.action'], ], [ - 'name' => 'DeviceBrand', + 'name' => 'Uri', 'in' => 'query', - 'schema' => [ - 'description' => '设备品牌名称', - 'type' => 'string', - 'required' => false, - 'example' => 'ROEWE', - ], + 'schema' => ['description' => 'alios4.0专用,alios设备通知和透传消息时必传。', 'type' => 'string', 'required' => false, 'example' => 'page://broadcast.yunos.com'], ], [ - 'name' => 'DeviceModelId', + 'name' => 'PkgContent', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'required' => false, - 'example' => '105', - ], + 'schema' => ['description' => 'android intent属性值参数,为json字符串,用户可选择设置"component","uri","type","package","category"等5个intent属性key。', 'type' => 'string', 'required' => true, 'example' => '{"package":"com.aliyun.iovcc.cmns.test"}'], ], [ - 'name' => 'DeviceModel', + 'name' => 'CustomContent', 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名称', - 'type' => 'string', - 'required' => false, - 'example' => 'ROEWE RX5', - ], + 'schema' => ['description' => '用户自定义内容。'."\n" + ."\n" + .'为json字符串,json字符串中不得使用关键字"cmns"作为字段,消息类型为透传(type=1)时必传。', 'type' => 'string', 'required' => false, 'example' => '{"key1":"value1","key2":"value2"}'], ], [ - 'name' => 'DeviceCountStatType', + 'name' => 'ReceiverType', 'in' => 'query', - 'schema' => [ - 'description' => '统计粒度类型,byDay表示按日,byMonth表示按月', - 'type' => 'string', - 'required' => false, - 'example' => 'byDay', - ], + 'schema' => ['description' => '消息接收对象类型。取值:"**uuid**"、"**imei**"、"**kp**"、"**terminal**"。'."\n" + ."\n" + .'- 按设备维度发送时,选择**uuid**或者**imei**。'."\n" + .'- 按账号维度发送时,选择**kp**。'."\n" + .'- 按设备类型维度时,选择**terminal**。', 'type' => 'string', 'required' => true, 'example' => 'uuid'], ], [ - 'name' => 'IsQueryNewRegistrationDevice', + 'name' => 'ReceiverValues', 'in' => 'query', - 'schema' => [ - 'description' => '是否查看激活设备, true表示是,表示查询设备激活的变化曲线;false表示否,表示查询设备活跃的变化曲线。', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '消息接收对象值,多个接收对象通过英文逗号拼接。'."\n" + ."\n" + .'- 按照**uuid**或者**imei**的值拼接,最多限制1000个设备。'."\n" + .'- 按照**kp**的值拼接,最多限制100个账号。'."\n" + .'- 按照**terminal**的值拼接,最多限制10个机型。', 'type' => 'string', 'required' => true, 'example' => 'b81d39b0252a4ffdb750360b262cb442, b81d39b0252a4ffdb750360b262cb411'], ], [ - 'name' => 'StartTime', + 'name' => 'ExpiredTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-08-15 12:00:00', - ], + 'schema' => ['description' => '消息过期时间。'."\n" + ."\n" + .'相对时间(即多少秒后过期,单发最多7天,群发消息最多不能超过30天),单位为S,默认1小时过期。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7200'], ], [ - 'name' => 'EndTime', + 'name' => 'Title', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '2018-08-25 12:00:00', - ], + 'schema' => ['description' => '通知标题,消息类型为通知时必传。', 'type' => 'string', 'required' => false, 'example' => 'this is test test'], ], [ - 'name' => 'IsQueryYearlyActivate', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '是否以年维度查询活跃设备趋势', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'], + ], + [ + 'name' => 'AppKey', + 'in' => 'query', + 'schema' => ['description' => 'cmns客户端应用appKey。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.aicc.test'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '消息类型。取值:**1**表示透传消息,**2**表示通知。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -15680,107 +11750,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'Statistics' => [ - 'description' => '统计数据返回结果', - 'type' => 'object', - 'properties' => [ - 'Categories' => [ - 'type' => 'array', - 'items' => [ - 'description' => '统计的时间维度', - 'type' => 'string', - 'example' => '["1568217600000","1568649600000"]', - ], - ], - 'Series' => [ - 'description' => '统计的分类结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'type' => 'array', - 'items' => [ - 'description' => '当前分类统计的数据结果', - 'type' => 'string', - 'example' => '[3,3]', - ], - ], - 'Name' => [ - 'description' => '统计分类', - 'type' => 'string', - 'example' => 'increment', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], + 'Mid' => ['description' => '消息ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '354677'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"Statistics\\": {\\n \\"Series\\": [\\n {\\n \\"Name\\": \\"increment\\",\\n \\"Data\\": [\\n \\"[3,3]\\"\\n ]\\n }\\n ],\\n \\"Categories\\": [\\n \\"[\\\\\\"1568217600000\\\\\\",\\\\\\"1568649600000\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', - 'title' => '多维度统计设备的激活、活跃', - 'summary' => '支持按日、按月统计。', - 'description' => '多维度统计设备的激活、活跃,且支持按日、按月统计', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Mid\\": 354677\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppPackage is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<PushMessageResponse>\\r\\n\\t<Mid>354677</Mid>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</PushMessageResponse>","errorExample":""}]', + 'title' => '推送消息到设备端', + 'summary' => '推送消息到设备端,支持透传、通知两种消息类型。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CountDeviceBrands' => [ - 'methods' => [ - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iovcc:PushMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'PushVersionMessage' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DeviceBrandId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'DeviceBrand', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌名称', - 'type' => 'string', - 'required' => false, - 'example' => 'Tmall', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'ProjectId', + 'name' => 'VersionType', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'schema' => ['description' => '版本类型,取值:'."\n" + ."\n" + .'- **FOTA**:系统版本'."\n" + .'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'], ], ], 'responses' => [ @@ -15788,86 +11816,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'BrandCount' => [ - 'description' => '品牌数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"BrandCount\\": 2,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<CountDeviceBrandsResponse>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Results>2</Results>\\r\\n</CountDeviceBrandsResponse>","errorExample":""}]', - 'title' => '查询符合条件的设备品牌数量', - 'summary' => '调用CountDeviceBrands查询符合条件的设备品牌数量。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<PushVersionMessageResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</PushVersionMessageResponse>","errorExample":""}]', + 'title' => '给某一版本下的所有机型推送升级消息', + 'summary' => '调用PushVersionMessage给某一版本下的所有机型推送升级消息。', + 'description' => '> 只能给“预发布”,“已发布”状态的版本推送消息。'."\n" + ."\n" + .'- 针对系统版本推送,因为系统版本只关联一个机型,会对该机型下所有设备推送升级消息。'."\n" + .'- 针对应用版本推送,则会对应用版本下的所有关联机型覆盖的设备推送升级消息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CountDeviceModels' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iovcc:PushVersionMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'QueryPrepublishPassedDeviceCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], - ], - [ - 'name' => 'DeviceModelId', - 'in' => 'query', - 'schema' => [ - 'description' => '设备型号ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'DeviceModel', - 'in' => 'query', - 'schema' => [ - 'description' => '设备型号名,支持模糊查询', - 'type' => 'string', - 'required' => false, - 'example' => 'X1', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'DeviceBrand', + 'name' => 'PrepublishId', 'in' => 'query', - 'schema' => [ - 'description' => '设备品牌', - 'type' => 'string', - 'required' => false, - 'example' => 'TmallGenius', - ], + 'schema' => ['description' => '预发布ID', 'type' => 'string', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -15875,76 +11879,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'ModelCount' => [ - 'description' => '查询到的型号数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + 'Count' => ['description' => '预发布的已查询设备数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ModelCount\\": 10,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Message\\": \\"NO_PERMISSION_TO_ACCESS_PROJECT\\",\\n \\"RequestId\\": \\"81275440-EF9D-4570-A78F-7576441D3BF8\\",\\n \\"Results\\": [],\\n \\"Code\\": 10007\\n }"},{"type":"xml","example":"<CountDeviceModelsResponse>\\r\\n\\t<Message>SUCCESS</Message>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n\\t<Results>1</Results>\\r\\n\\t<Code>200</Code>\\r\\n</CountDeviceModelsResponse>","errorExample":""}]', - 'title' => '查询设备型号数量', - 'summary' => '调用CountDeviceModels查询设备型号数量。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"Count\\": 1000\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<QueryPrepublishPassedDeviceCountResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<Count>1000</Count>\\r\\n</QueryPrepublishPassedDeviceCountResponse>","errorExample":""}]', + 'title' => '查询指定预发布的已查询设备数', + 'summary' => '调用QueryPrepublishPassedDeviceCount查询指定预发布的已查询设备数,已查询设备会根据其云设备ID进行去重。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CountDevices' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:QueryPrepublishPassedDeviceCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'SubmitAssistReport' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', - ], + 'in' => 'formData', + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'], ], [ - 'name' => 'DeviceModelId', - 'in' => 'query', - 'schema' => [ - 'description' => '设备机型ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'name' => 'AssistId', + 'in' => 'formData', + 'schema' => ['description' => '诊断会话ID。', 'type' => 'string', 'required' => true, 'example' => '510'], + ], + [ + 'name' => 'AssistDescription', + 'in' => 'formData', + 'schema' => ['description' => '诊断缺陷描述,描述问题现象、复现步骤。', 'type' => 'string', 'required' => false, 'example' => '设备时间异常'], + ], + [ + 'name' => 'AssistResult', + 'in' => 'formData', + 'schema' => ['description' => '诊断结论。', 'type' => 'string', 'required' => false, 'example' => '手动设置正确时间'], + ], + [ + 'name' => 'AssistTag', + 'in' => 'formData', + 'schema' => ['description' => '诊断标签,用于历史查询,按空格分隔。', 'type' => 'string', 'required' => false, 'example' => '系统时间'], + ], + [ + 'name' => 'AssistReason', + 'in' => 'formData', + 'schema' => ['description' => '诊断原因定位,描述问题的主要原因。', 'type' => 'string', 'required' => false, 'example' => '没有和时间服务器同步'], ], [ 'name' => 'DeviceModel', - 'in' => 'query', - 'schema' => [ - 'description' => '设备机型名,支持模糊查询', - 'type' => 'string', - 'required' => false, - 'example' => 'Device Model', - ], + 'in' => 'formData', + 'schema' => ['description' => '设备model。', 'type' => 'string', 'required' => false, 'example' => 'ModelS'], ], ], 'responses' => [ @@ -15952,203 +11964,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'DeviceCount' => [ - 'description' => '设备总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeviceCount\\": 100,\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', - 'title' => '指定机型的设备总数', - 'summary' => '指定机型的设备总数。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<SubmitAssistReportResponse>\\r\\n\\t<RequestId>6F0A833B-7A86-4D92-A083-C184041E2F2D</RequestId>\\r\\n</SubmitAssistReportResponse>","errorExample":""}]', + 'title' => '提交远程诊断报告', + 'summary' => '调用SubmitAssistReport提交远程诊断报告。', + 'description' => '> 对于一次诊断,首次提交会创建一份报告,后续提交会更新报告内容。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CountYunIdInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254', - ], - 'YunIdInfo' => [ - 'description' => '云设备统计数据信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TotalBrandCount' => [ - 'description' => '总品牌数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalDeviceCount' => [ - 'description' => '总激活设备数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'TotalDeviceModelCount' => [ - 'description' => '总机型数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:SubmitAssistReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\",\\n \\"YunIdInfo\\": [\\n {\\n \\"TotalDeviceModelCount\\": 10,\\n \\"TotalBrandCount\\": 5,\\n \\"TotalDeviceCount\\": 100\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\n<YunIdInfo>\\n <TotalBrandCount>5</TotalBrandCount>\\n <TotalDeviceModelCount>10</TotalDeviceModelCount>\\n <TotalDeviceCount>100</TotalDeviceCount>\\n</YunIdInfo>","errorExample":""}]', - 'title' => '统计租户下的品牌数和机型数以及设备数', - 'summary' => '统计租户下的品牌数和机型数以及设备数。', - 'description' => '统计租户下的品牌数和机型数以及设备数', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DiagnosisVersion' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateApiGatewayAppStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OriginalId', - 'in' => 'query', - 'schema' => [ - 'description' => '对应ID类型的ID值', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], - ], - [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'P0VFCREU', - ], - ], - [ - 'name' => 'VersionType', - 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,取值有:'."\n" - ."\n" - .'- **FOTA**:系统版本'."\n" - .'- **APP**:应用版本', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'FOTA', - ], - ], - [ - 'name' => 'VersionId', - 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'IdType', - 'in' => 'query', - 'schema' => [ - 'description' => '用于判断的OriginalId的类型,取值有:**device_id**, **sn**, **vin**, **hardware_id**, **uuid **。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'device_id', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PPCVFRG7'], ], [ - 'name' => 'DiagnoseStyle', + 'name' => 'GatewayAppId', 'in' => 'query', - 'schema' => [ - 'description' => '诊断类型', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1', - ], + 'schema' => ['description' => '网关应用AppId。', 'type' => 'string', 'required' => true, 'example' => '5929076'], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '待诊断的请求查询时间段开始时间点', - 'type' => 'string', - 'required' => false, - 'example' => '2019-09-18 10:44', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '待诊断的请求查询时间段结束时间点', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '2019-09-18 14:44', - ], + 'schema' => ['description' => '状态,0-正常,1-禁用。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -16156,99 +12029,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DiagnosisResult' => [ - 'description' => '诊断结果', - 'type' => 'string', - 'example' => '无效的机型', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiagnosisResult\\": \\"无效的机型\\",\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<DiagnosisVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DiagnosisResult>无效的机型</DiagnosisResult>\\r\\n</DiagnosisVersionResponse>","errorExample":""}]', - 'title' => '诊断某特定设备查询不到某特定版本的原因', - 'summary' => '调用DiagnosisVersion诊断某特定设备查询不到某特定版本的原因。', - 'description' => '通过指定测试的设备和期望设备查询到的升级版本,可以诊断出该版本无法被查询到的原因,如:机型不匹配,版本号较低,不符合版本黑名单规则等。'."\n" - ."\n" - .'> 要求设备已接入CMNS并且已联网。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<UpdateApiGatewayAppStatusResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateApiGatewayAppStatusResponse>","errorExample":""}]', + 'title' => '修改项目关联的网关 APP 状态', + 'summary' => '调用UpdateApiGatewayAppStatus修改项目关联的网关app状态。', + 'description' => '> 禁用状态下,客户端无法调用IoVCC通过API网关暴露的接口。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindPrepublishPassedDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateApiGatewayAppStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateAppBlackWhiteVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'PrepublishId', + 'name' => 'WhiteAppVersions', 'in' => 'query', - 'schema' => [ - 'description' => '预发布ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '白名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', 'type' => 'string', 'required' => false, 'example' => '12,13,14'], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], [ - 'name' => 'DeviceId', + 'name' => 'BlackAppVersions', 'in' => 'query', - 'schema' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'required' => false, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], + 'schema' => ['description' => '黑名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', 'type' => 'string', 'required' => false, 'example' => '12,13,14'], ], ], 'responses' => [ @@ -16256,394 +12099,221 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceList' => [ - 'description' => '查询到的设备信息', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '设备列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '查询时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '124643600000', - ], - 'DeviceId' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], - 'GmtCreate' => [ - 'description' => '查询时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"TotalCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"GmtCreateTimestamp\\": 124643600000,\\n \\"DeviceId\\": \\"b8fe2e24ff2b48e0a3aa4e49809fc1b3\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<FindPrepublishPassedDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>30</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceId>b8fe2e24ff2b48e0a3aa4e49809fc1b3</DeviceId>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindPrepublishPassedDevicesResponse>","errorExample":""}]', - 'title' => '查询设备的云设备ID列表', - 'summary' => '按分页查询某一个预发布下的已查询设备的云设备ID列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppBlackWhiteVersionsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppBlackWhiteVersionsResponse>","errorExample":""}]', + 'title' => '更新应用版本的版本的黑白名单', + 'summary' => '调用UpdateAppBlackWhiteVersions更新应用版本的版本的黑白名单。', + 'description' => '例如,若配置某个应用版本,只有哪些低版本的应用版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionBlackDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppBlackWhiteVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateAppVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'BlackVersionList', + 'in' => 'query', + 'schema' => ['description' => '版本黑名单,versioncode英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '10,20,30'], + ], + [ + 'name' => 'IsAllowNewInstall', + 'in' => 'query', + 'schema' => ['description' => '当客户端不存在该应用时,服务端是否允许返回该应用版本。', 'type' => 'string', 'required' => false, 'example' => 'N'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'VersionId', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '版本ID', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => '应用ID,表示要针对哪个应用进行升级。', 'type' => 'string', 'required' => false, 'example' => '123'], ], [ - 'name' => 'VersionType', + 'name' => 'AppVersion', 'in' => 'query', - 'schema' => [ - 'description' => '版本类型,支持:'."\n" - ."\n" - .'- **FOTA**:系统升级'."\n" - .'- **APP**:应用升级', - 'type' => 'string', - 'required' => true, - 'example' => 'FOTA', - ], + 'schema' => ['description' => '应用版本号', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], [ - 'name' => 'DeviceId', + 'name' => 'VersionCode', 'in' => 'query', - 'schema' => [ - 'description' => '设备ID,模糊匹配', - 'type' => 'string', - 'required' => false, - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], + 'schema' => ['description' => '应用版本versioncode', 'type' => 'string', 'required' => false, 'example' => '100'], ], [ - 'name' => 'OriginalId', + 'name' => 'InstallType', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID,模糊匹配', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '应用升级包安装方式。取值:**auto** / **customize**。', 'type' => 'string', 'required' => false, 'example' => 'auto'], ], [ - 'name' => 'PageIndex', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '分页索引,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '版本备注', 'type' => 'string', 'required' => false, 'example' => 'sample remark'], ], [ - 'name' => 'PageSize', + 'name' => 'IsForceUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,支持10、20、50三种。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '是否强制升级,Y或N。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceList' => [ - 'description' => '设备列表信息', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '当前页设备数', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '168566700000', - ], - 'OriginalId' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'example' => '23452345234523452', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], - 'IdType' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'example' => 'hardware_id', - ], - 'GmtCreate' => [ - 'description' => '设备添加时间', - 'type' => 'string', - 'example' => '2018-02-14 14:20:18', - ], - 'Id' => [ - 'description' => 'ID,主键', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '总共符合条件的设备数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '25', - ], - ], - ], - ], - ], + [ + 'name' => 'IsSilentUpgrade', + 'in' => 'query', + 'schema' => ['description' => '是否静默升级,Y或N。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceList\\": {\\n \\"TotalCount\\": 25,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 168566700000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"hardware_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": 123\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionBlackDevicesResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceList>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceList>\\r\\n</FindVersionBlackDevicesResponse>","errorExample":""}]', - 'title' => '获取系统版本或应用版本设备黑名单', - 'summary' => '分页获取系统版本或者应用版本的设备黑名单。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'PushMessage' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'IsNeedRestart', + 'in' => 'query', + 'schema' => ['description' => '是否需要重启,Y或N。', 'type' => 'string', 'required' => false, 'example' => 'N'], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - ], - 'parameters' => [ [ - 'name' => 'AppPackage', + 'name' => 'PackageUrl', 'in' => 'query', - 'schema' => [ - 'description' => '消息归属客户端应用包名。', - 'type' => 'string', - 'required' => true, - 'example' => 'com.aliyun.iovcc.cmns.test', - ], + 'schema' => ['description' => '升级包地址', 'type' => 'string', 'required' => false, 'example' => 'http://www.oss-server.com/file.zip'], ], [ - 'name' => 'Desc', + 'name' => 'ReleaseNote', 'in' => 'query', - 'schema' => [ - 'description' => '通知内容详情,消息类型为通知时必传。', - 'type' => 'string', - 'required' => false, - 'example' => 'this is desc test', - ], + 'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => false, 'example' => 'sample release note'], ], [ - 'name' => 'Act', + 'name' => 'WhiteVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '广播侦听通道,为客户端与服务端约定配置。', - 'type' => 'string', - 'required' => true, - 'example' => 'com.aliyun.iovcc.action', - ], + 'schema' => ['description' => '版本白名单,versioncode英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '10,20,30'], ], [ - 'name' => 'Uri', + 'name' => 'RestartType', 'in' => 'query', - 'schema' => [ - 'description' => 'alios4.0专用,alios设备通知和透传消息时必传。', - 'type' => 'string', - 'required' => false, - 'example' => 'page://broadcast.yunos.com', - ], + 'schema' => ['description' => '应用安装完成后的重启类型。取值:'."\n" + ."\n" + .'- **system**:表示系统重启'."\n" + .'- **app**:表示应用重启', 'type' => 'string', 'required' => false, 'example' => 'app'], ], [ - 'name' => 'PkgContent', + 'name' => 'RestartAppType', 'in' => 'query', - 'schema' => [ - 'description' => 'android intent属性值参数,为json字符串,用户可选择设置"component","uri","type","package","category"等5个intent属性key。', - 'type' => 'string', - 'required' => true, - 'example' => '{"package":"com.aliyun.iovcc.cmns.test"}', - ], + 'schema' => ['description' => '如果restartType为应用重启,则这个字段表示应用重启的类型。'."\n" + ."\n" + .'- **service**:表示Service重启'."\n" + .'- **activity**:表示Activity重启', 'type' => 'string', 'required' => false, 'example' => 'service'], ], [ - 'name' => 'CustomContent', + 'name' => 'RestartAppParam', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义内容。'."\n" - ."\n" - .'为json字符串,json字符串中不得使用关键字"cmns"作为字段,消息类型为透传(type=1)时必传。', - 'type' => 'string', - 'required' => false, - 'example' => '{"key1":"value1","key2":"value2"}', - ], + 'schema' => ['description' => '应用重启时可以由服务端指定的重启参数', 'type' => 'string', 'required' => false, 'example' => '{"restartDelay":1}'], ], [ - 'name' => 'ReceiverType', + 'name' => 'DeviceAdapterList', 'in' => 'query', - 'schema' => [ - 'description' => '消息接收对象类型。取值:"**uuid**"、"**imei**"、"**kp**"、"**terminal**"。'."\n" - ."\n" - .'- 按设备维度发送时,选择**uuid**或者**imei**。'."\n" - .'- 按账号维度发送时,选择**kp**。'."\n" - .'- 按设备类型维度时,选择**terminal**。', - 'type' => 'string', - 'required' => true, - 'example' => 'uuid', - ], + 'schema' => ['description' => '应用版本的适配机型列表。'."\n" + ."\n" + .'格式为:`deviceModelId|minOsVersion|maxOsVersion`,即设备型号ID|最低的系统版本号|最高的系统版本号。', 'type' => 'string', 'required' => false, 'example' => '10|2.0.1-R-20180412.1024|3.0.1-R-20180412.1024,11|2.1.1-R-20180412.1024|3.1.1-R-20180412.1024'], ], [ - 'name' => 'ReceiverValues', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '消息接收对象值,多个接收对象通过英文逗号拼接。'."\n" - ."\n" - .'- 按照**uuid**或者**imei**的值拼接,最多限制1000个设备。'."\n" - .'- 按照**kp**的值拼接,最多限制100个账号。'."\n" - .'- 按照**terminal**的值拼接,最多限制10个机型。', - 'type' => 'string', - 'required' => true, - 'example' => 'b81d39b0252a4ffdb750360b262cb442, b81d39b0252a4ffdb750360b262cb411', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '11'], ], [ - 'name' => 'ExpiredTime', + 'name' => 'ApkMd5', 'in' => 'query', + 'schema' => ['description' => 'APK的MD5值', 'type' => 'string', 'required' => false, 'example' => '34653456wertwe234653retwewer3456'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '消息过期时间。'."\n" - ."\n" - .'相对时间(即多少秒后过期,单发最多7天,群发消息最多不能超过30天),单位为S,默认1小时过期。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '7200', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionResponse>","errorExample":""}]', + 'title' => '更新应用升级版本中的各项信息配置', + 'summary' => '调用UpdateAppVersion更新应用升级版本中的各项信息配置。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Title', - 'in' => 'query', - 'schema' => [ - 'description' => '通知标题,消息类型为通知时必传。', - 'type' => 'string', - 'required' => false, - 'example' => 'this is test test', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'UpdateAppVersionReleaseNote' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'sfgsghd6', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AppKey', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => 'cmns客户端应用appKey。', - 'type' => 'string', - 'required' => true, - 'example' => 'com.aliyun.aicc.test', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], ], [ - 'name' => 'Type', + 'name' => 'ReleaseNote', 'in' => 'query', - 'schema' => [ - 'description' => '消息类型。取值:**1**表示透传消息,**2**表示通知。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '发布说明', 'type' => 'string', 'required' => true, 'example' => 'sample release note'], ], ], 'responses' => [ @@ -16651,107 +12321,128 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Mid' => [ - 'description' => '消息ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '354677', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Mid\\": 354677,\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppPackage is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<PushMessageResponse>\\r\\n\\t<Mid>354677</Mid>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</PushMessageResponse>","errorExample":""}]', - 'title' => '推送消息到设备端', - 'summary' => '推送消息到设备端,支持透传、通知两种消息类型。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionReleaseNoteResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionReleaseNoteResponse>","errorExample":""}]', + 'title' => '更新应用版本的发布说明', + 'summary' => '调用UpdateAppVersionReleaseNote更新应用版本的发布说明。', + 'description' => '> 当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionDeviceGroups' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionReleaseNote', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateAppVersionRemark' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'DeviceId', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'required' => false, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'OriginalId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '123'], ], [ - 'name' => 'PageIndex', + 'name' => 'Remark', 'in' => 'query', + 'schema' => ['description' => '版本备注信息', 'type' => 'string', 'required' => true, 'example' => 'sample remark'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], + ], + 'description' => '', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionRemarkResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionRemarkResponse>","errorExample":""}]', + 'title' => '更新备注信息', + 'summary' => '在版本创建完成后,更新备注信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'UpdateAppVersionStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '分组名', - 'type' => 'string', - 'required' => false, - 'example' => '升级', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '版本状态', 'type' => 'string', 'required' => false, 'example' => 'PUBLISHED'], ], ], 'responses' => [ @@ -16759,165 +12450,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'DeviceGroupList' => [ - 'description' => '查询结果列表', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '返回记录列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtModifyTimestamp' => [ - 'description' => '修改时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16834654000000', - ], - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16834654000000', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'Description' => [ - 'description' => '分组描述', - 'type' => 'string', - 'example' => '测试', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '分组名', - 'type' => 'string', - 'example' => '升级分组', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'MaxCount' => [ - 'description' => '最大设备数', - 'type' => 'string', - 'example' => '100', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"DeviceGroupList\\": {\\n \\"TotalCount\\": 10,\\n \\"Items\\": [\\n {\\n \\"GmtModifyTimestamp\\": 16834654000000,\\n \\"GmtCreateTimestamp\\": 16834654000000,\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"升级分组\\",\\n \\"Id\\": 1,\\n \\"MaxCount\\": \\"100\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionDeviceGroupsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n\\t<DeviceGroupList>\\r\\n\\t\\t<TotalCount>10</TotalCount>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<Name>升级分组</Name>\\r\\n\\t\\t\\t<Description>测试</Description>\\r\\n\\t\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t</Items>\\r\\n\\t</DeviceGroupList>\\r\\n</FindVersionDeviceGroupsResponse>","errorExample":""}]', - 'title' => '查询测试设备分组', - 'summary' => '分页查询测试设备分组,可根据分组名、分组包含的云设备ID查询。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateAppVersionStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateAppVersionStatusResponse>","errorExample":""}]', + 'title' => '切换应用版本状态', + 'summary' => '测试通过、已发布、已下架、已废弃。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'FindVersionGroupDevices' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateCustomizedFilter' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'BlackWhiteType', + 'in' => 'query', + 'schema' => ['description' => '比较的黑白名单类型: '."\n" + ."\n" + .'- **BLACK**:黑名单 '."\n" + .'- **WHITE**:白名单', 'type' => 'string', 'required' => true, 'example' => 'BLACK'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'OriginalId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'required' => false, - 'example' => '23452345234523452', - ], + 'schema' => ['description' => '过滤条件名', 'type' => 'string', 'required' => true, 'example' => 'AnotherFilter'], ], [ - 'name' => 'PageIndex', + 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '本页开始序号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '过滤条件值', 'type' => 'string', 'required' => true, 'example' => '1,4'], ], [ - 'name' => 'PageSize', + 'name' => 'ValueType', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], + 'schema' => ['description' => '过滤条件值类型:'."\n" + ."\n" + .'唯一取值**WRITE**。', 'type' => 'string', 'required' => true, 'example' => 'WRITE'], ], [ - 'name' => 'DeviceGroupId', + 'name' => 'ValueCompareType', 'in' => 'query', - 'schema' => [ - 'description' => '测试设备分组ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '值的比较类型:'."\n" + ."\n" + .'- **NUMBER**:按数字比较 '."\n" + .'- **STRING**:按字符串比较', 'type' => 'string', 'required' => true, 'example' => 'NUMBER'], ], [ - 'name' => 'DeviceId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '云设备ID', - 'type' => 'string', - 'required' => false, - 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3', - ], + 'schema' => ['description' => '更新的自定义过滤条件ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], ], 'responses' => [ @@ -16925,138 +12542,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'GroupDeviceList' => [ - 'description' => '设备列表', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '当前分页的设备数据', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18635800000', - ], - 'OriginalId' => [ - 'description' => '源设备ID', - 'type' => 'string', - 'example' => '23452345234523452', - ], - 'DeviceId' => [ - 'description' => '设备ID', - 'type' => 'string', - 'example' => 'AS23DG23SA5D43GA34SD23GW456E', - ], - 'IdType' => [ - 'description' => '设备ID类型,支持:'."\n" - ."\n" - .'- **device_id**:硬件ID'."\n" - .'- **sn**:序列号'."\n" - .'- **vin**:车架号'."\n" - .'- **hardware_id**:硬件ID', - 'type' => 'string', - 'example' => 'device_id', - ], - 'GmtCreate' => [ - 'description' => '添加时间', - 'type' => 'string', - 'example' => '2018-02-14 14:20:18', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '设备记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"GroupDeviceList\\": {\\n \\"TotalCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 18635800000,\\n \\"OriginalId\\": \\"23452345234523452\\",\\n \\"DeviceId\\": \\"AS23DG23SA5D43GA34SD23GW456E\\",\\n \\"IdType\\": \\"device_id\\",\\n \\"GmtCreate\\": \\"2018-02-14 14:20:18\\",\\n \\"Id\\": \\"123\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindVersionGroupDevicesResponse>\\r\\n\\t<GroupDeviceList>\\r\\n\\t\\t<Items>\\r\\n\\t\\t\\t<DeviceId>AS23DG23SA5D43GA34SD23GW456E</DeviceId>\\r\\n\\t\\t\\t<GmtCreate>2018-02-14 14:20:18</GmtCreate>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<IdType>hardware_id</IdType>\\r\\n\\t\\t\\t<OriginalId>23452345234523452</OriginalId>\\r\\n\\t\\t</Items>\\r\\n\\t\\t<TotalCount>25</TotalCount>\\r\\n\\t</GroupDeviceList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindVersionGroupDevicesResponse>","errorExample":""}]', - 'title' => '查询指定分组中的设备列表', - 'summary' => '根据云设备ID,分页查询指定分组中的设备列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<UpdateCustomizedFilterResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateCustomizedFilterResponse>","errorExample":""}]', + 'title' => '更新自定义过滤条件', + 'summary' => '调用UpdateCustomizedFilter更新自定义过滤条件。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateProjectApp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateDeviceModel' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'InitUsageType', + 'in' => 'query', + 'schema' => ['description' => '设备出厂使用性质。'."\n" + ."\n" + .'0表示私人设备,1表示运营或共享设备。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'ModelName', + 'in' => 'query', + 'schema' => ['description' => '设备型号名称。', 'type' => 'string', 'required' => false, 'example' => 'X2'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '设备型号ID。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'BrandName', + 'in' => 'query', + 'schema' => ['description' => '品牌名称。', 'type' => 'string', 'required' => false, 'example' => 'ROEWE'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '型号描述。', 'type' => 'string', 'required' => false, 'example' => '荣威 RX5'], + ], + [ + 'name' => 'DeviceType', + 'in' => 'query', + 'schema' => ['description' => '设备类型。', 'type' => 'string', 'required' => false, 'example' => 'car_auto'], + ], + [ + 'name' => 'CanCreateDeviceId', + 'in' => 'query', + 'schema' => ['description' => '是否允许该型号创建设备ID。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'], ], [ - 'name' => 'AppName', + 'name' => 'HardwareType', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称', - 'type' => 'string', - 'required' => true, - 'example' => 'calendar', - ], + 'schema' => ['description' => '硬件类型。', 'type' => 'string', 'required' => false, 'example' => 'hardware_id'], ], [ - 'name' => 'AppPkgName', + 'name' => 'SecurityChip', 'in' => 'query', - 'schema' => [ - 'description' => '应用的包名', - 'type' => 'string', - 'required' => true, - 'example' => 'com.demo.calendar', - ], + 'schema' => ['description' => '是否启用芯片ID2认证加固。', 'type' => 'string', 'required' => false, 'example' => '0'], ], [ - 'name' => 'OsType', + 'name' => 'OsPlatform', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1:Android', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '系统平台。', 'type' => 'string', 'required' => false, 'example' => 'android'], + ], + [ + 'name' => 'ObjectKey', + 'in' => 'query', + 'schema' => ['description' => 'OSS存储的key。', 'type' => 'string', 'required' => false, 'example' => '1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg'], + ], + [ + 'name' => 'DeviceName', + 'in' => 'query', + 'schema' => ['description' => '设备名称。', 'type' => 'string', 'required' => false, 'example' => 'device'], ], ], 'responses' => [ @@ -17064,83 +12658,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<CreateProjectAppResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateProjectAppResponse>","errorExample":""}]', - 'title' => '在项目下创建应用', - 'summary' => '调用CreateProjectApp(在项目下)创建应用。', - 'description' => '> 项目下可以创建应用的个数不限,这里的应用是指客户端应用,目前仅支持Andirod系统的应用。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<UpdateDeviceModelResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</UpdateDeviceModelResponse>","errorExample":""}]', + 'title' => '修改设备型号信息', + 'summary' => '调用UpdateDeviceModel修改设备型号信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListProjectApps' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateNamespaceData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PIY3UB0T'], ], [ - 'name' => 'PageIndex', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码,从**1**开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Namespace唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'cc6c29893f2be7d465db44ec7b5d593e'], ], [ - 'name' => 'PageSize', + 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '每页记录条数,默认为**10**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '数据空间划分和鉴权方式。1-基于账号,2-基于设备,101-基于账号和设备。', 'type' => 'string', 'required' => true, 'example' => '101'], ], [ - 'name' => 'Keywords', + 'name' => 'DeviceIdType', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称或包名关键字。', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], + 'schema' => ['description' => '设备ID类型。取值范围:**uuid**/**sn**/**vin**/**hardware_id**。'."\n" + ."\n" + .'> 当AuthType=2或101,此项必填。', 'type' => 'string', 'required' => false, 'example' => 'uuid'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID。', 'type' => 'string', 'required' => false, 'example' => '1ac5e182e9634252a02d442a4d5d16fc'], + ], + [ + 'name' => 'AccountType', + 'in' => 'query', + 'schema' => ['description' => '用户ID类型。当AuthType=1或101,此项必填。'."\n" + ."\n" + .'- `www.weibo.com`:微博'."\n" + .'- `www.openaccount.alios.cn`:AliOS'."\n" + .'- `www.amap.com`:高德'."\n" + .'- `www.yundevicedemo.aliyun.com`:YUNDEVICE_DEMO'."\n" + .'- `anonymous`:匿名', 'type' => 'string', 'required' => false, 'example' => 'www.weibo.com'], + ], + [ + 'name' => 'AccountId', + 'in' => 'query', + 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'example' => '10000'], + ], + [ + 'name' => 'Path', + 'in' => 'query', + 'schema' => ['description' => '要修改的节点路径,如:`/CarService/Window/SunroofSlideCtrl`。', 'type' => 'string', 'required' => true, 'example' => '/CarService/Window/SunroofSlideCtrl'], + ], + [ + 'name' => 'OldData', + 'in' => 'query', + 'schema' => ['description' => '旧数据。', 'type' => 'string', 'required' => true, 'example' => '2'], + ], + [ + 'name' => 'NewData', + 'in' => 'query', + 'schema' => ['description' => '新数据。', 'type' => 'string', 'required' => true, 'example' => '5'], ], ], 'responses' => [ @@ -17148,254 +12765,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A15971B1-DC63-4AEC-A8B1-85CB8CD78227', - ], - 'Result' => [ - 'description' => '查询结果。', - 'type' => 'object', - 'properties' => [ - 'ProjectApps' => [ - 'description' => '应用列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '应用状态。'."\n" - ."\n" - .'0表示正常,1表示删除。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ProjectId' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'example' => '11', - ], - 'UserId' => [ - 'description' => '所属用户ID', - 'type' => 'string', - 'example' => '1768723179523459', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1524736376000', - ], - 'AppPkgName' => [ - 'description' => '应用包名', - 'type' => 'string', - 'example' => 'com.app1', - ], - 'AppName' => [ - 'description' => '应用名称', - 'type' => 'string', - 'example' => 'app1', - ], - 'AppSecret' => [ - 'description' => '应用AppSecret。'."\n" - ."\n" - .'默认不完全显示,只显示头尾2个字符。', - 'type' => 'string', - 'example' => 'Q******F', - ], - 'AppKey' => [ - 'description' => '应用AppKey', - 'type' => 'string', - 'example' => 'mPp7O4LW', - ], - 'AppId' => [ - 'description' => '应用AppId', - 'type' => 'string', - 'example' => 'AX4R4JWQ', - ], - 'OsType' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1524736376000', - ], - 'Id' => [ - 'description' => '主键ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '78', - ], - ], - ], - ], - 'TotalPage' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => '总记录条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A15971B1-DC63-4AEC-A8B1-85CB8CD78227\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 1,\\n \\"TotalPage\\": 1,\\n \\"ProjectApps\\": [\\n {\\n \\"Status\\": 0,\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"ProjectId\\": \\"11\\",\\n \\"GmtModified\\": 1524736376000,\\n \\"AppName\\": \\"app1\\",\\n \\"AppPkgName\\": \\"com.app1\\",\\n \\"AppSecret\\": \\"Q******F\\",\\n \\"AppKey\\": \\"mPp7O4LW\\",\\n \\"AppId\\": \\"AX4R4JWQ\\",\\n \\"OsType\\": 1,\\n \\"GmtCreate\\": 1524736376000,\\n \\"Id\\": 78\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<ListProjectAppsResponse>\\r\\n\\t<Result>\\r\\n\\t\\t<TotalPage>1</TotalPage>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<ProjectApps>\\r\\n\\t\\t\\t<OsType>1</OsType>\\r\\n\\t\\t\\t<Status>0</Status>\\r\\n\\t\\t\\t<AppSecret>Q******F</AppSecret>\\r\\n\\t\\t\\t<AppPkgName>com.app1</AppPkgName>\\r\\n\\t\\t\\t<AppId>AX4R4JWQ</AppId>\\r\\n\\t\\t\\t<AppName>app1</AppName>\\r\\n\\t\\t\\t<Id>78</Id>\\r\\n\\t\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t\\t<GmtCreate>1524736376000</GmtCreate>\\r\\n\\t\\t\\t<AppKey>mPp7O4LW</AppKey>\\r\\n\\t\\t\\t<GmtModified>1524736376000</GmtModified>\\r\\n\\t\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t\\t</ProjectApps>\\r\\n\\t</Result>\\r\\n\\t<RequestId>18178DD4-70F9-4BA1-956E-5D8ED4D5B27C</RequestId>\\r\\n</ListProjectAppsResponse>","errorExample":""}]', - 'title' => '查询所有自定义应用', - 'summary' => '根据项目ID查询项目下的所有自定义应用。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateNamespaceDataResponse>\\r\\n<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</UpdateNamespaceDataResponse>","errorExample":""}]', + 'title' => '修改Namespace中的数据', + 'summary' => '调用UpdateNamespaceData修改Namespace里存的数据。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListProjects' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3305DEE5-4020-4FF0-9D42-5882B1580088', - ], - 'Projects' => [ - 'description' => '项目列表信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态,0表示正常', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Description' => [ - 'description' => '项目描述', - 'type' => 'string', - 'example' => 'test', - ], - 'UserId' => [ - 'description' => '项目所属用户ID', - 'type' => 'string', - 'example' => '1768723179523459', - ], - 'ProjectId' => [ - 'description' => '项目ID', - 'type' => 'string', - 'example' => '11', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1508341160000', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525687817000', - ], - 'Name' => [ - 'description' => '项目名称', - 'type' => 'string', - 'example' => 'aicc_test11', - ], - 'Id' => [ - 'description' => '主键ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11', - ], - 'Creator' => [ - 'description' => '项目创建人', - 'type' => 'string', - 'example' => 'user001', - ], - ], - ], - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateNamespaceData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3305DEE5-4020-4FF0-9D42-5882B1580088\\",\\n \\"Projects\\": [\\n {\\n \\"Status\\": 0,\\n \\"Description\\": \\"test\\",\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"ProjectId\\": \\"11\\",\\n \\"GmtCreate\\": 1508341160000,\\n \\"GmtModified\\": 1525687817000,\\n \\"Name\\": \\"aicc_test11\\",\\n \\"Id\\": 11,\\n \\"Creator\\": \\"user001\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListProjectsResponse>\\r\\n\\t<Projects>\\r\\n\\t\\t<Name>aicc_test22</Name>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<Description>test3</Description>\\r\\n\\t\\t<Creator>aicc-qa</Creator>\\r\\n\\t\\t<Id>11</Id>\\r\\n\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t<GmtCreate>1508341160000</GmtCreate>\\r\\n\\t\\t<GmtModified>1525687817000</GmtModified>\\r\\n\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t</Projects>\\r\\n\\t<RequestId>3305DEE5-4020-4FF0-9D42-5882B1580088</RequestId>\\r\\n</ListProjectsResponse>","errorExample":""}]', - 'title' => '查询项目列表', - 'summary' => '调用ListProjects查询项目列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DescribeProjectAppSecurity' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateOsBlackWhiteVersions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'WhiteVersions', + 'in' => 'query', + 'schema' => ['description' => '白名单版本列表,英文逗号分隔。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180402.1208,3.0.1-R-20180402.1208'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AppId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '应用ID', - 'type' => 'string', - 'required' => true, - 'example' => 'A3BU0HBO', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'], + ], + [ + 'name' => 'BlackVersions', + 'in' => 'query', + 'schema' => ['description' => '黑名单版本列表,英文逗号分隔,黑白名单不能同时设置。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180402.1208,3.0.1-R-20180402.1208'], ], ], 'responses' => [ @@ -17403,171 +12834,150 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'B030DF87-3AC0-4096-A50B-98B16C98B6CC', - ], - 'ProjectAppSecurity' => [ - 'description' => '项目应用的密钥信息', - 'type' => 'object', - 'properties' => [ - 'AppSecret' => [ - 'description' => '应用AppSecret', - 'type' => 'string', - 'example' => '222222', - ], - 'AppKey' => [ - 'description' => '应用AppKey', - 'type' => 'string', - 'example' => '111111', - ], - 'AppId' => [ - 'description' => '应用ID', - 'type' => 'string', - 'example' => 'A3BU0HBO', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1508737512000', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1508737512000', - ], - 'Id' => [ - 'description' => '主键ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B030DF87-3AC0-4096-A50B-98B16C98B6CC\\",\\n \\"ProjectAppSecurity\\": {\\n \\"AppSecret\\": \\"222222\\",\\n \\"AppKey\\": \\"111111\\",\\n \\"AppId\\": \\"A3BU0HBO\\",\\n \\"GmtCreate\\": 1508737512000,\\n \\"GmtModified\\": 1508737512000,\\n \\"Id\\": 4\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<DescribeProjectAppSecurityResponse>\\r\\n\\t<RequestId>B030DF87-3AC0-4096-A50B-98B16C98B6CC</RequestId>\\r\\n\\t<ProjectAppSecurity>\\r\\n\\t\\t<AppSecret>222222</AppSecret>\\r\\n\\t\\t<AppId>A3BU0HBO</AppId>\\r\\n\\t\\t<Id>4</Id>\\r\\n\\t\\t<GmtCreate>1508737512000</GmtCreate>\\r\\n\\t\\t<AppKey>111111</AppKey>\\r\\n\\t\\t<GmtModified>1524736346000</GmtModified>\\r\\n\\t</ProjectAppSecurity>\\r\\n</DescribeProjectAppSecurityResponse>","errorExample":""}]', - 'title' => '查询指定项目下指定应用的密钥信息', - 'summary' => '调用DescribeProjectAppSecurity查询指定项目下指定应用的密钥信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsBlackWhiteVersionsResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsBlackWhiteVersionsResponse>","errorExample":""}]', + 'title' => '更新系统版本的黑白名单', + 'summary' => '调用UpdateOsBlackWhiteVersions更新系统版本的版本的黑白名单。', + 'description' => '例如,若配置某个系统版本,只有哪些低版本的系统版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateRpcService' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsBlackWhiteVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateOsVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'IsMilestone', + 'in' => 'query', + 'schema' => ['description' => '是否里程碑,Y或N。', 'type' => 'string', 'required' => true, 'example' => 'Y'], + ], + [ + 'name' => 'IsForceNightUpgrade', + 'in' => 'query', + 'schema' => ['description' => '是否强制夜间升级,Y或N;与强制升级不能同时选择是。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc的项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ftewtwyy', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AppKey', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc cmns应用appKey,应用唯一标识。', - 'type' => 'string', - 'required' => true, - 'example' => 'WH2MptXX', - ], + 'schema' => ['description' => '设备型号ID', 'type' => 'string', 'required' => true, 'example' => '12'], ], [ - 'name' => 'InterfaceName', + 'name' => 'SystemVersion', 'in' => 'query', - 'schema' => [ - 'description' => '服务接口名称。'."\n" - ."\n" - .'http接口为不包含参数的请求地址。例如:`https://www.aliyun.com/rpcServiceTest`。', - 'type' => 'string', - 'required' => true, - 'example' => 'http://www.aliyun.com/aicc/testRpc', - ], + 'schema' => ['description' => '系统版本号', 'type' => 'string', 'required' => true, 'example' => '2.0.1-R-20180501.1208'], ], [ - 'name' => 'InvokeType', + 'name' => 'ReleaseNote', 'in' => 'query', - 'schema' => [ - 'description' => '接口调用类型。'."\n" - ."\n" - .'支持http(含https)和hsf。其中,hsf接口需与iovcc服务部署在同一vpc内,方能支持。', - 'type' => 'string', - 'required' => true, - 'example' => 'http', - 'enum' => [ - 'http', - 'hsf', - ], - ], + 'schema' => ['description' => '版本发布说明,客户端展示升级说明。', 'type' => 'string', 'required' => true, 'example' => '改用UI用户体验,提升系统稳定性'], ], [ - 'name' => 'Params', + 'name' => 'Remark', 'in' => 'query', - 'schema' => [ - 'description' => '- 调用为http方式时,参数key以英文逗号隔开。例如:`param1,param2`。'."\n" - .'- 调用为hsf方式时,参数类型以英文逗号隔开。参数基本类型仅支持string,int,long,bytes,double,float,bool7种。例如:`string,int,long`。', - 'type' => 'string', - 'required' => true, - 'example' => 'param1,param2', - ], + 'schema' => ['description' => '版本备注,仅用于服务端管理维护。', 'type' => 'string', 'required' => false, 'example' => '版本备注信息'], ], [ - 'name' => 'GroupName', + 'name' => 'IsForceUpgrade', 'in' => 'query', - 'schema' => [ - 'description' => '服务端接口分组名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'rpcTestGroup', - ], + 'schema' => ['description' => '是否强制升级,Y或N。', 'type' => 'string', 'required' => true, 'example' => 'N'], ], [ - 'name' => 'MethodName', + 'name' => 'BlackVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '接口调用方法名称,由字母、数字和下划线(_)组成。'."\n" - ."\n" - .'- 调用类型为**http**时,名称为服务方自定义。'."\n" - .'- 调用类型为**hsf**时,名称为hsf接口方法名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'testMethodName', - ], + 'schema' => ['description' => '系统版本黑名单列表,英文逗号隔开。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209'], ], [ - 'name' => 'VersionCode', + 'name' => 'WhiteVersionList', 'in' => 'query', - 'schema' => [ - 'description' => '接口版本号,由服务方自定义设置。', - 'type' => 'string', - 'required' => false, - 'example' => '1.0', - ], + 'schema' => ['description' => '系统版本白名单列表,英文逗号隔开。', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180501.1208,2.0.1-R-20180501.1209'], + ], + [ + 'name' => 'MaxClientVersion', + 'in' => 'query', + 'schema' => ['description' => '允许的OTA SDK的最大版本versioncode', 'type' => 'string', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'MinClientVersion', + 'in' => 'query', + 'schema' => ['description' => '允许的OTA SDK的最小版本versioncode', 'type' => 'string', 'required' => false, 'example' => '90'], + ], + [ + 'name' => 'NightUpgradeDownloadType', + 'in' => 'query', + 'schema' => ['description' => '夜间升级下载类型,1表示WIFI下下载,2表示任全网下载。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'NightUpgradeIsShowTip', + 'in' => 'query', + 'schema' => ['description' => '夜间升级时是否给出提示框,Y或N。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'NightUpgradeIsAllowedCancel', + 'in' => 'query', + 'schema' => ['description' => '夜间升级时是否给出提示框,Y或N。', 'type' => 'string', 'required' => true, 'example' => 'N'], + ], + [ + 'name' => 'RomList', + 'in' => 'query', + 'schema' => ['description' => '升级包列表,包括全量包和增量包。'."\n" + ."\n" + .'格式为:`id|baseVersion|romUrl,id|baseVersion|romUrl`。'."\n" + ."\n" + .'- 第一位指升级包的ID,如果是新的升级包,则为0。'."\n" + .'- 第二位为基准系统版本号,全量包的基准系统版本号位0。'."\n" + .'- 最后一位为升级包下载地址。', 'type' => 'string', 'required' => true, 'example' => '10|0|http://www.oss-server.com/file0.zip,11|123|http://www.oss-server.com/file1.zip,0|124|http://www.oss-server.com/file2.zip'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '123456'], + ], + [ + 'name' => 'EnableMobileDownload', + 'in' => 'query', + 'schema' => ['description' => '是否允许移动网络下载升级包', 'type' => 'string', 'required' => true, 'example' => 'Y'], + ], + [ + 'name' => 'MobileDownloadMaxSize', + 'in' => 'query', + 'schema' => ['description' => '允许移动网络下载的包的最大限制,单位为M,在允许移动网络下载包的情况下,大于该限制的包也不会自动下载。', 'type' => 'string', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -17575,67 +12985,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Id' => [ - 'description' => 'Rpc服务接口ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The InterfaceName is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<CreateRpcServiceResponse>\\r\\n\\t<Id>1</Id>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</CreateRpcServiceResponse>","errorExample":""}]', - 'title' => '注册cmns rpc服务接口', - 'summary' => '根据cmns应用appKey、接口名称、接口参数类型等信息注册rpc 服务接口。', - 'description' => '> 支持服务接口以http、hsf两种方式暴露。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionResponse>","errorExample":""}]', + 'title' => '更新系统版本的基本信息', + 'summary' => '调用UpdateOsVersion更新系统版本的基本信息。', + 'description' => '用户创建完系统版本后,可能需要修改系统版本,可以调用此接口进行修改。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteProjectApp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateOsVersionReleaseNote' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PPCVFRG7', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'AppId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => '应用ID', - 'type' => 'string', - 'required' => true, - 'example' => 'AJROOEWE', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '10023'], + ], + [ + 'name' => 'ReleaseNote', + 'in' => 'query', + 'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => true, 'example' => 'new release note'], ], ], 'responses' => [ @@ -17643,61 +13050,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<DeleteProjectAppResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteProjectAppResponse>","errorExample":""}]', - 'title' => '删除项目下用户创建的自定义应用', - 'summary' => '调用DeleteProjectApp删除项目下用户创建的自定义应用。', - 'description' => '> 根据项目id和应用id删除项目下用户创建的自定义应用,删除之后可以恢复,可以通过再创建相同包名的应用来恢复,之前应用的AppId,AppKey,AppSecret信息不变。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionReleaseNoteResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionReleaseNoteResponse>","errorExample":""}]', + 'title' => '更新系统版本发布说明', + 'summary' => '调用UpdateOsVersionReleaseNote更新系统版本发布说明。', + 'description' => '当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteRpcService' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionReleaseNote', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateOsVersionRemark' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '服务接口注册记录ID。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'ProjectId', + 'name' => 'VersionId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'sghghshr', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12304'], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => ['description' => '备注信息', 'type' => 'string', 'required' => true, 'example' => 'sample remark'], ], ], 'responses' => [ @@ -17705,59 +13115,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<DeleteRpcServiceResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</DeleteRpcServiceResponse>","errorExample":""}]', - 'title' => '删除Rpc服务接口注册记录', - 'summary' => '根据记录ID删除Rpc服务接口注册记录。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionRemarkResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionRemarkResponse>","errorExample":""}]', + 'title' => '更新系统版本备注信息', + 'summary' => '在版本创建完成后,更新系统版本的备注信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAssistWSServerAddress' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateOsVersionStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PZ1HK7JZ', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], ], [ - 'name' => 'DeviceId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'DIS设备ID', - 'type' => 'string', - 'required' => true, - 'example' => '6fde56979c484b93b99fba257e3cbc12', - ], + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12304'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '版本状态', 'type' => 'string', 'required' => false, 'example' => 'PUBLISHED'], ], ], 'responses' => [ @@ -17765,68 +13179,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - 'WsServer' => [ - 'description' => 'WebSocket服务地址', - 'type' => 'string', - 'example' => 'ws://ra-service-qa.aicc.aliyun.com:7001', - ], - 'OTP' => [ - 'description' => '一次性验证码', - 'type' => 'string', - 'example' => 'ewga5dxHOB8Lm9VH', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OTP\\": \\"ewga5dxHOB8Lm9VH\\",\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"WsServer\\": \\"ws://ra-service-qa.aicc.aliyun.com:7001\\"\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"","errorExample":""}]', - 'title' => '获取WebSocket服务地址', - 'summary' => '获取远程诊断WebSocket服务器地址。', - 'description' => '获取远程诊断WebSocket服务器地址', - ], - 'FindPrepublishesByParentId' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateOsVersionStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateOsVersionStatusResponse>","errorExample":""}]', + 'title' => '切换系统版本状态', + 'summary' => '调用UpdateOsVersionStatus切换系统版本状态。', + 'description' => '例如,测试通过、已发布、已下架、已废弃等。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateProject' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => '11'], ], [ - 'name' => 'ParentId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '父预发布ID', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'test'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '项目描述', 'type' => 'string', 'required' => true, 'example' => 'test'], ], ], 'responses' => [ @@ -17834,150 +13244,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'PrepublishList' => [ - 'description' => '查询预发布结果列表', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '返回记录列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GmtCreateTimestamp' => [ - 'description' => '创建时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '165465000000', - ], - 'DeviceModelId' => [ - 'description' => '设备型号ID', - 'type' => 'string', - 'example' => '12', - ], - 'GmtModify' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2018-01-01 00:01:00', - ], - 'IsActive' => [ - 'description' => '预发布是否为启用状态', - 'type' => 'string', - 'example' => 'Y', - ], - 'VersionId' => [ - 'description' => '版本ID', - 'type' => 'string', - 'example' => '1', - ], - 'BarrierCount' => [ - 'description' => '预发布允许设备数', - 'type' => 'string', - 'example' => '1000', - ], - 'IsTotalPrepublish' => [ - 'description' => '是否为总量预发布', - 'type' => 'string', - 'example' => 'N', - ], - 'GmtModifyTimestamp' => [ - 'description' => '更新时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '165465000000', - ], - 'ParentId' => [ - 'description' => '父预发布ID,为0表示该预发布为父预发布。', - 'type' => 'string', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2018-01-01 00:00:00', - ], - 'Name' => [ - 'description' => '预发布名', - 'type' => 'string', - 'example' => '第一次预发布', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'VersionType' => [ - 'description' => '版本类型,取值有:FOTA 系统版本,APP 应用版本。', - 'type' => 'string', - 'example' => 'FOTA', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '符合条件的记录总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"PrepublishList\\": {\\n \\"TotalCount\\": 30,\\n \\"Items\\": [\\n {\\n \\"GmtCreateTimestamp\\": 165465000000,\\n \\"DeviceModelId\\": \\"12\\",\\n \\"GmtModify\\": \\"2018-01-01 00:01:00\\",\\n \\"IsActive\\": \\"Y\\",\\n \\"VersionId\\": \\"1\\",\\n \\"BarrierCount\\": \\"1000\\",\\n \\"GmtModifyTimestamp\\": 165465000000,\\n \\"IsTotalPrepublish\\": \\"N\\",\\n \\"ParentId\\": \\"1\\",\\n \\"GmtCreate\\": \\"2018-01-01 00:00:00\\",\\n \\"Name\\": \\"第一次预发布\\",\\n \\"Id\\": 2,\\n \\"VersionType\\": \\"FOTA\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<FindPrepublishesByParentIdResponse>\\r\\n\\t<PrepublishList>\\r\\n\\t\\t<BarrierCount>1000</BarrierCount>\\r\\n\\t\\t<DeviceModelId>12</DeviceModelId>\\r\\n\\t\\t<GmtCreate>2018-01-01 00:00:00</GmtCreate>\\r\\n\\t\\t<GmtModify>2018-01-01 00:01:00</GmtModify>\\r\\n\\t\\t<Id>2</Id>\\r\\n\\t\\t<IsActive>Y</IsActive>\\r\\n\\t\\t<IsTotalPrepublish>N</IsTotalPrepublish>\\r\\n\\t\\t<Name>第一次预发布</Name>\\r\\n\\t\\t<ParentId>1</ParentId>\\r\\n\\t\\t<VersionId>1</VersionId>\\r\\n\\t\\t<VersionType>1.0,2.0</VersionType>\\r\\n\\t</PrepublishList>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</FindPrepublishesByParentIdResponse>","errorExample":""}]', - 'title' => '查询父预发布下的子预发布', - 'summary' => '调用FindPrepublishesByParentId查询父预发布下的子预发布。', - 'description' => '适用于应用版本的预发布,每次创建的预发布是父预发布,对每个适配机型创建一个子预发布。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<UpdateProjectResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateProjectResponse>","errorExample":""}]', + 'title' => '修改项目基本信息', + 'summary' => '调用UpdateProject修改项目基本信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GenerateOssUploadMeta' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-17T02:56:09.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateSchemaSubscribe' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'DeviceModel', + 'in' => 'query', + 'schema' => ['description' => '设备名称', 'type' => 'string', 'required' => true, 'example' => 'model_2nd'], + ], + [ + 'name' => 'SubscribeList', + 'in' => 'query', + 'schema' => ['description' => '订阅列表', 'type' => 'string', 'required' => false, 'example' => '[{\\"path\\":\\"/car_body_hvac/cooling/water_temperature\\",\\"description\\":\\"水温\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":20,\\"exclusiveMinimum\\":false,\\"maximum\\":30,\\"exclusiveMaximum\\":false},{\\"path\\":\\"/car_body_hvac/lubricating/oil_level\\",\\"description\\":\\"机油油位\\",\\"required\\":false,\\"type\\":\\"number\\",\\"minimum\\":3,\\"exclusiveMinimum\\":false,\\"maximum\\":6,\\"exclusiveMaximum\\":false}]'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'Ext', + 'name' => 'SchemaVersion', 'in' => 'query', - 'schema' => [ - 'description' => '文件类型后缀。', - 'type' => 'string', - 'required' => true, - 'example' => 'rsa', - ], + 'schema' => ['description' => '版本', 'type' => 'string', 'required' => false, 'example' => '1.0'], ], ], 'responses' => [ @@ -17985,135 +13313,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7676B259-FFA5-4971-A9D7-7B3F48D1DEEB', - ], - 'OssUploadMeta' => [ - 'description' => '上传OSS所需的凭证信息。', - 'type' => 'object', - 'properties' => [ - 'SecurityToken' => [ - 'description' => 'sts授权访问token。', - 'type' => 'string', - 'example' => 'xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=', - ], - 'ObjectKey' => [ - 'description' => '文件在OSS上存储的完整文件名。', - 'type' => 'string', - 'example' => '1768723179523459/11/2018-05-07/cert.rsa', - ], - 'AccessKeySecret' => [ - 'description' => '临时的AccessKey Secret。', - 'type' => 'string', - 'example' => 'xxxxxxxxxxxxxxxxx', - ], - 'AccessKeyId' => [ - 'description' => '临时的AccessKey ID。', - 'type' => 'string', - 'example' => 'STS.xxxxxxxxxxxxxxxxx', - ], - 'Bucket' => [ - 'description' => '上传到指定的Bucket。', - 'type' => 'string', - 'example' => 'xxxx', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7676B259-FFA5-4971-A9D7-7B3F48D1DEEB\\",\\n \\"OssUploadMeta\\": {\\n \\"AccessKeySecret\\": \\"xxxxxxxxxxxxxxxxx\\",\\n \\"SecurityToken\\": \\"xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=\\",\\n \\"ObjectKey\\": \\"1768723179523459/11/2018-05-07/cert.rsa\\",\\n \\"AccessKeyId\\": \\"STS.xxxxxxxxxxxxxxxxx\\",\\n \\"Bucket\\": \\"xxxx\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\n<OssUploadMeta>\\n <AccessKeyId>STS.xxxxxxxxxxxxxxxxx</AccessKeyId>\\n <AccessKeySecret>xxxxxxxxxxxxxxxxx</AccessKeySecret>\\n <Bucket>xxx</Bucket>\\n <ObjectKey>1768723179523459/11/2018-05-07/cert.rsa</ObjectKey>\\n <SecurityToken>xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=</SecurityToken>\\n</OssUploadMeta>","errorExample":""}]', - 'title' => '获取文件上传OSS凭证', - 'summary' => '获取文件上传OSS的凭证,凭证具有一定的时效性,且凭证被赋予了有限的权限。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateSchemaSubscribeResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateSchemaSubscribeResponse>","errorExample":""}]', + 'title' => '修改订阅信息', + 'summary' => '调用UpdateSchemaSubscribe修改订阅信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GenerateSysAppDownloadInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateShadowSchema' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Plugins', + 'name' => 'DeviceModelId', 'in' => 'query', - 'schema' => [ - 'description' => '下载AiCC Container应用时,用户选择的插件集合,支持多选,以json数组存储。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"PkgName":"com.aliyun.aicc.yundevice","VersionCode":20180228},{"PkgName":"com.aliyun.aicc.remoteassistant","VersionCode":""}]', - ], + 'schema' => ['description' => '机型ID', 'type' => 'string', 'required' => true, 'example' => '120'], ], [ - 'name' => 'SignMode', + 'name' => 'AuthType', 'in' => 'query', - 'schema' => [ - 'description' => '签名方式。取值:'."\n" - ."\n" - .'- **customized**:自定义签名'."\n" - .'- **platform**:由平台签名', - 'type' => 'string', - 'required' => true, - 'example' => 'customized', - ], + 'schema' => ['description' => '认证类型', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'OsType', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '命名空间', 'type' => 'string', 'required' => false, 'example' => 'b09e93ce436aaf0dcfc2fb2004c1fde8'], ], [ - 'name' => 'PkgName', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '用户选择下载的系统应用包名。', - 'type' => 'string', - 'required' => true, - 'example' => 'com.aliyun.aicc', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'], ], [ - 'name' => 'ProjectId', + 'name' => 'Schema', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'example' => '11', - ], + 'schema' => ['description' => 'schema信息', 'type' => 'string', 'required' => false, 'example' => '{"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}'], ], [ - 'name' => 'CertFileObjectKey', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'RSA证书文件上传OSS后,在OSS上的完整文件名。', - 'type' => 'string', - 'required' => false, - 'example' => '1768723179523459/11/2018-05-07/1525699039841.rsa', - ], + 'schema' => ['description' => '待修改的数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'], ], ], 'responses' => [ @@ -18121,71 +13392,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F3BAE77D-1954-48C5-95F6-D4937B29E2F4', - ], - 'SysAppDownloadInfo' => [ - 'description' => '系统应用下载信息。', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '下载地址。', - 'type' => 'string', - 'example' => 'http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F3BAE77D-1954-48C5-95F6-D4937B29E2F4\\",\\n \\"SysAppDownloadInfo\\": {\\n \\"Url\\": \\"http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<GenerateSysAppDownloadInfoResponse>\\r\\n\\t<RequestId>F3BAE77D-1954-48C5-95F6-D4937B29E2F4</RequestId>\\r\\n\\t<SysAppDownloadInfo>\\r\\n\\t\\t<Url>http://iovcc-pm-tenant.oss-cn-shanghai.aliyuncs.com/1768723179523459/11/2018-05-07/1525699039841-com.aliyun.aicc-20180507.apk?OSSAccessKeyId=nz2pc56s936**9l&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv4%3D</Url>\\r\\n\\t</SysAppDownloadInfo>\\r\\n</GenerateSysAppDownloadInfoResponse>","errorExample":""}]', - 'title' => '获取IoVCC系统应用下载信息', - 'summary' => '调用GenerateSysAppDownloadInfo获取IoVCC系统应用下载信息。', - 'description' => '> 用户上传自己的证书文件(.rsa),IoVCC根据用户上传的证书文件,生成对应的安全图片,并存储到用户下载的系统应用中。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateShadowSchemaResponse>\\r\\n<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateShadowSchemaResponse>","errorExample":""}]', + 'title' => '修改某机型的 schema 信息', + 'summary' => '调用UpdateShadowSchema修改某机型的schema信息.。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetOssUploadMeta' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateTrigger' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', - ], + 'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'], ], [ - 'name' => 'Ext', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '文件后缀', - 'type' => 'string', - 'required' => true, - 'example' => 'zip', - ], + 'schema' => ['description' => '触发器ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'Sandbox', + 'in' => 'query', + 'schema' => ['description' => '是否在沙箱环境触发。'."\n" + ."\n" + .'- **0**(默认):不在该环境执行'."\n" + .'- **1**:在该环境执行', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Production', + 'in' => 'query', + 'schema' => ['description' => '是否在生产环境触发。'."\n" + ."\n" + .'- **0**(默认):不在该环境执行'."\n" + .'- **1**:在该环境执行', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -18193,87 +13467,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - 'OssUploadMeta' => [ - 'description' => '上传需要的信息', - 'type' => 'object', - 'properties' => [ - 'AccessKey' => [ - 'description' => '上传需要的信息', - 'type' => 'string', - 'example' => 'STS.xxxxxxxxxxx', - ], - 'Signature' => [ - 'description' => '签名', - 'type' => 'string', - 'example' => 'xxxxxxxxxxxx=', - ], - 'Host' => [ - 'description' => '上传的OSS服务器地址', - 'type' => 'string', - 'example' => 'http://xxxxxx.oss-cn-shanghai.aliyuncs.com', - ], - 'Policy' => [ - 'description' => 'OSS上传文件的Policy', - 'type' => 'string', - 'example' => 'xxxxxxxxxxxxxx', - ], - 'SecurityToken' => [ - 'description' => 'STS token', - 'type' => 'string', - 'example' => 'xxxxxxxxxxxxxx', - ], - 'ObjectKey' => [ - 'description' => '上传文件的目标路径', - 'type' => 'string', - 'example' => '11/1527911483513.zip', - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"OssUploadMeta\\": {\\n \\"AccessKey\\": \\"STS.xxxxxxxxxxx\\",\\n \\"Signature\\": \\"xxxxxxxxxxxx=\\",\\n \\"Host\\": \\"http://xxxxxx.oss-cn-shanghai.aliyuncs.com\\",\\n \\"Policy\\": \\"xxxxxxxxxxxxxx\\",\\n \\"SecurityToken\\": \\"xxxxxxxxxxxxxx\\",\\n \\"ObjectKey\\": \\"11/1527911483513.zip\\"\\n }\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<RequestId>4EFF678D-DD88-4AEB-B81C-B760AFDFA250</RequestId>\\n<OssUploadMeta>\\n <Policy>xxxxxxxxx</Policy>\\n <SecurityToken>xxxxxxxxxx</SecurityToken>\\n <Signature>xxxxxxxxxxx=</Signature>\\n <ObjectKey>11/1527911483513.zip</ObjectKey>\\n <Host>http://xxxxxxx.oss-cn-shanghai.aliyuncs.com</Host>\\n <AccessKey>STS.xxxxxxxx</AccessKey>\\n</OssUploadMeta>","errorExample":""}]', - 'title' => '获取上传升级包到OSS所需信息', - 'summary' => '获取上传升级包到OSS所需要的STS token和Policy等信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<UpdateTriggerResponse>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</UpdateTriggerResponse>","errorExample":""}]', + 'title' => '修改触发器', + 'summary' => '调用UpdateTrigger修改触发器。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListApiGatewayApps' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateUpstreamAppServer' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'operationType' => 'write', + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '服务端应用ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '服务端应用名称。', 'type' => 'string', 'required' => false, 'example' => 'upstreamTest'], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => ['description' => '上行消息业务tag,多个tag通过英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => 'tag1,tag2'], + ], + [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '11', - ], + 'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => false, 'example' => 'ewtwtt4f'], ], ], 'responses' => [ @@ -18281,109 +13536,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ApiGatewayApps' => [ - 'description' => '关联的网关app信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'GatewayAppKey' => [ - 'description' => 'API网关应用AppKey。', - 'type' => 'string', - 'example' => '24659924', - ], - 'Status' => [ - 'description' => '状态。0表示正常,1表示禁用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GatewayAppSecret' => [ - 'description' => 'API网关应用AppSecret,接口不会返回完整的AppSecret,只显示头尾几个字符。', - 'type' => 'string', - 'example' => 'a******1', - ], - 'GatewayAppId' => [ - 'description' => 'API网关应用ID。', - 'type' => 'string', - 'example' => '1111111', - ], - 'UserId' => [ - 'description' => '所属用户ID。', - 'type' => 'string', - 'example' => '1768723179523459', - ], - 'ProjectId' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'example' => '11', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1508400744000', - ], - 'GmtModified' => [ - 'description' => '修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525340035000', - ], - 'Id' => [ - 'description' => '主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9CC2A1F1-DAE4-47DA-A682-240AF2DEED84', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9CC2A1F1-DAE4-47DA-A682-240AF2DEED84\\",\\n \\"ApiGatewayApps\\": [\\n {\\n \\"GatewayAppKey\\": \\"24659924\\",\\n \\"Status\\": 0,\\n \\"GatewayAppSecret\\": \\"a******1\\",\\n \\"GatewayAppId\\": \\"1111111\\",\\n \\"UserId\\": \\"1768723179523459\\",\\n \\"ProjectId\\": \\"11\\",\\n \\"GmtCreate\\": 1508400744000,\\n \\"GmtModified\\": 1525340035000,\\n \\"Id\\": 8\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"<ListApiGatewayAppsResponse>\\r\\n\\t<ApiGatewayApps>\\r\\n\\t\\t<Status>0</Status>\\r\\n\\t\\t<GatewayAppId>1111111</GatewayAppId>\\r\\n\\t\\t<Id>8</Id>\\r\\n\\t\\t<UserId>1768723179523459</UserId>\\r\\n\\t\\t<GatewayAppKey>24659924</GatewayAppKey>\\r\\n\\t\\t<GmtCreate>1508400744000</GmtCreate>\\r\\n\\t\\t<GmtModified>1525340035000</GmtModified>\\r\\n\\t\\t<ProjectId>11</ProjectId>\\r\\n\\t\\t<GatewayAppSecret>a******1</GatewayAppSecret>\\r\\n\\t</ApiGatewayApps>\\r\\n\\t<RequestId>9CC2A1F1-DAE4-47DA-A682-240AF2DEED84</RequestId>\\r\\n</ListApiGatewayAppsResponse>","errorExample":""}]', - 'title' => '查询项目关联的网关 APP 的信息', - 'summary' => '调用ListApiGatewayApps查询项目关联的网关app的信息。', - 'description' => '> 目前限制只能关联一个网关app。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Id is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<UpdateUpstreamAppServerResponse>\\r\\n<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</UpdateUpstreamAppServerResponse>","errorExample":""}]', + 'title' => '更新上行消息服务端应用名称、标签等信息', + 'summary' => '调用UpdateUpstreamAppServer更新上行消息服务端应用名称、标签等信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListApps' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateVersionDeviceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'required' => true, - 'example' => 'PV37HJ8Q', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '分组名', 'type' => 'string', 'required' => true, 'example' => '测试分组-2'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '分组描述', 'type' => 'string', 'required' => false, 'example' => '测试描述'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -18391,84 +13605,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'Apps' => [ - 'description' => '自定义应用对象列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AppName' => [ - 'description' => '应用名称', - 'type' => 'string', - 'example' => 'app_test', - ], - 'AppKey' => [ - 'description' => '应用标识', - 'type' => 'string', - 'example' => 'ZBjeuffe', - ], - 'OsType' => [ - 'description' => '应用运行系统类型。'."\n" - ."\n" - .'- 0:YunOS'."\n" - .'- 1:Android'."\n" - .'- 2:iOS', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AppPackage' => [ - 'description' => '应用包名', - 'type' => 'string', - 'example' => 'com.aliyun.test', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"Apps\\": [\\n {\\n \\"AppName\\": \\"app_test\\",\\n \\"AppKey\\": \\"ZBjeuffe\\",\\n \\"OsType\\": 1,\\n \\"AppPackage\\": \\"com.aliyun.test\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The Type is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListAppsResponse>\\n\\t<Apps>\\n\\t\\t<AppKey>ZBjeuffe</AppKey>\\n\\t\\t<AppName>app_test</AppName>\\n\\t\\t<AppPackage>com.aliyun.test</AppPackage>\\n\\t\\t<OsType>6</OsType>\\n\\t</Apps>\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\n</ListAppsResponse>","errorExample":""}]', - 'title' => '获取项目工程下应用列表', - 'summary' => '根据项目工程ID,获取项目工程下应用列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermissionToAccessProject\\",\\n \\"Message\\": \\"User is not authorized to access the specified project.\\"\\n}"},{"type":"xml","example":"<UpdateVersionDeviceGroupResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateVersionDeviceGroupResponse>","errorExample":""}]', + 'title' => '更新测试设备分组', + 'summary' => '调用UpdateVersionDeviceGroup更新测试设备分组。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListClientPlugins' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateVersionPrepublishActiveStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'OsType', + 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'description' => '系统类型,1-Android。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'], + ], + [ + 'name' => 'PrepublishId', + 'in' => 'query', + 'schema' => ['description' => '预发布ID', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'IsActive', + 'in' => 'query', + 'schema' => ['description' => '预发布是否为启用状态', 'type' => 'string', 'required' => true, 'example' => 'Y'], ], ], 'responses' => [ @@ -18476,869 +13669,2423 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '647D4B28-7646-424E-88DD-61B7969E5C1E', - ], - 'ClientPlugins' => [ - 'description' => '客户端插件信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PkgName' => [ - 'description' => '插件包名', - 'type' => 'string', - 'example' => 'com.aliyun.aicc.yundevice', - ], - 'Name' => [ - 'description' => '插件名称', - 'type' => 'string', - 'example' => 'YunDevice', - ], - ], - ], - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"647D4B28-7646-424E-88DD-61B7969E5C1E\\",\\n \\"ClientPlugins\\": [\\n {\\n \\"PkgName\\": \\"com.aliyun.aicc.yundevice\\",\\n \\"Name\\": \\"YunDevice\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListClientPluginsResponse>\\r\\n\\t<RequestId>647D4B28-7646-424E-88DD-61B7969E5C1E</RequestId>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>YunDevice</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yundevice</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>RemoteAssistant</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.remoteassistant</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n\\t<ClientPlugins>\\r\\n\\t\\t<Name>YunControl</Name>\\r\\n\\t\\t<PkgName>com.aliyun.aicc.yuncontrol</PkgName>\\r\\n\\t</ClientPlugins>\\r\\n</ListClientPluginsResponse>","errorExample":""}]', - 'title' => '查询客户端插件列表', - 'summary' => '调用ListClientPlugins查询客户端插件列表。', - 'description' => '> 在下载AiCC Container客户端app时,需要选择客户端插件,通过此接口查询插件列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<UpdateVersionPrepublishActiveStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateVersionPrepublishActiveStatusResponse>","errorExample":""}]', + 'title' => '更新指定预发布禁用启用状态', + 'summary' => '调用UpdateVersionPrepublishActiveStatus更新指定预发布禁用启用状态。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListDeviceBrands' => [ - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateVersionPrepublishActiveStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'iovcc.cn-shanghai.aliyuncs.com', 'endpoint' => 'iovcc.cn-shanghai.aliyuncs.com', 'vpc' => 'iovcc-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AccountLinkNotFound', 'message' => 'The third-party account mapping cannot be found.', 'http_code' => 400, 'description' => '无法找到三方账户映射关系'], + ['code' => 'AccountNotFound', 'message' => 'The cloud user cannot be found.', 'http_code' => 400, 'description' => '找不到云端用户'], + ['code' => 'ActivePrepublishExistInCurrentVersion', 'message' => 'An active prepublication already exists under the current version.', 'http_code' => 400, 'description' => '当前版本下已经存在一个活跃的预发布'], + ['code' => 'AliyunIdNull', 'message' => 'The specified AliyunId is empty.', 'http_code' => 400, 'description' => 'aliyunId为空'], + ['code' => 'ApkSignFailed', 'message' => 'Error signing the APK package.', 'http_code' => 400, 'description' => 'APK包签名失败'], + ['code' => 'ApkZipalignFailed', 'message' => 'Error zipaligning the APK package.', 'http_code' => 400, 'description' => 'APK包zipalign失败'], + ['code' => 'AppKeyRelationAlreadyExist', 'message' => 'The mapping between application and appKey already exists.', 'http_code' => 400, 'description' => '应用与appKey关系映射已存在'], + ['code' => 'AppRestartTypeRequired', 'message' => 'The application restart type is required.', 'http_code' => 400, 'description' => '应用重启类型不能为空'], + ['code' => 'AssistIdNotExist', 'message' => 'The specified Assist Id is invalid.', 'http_code' => 400, 'description' => '提交诊断报告的id无效'], + ['code' => 'AuthTypeError', 'message' => 'The specified authentication type is invalid.', 'http_code' => 400, 'description' => '鉴权类型非法'], + ['code' => 'AuthTypeNotExist', 'message' => 'The specified authentication type does not exist.', 'http_code' => 404, 'description' => '鉴权类型不存在'], + ['code' => 'BaseVersionExistInBlackList', 'message' => 'The base version is in the version blacklist.', 'http_code' => 400, 'description' => '基准版本在版本黑名单列表中'], + ['code' => 'BaseVersionNotExistInWhiteList', 'message' => 'The base version is not in the version whitelist.', 'http_code' => 400, 'description' => '基准版本不在版本白名单列表中'], + ['code' => 'BlackVersionMustSmallThanCurrentVersion', 'message' => 'The blacklist version must be smaller than the current version.', 'http_code' => 400, 'description' => '黑名单版本必须小于当前版本'], + ['code' => 'BlackWhiteAreaCannotBothSet', 'message' => 'You cannot configure the area blacklist and whitelist at the same time.', 'http_code' => 400, 'description' => '地区黑白名单不能同时设置'], + ['code' => 'BlackWhiteDeviceCannotBothSet', 'message' => 'You cannot configure the device blacklist and whitelist at the same time.', 'http_code' => 400, 'description' => '设备黑白名单不能同时设置'], + ['code' => 'BlackWhiteVersionCannotBothSet', 'message' => 'You cannot configure the version blacklist and whitelist at the same time.', 'http_code' => 400, 'description' => '版本黑白名单不能同时设置'], + ['code' => 'CallApiGatewayError', 'message' => 'Error calling the API gateway interface.', 'http_code' => 400, 'description' => '调用API网关接口失败'], + ['code' => 'CallFunctionComputeError', 'message' => 'Error calling the FunctionCompute interface.', 'http_code' => 400, 'description' => '调用FunctionCompute接口失败'], + ['code' => 'CallSyncStoreError', 'message' => 'Error calling the SyncStore interface.', 'http_code' => 400, 'description' => '调用SyncStore接口失败'], + ['code' => 'CanCreateDeviceIdInvalid', 'message' => 'The format of the parameter canCreateDeviceId is invalid.', 'http_code' => 400, 'description' => '参数canCreateDeviceId格式非法'], + ['code' => 'ChangedBrandNotFound', 'message' => 'The new brand configured does not exist.', 'http_code' => 400, 'description' => '修改机型时设置的新品牌不存在'], + ['code' => 'CreateNamespaceError', 'message' => 'An error occurred while creating a namespace.', 'http_code' => 400, 'description' => '创建Namespace失败'], + ['code' => 'CreateSchemaError', 'message' => 'An error occurred while creating the device schema.', 'http_code' => 400, 'description' => '创建设备范式错误'], + ['code' => 'CreateSubscribeError', 'message' => 'An error occurred while creating the device data subscription.', 'http_code' => 400, 'description' => '创建设备数据订阅错误'], + ['code' => 'DeleteDeviceFailed', 'message' => 'Error while deleting the device.', 'http_code' => 400, 'description' => '删除设备失败'], + ['code' => 'DeleteDeviceGroupDenied', 'message' => 'You are not allowed to delete the specified device group.', 'http_code' => 400, 'description' => '不允许删除当前设备分组'], + ['code' => 'DeleteDeviceShadowSchemaError', 'message' => 'An error occurred while deleting the device schema.', 'http_code' => 400, 'description' => '删除设备范式失败'], + ['code' => 'DeleteSubscribeError', 'message' => 'An error occurred while deleting the device data subscription.', 'http_code' => 400, 'description' => '删除设备数据订阅错误'], + ['code' => 'DescribeDefaultShadowSchemaError', 'message' => 'An error occurred while obtaining the default device schema.', 'http_code' => 400, 'description' => '获取默认的设备范式错误'], + ['code' => 'DescribeDeviceShadowError', 'message' => 'An error occurred while obtaining the device shadow.', 'http_code' => 400, 'description' => '获取设备影子错误'], + ['code' => 'DescribeSchemaError', 'message' => 'An error occurred while obtaining the device schema.', 'http_code' => 400, 'description' => '获取设备范式错误'], + ['code' => 'DescriptionTooLong', 'message' => 'The maximum length of the description is exceeded.', 'http_code' => 400, 'description' => '说明过长'], + ['code' => 'DeviceBrandNotFound', 'message' => 'The device brand information does not exist.', 'http_code' => 400, 'description' => '品牌信息不存在'], + ['code' => 'DeviceConnectFailed', 'message' => 'An error occurred while establishing assist connection.', 'http_code' => 500, 'description' => '通知设备连接远程诊断失败'], + ['code' => 'DeviceConnectionTimeout', 'message' => 'Assist connection creation is timed out.', 'http_code' => 500, 'description' => '通知设备连接超时'], + ['code' => 'DeviceCountExceedLimit', 'message' => 'The maximum number of devices is exceeded.', 'http_code' => 403, 'description' => '设备个数超出限制'], + ['code' => 'DeviceDebugTimeout', 'message' => 'The device diagnosis has timed out.', 'http_code' => 400, 'description' => '设备诊断超时'], + ['code' => 'DeviceGroupIsFull', 'message' => 'The number of devices in the test device group has reached the limit.', 'http_code' => 400, 'description' => '测试设备分组下的设备已满'], + ['code' => 'DeviceGroupSingleAddDeviceCountExceedMaxRemainingCount', 'message' => 'The maximum number of devices in the device group is exceeded.', 'http_code' => 400, 'description' => '当前要添加的设备数超过设备分组剩余允许添加的设备数'], + ['code' => 'DeviceIdUnresolved', 'message' => 'An error occurred while resolving the specified device ID.', 'http_code' => 400, 'description' => '无法解析设备id'], + ['code' => 'DeviceModelAdapterRequired', 'message' => 'The device model adapter is required.', 'http_code' => 400, 'description' => '应用版本适配机型不能为空'], + ['code' => 'DeviceModelAlreadyExist', 'message' => 'The deviceModel already exists.', 'http_code' => 400, 'description' => '需要新增的机型已存在'], + ['code' => 'DeviceModelBrandNull', 'message' => 'The DeviceModel brand is empty.', 'http_code' => 400, 'description' => '机型对应的品牌为空'], + ['code' => 'DeviceModelCountExceedLimit', 'message' => 'The number of device models in a single project exceeds the limit.', 'http_code' => 400, 'description' => '单个项目下机型数量超过了限制'], + ['code' => 'DeviceModelIdNull', 'message' => 'The DeviceModelId is empty.', 'http_code' => 400, 'description' => '设备对应的机型ID为空'], + ['code' => 'DeviceModelNotFound', 'message' => 'The DeviceModel does not exist.', 'http_code' => 400, 'description' => '机型信息不存在'], + ['code' => 'DeviceNeverConnectCMNS', 'message' => 'The device has never been connected to the CMNS server.', 'http_code' => 400, 'description' => '设备从没连接过CMNS服务端'], + ['code' => 'DeviceNotFound', 'message' => 'The device record does not exist.', 'http_code' => 400, 'description' => '找不到设备记录'], + ['code' => 'DeviceNotOnline', 'message' => 'The device is offline. You cannot establish assist connections.', 'http_code' => 400, 'description' => '设备不在线,无法通知设备连接远程诊断'], + ['code' => 'DeviceShadowNotExist', 'message' => 'The device shadow does not exist.', 'http_code' => 404, 'description' => '设备影子不存在'], + ['code' => 'DeviceTypeInvalid', 'message' => 'The parameter deviceType is invalid.', 'http_code' => 400, 'description' => '机型大类不再指定范围内'], + ['code' => 'DeviceTypeNull', 'message' => 'You must specify the device type.', 'http_code' => 400, 'description' => '设备类型为空'], + ['code' => 'DeviceValiditySchemaError', 'message' => 'An error occurred while obtaining the subscription rule.', 'http_code' => 400, 'description' => '获取订阅规则错误'], + ['code' => 'DisAuthServiceError', 'message' => 'An error occurred while authenticating.', 'http_code' => 400, 'description' => '鉴权失败'], + ['code' => 'DuplicateAppName', 'message' => 'The application name already exists.', 'http_code' => 400, 'description' => '应用名称已存在'], + ['code' => 'DuplicateAppPkgName', 'message' => 'The application package name already exists.', 'http_code' => 400, 'description' => '应用包名已存在'], + ['code' => 'DuplicateAppVersionDeviceAdapter', 'message' => 'The device model of the app version already exists.', 'http_code' => 400, 'description' => '应用版本的适配机型重复'], + ['code' => 'DuplicateCustomizedFilterName', 'message' => 'The customized filter name already exists.', 'http_code' => 400, 'description' => '版本自定义过滤条件名称重复'], + ['code' => 'DuplicateDeviceGroupName', 'message' => 'The specified device group name already exists.', 'http_code' => 400, 'description' => '设备分组名称重复'], + ['code' => 'DuplicateDeviceModelGroupName', 'message' => 'The device model group name already exists.', 'http_code' => 400, 'description' => '设备型号分组名称重复'], + ['code' => 'DuplicateDeviceModelInGroup', 'message' => 'The device model name already exists in the current group.', 'http_code' => 400, 'description' => '分组下已存在同名的设备型号'], + ['code' => 'DuplicateMultiLangName', 'message' => 'The multilingual name already exists.', 'http_code' => 400, 'description' => '多语言名称重复'], + ['code' => 'DuplicateNamespace', 'message' => 'The specified namespace already exists.', 'http_code' => 400, 'description' => 'Namespace已存在'], + ['code' => 'DuplicatePrepublishName', 'message' => 'The pre-publication name already exists.', 'http_code' => 400, 'description' => '预发布名称重复'], + ['code' => 'DuplicateProjectName', 'message' => 'The project name already exists.', 'http_code' => 400, 'description' => '项目名称已存在'], + ['code' => 'ExceedLimitFunction', 'message' => 'The specified number of functions exceeds the limit.', 'http_code' => 400, 'description' => 'Function超出个数限制'], + ['code' => 'FunctionCountLimitError', 'message' => 'The maximum number of functions is exceeded.', 'http_code' => 400, 'description' => '函数超出个数限制'], + ['code' => 'FunctionFileContentParseError', 'message' => 'An error occurred while parsing the function file.', 'http_code' => 400, 'description' => '函数文件解析错误'], + ['code' => 'FunctionFileDeployError', 'message' => 'An error occurred while deploying the function file.', 'http_code' => 400, 'description' => '函数文件部署失败'], + ['code' => 'FunctionFileNotExist', 'message' => 'The function file does not exist.', 'http_code' => 404, 'description' => '函数文件不存在'], + ['code' => 'FunctionFileStatusError', 'message' => 'A function file status error has occurred.', 'http_code' => 500, 'description' => '函数文件状态异常'], + ['code' => 'FunctionFileVerifyError', 'message' => 'An error occurred while verifying the function file.', 'http_code' => 400, 'description' => '函数文件验证异常'], + ['code' => 'FunctionInvokeError', 'message' => 'An error occurred while invoking the function.', 'http_code' => 400, 'description' => '调用函数异常'], + ['code' => 'FunctionProductionEnvNotBeenDeployed', 'message' => 'The function has not been deployed in the production environment.', 'http_code' => 400, 'description' => '函数在生产环境未部署'], + ['code' => 'FunctionRuntimeServiceCreateError', 'message' => 'An error occurred while creating the function runtime service.', 'http_code' => 400, 'description' => '创建函数运行时服务异常'], + ['code' => 'FunctionRuntimeServiceUpdateError', 'message' => 'An error occurred while updating the function runtime service.', 'http_code' => 400, 'description' => '更新函数运行时服务异常'], + ['code' => 'FunctionSandboxEnvNotBeenDeployed', 'message' => 'The function has not been deployed in the sandbox environment.', 'http_code' => 400, 'description' => '函数在沙箱环境未部署'], + ['code' => 'GenerateSecurityPictureFailed', 'message' => 'Error generating security picture.', 'http_code' => 400, 'description' => '生成安全图片失败'], + ['code' => 'GenerateStsTokenError', 'message' => 'Error calling the STS interface to generate a token.', 'http_code' => 400, 'description' => '调用STS生成token失败'], + ['code' => 'GroupMessageExceedDayLimit', 'message' => 'The number of group messages sent under a single app exceeds the limit of single day.', 'http_code' => 400, 'description' => '单个应用下群组消息发送的次数超过了单日次数限制'], + ['code' => 'HardwareTypeNull', 'message' => 'The device hardware type is empty.', 'http_code' => 400, 'description' => '机型映射类型为空'], + ['code' => 'HasAlreadyRegistered', 'message' => 'The data has already been registered.', 'http_code' => 400, 'description' => '重复注册'], + ['code' => 'IasAuthServiceError', 'message' => 'An error occurred while authenticating.', 'http_code' => 400, 'description' => '鉴权失败'], + ['code' => 'IdentityIdNotFound', 'message' => 'The cloud user ID cannot be found.', 'http_code' => 400, 'description' => '找不到云端用户ID'], + ['code' => 'IdentityIdNull', 'message' => 'The cloud user ID is empty.', 'http_code' => 400, 'description' => '云端用户Id为空'], + ['code' => 'IdpInvalid', 'message' => 'The third-party account platform labeling is invalid.', 'http_code' => 400, 'description' => '三方账号平台标识无效'], + ['code' => 'IdTokenInvalid', 'message' => 'The specified IdToken is invalid.', 'http_code' => 403, 'description' => '令牌token无效'], + ['code' => 'InsertDbFailed', 'message' => 'Error saving the new record.', 'http_code' => 400, 'description' => '新记录保存失败'], + ['code' => 'Invalid%s', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => '参数%s无效'], + ['code' => 'InvalidAliosUri', 'message' => 'The specified message URI is invalid.', 'http_code' => 400, 'description' => '消息URI参数非法'], + ['code' => 'InvalidAppPackage', 'message' => 'The name of the application package in which the message is located is invalid.', 'http_code' => 400, 'description' => '消息所属应用包名非法'], + ['code' => 'InvalidCustomContent', 'message' => 'The specified custom content of the message is invalid.', 'http_code' => 400, 'description' => '消息自定义参数内容非法'], + ['code' => 'InvalidDelayTaskTime', 'message' => 'The specified time for the scheduled task is invalid.', 'http_code' => 400, 'description' => '定时任务时间设定不合法'], + ['code' => 'InvalidDeviceToken', 'message' => 'The deviceToken is invalid or has expired.', 'http_code' => 403, 'description' => 'deviceToken非法或已过期'], + ['code' => 'InvalidDeviceVerifyToken', 'message' => 'The deviceVerifyToken is invalid.', 'http_code' => 403, 'description' => 'deviceVerifyToken非法'], + ['code' => 'InvalidMailAddress', 'message' => 'The specified email address is invalid.', 'http_code' => 400, 'description' => '非法的邮箱地址'], + ['code' => 'InvalidMessageAction', 'message' => 'The specified message action is invalid.', 'http_code' => 400, 'description' => '消息action非法'], + ['code' => 'InvalidMessageExpiration', 'message' => 'The specified expiration of the message is invalid.', 'http_code' => 400, 'description' => '消息有效期非法'], + ['code' => 'InvalidMessageType', 'message' => 'The specified message type is invalid.', 'http_code' => 400, 'description' => '消息类型非法'], + ['code' => 'InvalidMsgBody', 'message' => 'The specified message body is invalid.', 'http_code' => 400, 'description' => '消息体非法'], + ['code' => 'InvalidNode', 'message' => 'The specified node value is invalid.', 'http_code' => 400, 'description' => '节点值非法'], + ['code' => 'InvalidPackage', 'message' => 'The specified package name in the message parameter is invalid.', 'http_code' => 400, 'description' => '消息参数中包名非法'], + ['code' => 'InvalidPackageContent', 'message' => 'The specified package content of the message is invalid.', 'http_code' => 400, 'description' => '消息系统参数内容非法'], + ['code' => 'InvalidReceiverType', 'message' => 'The specified type of message recipient is invalid.', 'http_code' => 400, 'description' => '消息接收对象类型非法'], + ['code' => 'InvalidSignature', 'message' => 'The signature parameter is invalid.', 'http_code' => 403, 'description' => '无效的签名'], + ['code' => 'InvalidTenant', 'message' => 'You have not activated the IoVCC platform. Please go to the product page and activate it first.', 'http_code' => 403, 'description' => '您的账号暂未开通智联车管理云平台,请先进入产品页进行服务开通。'], + ['code' => 'InvalidVersionScale', 'message' => 'The format of the adaptor model version range is invalid.', 'http_code' => 400, 'description' => '适配机型的版本范围格式无效'], + ['code' => 'ListDeviceModelError', 'message' => 'An error occurred while obtaining the device model.', 'http_code' => 400, 'description' => '获取设备机型错误'], + ['code' => 'MessageBodyExceedDayLimit', 'message' => 'The length of message body exceeds the limit.', 'http_code' => 400, 'description' => '消息体大小超过限制'], + ['code' => 'MessageDescTooLong', 'message' => 'The maximum length of the description is exceeded.', 'http_code' => 400, 'description' => '消息描述超过长度限制'], + ['code' => 'MessageDeviceCountExceedLimit', 'message' => 'The number of devices pushed by a single message exceeds the limit.', 'http_code' => 400, 'description' => '单个消息推送的设备数量超过了限制'], + ['code' => 'MessageDeviceModelCountExceedLimit', 'message' => 'The number of device models pushed by a single message exceeds the limit.', 'http_code' => 400, 'description' => '单个消息推送的机型数量超过了限制'], + ['code' => 'MessageKpCountExceedLimit', 'message' => 'The number of accounts pushed by a single message exceeds the limit.', 'http_code' => 400, 'description' => '单个消息推送的账号数量超过了限制'], + ['code' => 'MessageNotExist', 'message' => 'The message does not exist.', 'http_code' => 404, 'description' => '消息不存在'], + ['code' => 'MessageTitleTooLong', 'message' => 'The maximum length of the title is exceeded.', 'http_code' => 400, 'description' => '消息标题超过长度限制'], + ['code' => 'MethodAlreadyExist', 'message' => 'The method name of RPC service already exists.', 'http_code' => 400, 'description' => 'RPC服务接口方法名已存在'], + ['code' => 'Missing%s', 'message' => 'The %s parameter is required.', 'http_code' => 400, 'description' => '缺少参数%s'], + ['code' => 'MissingCallerUid', 'message' => 'The specified CallerUid is empty.', 'http_code' => 400, 'description' => '租户ID缺失'], + ['code' => 'MissingCustomContent', 'message' => 'You must specify the custom content of the message.', 'http_code' => 400, 'description' => '消息自定义参数内容为空'], + ['code' => 'MissingHardwareId', 'message' => 'You must specify the hardware ID.', 'http_code' => 400, 'description' => '硬件ID不能为空'], + ['code' => 'MissingMessageDesc', 'message' => 'You must specify the message description.', 'http_code' => 400, 'description' => '消息描述为空'], + ['code' => 'MissingMessageReceiver', 'message' => 'You must specify the message recipient.', 'http_code' => 400, 'description' => '消息接收对象为空'], + ['code' => 'MissingMessageTitle', 'message' => 'You must specify the message title.', 'http_code' => 400, 'description' => '消息标题为空'], + ['code' => 'MissingPackageContent', 'message' => 'You must specify the package content of the message.', 'http_code' => 400, 'description' => '消息系统参数内容为空'], + ['code' => 'MissingProjectId', 'message' => 'The specified ProjectId is empty.', 'http_code' => 400, 'description' => '项目ID为空'], + ['code' => 'MissingReceiverData', 'message' => 'You must specify the list of message recipients.', 'http_code' => 400, 'description' => '消息接收者列表为空'], + ['code' => 'NameTooLong', 'message' => 'The maximum length of the name is exceeded.', 'http_code' => 400, 'description' => '名称过长'], + ['code' => 'NodeCannotUpdate', 'message' => 'You cannot modify the node value.', 'http_code' => 400, 'description' => '该节点值不允许修改'], + ['code' => 'NoFunctionDefined', 'message' => 'No function is defined in the function file.', 'http_code' => 400, 'description' => '函数文件中未找到具体的函数定义'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '无权执行该操作'], + ['code' => 'NoPermissionToAccessProject', 'message' => 'You are not authorized to access the current project.', 'http_code' => 403, 'description' => '无权访问当前项目'], + ['code' => 'NotFoundCustomizedFilter', 'message' => 'The customized filter of the version does not exist.', 'http_code' => 400, 'description' => '版本自定义过滤条件不存在'], + ['code' => 'NotFoundCustomizedProperty', 'message' => 'The customized property of the version does not exist.', 'http_code' => 400, 'description' => '版本自定义属性不存在'], + ['code' => 'NotFoundDevice', 'message' => 'The specified device is not found in the current project.', 'http_code' => 404, 'description' => '当前项目下找不到指定的设备'], + ['code' => 'NotFoundDeviceGroup', 'message' => 'The test device group does not exist.', 'http_code' => 404, 'description' => '测试设备分组不存在'], + ['code' => 'NotFoundDeviceModel', 'message' => 'The specified device model is not found in the current project.', 'http_code' => 404, 'description' => '当前项目下找不到指定的设备型号'], + ['code' => 'NotFoundDeviceModelGroup', 'message' => 'The device model group does not exist.', 'http_code' => 404, 'description' => '机型分组不存在'], + ['code' => 'NotFoundLargeDeviceGroup', 'message' => 'The large device group does not exist.', 'http_code' => 404, 'description' => '大容量设备分组不存在'], + ['code' => 'NotFoundPackage', 'message' => 'The upgrade package does not exist.', 'http_code' => 404, 'description' => '升级包不存在'], + ['code' => 'NotFoundPrepublish', 'message' => 'The prepublish does not exist.', 'http_code' => 404, 'description' => '预发布不存在'], + ['code' => 'NotFoundProject', 'message' => 'The specified project does not exist.', 'http_code' => 404, 'description' => '找不到指定的项目'], + ['code' => 'NotFoundProjectAccessKey', 'message' => 'The AccessKey under the current project cannot be found.', 'http_code' => 404, 'description' => '找不到项目的AccessKey'], + ['code' => 'NotFoundProjectApp', 'message' => 'The specified app is not found in the current project.', 'http_code' => 404, 'description' => '当前项目下找不到指定的应用'], + ['code' => 'NotFoundTest', 'message' => 'The test does not exist.', 'http_code' => 404, 'description' => '测试不存在'], + ['code' => 'NotFoundVersion', 'message' => 'The version does not exist.', 'http_code' => 404, 'description' => '版本不存在'], + ['code' => 'OnlyCanCancelBeforeRun', 'message' => 'Scheduled tasks can only be canceled before they are executed.', 'http_code' => 400, 'description' => '定时任务只能在其运行前取消'], + ['code' => 'OpenIdNotFound', 'message' => 'The third-party user account ID cannot be mapped to the cloud user ID.', 'http_code' => 400, 'description' => '外部三方账号平台的账号ID和云端用户ID的映射关系不存在'], + ['code' => 'OuterHardwareIdInvalid', 'message' => 'The specified format of DeviceHardwareId is invalid.', 'http_code' => 400, 'description' => '设备的硬件ID格式非法'], + ['code' => 'PrepublishExistBeforePublish', 'message' => 'Active prepublication versions are not allowed before the version is published.', 'http_code' => 400, 'description' => '版本发布前不允许存在活跃的预发布'], + ['code' => 'PrepublishMaxDeviceCountExceedConfigCount', 'message' => 'The number of authorized devices in prepublication exceeds the limit.', 'http_code' => 400, 'description' => '预发布已通过设备数超过上限'], + ['code' => 'PrepublishNotAllowedToActive', 'message' => 'Only versions with a prepublish status can activate prepublishing.', 'http_code' => 400, 'description' => '只有预发布状态的版本才能启用预发布'], + ['code' => 'ProductionUndeployed', 'message' => 'The function is not deployed in the production environment.', 'http_code' => 400, 'description' => '未部署到正式环境'], + ['code' => 'ProjectCountExceedLimit', 'message' => 'The number of projects has exceeded the limit.', 'http_code' => 403, 'description' => '项目个数超出限制'], + ['code' => 'RemoveAccountFailed', 'message' => 'Error deleting the account.', 'http_code' => 400, 'description' => '删除云端用户失败'], + ['code' => 'RemoveAccountLinkFailed', 'message' => 'Error deleting account link.', 'http_code' => 400, 'description' => '删除云端用户映射失败'], + ['code' => 'RestartTypeRequired', 'message' => 'The restart type is required.', 'http_code' => 400, 'description' => '重启类型不能为空'], + ['code' => 'RomRequired', 'message' => 'The upgrade package cannot be empty.', 'http_code' => 400, 'description' => '升级包不能为空'], + ['code' => 'RomSizeExceedMaxAllowSize', 'message' => 'The maximum size of the upgrade package exceeds the limit.', 'http_code' => 400, 'description' => '升级包大小超过了设置的最大值'], + ['code' => 'SandboxUndeployed', 'message' => 'The function is not deployed in the sandbox environment.', 'http_code' => 400, 'description' => '未部署到沙箱环境'], + ['code' => 'SchemaHasExist', 'message' => 'The device schema already exists.', 'http_code' => 400, 'description' => '设备范式已经存在'], + ['code' => 'SchemaNotExist', 'message' => 'The device schema does not exist.', 'http_code' => 404, 'description' => '设备范式不存在'], + ['code' => 'SendMailError', 'message' => 'An error occurred while sending the email.', 'http_code' => 400, 'description' => '发送邮件失败'], + ['code' => 'SourcePackageNotExist', 'message' => 'The upgrade package with the corresponding URL does not exist.', 'http_code' => 400, 'description' => '升级包URL对应的升级包未找到'], + ['code' => 'UnknownError', 'message' => 'An unknown error occurred.', 'http_code' => 400, 'description' => '未知错误'], + ['code' => 'UpdateNamespaceDataError', 'message' => 'An error occurred while modifying the namespace data.', 'http_code' => 400, 'description' => '修改Namespace的数据失败'], + ['code' => 'UpdateSubscribeError', 'message' => 'An error occurred while modifying the device data subscription.', 'http_code' => 400, 'description' => '修改设备数据订阅错误'], + ['code' => 'UsageTypeInvalid', 'message' => 'The format of the parameter usageType is invalid.', 'http_code' => 400, 'description' => '参数usageType格式非法'], + ['code' => 'UserIdUnresolved', 'message' => 'An error occurred while resolving the specified user ID.', 'http_code' => 400, 'description' => '无法解析用户id'."\n"], + ['code' => 'VersionBatchAddBlackDeviceCountExceed', 'message' => 'The maximum number of blacklisted devices that you have added for this version is exceeded.', 'http_code' => 400, 'description' => '版本一次批量添加的黑名单设备数超过了限额'], + ['code' => 'VersionBatchAddWhiteDeviceCountExceed', 'message' => 'The maximum number of whitelisted devices that you have added for this version is exceeded.', 'http_code' => 400, 'description' => '版本一次批量添加的白名单设备数超过了限额'], + ['code' => 'VersionNotAllowedToEdit', 'message' => 'The current status version cannot be modified.', 'http_code' => 400, 'description' => '当前状态的版本不允许被修改'], + ['code' => 'VersionStatusChangeNotAllowed', 'message' => 'Switching the version status is not allowed.', 'http_code' => 400, 'description' => '版本状态切换不允许'], + ['code' => 'VersionStatusNotAllowedToCreatePrepublish', 'message' => 'The current version status does not allow you to create the prepublish record', 'http_code' => 400, 'description' => '当前版本状态不允许创建预发布'], + ['code' => 'WhiteVersionMustSmallThanCurrentVersion', 'message' => 'The whitelist version must be smaller than the current version.', 'http_code' => 400, 'description' => '白名单版本必须小于当前版本'], + ['code' => 'YunFunctionPackageFileUploadError', 'message' => 'An error occurred while uploading the function package file.', 'http_code' => 400, 'description' => '上传函数包文件出错'], + ['code' => 'YunFunctionTriggerExist', 'message' => 'The specified trigger already exists.', 'http_code' => 400, 'description' => '相同的触发器已存在'], + ['code' => 'YunFunctionTriggerOfSyncStoreCreateError', 'message' => 'An error occurred while creating the SyncStore trigger.', 'http_code' => 400, 'description' => '创建SyncStore触发器出错'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddUploadedFunctionFileInfo'], + ['description' => '错误码发生变更', 'api' => 'AddVersionBlackDevices'], + ['description' => '错误码发生变更', 'api' => 'AddVersionGroupDevices'], + ['description' => '错误码发生变更', 'api' => 'AddVersionWhiteDevices'], + ['description' => '错误码发生变更', 'api' => 'AddVersionWhiteDevicesByDeviceGroups'], + ['description' => '错误码发生变更', 'api' => 'ConnectAssistDevice'], + ['description' => '错误码发生变更', 'api' => 'CountDeviceBrands'], + ['description' => '错误码发生变更', 'api' => 'CountDeviceModels'], + ['description' => '错误码发生变更', 'api' => 'CountDevices'], + ], + 'createdAt' => '2024-06-18T02:21:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'UpdateProject'], + ], + 'createdAt' => '2024-06-17T02:56:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListSupportFeatures'], + ], + 'createdAt' => '2024-06-14T11:21:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'ListProjects'], + ], + 'createdAt' => '2024-06-13T11:40:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateProjectApp'], + ], + 'createdAt' => '2023-08-21T07:11:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeMessage'], + ], + 'createdAt' => '2023-01-06T13:52:29.000Z', + 'description' => 'QPS调整', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ExecuteVehicleControl'], + ['description' => '请求参数发生变更', 'api' => 'GetVehicleControlResult'], + ], + 'createdAt' => '2021-06-30T05:57:23.000Z', + 'description' => '虚拟车接口发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CountActivatedOrNewRegistrationDevice'], + ['description' => 'OpenAPI 下线', 'api' => 'GetNamespaceStatisticsData'], + ], + 'createdAt' => '2021-05-26T12:51:04.000Z', + 'description' => '线上老接口返回字段按pop规范调整', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeProject'], + ['description' => 'OpenAPI 下线', 'api' => 'ListCommercialVehicleDevices'], + ], + 'createdAt' => '2021-05-26T12:29:17.000Z', + 'description' => '支持车联网国标jt808协议', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ListVehicle'], + ], + 'createdAt' => '2021-04-25T08:57:22.000Z', + 'description' => '虚拟车pop api初始化发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ], + ], + 'ram' => [ + 'productCode' => 'IoVCommandCenter', + 'productName' => '自动驾驶云开发平台', + 'ramCodes' => ['iovcc'], + 'ramLevel' => '操作级', + 'ramActions' => [ + [ + 'apiName' => 'GenerateOssUploadMeta', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateOssUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeMessage', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateOsVersionStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CountYunIdInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountYunIdInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAppVersionRemark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionBlackDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAppVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionWhiteDevicesById', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionWhiteDevicesById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOpenAccountLinks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOpenAccountLinks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddVersionGroupDevices', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVersionDeviceGroups', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListVersionDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAllCustomizedFilters', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteAllCustomizedFilters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSchemaSubscribe', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateSysAppDownloadInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateSysAppDownloadInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionDeviceGroups', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListMessageAcks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListMessageAcks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindPrepublishesByVersionId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishesByVersionId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateNamespace', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateNamespace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunctionExecuteLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionExecuteLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteRpcService', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteRpcService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListUpstreamAppKeyRelations', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListUpstreamAppKeyRelations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '项目ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'projectTest', + [ + 'apiName' => 'CountActivatedOrNewRegistrationDevice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountActivatedOrNewRegistrationDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'DeviceBrandId', - 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'GetOssUploadMeta', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetOssUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'DeviceBrand', - 'in' => 'query', - 'schema' => [ - 'description' => '查询的设备品牌名称,支持模糊查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'Tmall', + ], + [ + 'apiName' => 'DeleteUpstreamAppServer', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Start', - 'in' => 'query', - 'schema' => [ - 'description' => '返回列表起始位置。', - 'type' => 'string', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ListConnectLogs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListConnectLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Length', - 'in' => 'query', - 'schema' => [ - 'description' => '最多返回记录条数。', - 'type' => 'string', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'InvokeFunction', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:InvokeFunction', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'DeviceBrands' => [ - 'description' => '查询结果。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DeviceBrandId' => [ - 'description' => '品牌ID'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '品牌描述'."\n", - 'type' => 'string', - 'example' => '荣威 ', - ], - 'ProjectId' => [ - 'description' => '项目ID'."\n", - 'type' => 'string', - 'example' => 'projectTest', - ], - 'Manufacture' => [ - 'description' => '生产厂商'."\n", - 'type' => 'string', - 'example' => 'SAIC', - ], - 'DeviceBrand' => [ - 'description' => '品牌名称'."\n", - 'type' => 'string', - 'example' => 'ROEWE', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb', - ], - ], + [ + 'apiName' => 'GenerateFunctionFileUploadMeta', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateFunctionFileUploadMeta', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceBrands\\": [\\n {\\n \\"Manufacture\\": \\"SAIC\\",\\n \\"DeviceBrandId\\": 1,\\n \\"Description\\": \\"荣威\\\\t\\",\\n \\"DeviceBrand\\": \\"ROEWE\\",\\n \\"ProjectId\\": \\"projectTest\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"Code\\":\\"NoPermissionToAccessProject\\",\\n \\"HostId\\":\\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Message\\":\\"User is not authorized to access the specified project.\\",\\n \\"RequestId\\":\\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}"},{"type":"xml","example":"<ListDeviceBrandsResponse>\\r\\n\\t<DeviceBrands>\\r\\n\\t\\t<Description>荣威</Description>\\r\\n\\t\\t<DeviceBrand>ROEWE</DeviceBrand>\\r\\n\\t\\t<DeviceBrandId>1</DeviceBrandId>\\r\\n\\t\\t<Manufacture>SAIC</Manufacture>\\r\\n\\t\\t<ProjectId>projectTest</ProjectId>\\r\\n\\t</DeviceBrands>\\r\\n\\t<RequestId>E94C9864-56FB-44AD-AC0C-A1CEFB332254</RequestId>\\r\\n</ListDeviceBrandsResponse>","errorExample":""}]', - 'title' => '查询获取品牌列表', - 'summary' => '根据品牌ID或根据品牌名称,模糊查询获取品牌列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListPreChecks' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'CreateTrigger', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeDeviceInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListAssistHistoryDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistHistoryDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DeleteNamespace', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteNamespace', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PushMessage', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iovcc:PushMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionBlackDevices', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVersionDeviceGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDeviceSystemUpdateFunnelEvents', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetDeviceSystemUpdateFunnelEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeVersionDeviceGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCustomizedProperty', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteCustomizedProperty', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunctionFiles', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindCustomizedFilters', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindCustomizedFilters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddVersionBlackDevices', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionMessageSendRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionMessageSendRecords', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteTrigger', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateOsVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DelayPublishOsVersion', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DelayPublishOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SubmitAssistReport', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:SubmitAssistReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFunctionFilesByProjectId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListFunctionFilesByProjectId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionGroupDeviceById', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionGroupDeviceById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListPreChecks', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListPreChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求编号', - 'type' => 'string', - 'example' => 'BB80AC68-1E8A-4A46-B348-7D875AE9132A', - ], - 'PreChecks' => [ - 'description' => '预检返回结果', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '检查项', - 'type' => 'string', - 'example' => 'IovccEnabled', - ], - 'Link' => [ - 'description' => '检查项主页', - 'type' => 'string', - 'example' => 'https://www.aliyun.com/product/iovcc', - ], - 'Price' => [ - 'description' => '检查项收费模式', - 'type' => 'string', - 'example' => 'FreeTrial', - ], - 'State' => [ - 'description' => '检查结果', - 'type' => 'string', - 'example' => 'Enabled', - ], - ], - ], - ], - ], + [ + 'apiName' => 'CreateShadowSchema', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BB80AC68-1E8A-4A46-B348-7D875AE9132A\\",\\n \\"PreChecks\\": [\\n {\\n \\"Key\\": \\"IovccEnabled\\",\\n \\"Link\\": \\"https://www.aliyun.com/product/iovcc\\",\\n \\"Price\\": \\"FreeTrial\\",\\n \\"State\\": \\"Enabled\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListPreChecksResponse>\\n\\t<PreChecks>\\n\\t\\t<Link>https://www.aliyun.com/product/iovcc</Link>\\n\\t\\t<Key>IovccEnabled</Key>\\n\\t\\t<State>Enabled</State>\\n\\t\\t<Price>FreeTrial</Price>\\n\\t</PreChecks>\\n\\t<RequestId>D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2</RequestId>\\n</ListPreChecksResponse>","errorExample":""}]', - 'title' => '查询预检查结果', - 'summary' => '调用ListPreChecks查询预检查结果。', - 'description' => '> 查询用户是否已开通本产品以及依赖的其它云产品。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListRpcServices' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ListShadowSchemas', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListShadowSchemas', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListShadowSchemaDeviceModels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListShadowSchemaDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'PublishAppVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:PublishAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDeviceShadow', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceShadow', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListUpstreamAppServers', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListUpstreamAppServers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'required' => true, - 'example' => 'sfgsghd6', + [ + 'apiName' => 'CreateDeviceBrand', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateDeviceBrand', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteVersionGroupDevice', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionGroupDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询每页数据集数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'UpdateNamespaceData', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateNamespaceData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'RpcServices' => [ - 'description' => 'Rpc服务接口分页查询数据对象', - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '分页对象', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '分页页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - ], - ], - 'List' => [ - 'description' => 'Rpc服务接口注册列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MethodName' => [ - 'description' => '方法名称', - 'type' => 'string', - 'example' => 'rpcTest', - ], - 'Type' => [ - 'description' => '调用方式,包括http及hsf两种。', - 'type' => 'string', - 'example' => 'http', - ], - 'InterfaceName' => [ - 'description' => '接口名称', - 'type' => 'string', - 'example' => 'https://portal.aicc.aliyun.com/rpcServiceTest.html', - ], - 'Params' => [ - 'description' => '接口参数', - 'type' => 'string', - 'example' => 'param1,param2', - ], - 'AppKey' => [ - 'description' => 'cmns客户端应用appKey', - 'type' => 'string', - 'example' => 'aorlFafJ', - ], - 'GroupName' => [ - 'description' => '服务分组名称', - 'type' => 'string', - 'example' => 'lbs', - ], - 'GmtCreate' => [ - 'description' => '服务注册时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525684245000', - ], - 'IsDelete' => [ - 'description' => '是否逻辑删除,**Y**为已删除,**N**为未删除。', - 'type' => 'string', - 'example' => 'N', - ], - 'VersionCode' => [ - 'description' => '版本号', - 'type' => 'string', - 'example' => '2018-05-01', - ], - 'GmtModified' => [ - 'description' => '服务修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525684245000', - ], - 'Id' => [ - 'description' => '记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DeleteOpenAccount', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteOpenAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"RpcServices\\": {\\n \\"List\\": [\\n {\\n \\"MethodName\\": \\"rpcTest\\",\\n \\"Type\\": \\"http\\",\\n \\"InterfaceName\\": \\"https://portal.aicc.aliyun.com/rpcServiceTest.html\\",\\n \\"Params\\": \\"param1,param2\\",\\n \\"AppKey\\": \\"aorlFafJ\\",\\n \\"GroupName\\": \\"lbs\\",\\n \\"GmtCreate\\": 1525684245000,\\n \\"IsDelete\\": \\"N\\",\\n \\"VersionCode\\": \\"2018-05-01\\",\\n \\"GmtModified\\": 1525684245000,\\n \\"Id\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 30\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The ProjectId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListRpcServicesResponse>\\r\\n\\t<RpcServices>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>1</Id>\\r\\n\\t\\t\\t<AppKey>cH8Rj1CF</AppKey>\\r\\n\\t\\t\\t<Method>rpcTest1</Method>\\r\\n <MethodName>rpcTest1</MethodName>\\r\\n <VersionCode>2018-05-01</VersionCode> \\r\\n\\t\\t\\t<InterfaceName>https://portal.aicc.aliyun.com/rpcServiceTest.html</InterfaceName>\\r\\n\\t\\t\\t<GroupName>rpcTest</GroupName>\\r\\n\\t\\t\\t<Version>1.0.0</Version>\\r\\n\\t\\t\\t<Type>http</Type>\\r\\n\\t\\t\\t<Params>param1,param2</Params>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1513846288000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1513846288000</GmtModified>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>2</Id>\\r\\n\\t\\t\\t<AppKey>cH8Rj1CF</AppKey>\\r\\n\\t\\t\\t<Method>rpcTest2</Method>\\r\\n <MethodName>rpcTest2</MethodName>\\r\\n <VersionCode>2018-05-02</VersionCode>\\r\\n\\t\\t\\t<InterfaceName>https://portal.aicc.aliyun.com/rpcServiceTest.html</InterfaceName>\\r\\n\\t\\t\\t<GroupName>rpcTest</GroupName>\\r\\n\\t\\t\\t<Version>1.0.0</Version>\\r\\n\\t\\t\\t<Type>http</Type>\\r\\n\\t\\t\\t<Params>param1,param2</Params>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1513846284000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1513846284000</GmtModified>\\r\\n\\t\\t</List>\\r\\n\\t</RpcServices>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListRpcServicesResponse>","errorExample":""}]', - 'title' => '查询Rpc服务接口注册记录列表', - 'summary' => '调用ListRpcServices查询Rpc服务接口注册记录列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListSupportFeatures' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DeleteDevice', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCustomizedFilter', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'AddVersionWhiteDevicesByDeviceGroups', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionWhiteDevicesByDeviceGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'UpdateAppVersionReleaseNote', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionReleaseNote', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionBlackDevicesById', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionBlackDevicesById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCustomizedProperty', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateCustomizedProperty', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddUploadedFunctionFileInfo', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddUploadedFunctionFileInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDeviceModel', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CountDeviceModels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNamespaces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateProjectApp', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateProjectApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCustomizedFilter', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListProjects', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeOsVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTrigger', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateTrigger', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateOsVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteSchemaSubscribe', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAllVersionGroupDevices', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteAllVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDeviceIdByOuterInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceIdByOuterInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListMessageReceivers', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListMessageReceivers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOpenAccounts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOpenAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindOsVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindOsVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateRpcService', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateRpcService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDeployedFunctions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeployedFunctions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConnectAssistDevice', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ConnectAssistDevice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAssistRTMPServerAddress', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistRTMPServerAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AddVersionWhiteDevices', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:AddVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteProjectApp', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteProjectApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateSchemaSubscribe', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateSchemaSubscribe', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionTests', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionTests', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionAllWhiteDevices', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionAllWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryPrepublishPassedDeviceCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:QueryPrepublishPassedDeviceCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAssistActionDetails', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistActionDetails', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVersionPrepublish', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionPrepublish', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteFunctionFile', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteFunctionFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateProject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRpcServices', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListRpcServices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '1B0DA203-B3BA-43CD-9506-5DF33ACEFF26', - ], - 'SupportFeatures' => [ - 'description' => '已开通的服务模块', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '服务名称', - 'type' => 'string', - 'example' => 'OTA', - ], - ], - ], - ], - ], + [ + 'apiName' => 'UpdateCustomizedFilter', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B0DA203-B3BA-43CD-9506-5DF33ACEFF26\\",\\n \\"SupportFeatures\\": [\\n {\\n \\"Name\\": \\"OTA\\"\\n }\\n ]\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"<ListSupportFeaturesResponse>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>OTA</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>DIS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>IAS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>RA</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<SupportFeatures>\\r\\n\\t\\t<Name>CMNS</Name>\\r\\n\\t</SupportFeatures>\\r\\n\\t<RequestId>1B0DA203-B3BA-43CD-9506-5DF33ACEFF26</RequestId>\\r\\n</ListSupportFeaturesResponse>","errorExample":""}]', - 'title' => '查询已开通的服务列表', - 'summary' => '调用ListSupportFeatures查询已开通的服务列表。', - 'description' => '> 查询用户已开通哪些IoVCC的服务模块。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListUpstreamAppKeyRelations' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'CreateAppVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateUpstreamAppKeyRelation', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateUpstreamAppKeyRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GenerateSdkDownloadInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GenerateSdkDownloadInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'DescribeDeviceBrand', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceBrand', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteShadowSchema', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionDeviceGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeProjectAppSecurity', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeProjectAppSecurity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CountDeviceBrands', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDeviceBrands', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDeviceBrands', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceBrands', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询每页数据集大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + [ + 'apiName' => 'ListAssistHistories', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistHistories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fsgtd5y5r', + ], + [ + 'apiName' => 'FindAppVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindAppVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AppServerId', - 'in' => 'query', - 'schema' => [ - 'description' => '服务端应用ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', + ], + [ + 'apiName' => 'DescribeAssistReport', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'CountDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:CountDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'RelationList' => [ - 'description' => '应用映射关系分页查询数据对象。', - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '分页对象。', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '分页查询页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - 'List' => [ - 'description' => '映射关系列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AppName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => '会员中心', - ], - 'AppKey' => [ - 'description' => '客户端应用标识,为cmns应用appKey。', - 'type' => 'string', - 'example' => 'afsgwewt', - ], - 'AppPackage' => [ - 'description' => '应用包名。', - 'type' => 'string', - 'example' => 'com.test.member', - ], - 'ProjectId' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'example' => 'fsgtd5y5r', - ], - 'GmtCreate' => [ - 'description' => '记录创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525696592000', - ], - 'PAppKey' => [ - 'description' => '服务端应用标识。', - 'type' => 'string', - 'example' => 'cfsgweFv', - ], - 'Id' => [ - 'description' => '记录ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetNamespaceData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetNamespaceData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"RelationList\\": {\\n \\"List\\": [\\n {\\n \\"AppName\\": \\"会员中心\\",\\n \\"AppKey\\": \\"afsgwewt\\",\\n \\"AppPackage\\": \\"com.test.member\\",\\n \\"ProjectId\\": \\"fsgtd5y5r\\",\\n \\"GmtCreate\\": 1525696592000,\\n \\"PAppKey\\": \\"cfsgweFv\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The AppServerId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListUpstreamAppKeyRelationsResponse>\\r\\n\\t<RelationList>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<AppKey>gU4bcOff</AppKey>\\r\\n <AppName>会员中心</AppName>\\r\\n <AppPackage>com.test.member</AppPackage>\\r\\n\\t\\t\\t<GmtCreate>1525696754000</GmtCreate>\\r\\n\\t\\t\\t<Id>275</Id>\\r\\n\\t\\t\\t<PAppKey>JU3ffOub</PAppKey>\\r\\n\\t\\t\\t<ProjectId>fJCR8g2I</ProjectId>\\r\\n\\t\\t</List>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t</Pagination>\\r\\n\\t</RelationList>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListUpstreamAppKeyRelationsResponse>","errorExample":""}]', - 'title' => '查询上行消息客户端与服务端映射列表', - 'summary' => '根据服务端应用ID,查询上行消息客户端与服务端映射列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListUpstreamAppServers' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdateApiGatewayAppStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateApiGatewayAppStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListClientPlugins', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListClientPlugins', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateShadowSchema', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'ListSchemaSubscribes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListSchemaSubscribes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVersionDeviceGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionDeviceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindPrepublishesByParentId', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishesByParentId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAssistWSServerAddress', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeAssistWSServerAddress', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAppBlackWhiteVersions', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppBlackWhiteVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVersionPrepublishActiveStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateVersionPrepublishActiveStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDeviceModels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DiagnosisVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DiagnosisVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAppVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListClientSdks', + 'description' => '', 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListClientSdks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => 'iovcc项目工程ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'fsgtd5y5r', + [ + 'apiName' => 'UpdateOsBlackWhiteVersions', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsBlackWhiteVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'GetDeviceAppUpdateFunnelEvents', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetDeviceAppUpdateFunnelEvents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询每页数据集大小。', - 'type' => 'string', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'UpdateUpstreamAppServer', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '629586FE-CB2E-4742-995E-121F952CEB72', - ], - 'AppServers' => [ - 'description' => '服务端应用分页查询数据对象。', - 'type' => 'object', - 'properties' => [ - 'Pagination' => [ - 'description' => '分页对象', - 'type' => 'object', - 'properties' => [ - 'PageIndex' => [ - 'description' => '分页查询页码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalPageCount' => [ - 'description' => '总分页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页每页数据集大小', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '数据集总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - 'List' => [ - 'description' => '服务端应用列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ProjectId' => [ - 'description' => 'iovcc项目工程ID', - 'type' => 'string', - 'example' => 'Gs6st7ye', - ], - 'GmtCreate' => [ - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525701500000', - ], - 'Tags' => [ - 'description' => '上行消息业务标签。多个标签通过英文逗号拼接。', - 'type' => 'string', - 'example' => 'tag1,tag2,tag3', - ], - 'QueueNameList' => [ - 'description' => 'mns消费队列列表,应用服务端通过该队列接收上行消息,多个队列通过英文逗号拼接。', - 'type' => 'string', - 'example' => 'com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3', - ], - 'PAppKey' => [ - 'description' => '服务端应用唯一标识', - 'type' => 'string', - 'example' => 'fsgstyye', - ], - 'GmtModified' => [ - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525701500000', - ], - 'Name' => [ - 'description' => '服务端应用名称', - 'type' => 'string', - 'example' => 'iovcc-test', - ], - 'Id' => [ - 'description' => '记录ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'FindPrepublishPassedDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindPrepublishPassedDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\",\\n \\"AppServers\\": {\\n \\"List\\": [\\n {\\n \\"ProjectId\\": \\"Gs6st7ye\\",\\n \\"GmtCreate\\": 1525701500000,\\n \\"Tags\\": \\"tag1,tag2,tag3\\",\\n \\"QueueNameList\\": \\"com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3\\",\\n \\"PAppKey\\": \\"fsgstyye\\",\\n \\"GmtModified\\": 1525701500000,\\n \\"Name\\": \\"iovcc-test\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"Pagination\\": {\\n \\"PageIndex\\": 1,\\n \\"TotalPageCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 2\\n }\\n }\\n}","errorExample":"{\\n \\"Code\\":\\"MissingParameter\\",\\n \\"Message\\":\\"The ProjectId is mandatory for this action\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\":\\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}"},{"type":"xml","example":"<ListUpstreamAppServersResponse>\\r\\n\\t<AppServers>\\r\\n\\t\\t<Pagination>\\r\\n\\t\\t\\t<TotalCount>2</TotalCount>\\r\\n\\t\\t\\t<TotalPageCount>1</TotalPageCount>\\r\\n\\t\\t\\t<PageIndex>1</PageIndex>\\r\\n\\t\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t</Pagination>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>7</Id>\\r\\n\\t\\t\\t<PAppKey>jRfe7P5k</PAppKey>\\r\\n\\t\\t\\t<ProjectId>8ZJH0595</ProjectId>\\r\\n\\t\\t\\t<Name>test1</Name>\\r\\n\\t\\t\\t<Tags>testTag</Tags>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1514357674000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1525427071182</GmtModified>\\r\\n\\t\\t\\t<QueueNameList>com-yunos-iovcc-cmns-forward-qa-jRfe7P5k-testTag</QueueNameList>\\r\\n\\t\\t</List>\\r\\n\\t\\t<List>\\r\\n\\t\\t\\t<Id>6</Id>\\r\\n\\t\\t\\t<PAppKey>mRFG7Bee</PAppKey>\\r\\n\\t\\t\\t<ProjectId>8ZJH0595</ProjectId>\\r\\n\\t\\t\\t<Name>test2</Name>\\r\\n\\t\\t\\t<Tags>tag1,tag2,tag3</Tags>\\r\\n\\t\\t\\t<IsDelete>N</IsDelete>\\r\\n\\t\\t\\t<GmtCreate>1514344420000</GmtCreate>\\r\\n\\t\\t\\t<GmtModified>1525427071182</GmtModified>\\r\\n\\t\\t\\t<QueueNameList>com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3</QueueNameList>\\r\\n\\t\\t</List>\\r\\n\\t</AppServers>\\r\\n\\t<RequestId>629586FE-CB2E-4742-995E-121F952CEB72</RequestId>\\r\\n</ListUpstreamAppServersResponse>","errorExample":""}]', - 'title' => '获取上行消息服务端应用列表', - 'summary' => '根据项目工程ID获取上行消息服务端应用列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UpdateVersionPrepublishActiveStatus' => [ - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'FindVersionMessages', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionMessages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListProjectApps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListProjectApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeDeviceValiditySchema', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceValiditySchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'CreateUpstreamAppServer', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateUpstreamAppServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeployFunctionFile', + 'description' => '', 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:DeployFunctionFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'description' => '所属项目ID', - 'type' => 'string', - 'required' => true, - 'example' => 'P0VFCREU', + [ + 'apiName' => 'FindCustomizedProperties', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindCustomizedProperties', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PrepublishId', - 'in' => 'query', - 'schema' => [ - 'description' => '预发布ID', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'PublishOsVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:PublishOsVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'IsActive', - 'in' => 'query', - 'schema' => [ - 'description' => '预发布是否为启用状态', - 'type' => 'string', - 'required' => true, - 'example' => 'Y', + ], + [ + 'apiName' => 'DescribeOpenAccount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeOpenAccount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064', - ], - ], + [ + 'apiName' => 'ListDeviceTypes', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDeviceTypes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateDeviceModel', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTriggers', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListTriggers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCustomizedFilter', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateCustomizedFilter', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVersionTest', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iovcc:CreateVersionTest', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAppVersionStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateAppVersionStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApiGatewayApps', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListApiGatewayApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PushVersionMessage', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iovcc:PushVersionMessage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDefaultSchema', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDefaultSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateOsVersionReleaseNote', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionReleaseNote', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAssistDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListAssistDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeShadowSchema', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeShadowSchema', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOfflineMessages', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListOfflineMessages', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionWhiteDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateOsVersionRemark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iovcc:UpdateOsVersionRemark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListSupportFeatures', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListSupportFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'FindVersionGroupDevices', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:FindVersionGroupDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionAllBlackDevices', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionAllBlackDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDeviceOnlineInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceOnlineInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteUpstreamAppKeyRelation', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteUpstreamAppKeyRelation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionTest', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionTest', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApps', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iovcc:ListApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetNamespaceStatisticsData', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:GetNamespaceStatisticsData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVersionWhiteDevices', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iovcc:DeleteVersionWhiteDevices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDeviceModel', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:DescribeDeviceModel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListClientPluginVersions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iovcc:ListClientPluginVersions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\"\\n}","errorExample":"{\\n \\"RequestId\\": \\"6F25F67C-F411-499F-BCE2-67CA563CB064\\",\\n \\"HostId\\": \\"iovcc.cn-shanghai.aliyuncs.com\\",\\n \\"Code\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"<UpdateVersionPrepublishActiveStatusResponse>\\r\\n\\t<RequestId>6F25F67C-F411-499F-BCE2-67CA563CB064</RequestId>\\r\\n</UpdateVersionPrepublishActiveStatusResponse>","errorExample":""}]', - 'title' => '更新指定预发布禁用启用状态', - 'summary' => '调用UpdateVersionPrepublishActiveStatus更新指定预发布禁用启用状态。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'iovcc.cn-shanghai.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
