'1.0',
'info' => ['style' => 'RPC', 'product' => 'iovcc', 'version' => '2018-05-01'],
'directories' => [
[
'children' => ['CreateVersionPrepublish', 'CreateVersionTest', 'DeleteVersionTest', 'ListClientPluginVersions', 'FindPrepublishesByVersionId', 'FindVersionTests'],
'type' => 'directory',
'title' => '版本',
'id' => 297503,
],
[
'children' => ['DescribeAssistReport', 'ListAssistActionDetails', 'ListAssistHistories', 'ListAssistHistoryDetails', 'DescribeAssistRTMPServerAddress', 'SubmitAssistReport'],
'type' => 'directory',
'title' => '诊断',
'id' => 297510,
],
[
'children' => ['CreateCustomizedProperty', 'DeleteCustomizedProperty', 'FindCustomizedProperties'],
'type' => 'directory',
'title' => '属性',
'id' => 297518,
],
[
'children' => ['CreateCustomizedFilter', 'DeleteAllCustomizedFilters', 'DeleteCustomizedFilter', 'UpdateCustomizedFilter', 'DescribeCustomizedFilter', 'FindCustomizedFilters'],
'type' => 'directory',
'title' => '过滤',
'id' => 297522,
],
[
'children' => ['ListClientSdks', 'GenerateSdkDownloadInfo'],
'type' => 'directory',
'title' => 'SDK',
'id' => 297529,
],
[
'children' => ['CreateSchemaSubscribe', 'DeleteSchemaSubscribe', 'UpdateSchemaSubscribe', 'ListSchemaSubscribes'],
'type' => 'directory',
'title' => '订阅',
'id' => 297532,
],
[
'children' => ['UpdateNamespaceData', 'GetNamespaceData', 'GetNamespaceStatisticsData'],
'type' => 'directory',
'title' => '命名空间',
'id' => 297539,
],
[
'children' => ['DeleteOpenAccount', 'ListOpenAccountLinks', 'ListOpenAccounts', 'DescribeOpenAccount'],
'type' => 'directory',
'title' => '账号',
'id' => 297546,
],
[
'children' => ['CreateUpstreamAppKeyRelation', 'CreateUpstreamAppServer', 'DeleteUpstreamAppKeyRelation', 'DeleteUpstreamAppServer', 'UpdateUpstreamAppServer', 'ListMessageAcks', 'ListOfflineMessages', 'DescribeMessage', 'PushVersionMessage', 'FindVersionMessages', 'FindVersionMessageSendRecords'],
'type' => 'directory',
'title' => '消息',
'id' => 297551,
],
[
'children' => ['UpdateAppBlackWhiteVersions', 'UpdateAppVersionReleaseNote', 'UpdateAppVersionStatus', 'UpdateAppVersion', 'UpdateAppVersionRemark', 'GetDeviceAppUpdateFunnelEvents', 'PublishAppVersion', 'FindAppVersions'],
'type' => 'directory',
'title' => '应用版本',
'id' => 297566,
],
[
'children' => ['AddVersionBlackDevices', 'CreateOsVersion', 'DeleteVersionBlackDevices', 'DeleteVersionBlackDevicesById', 'DeleteVersionWhiteDevices', 'DeleteVersionWhiteDevicesById', 'UpdateOsBlackWhiteVersions', 'UpdateOsVersion', 'UpdateOsVersionReleaseNote', 'UpdateOsVersionRemark', 'UpdateOsVersionStatus', 'DescribeAppVersion', 'DescribeOsVersion', 'GetDeviceSystemUpdateFunnelEvents', 'DelayPublishOsVersion', 'FindOsVersions', 'FindVersionWhiteDevices', 'PublishOsVersion'],
'type' => 'directory',
'title' => '系统版本',
'id' => 297576,
],
[
'children' => ['CreateShadowSchema', 'DeleteShadowSchema', 'UpdateShadowSchema', 'ListShadowSchemaDeviceModels', 'ListShadowSchemas', 'DescribeDefaultSchema', 'DescribeDeviceValiditySchema', 'DescribeShadowSchema'],
'type' => 'directory',
'title' => 'Schema',
'id' => 297600,
],
[
'children' => ['AddUploadedFunctionFileInfo', 'DeleteFunctionFile', 'ListDeployedFunctions', 'ListFunctionExecuteLog', 'ListFunctionFiles', 'ListFunctionFilesByProjectId', 'GenerateFunctionFileUploadMeta', 'InvokeFunction', 'DeployFunctionFile'],
'type' => 'directory',
'title' => '函数',
'id' => 297609,
],
[
'children' => ['UpdateTrigger', 'ListTriggers'],
'type' => 'directory',
'title' => '触发器',
'id' => 297619,
],
[
'children' => [
'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,
],
[
'children' => ['CreateProjectApp', 'ListProjectApps', 'DescribeProjectAppSecurity'],
'type' => 'directory',
'title' => '项目',
'id' => 297672,
],
[
'children' => [
'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' => [
'AddUploadedFunctionFileInfo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'ObjectKey',
'in' => 'query',
'schema' => ['description' => '已上传的文件标识符', 'type' => 'string', 'required' => true, 'example' => 'function/file/1288127240930711/PE9FQC48/B1226EA3-2518-4164-8D2D-82B91A077020/hello.zip'],
],
[
'name' => 'FileName',
'in' => 'query',
'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '添加已上传的函数文件',
'summary' => '添加已经上传(先请求GenerateFunctionFileUploadMeta)的函数文件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '为系统版本或者应用版本添加黑名单',
'summary' => '调用AddVersionBlackDevices为系统版本或者应用版本添加黑名单。',
'description' => '> 在系统升级或应用升级时,当希望某些特定的设备不允许升级时,可以调用此接口添加版本的设备黑名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'name' => 'DeviceIds',
'in' => 'query',
'schema' => ['description' => '云设备ID列表', 'type' => 'string', 'required' => true, 'example' => '"b8fe2e24ff2b48e0a3aa4e49809fc1b3","b8f12e24ff2b48e0a3aa4e49809fc1b3"'],
],
[
'name' => 'DeviceGroupId',
'in' => 'query',
'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '批量添加设备到测试设备分组中',
'summary' => '通过云设备ID批量添加一个或多个设备到测试设备分组中。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'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',
'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' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '添加系统版本或应用版本的设备白名单',
'summary' => '调用AddVersionWhiteDevices添加系统版本或应用版本的设备白名单。',
'description' => '> 当希望添加版本的设备白名单时,可以调用此接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"Data\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"6F25F67C-F411-499F-BCE2-67CA563CB064\\nsuccess","errorExample":""}]',
'title' => '将分组中的设备添加为版本黑白名单设备',
'summary' => '通过设备分组将分组中的设备添加为版本黑白名单设备。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'HardwareId',
'in' => 'formData',
'schema' => ['description' => '硬件ID', 'type' => 'string', 'required' => false, 'example' => 'BALFL8429HI'],
],
[
'name' => 'AllowCommandExtension',
'in' => 'formData',
'schema' => ['description' => '允许执行扩展命令', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'DeviceId',
'in' => 'formData',
'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'example' => '6fde56979c484b93b99fba257e3cbe83'],
],
[
'name' => 'SerialNumber',
'in' => 'formData',
'schema' => ['description' => '序列号', 'type' => 'string', 'required' => false, 'example' => 'BALFL8429SN'],
],
[
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
],
'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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '通知设备建立诊断连接',
'summary' => '通知设备建立诊断web socket连接。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:37.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
[
'name' => 'DeviceType',
'in' => 'query',
'schema' => ['description' => '设备类型', 'type' => 'string', 'required' => false, 'example' => 'car_auto'],
],
[
'name' => 'DeviceBrandId',
'in' => 'query',
'schema' => ['description' => '设备品牌ID', 'type' => 'string', 'required' => false, 'example' => '15'],
],
[
'name' => 'DeviceBrand',
'in' => 'query',
'schema' => ['description' => '设备品牌名称', 'type' => 'string', 'required' => false, 'example' => 'ROEWE'],
],
[
'name' => 'DeviceModelId',
'in' => 'query',
'schema' => ['description' => '设备型号ID', 'type' => 'string', 'required' => false, 'example' => '105'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'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' => [
200 => [
'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"]'],
'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\\": \\"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' => ' ',
'changeSet' => [
['createdAt' => '2021-05-26T12:50:16.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'DeviceBrandId',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'DeviceBrand',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌名称', 'type' => 'string', 'required' => false, 'example' => 'Tmall'],
],
[
'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' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
'BrandCount' => ['description' => '品牌数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t2\\r\\n","errorExample":""}]',
'title' => '查询符合条件的设备品牌数量',
'summary' => '调用CountDeviceBrands查询符合条件的设备品牌数量。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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'],
],
[
'name' => 'DeviceBrand',
'in' => 'query',
'schema' => ['description' => '设备品牌', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\tSUCCESS\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t1\\r\\n\\t200\\r\\n","errorExample":""}]',
'title' => '查询设备型号数量',
'summary' => '调用CountDeviceModels查询设备型号数量。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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' => '1'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '设备机型名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'Device Model'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"RequestId\\": \\"9c7a3b09-a69a-43f5-8bf2-84f7119810eb\\",\\n \\"DeviceCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => '指定机型的设备总数',
'summary' => '指定机型的设备总数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:CountDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CountYunIdInfo' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'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'],
],
'description' => '',
],
],
],
'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":"E94C9864-56FB-44AD-AC0C-A1CEFB332254\\n\\n 5\\n 10\\n 100\\n","errorExample":""}]',
'title' => '统计租户下的品牌数和机型数以及设备数',
'summary' => '统计租户下的品牌数和机型数以及设备数。',
'description' => '统计租户下的品牌数和机型数以及设备数',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'IsForceUpgrade',
'in' => 'query',
'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'],
],
[
'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'],
],
[
'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' => 'ReleaseNote',
'in' => 'query',
'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => false, 'example' => 'sample release note'],
],
[
'name' => 'IsSilentUpgrade',
'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' => 'IsNeedRestart',
'in' => 'query',
'schema' => ['description' => '是否需要重启,取值:**Y** | **N**。', 'type' => 'string', 'required' => false, 'example' => 'N'],
],
[
'name' => 'BlackVersionList',
'in' => 'query',
'schema' => ['description' => '版本黑名单,versioncode英文逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '10,20,30'],
],
[
'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',
'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'],
],
[
'name' => 'ApkMd5',
'in' => 'query',
'schema' => ['description' => 'APK的MD5值', 'type' => 'string', 'required' => false, 'example' => '34653456wertwe234653retwewer3456'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '12345'],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t12345\\r\\n","errorExample":""}]',
'title' => '创建应用升级版本',
'summary' => '调用CreateAppVersion创建应用升级版本。',
'description' => '> 当用户需要进行应用升级时,需要首先调用此接口创建一个应用版本,然后进行后续的版本测试、灰度、发布。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'VersionType',
'in' => 'query',
'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'],
],
[
'name' => 'Value',
'in' => 'query',
'schema' => ['description' => '过滤条件值', 'type' => 'string', 'required' => true, 'example' => '1,2,3'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'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'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => '过滤条件名', 'type' => 'string', 'required' => true, 'example' => 'AnotherFilter'],
],
[
'name' => 'ValueType',
'in' => 'query',
'schema' => ['description' => '过滤条件值类型。'."\n"
."\n"
.'目前仅支持**WRITE**,表示手写输入。', 'type' => 'string', 'required' => true, 'example' => 'WRITE'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '所属版本ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CustomizedFilterId' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'example' => '1'],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'],
],
'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CustomizedFilterId\\": \\"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":"\\r\\n\\t1\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '给指定版本添加自定义过滤条件',
'summary' => '给指定版本添加自定义过滤条件,可以通过自定义的方式扩展版本的查询筛选能力。',
'description' => '> 自定义过滤条件会在设备发起升级查询请求时,根据请求中增加的自定义的参数,按照设定的规则判断设备是否可以查询到该升级版本。设备请求的自定义参数名需和版本配置的自定义过滤条件名一致。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'name' => 'Name',
'in' => 'query',
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\t7676B259-FFA5-4971-A9D7-7B3F48D1DEEB\\r\\n\\t1\\r\\n","errorExample":""}]',
'title' => '创建自定义属性',
'summary' => '调用CreateCustomizedProperty创建自定义属性。',
'description' => '> 用户可以在版本上添加自定义属性,这些自定义属性会在该版本的返回结果中返回,使用户可以自定义一些值附带在版本上。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'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' => '天猫精灵'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t1\\r\\n","errorExample":""}]',
'title' => '创建设备品牌',
'summary' => '调用CreateDeviceBrand创建设备品牌。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'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',
'in' => 'query',
'schema' => ['description' => '设备型号名称。', 'type' => 'string', 'required' => false, 'example' => 'X1'],
],
[
'name' => 'HardwareType',
'in' => 'query',
'schema' => ['description' => '设备ID生成依据。', 'type' => 'string', 'required' => false, 'example' => 'sn'],
],
[
'name' => 'BrandName',
'in' => 'query',
'schema' => ['description' => '品牌名称。', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '型号描述。', 'type' => 'string', 'required' => false, 'example' => '天猫精灵X1'],
],
[
'name' => 'DeviceType',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t10\\r\\n","errorExample":""}]',
'title' => '创建一个新的设备型号',
'summary' => '调用CreateDeviceModel创建一个新的设备型号。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'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'],
],
[
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\tcc6c29893f2be7d465db44ec7b5d593e\\r\\n","errorExample":""}]',
'title' => '创建命名空间',
'summary' => '调用CreateNamespace创建一个数据存储空间Namespace。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:36.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'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'],
],
[
'name' => 'ReleaseNote',
'in' => 'query',
'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => false, 'example' => '改用UI用户体验,提升系统稳定性'],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'example' => '版本备注信息,终端设备不可见'],
],
[
'name' => 'BlackVersionList',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'VersionId' => ['description' => '返回创建的版本的ID', 'type' => 'string', 'example' => '12345'],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t1003\\r\\n","errorExample":""}]',
'title' => '创建系统升级版本',
'summary' => '调用CreateOsVersion创建系统升级版本。',
'description' => '> 当用户需要进行FOTA升级(即系统升级)时,需要首先调用此接口创建一个系统版本,然后进行后续的版本测试、灰度、发布。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '在项目下创建应用',
'summary' => '调用CreateProjectApp(在项目下)创建应用。',
'description' => '> 项目下可以创建应用的个数不限,这里的应用是指客户端应用,目前仅支持Andirod系统的应用。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2023-08-21T07:11:21.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc的项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'ftewtwyy'],
],
[
'name' => 'AppKey',
'in' => 'query',
'schema' => ['description' => 'iovcc cmns应用appKey,应用唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'WH2MptXX'],
],
[
'name' => 'InterfaceName',
'in' => 'query',
'schema' => ['description' => '服务接口名称。'."\n"
."\n"
.'http接口为不包含参数的请求地址。例如:`https://www.aliyun.com/rpcServiceTest`。', 'type' => 'string', 'required' => true, 'example' => 'http://www.aliyun.com/aicc/testRpc'],
],
[
'name' => 'InvokeType',
'in' => 'query',
'schema' => [
'description' => '接口调用类型。'."\n"
."\n"
.'支持http(含https)和hsf。其中,hsf接口需与iovcc服务部署在同一vpc内,方能支持。',
'type' => 'string',
'required' => true,
'example' => 'http',
'enum' => ['http', 'hsf'],
],
],
[
'name' => 'Params',
'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'],
],
[
'name' => 'GroupName',
'in' => 'query',
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t1\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '注册cmns rpc服务接口',
'summary' => '根据cmns应用appKey、接口名称、接口参数类型等信息注册rpc 服务接口。',
'description' => '> 支持服务接口以http、hsf两种方式暴露。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => 'PIC3UA0V'],
],
[
'name' => 'SchemaVersion',
'in' => 'query',
'schema' => ['description' => '版本', 'type' => 'string', 'required' => false, 'example' => '1.0'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"\\r\\n 6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '创建订阅信息',
'summary' => '调用CreateSchemaSubscribe创建订阅信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => 'create'],
'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'],
],
[
'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' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '新建某机型的schema信息',
'summary' => '调用CreateShadowSchema新建某机型的schema信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => 'create'],
'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',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n 629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '创建触发器',
'summary' => '调用CreateTrigger创建触发器。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AppKey',
'in' => 'query',
'schema' => ['description' => '客户端应用标识,为cmns应用appKey。', 'type' => 'string', 'required' => true, 'example' => 'xglrajCR'],
],
[
'name' => 'PAppKey',
'in' => 'query',
'schema' => ['description' => '处理cmns上行消息的应用服务端标识。', 'type' => 'string', 'required' => true, 'example' => 'fgbbajCR'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'ewrtgggr'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t1\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '创建上行消息客户端与服务端的映射',
'summary' => '根据客户端AppKey和服务端AppKey创建上行消息客户端与服务端的映射关系。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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'],
],
[
'name' => 'Tags',
'in' => 'query',
'schema' => ['description' => '上行业务消息tag,方便应用服务器端对上行消息分类处理。多个tag通过英文逗号分隔。', 'type' => 'string', 'required' => true, 'example' => 'tag1,tag2'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t1\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '创建处理上行消息的服务端应用',
'summary' => '调用CreateUpstreamAppServer创建处理上行消息的服务端应用。',
'description' => '> 根据名称、业务消息过滤标签、项目工程ID创建服务端应用。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => 'P0VFCREU'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => '分组名', 'type' => 'string', 'required' => true, 'example' => '升级分组1'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '分组描述', 'type' => 'string', 'required' => false, 'example' => '测试分组'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t1\\r\\n","errorExample":""}]',
'title' => '创建一个用于测试的设备分组',
'summary' => '调用CreateVersionDeviceGroup创建一个用于测试的设备分组。',
'description' => '测试设备分组用于进行系统或应用版本的测试。创建测试设备分组后,在创建版本的测试时,选择该分组,会自动向分组中设备推送待测试版本的升级信息。'."\n"
."\n"
.'> 因为版本会关联机型,因此测试设备分组中的设备的机型需和待测试版本上配置的机型相同才可升级待测试版本,否则测试无效。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => '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',
'in' => 'query',
'schema' => ['description' => '预发布名', 'type' => 'string', 'required' => true, 'example' => '第一次预发布'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'BarrierCount',
'in' => 'query',
'schema' => ['description' => '预发布允许设备数', 'type' => 'string', 'required' => true, 'example' => '1000'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t1\\r\\n","errorExample":""}]',
'title' => '创建一个版本预发布',
'summary' => '调用CreateVersionPrepublish创建一个版本预发布。',
'description' => '创建一个版本预发布,只允许在版本是“测试已通过”或“预发布”状态时才可创建。'."\n"
."\n"
.'- 系统版本只有一个机型,所以预发布只针对该机型。'."\n"
.'- 应用版本可能有多个机型,预发布可根据**IsTotalPrepublish**参数决定,是对所有机型平均分配允许设备数,或是所有机型共享总允许设备数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'DeviceGroupId',
'in' => 'query',
'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '测试描述', 'type' => 'string', 'required' => false, 'example' => '第一次测试'],
],
[
'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',
'in' => 'query',
'schema' => ['description' => '测试名', 'type' => 'string', 'required' => true, 'example' => '第一次测试'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'TestId' => ['description' => '创建出的测试ID', 'type' => 'string', 'example' => '1'],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t1\\r\\n","errorExample":""}]',
'title' => '创建系统或应用版本测试',
'summary' => '创建一个系统或应用版本的测试,并向测试分组中的设备推送升级消息。',
'description' => '在版本测试阶段时,需要对指定的一小批设备进行升级测试。依赖已创建出的测试设备分组,测试的目标设备在测试设备分组中管理。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:35.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => 'SASUHQ'],
],
[
'name' => 'PrepubTime',
'in' => 'query',
'schema' => ['description' => '定时预发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'],
],
[
'name' => 'PublishTime',
'in' => 'query',
'schema' => ['description' => '定时发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'],
],
[
'name' => 'DownTime',
'in' => 'query',
'schema' => ['description' => '定时下架时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1570672685997'],
],
[
'name' => 'Email',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'],
],
'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"629586FE-CB2E-4742-995E-121F952CEB72\\"\\n}","errorExample":""},{"type":"xml","example":"629586FE-CB2E-4742-995E-121F952CEB72","errorExample":""}]',
'title' => '定时发布系统版本',
'summary' => '定时发布系统版本。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'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' => '1'],
],
[
'name' => 'VersionType',
'in' => 'query',
'schema' => ['description' => '版本类型,取值:'."\n"
."\n"
.'- **FOTA**:系统版本'."\n"
.'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除版本下所有自定义过滤条件',
'summary' => '调用DeleteAllCustomizedFilters删除版本下所有自定义过滤条件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'DeviceGroupId',
'in' => 'query',
'schema' => ['description' => '测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除测试设备分组中的所有设备',
'summary' => '调用DeleteAllVersionGroupDevices删除测试设备分组中的所有设备。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除一个指定的自定义过滤条件',
'summary' => '调用DeleteCustomizedFilter删除一个指定的自定义过滤条件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '自定义属性ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '指定删除一条自定义属性记录',
'summary' => '调用DeleteCustomizedProperty指定删除一条自定义属性记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => false, 'example' => '100'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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}","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":"\\r\\nE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '删除设备信息',
'summary' => '调用DeleteDevice删除设备信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'FileName',
'in' => 'query',
'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'],
],
[
'name' => 'FileType',
'in' => 'query',
'schema' => ['description' => '文件类型。**0**:单文件;**1**:包文件。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n 629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除函数文件',
'summary' => '调用DeleteFunctionFile删除函数文件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'],
],
'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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '删除命名空间',
'summary' => '调用DeleteNamespace删除指定的数据存储空间Namespace。删除后,Namespace里的数据将丢失。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'IdentityId',
'in' => 'query',
'schema' => ['description' => '云端用户ID', 'type' => 'string', 'required' => false, 'example' => 'identityidtest'],
],
[
'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' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n","errorExample":""}]',
'title' => '删除账号信息',
'summary' => '调用DeleteOpenAccount删除账号信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PPCVFRG7'],
],
[
'name' => 'AppId',
'in' => 'query',
'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'AJROOEWE'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除项目下用户创建的自定义应用',
'summary' => '调用DeleteProjectApp删除项目下用户创建的自定义应用。',
'description' => '> 根据项目id和应用id删除项目下用户创建的自定义应用,删除之后可以恢复,可以通过再创建相同包名的应用来恢复,之前应用的AppId,AppKey,AppSecret信息不变。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '服务接口注册记录ID。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除Rpc服务接口注册记录',
'summary' => '根据记录ID删除Rpc服务接口注册记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除订阅信息',
'summary' => '调用DeleteSchemaSubscribe删除订阅信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除某机型的schema信息',
'summary' => '调用DeleteShadowSchema删除某机型的schema信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '触发器ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除触发器',
'summary' => '调用DeleteTrigger删除触发器。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '上行映射关系ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除上行消息应用端与服务端的关系映射',
'summary' => '根据关系ID删除上行消息应用端与服务端的关系映射记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sghghshr'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '服务端应用记录ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '删除处理上行消息的服务端应用信息',
'summary' => '根据记录ID删除处理上行消息的服务端应用信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteUpstreamAppServer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteVersionAllBlackDevices' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'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' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除所有黑名单设备',
'summary' => '删除系统版本或应用版本下的所有黑名单设备。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:34.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'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' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除所有设备白名单',
'summary' => '删除系统版本或应用版本下的所有设备白名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'delete'],
'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' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
[
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除系统版本或应用版本的设备黑名单',
'summary' => '调用DeleteVersionBlackDevices删除系统版本或应用版本的设备黑名单。',
'description' => '> 当需要删除版本的设备黑名单时,可以调用此接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteVersionBlackDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteVersionBlackDevicesById' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'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'],
],
[
'name' => 'VersionType',
'in' => 'query',
'schema' => ['description' => '版本类型,支持:'."\n"
."\n"
.'- **FOTA**:系统升级'."\n"
.'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除系统版本或应用版本设备黑名单',
'summary' => '根据ID删除系统版本或应用版本的设备黑名单名单。',
'description' => '> 当希望根据黑名单ID删除版本的设备黑名单时,可以调用此接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteVersionBlackDevicesById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteVersionDeviceGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除一个测试设备分组',
'summary' => '调用DeleteVersionDeviceGroup删除一个测试设备分组。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'DeviceIds',
'in' => 'query',
'schema' => ['description' => '原始设备ID', 'type' => 'string', 'required' => true, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'DeviceGroupId',
'in' => 'query',
'schema' => ['description' => '设备所属测试设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'DeviceIdType',
'in' => 'query',
'schema' => ['description' => '用于判断的DeviceIds的类型,取值有:**device_id**,**sn**,**vin**,**hardware_id**,**uuid**。', 'type' => 'string', 'required' => true, 'example' => 'device_id'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '从测试设备分组中删除一个特定设备',
'summary' => '调用DeleteVersionGroupDevice从测试设备分组中删除一个特定设备。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'DeviceGroupId',
'in' => 'query',
'schema' => ['description' => '设备分组ID', 'type' => 'string', 'required' => true, 'example' => '1234'],
],
[
'name' => 'Ids',
'in' => 'query',
'schema' => ['description' => '分组下设备记录的ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '11,22,33'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '根据ID删除测试分组设备',
'summary' => '调用DeleteVersionGroupDeviceById根据ID删除测试分组设备。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'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' => 'delete'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '测试ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除版本下指定的测试',
'summary' => '调用DeleteVersionTest删除版本下指定的测试。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'write',
'systemTags' => ['operationType' => 'delete'],
'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',
'in' => 'query',
'schema' => ['description' => '版本类型。支持:'."\n"
."\n"
.'- **FOTA**:系统升级'."\n"
.'- **APP**:应用升级', 'type' => 'string', 'required' => true, 'example' => 'FOTA'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
[
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'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}\\n"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除系统版本或应用版本的设备白名单',
'summary' => '调用DeleteVersionWhiteDevices删除系统版本或应用版本的设备白名单。',
'description' => '> 当希望删除版本的设备白名单时,可以调用此接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteVersionWhiteDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteVersionWhiteDevicesById' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Ids',
'in' => 'query',
'schema' => ['description' => '白名单ID列表,英文逗号分割。', 'type' => 'string', 'required' => true, 'example' => '1,2,3'],
],
[
'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' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '删除系统版本或应用版本设备白名单',
'summary' => '根据ID删除系统版本或应用版本的设备白名单。',
'description' => '> 当希望根据ID删除版本的设备白名单时,可以调用此接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'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' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'FileId',
'in' => 'query',
'schema' => ['description' => '函数文件ID'."\n", 'type' => 'string', 'required' => true, 'example' => '35'],
],
[
'name' => 'DeployEnv',
'in' => 'query',
'schema' => ['description' => '部署环境,**0**:沙箱环境;**1**:生产环境。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '部署函数',
'summary' => '调用DeployFunctionFile部署函数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AppVersion' => [
'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' => '应用版本的适配机型列表',
'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'],
],
'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'],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t100010\\r\\n\\t\\t\\t3.0.1-R-20180412.0923\\r\\n\\t\\t\\t2.0.1-R-20180412.0923\\r\\n\\t\\t\\t123\\r\\n\\t\\t\\r\\n\\t\\t645adsff2094asas2345et8\\r\\n\\t\\t12\\r\\n\\t\\tiovcc-ota\\r\\n\\t\\t2.0.1\\r\\n\\t\\t\\r\\n\\t\\thttp://www.cdn-server.com/file.zip\\r\\n\\t\\t2018-04-24 12:23:45\\r\\n\\t\\t2018-04-24 12:23:45\\r\\n\\t\\t123\\r\\n\\t\\tauto\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\t345adsff2094asas2345et3\\r\\n\\t\\thttp://www.oss-server.com/file.zip\\r\\n\\t\\tcom.aliyun.iovcc.ota\\r\\n\\t\\tsample release note\\r\\n\\t\\tsample remark\\r\\n\\t\\tk1:v1\\r\\n\\t\\tN\\r\\n\\t\\tsystem\\r\\n\\t\\t12234523\\r\\n\\t\\tPUBLISHED\\r\\n\\t\\t已发布\\r\\n\\t\\t201\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '获取系统版本的详细信息',
'summary' => '调用DescribeAppVersion获取系统版本的详细信息。',
'description' => '> 用户希望查看应用版本详情时,可以调用此接口获取版本详细信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '6fde56979c484b93b99fba257e3cbe83'],
],
],
'responses' => [
200 => [
'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'],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\tra-rtmp.aicc.aliyun.com\\r\\n\\tewga5dxHOB8Lm9VH\\r\\n","errorExample":""}]',
'title' => '获取远程桌面RTMP服务器地址',
'summary' => '调用DescribeAssistRTMPServerAddress获取远程桌面RTMP服务器地址。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
[
'name' => 'AssistId',
'in' => 'query',
'schema' => ['description' => '远程诊断会话ID', 'type' => 'string', 'required' => true, 'example' => '510'],
],
],
'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' => '系统时间'],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\t510\\r\\n\\t设备时间异常\\r\\n\\t没有和时间服务器同步\\r\\n\\t手动设置正确时间\\r\\n\\ttime\\r\\n","errorExample":""}]',
'title' => '获取指定的远程诊断报告',
'summary' => '调用DescribeAssistReport获取指定的远程诊断报告。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:33.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeAssistReport',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeAssistWSServerAddress' => [
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => 'DIS设备ID', 'type' => 'string', 'required' => true, 'example' => '6fde56979c484b93b99fba257e3cbc12'],
],
],
'responses' => [
200 => [
'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'],
],
'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' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeAssistWSServerAddress',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeCustomizedFilter' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '自定义过滤条件ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'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'],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\tAnotherWhiteList\\r\\n\\t\\t1.0,2.0\\r\\n\\t\\t1\\r\\n\\t\\tNUMBER\\r\\n\\t\\tBLACK\\r\\n\\t\\t1,5\\r\\n\\t\\tWRITE\\r\\n\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t2018-01-01 00:01:00\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取自定义过滤条件详情',
'summary' => '调用DescribeCustomizedFilter获取自定义过滤条件详情。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:32.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeCustomizedFilter',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeDefaultSchema' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
[
'name' => 'DeviceModelId',
'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":"清洗液"}}'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t{"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":"清洗液"}}\\r\\n","errorExample":""}]',
'title' => '根据机型获取默认的schema信息',
'summary' => '调用DescribeDefaultSchema根据机型获取默认的schema信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
[
'name' => 'DeviceBrandId',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌ID,和**DeviceBrand**不能同时为空。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'DeviceBrand',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌名称,和**DeviceBrandId**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'TmallGenius'],
],
[
'name' => 'Start',
'in' => 'query',
'schema' => ['description' => '查询列表起始位置。', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
'name' => 'Length',
'in' => 'query',
'schema' => ['description' => '查询列表最大长度。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\t天猫精灵品牌\\r\\n\\t\\t天猫精灵\\r\\n\\t\\t1\\r\\n\\t\\tAlibaba\\r\\n\\t\\tprojectTest\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询获取设备品牌信息',
'summary' => '根据品牌ID或品牌名称,查询获取设备品牌信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
[
'name' => 'QueryType',
'in' => 'query',
'schema' => ['description' => '第三方设备唯一标识类型。'."\n"
."\n"
.'目前支持:**sn**、**vin**、**hardware_id**。', 'type' => 'string', 'required' => false, 'example' => 'sn'],
],
[
'name' => 'QueryValue',
'in' => 'query',
'schema' => ['description' => '第三方设备唯一标识的值。', 'type' => 'string', 'required' => false, 'example' => '12345abcde'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\tdeviceabcde\\r\\n","errorExample":""}]',
'title' => '根据第三方设备唯一标识查询设备ID',
'summary' => '调用DescribeDeviceIdByOuterInfo根据第三方设备唯一标识查询设备ID。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'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'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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":"\\r\\nE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\tTmallGenuine\\r\\n\\t\\tcn.1234567890\\r\\n\\t\\tX1\\r\\n\\t\\t10\\r\\n\\t\\t智能家居\\r\\n\\t\\txxxxxxx\\r\\n\\t\\t00:00:00:00:00:00\\r\\n\\t\\t我的天猫精灵\\r\\n\\t\\tprojectTest\\r\\n\\t\\tcn\\r\\n\\t\\txxxxxx\\r\\n\\t\\txxxxxx\\r\\n\\t\\t0\\r\\n\\t\\tprivate\\r\\n\\t\\txxxxxx\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取设备信息',
'summary' => '调用DescribeDeviceInfo获取设备信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'DeviceModelId',
'in' => 'query',
'schema' => ['description' => '设备型号ID。'."\n"
."\n"
.'和**DeviceModel**不能同时为空。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '设备型号名。'."\n"
."\n"
.'和**DeviceModelId**不能同时为空。', 'type' => 'string', 'required' => false, 'example' => 'X1'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t荣威 RX5\\r\\n\\t\\tROEWE\\r\\n\\t\\t10\\r\\n\\t\\tcar_auto\\r\\n\\t\\tsn\\r\\n\\t\\t0\\r\\n\\t\\tprivate\\r\\n\\t\\tprojectTest\\r\\n device\\r\\n 1151125281886341/375KZRO8TARYBQY7P0E4/2019-04-12/1555062240807.jpg\\r\\n android\\r\\n 0\\r\\n\\t\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '获取设备型号信息',
'summary' => '根据型号名或型号ID,获取设备型号信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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'],
],
[
'name' => 'Value',
'in' => 'query',
'schema' => ['description' => '查询对象。'."\n"
."\n"
.'表示查询条件类型的对应值。', 'type' => 'string', 'required' => true, 'example' => 'c86b36f1d19c488f9ae3798f332b9fd5'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t\\r\\n\\t\\t6c845cc9c4fe11138aff5be5e0aeebjj\\r\\n\\t\\tiphone8\\r\\n\\t\\t\\r\\n\\t\\tPYNNN9KS\\r\\n\\t\\t2.3.0.4.20170217\\r\\n\\t\\t1.0.1-E-20180330.1343\\r\\n\\t\\t0\\r\\n\\t\\t1523452482291\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询设备在线详情',
'summary' => '根据设备或者账号ID(token)查询设备在线详情。',
'description' => '> 当指定deviceId或者deviceToken时,可判断具体设备是否在线。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '1ac5e182e9634252a02d442a4d5d16fc'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '机型名称', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'],
],
[
'name' => 'Path',
'in' => 'query',
'schema' => ['description' => '要获取的路径', 'type' => 'string', 'required' => true, 'example' => '/'],
],
[
'name' => 'ViewSubscribed',
'in' => 'query',
'schema' => ['description' => '是否只查看订阅的信息', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\n {\\"车架号\\":\\"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\\"}\\n [{\\"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}]\\n\\n40FE5EA3-F4D3-4D4B-99BD-2F5B7B90DE7E","errorExample":""}]',
'title' => '获取设备影子信息',
'summary' => '调用DescribeDeviceShadow获取设备影子信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'get'],
'parameters' => [
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '机型信息', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'],
],
[
'name' => 'SchemaVersion',
'in' => 'query',
'schema' => ['description' => 'schema版本', 'type' => 'string', 'required' => false, 'example' => '1.0'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\t开机时长\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t/system/environment_variables/system_runtime\\r\\n\\t\\tfalse\\r\\n\\t\\tstring\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t客户端Ip\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t/system/environment_variables/ip\\r\\n\\t\\tfalse\\r\\n\\t\\tstring\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '根据机型获取验证schema',
'summary' => '调用DescribeDeviceValiditySchema根据机型获取验证schema。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'],
],
[
'name' => 'MessageId',
'in' => 'query',
'schema' => ['description' => '消息ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '455888'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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 \\"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":"\\r\\n\\t\\r\\n\\t\\t2231942\\r\\n\\t\\tALIOS_JARVIS\\r\\n\\t\\tWS2MptYY\\r\\n\\t\\tssgdghww\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\ttest.action.alios.com\\r\\n\\t\\tpage://broadcast.alios.com\\r\\n\\t\\t{"package":"com.aliyun.iovcc.test","key1":"value1"}\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t1525256539000\\r\\n\\t\\t1525260138000\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询消息详情',
'summary' => '根据消息ID查询消息详情。详情包括消息体内容、消息到达情况。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2023-01-06T13:51:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'get'],
'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',
'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' => [
200 => [
'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'],
],
'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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\taliyunidtest\\r\\n\\t\\tcreateaccesskeytest\\r\\n\\t\\tdisplaynametest\\r\\n\\t\\tidentityidtest\\r\\n\\t\\tALIOS\\r\\n\\t\\tloginidtest\\r\\n\\t\\t1390000****\\r\\n\\t\\t12345\\r\\n\\t\\tcn\\r\\n\\t\\t0\\r\\n\\t\\t1\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取账号信息',
'summary' => '调用DescribeOpenAccount获取账号信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'],
'OsVersion' => [
'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'],
],
'description' => '',
],
],
'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'],
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t2.0.1,3.0.1\\r\\n\\t\\t100\\r\\n\\t\\tDM1\\r\\n\\t\\t2017-12-06 12:04:08\\r\\n\\t\\t2017-12-06 13:04:06\\r\\n\\t\\t123\\r\\n\\t\\tN\\r\\n\\t\\tY\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\tN\\r\\n\\t\\t200\\r\\n\\t\\t100\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\r\\n\\t\\tsample release note\\r\\n\\t\\tsample remark\\r\\n\\t\\t\\r\\n\\t\\t\\t1.0.1-R-20180409.0612\\r\\n\\t\\t\\thttp://www.cdn-server.com/file.zip\\r\\n\\t\\t\\t2017-12-06 12:04:08\\r\\n\\t\\t\\t2017-12-06 12:04:08\\r\\n\\t\\t\\t123\\r\\n\\t\\t\\t234der456ere56dhwer45ty6eghr570\\r\\n\\t\\t\\thttp://www.oss-server.com/file.zip\\r\\n\\t\\t\\t123456\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\t234\\r\\n\\t\\t\\r\\n\\t\\tPUBLISHED\\r\\n\\t\\t已发布\\r\\n\\t\\t2.0.1-R-20180502.1208\\r\\n\\t\\t2.0.1,3.0.1\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '获取单个系统版本的详细信息',
'summary' => '调用DescribeOsVersion获取单个系统版本的详细信息。',
'description' => '用户希望查看版本详情时,可以调用此接口获取版本详细信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => '11'],
],
[
'name' => 'AppId',
'in' => 'query',
'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'A3BU0HBO'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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":"\\r\\n\\tB030DF87-3AC0-4096-A50B-98B16C98B6CC\\r\\n\\t\\r\\n\\t\\t222222\\r\\n\\t\\tA3BU0HBO\\r\\n\\t\\t4\\r\\n\\t\\t1508737512000\\r\\n\\t\\t111111\\r\\n\\t\\t1524736346000\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询指定项目下指定应用的密钥信息',
'summary' => '调用DescribeProjectAppSecurity查询指定项目下指定应用的密钥信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'DeviceModel',
'in' => 'query',
'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' => [
'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":"\\r\\n 195D7F63-0904-49ED-854B-13C7BB37F764\\r\\n\\t[{"path":"/device_info/product","name":"product:对内型号","pId":1,"id":102,"open":false},{"path":"/device_info/manufacture","name":"manufacture:制造商","pId":1,"id":101,"open":false}]\\r\\n","errorExample":""}]',
'title' => '根据机型获取schema信息',
'summary' => '调用DescribeShadowSchema根据机型获取schema信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeShadowSchema',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeVersionDeviceGroup' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t升级分组\\r\\n\\t\\t测试\\r\\n\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t2018-01-01 00:01:00\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取一个测试设备分组的详情',
'summary' => '调用DescribeVersionDeviceGroup获取一个测试设备分组的详情。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:31.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OriginalId',
'in' => 'query',
'schema' => ['description' => '对应ID类型的ID值', 'type' => 'string', 'required' => true, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'],
],
[
'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' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'IdType',
'in' => 'query',
'schema' => ['description' => '用于判断的OriginalId的类型,取值有:**device_id**, **sn**, **vin**, **hardware_id**, **uuid **。', 'type' => 'string', 'required' => true, 'example' => 'device_id'],
],
[
'name' => 'DiagnoseStyle',
'in' => 'query',
'schema' => ['description' => '诊断类型', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => '待诊断的请求查询时间段开始时间点', 'type' => 'string', 'required' => false, 'example' => '2019-09-18 10:44'],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => '待诊断的请求查询时间段结束时间点', 'type' => 'string', 'required' => false, 'example' => '2019-09-18 14:44'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'],
'DiagnosisResult' => ['description' => '诊断结果', 'type' => 'string', 'example' => 'Invalid instance type'],
],
'description' => '',
],
],
],
'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' => [],
],
'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'],
'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'],
],
[
'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'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'AppVersionList' => [
'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' => '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'],
],
],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F25F67C-F411-499F-BCE2-67CA563CB064'],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tiovcc-ota\\r\\n\\t\\t\\tcom.aliyun.iovcc.ota\\r\\n\\t\\t\\t2.0.2\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t124\\r\\n\\t\\t\\tauto\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tsystem\\r\\n\\t\\t\\tPUBLISHED\\r\\n\\t\\t\\t已发布\\r\\n\\t\\t\\t202\\r\\n\\t\\t\\r\\n\\t\\t1000\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '按分页获取应用版本列表',
'summary' => '调用FindAppVersions分页获取应用版本列表。',
'description' => '**支持多种查询条件,如机型、系统版本号等。**',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => '1'],
],
[
'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' => 'Name',
'in' => 'query',
'schema' => ['description' => '自定义过滤条件名', 'type' => 'string', 'required' => false, 'example' => 'AnotherFilter'],
],
[
'name' => 'VersionType',
'in' => 'query',
'schema' => ['description' => '版本类型,取值有:'."\n"
."\n"
.'- **FOTA**:系统版本'."\n"
.'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'],
],
],
'responses' => [
200 => [
'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'],
],
'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 \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tBLACK\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\t2018-01-01 00:01:00\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tAnotherList\\r\\n\\t\\t\\t1,5\\r\\n\\t\\t\\tNUMBER\\r\\n\\t\\t\\r\\n\\t\\t30\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '查询自定义过滤条件',
'summary' => '按分页查询自定义过滤条件,可根据过滤条件名进行查询。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'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' => '1'],
],
[
'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' => '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' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t30\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tAnotherWhiteList\\r\\n\\t\\t\\t1.0,2.0\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询自定义属性列表',
'summary' => '按分页查询自定义属性列表,可根据自定义属性名进行搜索。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => false, 'example' => '123'],
],
[
'name' => 'SystemVersion',
'in' => 'query',
'schema' => ['description' => '系统版本号', 'type' => 'string', 'required' => false, 'example' => '2.0.1-R-20180402.1208'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '版本状态,如:**TESTING**,**TEST_PASSED**,**PREPUBLISH**,**PUBLISHED**。', 'type' => 'string', 'required' => false, 'example' => 'TESTING'],
],
[
'name' => 'IsMilestone',
'in' => 'query',
'schema' => ['description' => '是否里程碑,Y或N。', 'type' => 'string', 'required' => false, 'example' => 'N'],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => ['description' => '版本备注', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100\\r\\n\\t\\t\\tDM1\\r\\n\\t\\t\\t2017-12-06 12:04:08\\r\\n\\t\\t\\t2017-12-06 13:04:06\\r\\n\\t\\t\\t123\\r\\n\\t\\t\\tY\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t测试\\r\\n\\t\\t\\tPUBLISHED\\r\\n\\t\\t\\t已发布\\r\\n\\t\\t\\t2.0.1-R-20180502.1208\\r\\n\\t\\t\\r\\n\\t\\t1000\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '分页获取系统版本列表',
'summary' => '调用FindOsVersions分页获取系统版本列表。',
'description' => '> 此接口支持多种查询条件,如机型、系统版本号等。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:30.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PrepublishId',
'in' => 'query',
'schema' => ['description' => '预发布ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'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'],
],
[
'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' => [
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' => '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 \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t30\\r\\n\\t\\t\\r\\n\\t\\t\\tb8fe2e24ff2b48e0a3aa4e49809fc1b3\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询设备的云设备ID列表',
'summary' => '按分页查询某一个预发布下的已查询设备的云设备ID列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'ParentId',
'in' => 'query',
'schema' => ['description' => '父预发布ID', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t1000\\r\\n\\t\\t12\\r\\n\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t2018-01-01 00:01:00\\r\\n\\t\\t2\\r\\n\\t\\tY\\r\\n\\t\\tN\\r\\n\\t\\t第一次预发布\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t1.0,2.0\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '查询父预发布下的子预发布',
'summary' => '调用FindPrepublishesByParentId查询父预发布下的子预发布。',
'description' => '适用于应用版本的预发布,每次创建的预发布是父预发布,对每个适配机型创建一个子预发布。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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 \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t1.0,2.0\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t第一次预发布\\r\\n\\t\\t12\\r\\n\\t\\tN\\r\\n\\t\\t1000\\r\\n\\t\\tY\\r\\n\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t2018-01-01 00:01:00\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询版本下的预发布列表',
'summary' => '调用FindPrepublishesByVersionId查询版本下的预发布列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => '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' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,支持10、20、50三种。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
],
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '总共符合条件的设备数', 'type' => 'integer', 'format' => 'int32', 'example' => '25'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t25\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tAS23DG23SA5D43GA34SD23GW456E\\r\\n\\t\\t\\thardware_id\\r\\n\\t\\t\\t23452345234523452\\r\\n\\t\\t\\t2018-02-14 14:20:18\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取系统版本或应用版本设备黑名单',
'summary' => '分页获取系统版本或者应用版本的设备黑名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => '云设备ID', 'type' => 'string', 'required' => false, 'example' => 'b8fe2e24ff2b48e0a3aa4e49809fc1b3'],
],
[
'name' => 'OriginalId',
'in' => 'query',
'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'],
],
[
'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' => 'Name',
'in' => 'query',
'schema' => ['description' => '分组名', 'type' => 'string', 'required' => false, 'example' => '升级'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t10\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t升级分组\\r\\n\\t\\t\\t测试\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\t2018-01-01 00:01:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询测试设备分组',
'summary' => '分页查询测试设备分组,可根据分组名、分组包含的云设备ID查询。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'OriginalId',
'in' => 'query',
'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'],
],
[
'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' => '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' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '设备记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tAS23DG23SA5D43GA34SD23GW456E\\r\\n\\t\\t\\t2018-02-14 14:20:18\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\thardware_id\\r\\n\\t\\t\\t23452345234523452\\r\\n\\t\\t\\r\\n\\t\\t25\\r\\n\\t\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '查询指定分组中的设备列表',
'summary' => '根据云设备ID,分页查询指定分组中的设备列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => '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' => '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' => [
200 => [
'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'],
],
'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 \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t30\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tSYSTEM_UPDATE\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tSUCCESS\\r\\n\\t\\t\\t发送成功\\r\\n\\t\\t\\t100\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询群发消息记录',
'summary' => '查询版本下的群发消息记录,只针对按照机型群发的消息记录的查询。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'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'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'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'],
],
[
'name' => 'TestId',
'in' => 'query',
'schema' => ['description' => '测试ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'SendRecordId',
'in' => 'query',
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t30\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tb8fe2e24ff2b48e0a3aa4e49809fc1b3\\r\\n\\t\\t\\tSUCCESS\\r\\n\\t\\t\\t发送成功\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\t2018-01-01 00:01:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询消息发送情况',
'summary' => '查询某一版本、测试或群发记录下的消息发送情况。',
'description' => '> 根据MessageType决定查询的目标类型。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'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'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'VersionType',
'in' => 'query',
'schema' => ['description' => '版本类型,取值有: FOTA 系统版本, APP 应用版本', 'type' => 'string', 'required' => false, 'example' => 'FOTA'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalCount' => ['description' => '符合条件的记录总数', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t30\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tFOTA\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t第一次测试\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t测试分组\\r\\n\\t\\t\\t测试描述\\r\\n\\t\\t\\t100\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t\\t2018-01-01 00:01:00\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '分页查询版本测试列表',
'summary' => '调用FindVersionTests分页查询版本测试列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => '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' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页大小,支持10、20、50三种。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
],
'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' => '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\\": \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t25\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tAS23DG23SA5D43GA34SD23GW456E\\r\\n\\t\\t\\thardware_id\\r\\n\\t\\t\\t23452345234523452\\r\\n\\t\\t\\t2018-02-14 14:20:18\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '分页获取系统版本或应用版本的设备白名单',
'summary' => '调用FindVersionWhiteDevices分页获取系统版本或应用版本的设备白名单。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'FileName',
'in' => 'query',
'schema' => ['description' => '文件名', 'type' => 'string', 'required' => true, 'example' => 'hello.zip'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\tfunction/file/1288127239930711/PE9FQC48/6F25F67C-F411-499F-BCE2-67CA563CB064/hello.zip\\r\\n\\t\\t\\r\\n\\t\\t\\tSTS.NHm36Gt3rEesnNGi7spRPCMeD\\r\\n\\t\\t\\t1537236687\\r\\n\\t\\t\\thttps://iovcc-yunfunction-online.oss-cn-shanghai.aliyuncs.com\\r\\n\\t\\t\\teyJleHBpcmF0aW9uIjoiMjAxOC0wOS0xOFQwMjoxMToyNy4wODZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImZ1bmN0aW9uL2ZpbGUvMTI4ODEyNzI0MDkzMDcxMS9QRTlGUUM0OCJdXX0=\\r\\n\\t\\t\\tXuG0kIHhWPbztVfDGA1HhzdKPJI=\\r\\n\\t\\t\\r\\n\\t\\tCAIStQN1q6Ft5B2yfSjIr4vYeIzzmexT8qeYbGj2jTcmfN18rIjOpjz2IHFIeHRoBeocs/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\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '生成函数文件上传元信息',
'summary' => '调用GenerateFunctionFileUploadMeta生成函数文件上传元信息。',
'description' => '> 获取到上传元信息后,即可把函数文件上传到OSS。更多信息,可见OSS的[服务端签名后直传](https://help.aliyun.com/document_detail/31926.html)描述。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:29.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'],
],
[
'name' => 'Ext',
'in' => 'query',
'schema' => ['description' => '文件类型后缀。', 'type' => 'string', 'required' => true, 'example' => 'rsa'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'description' => '',
],
],
],
'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":"F3BAE77D-1954-48C5-95F6-D4937B29E2F4\\n\\n STS.xxxxxxxxxxxxxxxxx\\n xxxxxxxxxxxxxxxxx\\n xxx\\n 1768723179523459/11/2018-05-07/cert.rsa\\n xxxxxxxxxxxxxxxxx+YHAPgNwi7yfRecMFydL2uPOgBI7LDio0RkbYLmJfIxHM2nGBPdml7kYEOXmJp2aDhbvvwVYIyt/8iES/R6N208wQh0Pk2bu+/9dvalp6wOHF4gkFGhhTVFMuTDRhQlNDU0pWTXVLZzVVMXZGRHciBTQzMjc0KgVhbGljZTCpnJjwySk6BlJzYU1ENUJuCgExGmkKBUFsbG93Eh8KDEFjdGlvbkVxdWFscxIGQWN0aW9uGgcKBW9zczoqEj8KDlJlc291cmNlRXF1YWxzEghSZXNvdXJjZRojCiFhY3M6b3NzOio6NDMyNzQ6c2FtcGxlYm94L2FsaWNlLyo=\\n","errorExample":""}]',
'title' => '获取文件上传OSS凭证',
'summary' => '获取文件上传OSS的凭证,凭证具有一定的时效性,且凭证被赋予了有限的权限。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Sdks',
'in' => 'query',
'schema' => ['description' => '用户选择要下载的sdk集合,多个以英文逗号隔开。', 'type' => 'string', 'required' => true, 'example' => 'AiCCSDK-FOTA,AiCCSDK-CMNS'],
],
[
'name' => 'AppId',
'in' => 'query',
'schema' => ['description' => '自定义应用ID。', 'type' => 'string', 'required' => true, 'example' => 'A3BU0HBO'],
],
[
'name' => 'OsType',
'in' => 'query',
'schema' => ['description' => '系统类型,1-Android。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PkgName',
'in' => 'query',
'schema' => ['description' => '自定义应用的包名。', 'type' => 'string', 'required' => true, 'example' => 'com.test.app'],
],
[
'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' => true, 'example' => '1768723179523459/11/2018-05-07/1525699039841.rsa'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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":"\\r\\n\\tF3BAE77D-1954-48C5-95F6-D4937B29E2F4\\r\\n\\t\\r\\n\\t\\thttp://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\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取SDK下载的信息',
'summary' => '调用GenerateSdkDownloadInfo获取SDK下载的信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Plugins',
'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":""}]'],
],
[
'name' => 'SignMode',
'in' => 'query',
'schema' => ['description' => '签名方式。取值:'."\n"
."\n"
.'- **customized**:自定义签名'."\n"
.'- **platform**:由平台签名', 'type' => 'string', 'required' => true, 'example' => 'customized'],
],
[
'name' => 'OsType',
'in' => 'query',
'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' => [
200 => [
'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'],
],
],
],
'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":"\\r\\n\\tF3BAE77D-1954-48C5-95F6-D4937B29E2F4\\r\\n\\t\\r\\n\\t\\thttp://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\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取IoVCC系统应用下载信息',
'summary' => '调用GenerateSysAppDownloadInfo获取IoVCC系统应用下载信息。',
'description' => '> 用户上传自己的证书文件(.rsa),IoVCC根据用户上传的证书文件,生成对应的安全图片,并存储到用户下载的系统应用中。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PackageName',
'in' => 'query',
'schema' => ['description' => '应用包名', 'type' => 'string', 'required' => false, 'example' => 'com.aliyun.package1'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'TargetVersionCode',
'in' => 'query',
'schema' => ['description' => '目标版本versioncode', 'type' => 'string', 'required' => false, 'example' => '100'],
],
[
'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'],
],
[
'name' => 'OriginalId',
'in' => 'query',
'schema' => ['description' => '源设备ID', 'type' => 'string', 'required' => false, 'example' => '23452345234523452'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t25\\r\\n\\t\\t\\r\\n\\t\\t\\tP0VFCREU\\r\\n\\t\\t\\tAS23DG23SA5D43GA34SD23GW456E\\r\\n\\t\\t\\t2005680\\r\\n\\t\\t\\tcom.aliyun.package1\\r\\n\\t\\t\\tos_download_succ\\r\\n\\t\\t\\t2018-02-14 14:20:18\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取设备应用升级的进度信息',
'summary' => '调用GetDeviceAppUpdateFunnelEvents获取设备应用升级的进度信息。',
'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => 'P0VFCREU'],
],
[
'name' => 'TargetVersion',
'in' => 'query',
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t25\\r\\n\\t\\t\\r\\n\\t\\t\\tP0VFCREU\\r\\n\\t\\t\\tAS23DG23SA5D43GA34SD23GW456E\\r\\n\\t\\t\\t2.0.1-R-20180412.0824\\r\\n\\t\\t\\tos_download_succ\\r\\n\\t\\t\\t2018-02-14 14:20:18\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取设备系统升级的进度信息',
'summary' => '调用GetDeviceSystemUpdateFunnelEvents获取设备系统升级的进度信息。',
'description' => '例如:是否查询到版本,版本下载是否成功,签名校验是否成功,安装是否成功等。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'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' => '数据空间划分和鉴权方式。'."\n"
."\n"
.'- 1:基于账号'."\n"
.'- 2:基于设备'."\n"
.'- 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',
'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' => [
200 => [
'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\\"}]}]}]}]'],
],
'description' => '',
],
],
],
'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":"\\r\\n49C0C0A1-2D02-466B-BC26-D73117062FAE\\r\\n\\t[{"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"}]}]}]}]\\r\\n","errorExample":""}]',
'title' => '查询Namespace里存的数据',
'summary' => '调用GetNamespaceData查询Namespace里存的数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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' => 'DimensionType',
'in' => 'query',
'schema' => ['description' => '统计维度类型。'."\n"
."\n"
.'- **101**-用户日活'."\n"
.'- **102**-设备日活'."\n"
.'- **103**-数据提交次数'."\n"
.'- **111**-每分钟用户访问次数'."\n"
.'- **112**-每分钟设备访问次数'."\n"
.'- **113**-每分钟数据提交次数', 'type' => 'string', 'required' => true, 'example' => '101'],
],
[
'name' => 'StartTime',
'in' => 'query',
'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' => [
200 => [
'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'],
'description' => '',
],
'Series' => [
'description' => '统计数据',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Data' => [
'type' => 'array',
'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\\": \\"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":"\\r\\n\\t49C0C0A1-2D02-466B-BC26-D73117062FAE\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t5\\r\\n\\t\\t\\t设备访问次数\\r\\n\\t\\t\\r\\n\\t\\t1534907280000\\r\\n\\t\\t1534907340000\\r\\n\\t\\t1534907400000\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询Namespace的业务统计数据',
'summary' => '调用GetNamespaceStatisticsData查询Namespace的业务统计数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2021-05-26T12:50:16.000Z', 'description' => 'OpenAPI 下线'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Ext',
'in' => 'query',
'schema' => ['description' => '文件后缀', 'type' => 'string', 'required' => true, 'example' => 'zip'],
],
],
'responses' => [
200 => [
'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'],
],
],
],
'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":"4EFF678D-DD88-4AEB-B81C-B760AFDFA250\\n\\n xxxxxxxxx\\n xxxxxxxxxx\\n xxxxxxxxxxx=\\n 11/1527911483513.zip\\n http://xxxxxxx.oss-cn-shanghai.aliyuncs.com\\n STS.xxxxxxxx\\n","errorExample":""}]',
'title' => '获取上传升级包到OSS所需信息',
'summary' => '获取上传升级包到OSS所需要的STS token和Policy等信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'readAndWrite',
'systemTags' => ['operationType' => 'create'],
'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'],
],
[
'name' => 'FunctionName',
'in' => 'query',
'schema' => ['description' => '函数名称', 'type' => 'string', 'required' => true, 'example' => 'someFunc'],
],
[
'name' => 'Env',
'in' => 'query',
'schema' => ['description' => '函数所部署的环境,0:沙箱环境;1:生产环境。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'Parameters',
'in' => 'query',
'schema' => ['description' => '调用函数的入参', 'type' => 'string', 'required' => true, 'example' => '{"key":"value"}'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n\\t\\r\\n\\t\\t2b500332-5a7b-9b5b-b92e-38685b95efaa\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '调用函数',
'summary' => '使用InvokeFunction调用函数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '11'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9CC2A1F1-DAE4-47DA-A682-240AF2DEED84'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t0\\r\\n\\t\\t1111111\\r\\n\\t\\t8\\r\\n\\t\\t1768723179523459\\r\\n\\t\\t24659924\\r\\n\\t\\t1508400744000\\r\\n\\t\\t1525340035000\\r\\n\\t\\t11\\r\\n\\t\\ta******1\\r\\n\\t\\r\\n\\t9CC2A1F1-DAE4-47DA-A682-240AF2DEED84\\r\\n","errorExample":""}]',
'title' => '查询项目关联的网关 APP 的信息',
'summary' => '调用ListApiGatewayApps查询项目关联的网关app的信息。',
'description' => '> 目前限制只能关联一个网关app。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'PV37HJ8Q'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\n\\t\\n\\t\\tZBjeuffe\\n\\t\\tapp_test\\n\\t\\tcom.aliyun.test\\n\\t\\t6\\n\\t\\n\\tD1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2\\n","errorExample":""}]',
'title' => '获取项目工程下应用列表',
'summary' => '根据项目工程ID,获取项目工程下应用列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:28.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ActionTimestamp',
'in' => 'query',
'schema' => ['description' => '执行操作的时间戳ID', 'type' => 'string', 'required' => true, 'example' => '1524560714502LwoJKfp'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
],
'responses' => [
200 => [
'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'],
],
'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":"\\r\\n6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\t\\r\\n\\t\\ttop\\r\\n\\t\\t1525767660000\\r\\n\\t\\t1525767660000\\r\\n\\t\\tProcesses: 331 total, 2 running, 329 sleeping, 1936 threads\\r\\n\\t\\t37aac8e7d96c42ea94fd5408e351474e\\r\\n\\t\\t40475\\r\\n\\t\\t1525398712826BdAw5KN\\r\\n\\t\\tevent\\r\\n\\t\\r\\n\\t\\r\\n\\t\\ttop\\r\\n\\t\\t2018-04-24 17:05:15\\r\\n\\t\\t2018-04-24 17:05:15\\r\\n\\t\\tLoad 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.\\r\\n\\t\\t37aac8e7d96c42ea94fd5408e351474e\\r\\n\\t\\t40476\\r\\n\\t\\t1525398712826BdAw5KN\\r\\n\\t\\tevent\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取指定诊断操作的详情信息',
'summary' => '调用ListAssistActionDetails获取指定诊断操作的详情信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListAssistActionDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListAssistDevices' => [
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '分页页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'Condition',
'in' => 'query',
'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{"vin":"LVFAG7A31HK000029"}'],
],
[
'name' => 'PerPage',
'in' => 'query',
'schema' => ['description' => '每页个数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\t1\\r\\n\\t20\\r\\n\\t1\\r\\n\\t\\r\\n\\t\\t37aac8e7d96c42ea94fd5408e351474e\\r\\n\\t\\tModel S\\r\\n\\t\\t1525767660000\\r\\n\\t\\tLVFAG7A31HK000029\\r\\n\\t\\tDX3JNY1FDTD2\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取连接远程诊断的设备列表',
'summary' => '调用ListAssistDevices获取连接远程诊断的设备列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'PerPage',
'in' => 'query',
'schema' => ['description' => '每页数目', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'Condition',
'in' => 'query',
'schema' => ['description' => '查询条件', 'type' => 'string', 'required' => false, 'example' => '{"vin":"LVFAG7A31HK000029"}'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'PageIndex' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'description' => '',
],
],
],
'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":"\\r\\n6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\t1\\r\\n\\t20\\r\\n\\t2\\r\\n\\t\\r\\n\\t\\t510\\r\\n\\t\\t37aac8e7d96c42ea94fd5408e351474e\\r\\n\\t\\tphone\\r\\n\\t\\tLVFAG7A31HK000029\\r\\n\\t\\tDX3JNY1FDTD2\\r\\n\\t\\t12345\\r\\n\\t\\tadmin\\r\\n\\t\\t1513231605000\\r\\n\\t\\t1513231705000\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t511\\r\\n\\t\\t37aac8e7d96c42ea94fd5408e351474e\\r\\n\\t\\tphone\\r\\n\\t\\tLVFAG7A31HK000029\\r\\n\\t\\tDX3JNY1FDTD2\\r\\n\\t\\t12345\\r\\n\\t\\tadmin\\r\\n\\t\\t1513231705000\\r\\n\\t\\t1513231905000\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取远程诊断历史列表',
'summary' => '调用ListAssistHistories获取远程诊断历史列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PZ1HK7JZ'],
],
[
'name' => 'AssistId',
'in' => 'query',
'schema' => ['description' => '诊断会话ID', 'type' => 'string', 'required' => true, 'example' => '510'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n\\t\\r\\n\\t\\t45070\\r\\n\\t\\t510\\r\\n\\t\\tls\\r\\n\\t\\t1524560987853KrvUfI1\\r\\n\\t\\t2018-04-24T09:09:57\\r\\n\\t\\t2018-04-24T09:09:59\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t45071\\r\\n\\t\\t510\\r\\n\\t\\ttop\\r\\n\\t\\t1524560758970zQCkx3A\\r\\n\\t\\t2018-04-24T09:29:41\\r\\n\\t\\t2018-04-24T09:29:41\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取指定诊断历史的详情',
'summary' => '获取指定诊断历史的详情,即所执行的命令列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'OsType',
'in' => 'query',
'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
'name' => 'PkgName',
'in' => 'query',
'schema' => ['description' => '插件包名。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.aicc.yundevice'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '647D4B28-7646-424E-88DD-61B7969E5C1E'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t7257DEDE-3558-4AE5-BA9B-2AD7A4FFB61E\\r\\n\\t\\r\\n\\t\\t201\\r\\n\\t\\t40\\r\\n\\t\\tcom.aliyun.aicc.yundevice\\r\\n\\t\\t1.1.1.20180103102554-3\\r\\n\\t\\t743503\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '根据指定的插件包名查询该插件的版本列表',
'summary' => '调用ListClientPluginVersions根据指定的插件包名查询该插件的版本列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'OsType',
'in' => 'query',
'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'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'],
],
'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":"\\r\\n\\t647D4B28-7646-424E-88DD-61B7969E5C1E\\r\\n\\t\\r\\n\\t\\tYunDevice\\r\\n\\t\\tcom.aliyun.aicc.yundevice\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tRemoteAssistant\\r\\n\\t\\tcom.aliyun.aicc.remoteassistant\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tYunControl\\r\\n\\t\\tcom.aliyun.aicc.yuncontrol\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询客户端插件列表',
'summary' => '调用ListClientPlugins查询客户端插件列表。',
'description' => '> 在下载AiCC Container客户端app时,需要选择客户端插件,通过此接口查询插件列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'iovcc:ListClientPlugins',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListClientSdks' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'OsType',
'in' => 'query',
'schema' => ['description' => '系统类型,1-Android。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\tAiCCSDK-FOTA\\r\\n\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\t6\\r\\n\\t\\t1512976910000\\r\\n\\t\\t1512976910000\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tAiCCSDK-SyncStore\\r\\n\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\t9\\r\\n\\t\\t1513309968000\\r\\n\\t\\t1513309968000\\r\\n\\t\\t0\\r\\n\\t\\r\\n\\tD1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2\\r\\n","errorExample":""}]',
'title' => '查询客户端SDK列表',
'summary' => '调用ListClientSdks查询客户端SDK列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fgsggsgg'],
],
[
'name' => 'DeviceId',
'in' => 'query',
'schema' => ['description' => 'dis系统设备ID。', 'type' => 'string', 'required' => true, 'example' => 'fc35429dff9b473c81d7ef5f62ab11dc'],
],
[
'name' => 'StartTime',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t3583820a2cf941a8810b3e0a2435b13d\\r\\n\\t\\t\\t4.4.4\\r\\n\\t\\t\\tMuMu\\r\\n\\t\\t\\t::ffff:112.10.xx.xx\\r\\n\\t\\t\\twifi\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t连接\\r\\n\\t\\t\\tHymmibopf_1_29473_1525517083243\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t断开\\r\\n\\t\\t\\trkp_u-sTz_1_29473_1525516404577\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询设备连接日志',
'summary' => '根据设备ID、时间范围查询设备连接日志。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t46\\r\\n\\t\\t1536201206000\\r\\n\\t\\t1536201206000\\r\\n\\t\\t35\\r\\n\\t\\tsomeFunc\\r\\n\\t\\tPE9FQC48\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询已部署的函数',
'summary' => '调用ListDeployedFunctions查询已部署的函数。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'list'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
[
'name' => 'DeviceBrandId',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'DeviceBrand',
'in' => 'query',
'schema' => ['description' => '查询的设备品牌名称,支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'Tmall'],
],
[
'name' => 'Start',
'in' => 'query',
'schema' => ['description' => '返回列表起始位置。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'Length',
'in' => 'query',
'schema' => ['description' => '最多返回记录条数。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t荣威\\r\\n\\t\\tROEWE\\r\\n\\t\\t1\\r\\n\\t\\tSAIC\\r\\n\\t\\tprojectTest\\r\\n\\t\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '查询获取品牌列表',
'summary' => '根据品牌ID或根据品牌名称,模糊查询获取品牌列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => false, 'example' => 'projectTest'],
],
[
'name' => 'DeviceBrandId',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'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' => [
[
'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' => '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\\": \\"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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\t路由器\\r\\n\\t\\trouter\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t电视\\r\\n\\t\\ttv\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t平板\\r\\n\\t\\tpad\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t手机\\r\\n\\t\\tphone\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t智能汽车\\r\\n\\t\\tcar_auto\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t考勤机\\r\\n\\t\\tattendance\\r\\n\\t\\r\\n\\t\\r\\n\\t\\t电子班牌\\r\\n\\t\\telectronic_plate\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取系统支持的所有设备类型列表',
'summary' => '调用ListDeviceTypes获取系统支持的所有设备类型列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => false, 'example' => 'projectTest'],
],
[
'name' => 'DeviceModelId',
'in' => 'query',
'schema' => ['description' => '设备型号ID'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '设备型号名,支持模糊查询', 'type' => 'string', 'required' => false, 'example' => 'ROEWE RX5 '],
],
[
'name' => 'Start',
'in' => 'query',
'schema' => ['description' => '返回结果列表起始位置', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'Length',
'in' => 'query',
'schema' => ['description' => '返回结果列表最大长度', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'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' => '我的设备'],
'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":"\\r\\n\\t\\r\\n\\t\\tROEWE\\r\\n\\t\\tcn.1234567890\\r\\n\\t\\tROEWE RX5\\r\\n\\t\\t10\\r\\n\\t\\tcar_auto\\r\\n\\t\\txxxxxxx\\r\\n\\t\\t00:00:00:00:00:00\\r\\n\\t\\t我的设备\\r\\n\\t\\tprojectTest\\r\\n\\t\\tcn\\r\\n\\t\\txxxxxx\\r\\n\\t\\txxxxxx\\r\\n\\t\\t0\\r\\n\\t\\tprivate\\r\\n 0\\r\\n\\t\\txxxxxx\\r\\n\\t\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '查询设备列表',
'summary' => '调用ListDevices查询设备列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListFunctionExecuteLog' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'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'],
],
[
'name' => 'FunctionName',
'in' => 'query',
'schema' => ['description' => '函数名', 'type' => 'string', 'required' => true, 'example' => 'someFunc'],
],
[
'name' => 'Env',
'in' => 'query',
'schema' => ['description' => '函数所部署的环境,0:沙箱环境;1:生产环境。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t5f541c0a-2175-7651-7b7e-c8a0bff5cb7e\\r\\n\\t\\t 2018-08-21T03:28:50.267Z 5f541c0a-2175-7651-7b7e-c8a0bff5cb7e [info] This is output of console.log\\r\\n\\t \\r\\n\\t\\r\\n\\t\\tfalse\\r\\n\\t\\t1\\r\\n\\t\\t10\\r\\n\\t\\r\\n \\r\\n 629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询函数执行日志',
'summary' => '按分页列出函数执行的日志。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'FileType',
'in' => 'query',
'schema' => ['description' => '文件类型,0:单文件;1:包文件', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t5\\r\\n\\t\\t\\t1509422113000\\r\\n\\t\\t\\t1510150180000\\r\\n\\t\\t\\t17\\r\\n\\t\\t\\thello.zip\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1509422113000\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t29\\r\\n\\t\\t\\tThis is Desciption\\r\\n\\t\\t\\t1534739368000\\r\\n\\t\\t\\t1534739368000\\r\\n\\t\\t\\t41\\r\\n\\t\\t\\thello.zip\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1509422113000\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1509422113000\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t15\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询函数文件',
'summary' => '列出指定项目、指定类型的函数文件,支持分页。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => 'read',
'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'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t17\\r\\n\\t\\t1536201185000\\r\\n\\t\\t1536633019000\\r\\n\\t\\t46\\r\\n\\t\\thello.zip\\r\\n\\t\\t0\\r\\n\\t\\t1\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '根据项目ID查询函数文件',
'summary' => '列出指定项目所创建的函数单文件及包文件,支持分页。',
'description' => '> 如在创建触发器时,需要先列出当前项目关联的函数文件,然后进行函数的选择。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:27.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => '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'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t3\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t106577\\r\\n\\t\\t\\tfc71429ddd9b473c81d7ef5f33ab10cc\\r\\n\\t\\t\\t1525517606000\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t205951\\r\\n\\t\\t\\tfc71429ddd9b473c81d7ef5f33ab10cc\\r\\n\\t\\t\\t1525516333000\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t106578\\r\\n\\t\\t\\tfc71429ddd9b473c81d7ef5f33ab10cc\\r\\n\\t\\t\\t1525517639000\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询消息ack记录列表',
'summary' => '根据消息id、设备id查询消息ack记录列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'],
],
[
'name' => 'MessageId',
'in' => 'query',
'schema' => ['description' => '消息ID。', 'type' => 'string', 'required' => true, 'example' => '32555'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'MessageReceivers' => [
'description' => '分页查询设备接收者数据对象。',
'type' => 'object',
'properties' => [
'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'],
],
],
'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' => '629586FE-CB2E-4742-995E-121F952CEB72'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t106577\\r\\n\\t\\t\\tdeviceId\\r\\n\\t\\t\\t1583820a2cf345a8810b3e0a2435b16f\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '根据消息ID查询消息设备接收对象列表',
'summary' => '调用ListMessageReceivers根据消息ID查询消息设备接收对象列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => false, 'example' => '101'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'],
],
'description' => '',
],
],
],
'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":"\\r\\n49C0C0A1-2D02-466B-BC26-D73117062FAE\\r\\n\\t\\r\\n\\t\\tcca8e86c056bdc4fe7875a9bf3f26c7f\\r\\n\\t\\tDEFAULT_BY_ACCOUNT_DEVICEDEFAULT_BY_ACCOUNT_DEVICE\\r\\n\\t\\t1151125281886341\\r\\n\\t\\tPLR58NHL\\r\\n\\t\\tDEFAULT_BY_ACCOUNT_DEVICE\\r\\n\\t\\t1526871654000\\r\\n\\t\\t1526871654000\\r\\n\\t\\t101\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tf04998a1834f4a6d8debb403b995713a\\r\\n\\t\\tDEFAULT_BY_DEVICE\\r\\n\\t\\t1151125281886341\\r\\n\\t\\tPLR58NHL\\r\\n\\t\\tDEFAULT_BY_DEVICE\\r\\n\\t\\t1526871654000\\r\\n\\t\\t1526871654000\\r\\n\\t\\t2\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询指定项目的Namespace列表',
'summary' => '调用ListNamespaces查询指定项目的Namespace列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询每页数据集数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'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'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t106577\\r\\n\\t\\t\\t1525693420000\\r\\n\\t\\t\\t1525517606000\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t205951\\r\\n\\t\\t\\t1525693520000\\r\\n\\t\\t\\t1525517616000\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询设备离线消息列表',
'summary' => '根据deviceId或kp查询设备离线消息列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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'],
],
[
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\tE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n\\t\\r\\n\\t\\taliyunidtest\\r\\n\\t\\tcreateaccesskeytest\\r\\n\\t\\tdisplaynametest\\r\\n\\t\\tidentityidtest\\r\\n\\t\\tALIOS\\r\\n\\t\\tloginidtest\\r\\n\\t\\t1390000****\\r\\n\\t\\t12345\\r\\n\\t\\tcn\\r\\n\\t\\t0\\r\\n\\t\\t1\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '根据三方账号ID查询账号列表',
'summary' => '调用ListOpenAccountLinks根据三方账号ID查询账号列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'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',
'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' => [
200 => [
'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'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t81275440-EF9D-4570-A78F-7576441D3BF8\\r\\n\\t\\r\\n\\t\\taliyunidtest\\r\\n\\t\\tcreateaccesskeytest\\r\\n\\t\\tdisplaynametest\\r\\n\\t\\tidentityidtest\\r\\n\\t\\tALIOS\\r\\n\\t\\tloginidtest\\r\\n\\t\\t1390000****\\r\\n\\t\\t12345\\r\\n\\t\\tcn\\r\\n\\t\\t0\\r\\n\\t\\t1\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '查询账号列表',
'summary' => '调用ListOpenAccounts查询账号列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListOpenAccounts',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListPreChecks' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'list'],
'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'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
'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":"\\n\\t\\n\\t\\thttps://www.aliyun.com/product/iovcc\\n\\t\\tIovccEnabled\\n\\t\\tEnabled\\n\\t\\tFreeTrial\\n\\t\\n\\tD1BE8AC4-BE5B-4B04-B78B-A64C6BDB2AC2\\n","errorExample":""}]',
'title' => '查询预检查结果',
'summary' => '调用ListPreChecks查询预检查结果。',
'description' => '> 查询用户是否已开通本产品以及依赖的其它云产品。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => '11'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '当前页码,从**1**开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页记录条数,默认为**10**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Keywords',
'in' => 'query',
'schema' => ['description' => '应用名称或包名关键字。', 'type' => 'string', 'required' => false, 'example' => 'app'],
],
],
'responses' => [
200 => [
'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'],
],
'description' => '',
],
],
'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'TotalCount' => ['description' => '总记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tQ******F\\r\\n\\t\\t\\tcom.app1\\r\\n\\t\\t\\tAX4R4JWQ\\r\\n\\t\\t\\tapp1\\r\\n\\t\\t\\t78\\r\\n\\t\\t\\t1768723179523459\\r\\n\\t\\t\\t1524736376000\\r\\n\\t\\t\\tmPp7O4LW\\r\\n\\t\\t\\t1524736376000\\r\\n\\t\\t\\t11\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t18178DD4-70F9-4BA1-956E-5D8ED4D5B27C\\r\\n","errorExample":""}]',
'title' => '查询所有自定义应用',
'summary' => '根据项目ID查询项目下的所有自定义应用。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => [],
'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'],
],
'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":"\\r\\n\\t\\r\\n\\t\\taicc_test22\\r\\n\\t\\t0\\r\\n\\t\\ttest3\\r\\n\\t\\taicc-qa\\r\\n\\t\\t11\\r\\n\\t\\t1768723179523459\\r\\n\\t\\t1508341160000\\r\\n\\t\\t1525687817000\\r\\n\\t\\t11\\r\\n\\t\\r\\n\\t3305DEE5-4020-4FF0-9D42-5882B1580088\\r\\n","errorExample":""}]',
'title' => '查询项目列表',
'summary' => '调用ListProjects查询项目列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-13T11:40:24.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListProjects',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListRpcServices' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID', 'type' => 'string', 'required' => true, 'example' => 'sfgsghd6'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'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' => [
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'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\tcH8Rj1CF\\r\\n\\t\\t\\trpcTest1\\r\\n rpcTest1\\r\\n 2018-05-01 \\r\\n\\t\\t\\thttps://portal.aicc.aliyun.com/rpcServiceTest.html\\r\\n\\t\\t\\trpcTest\\r\\n\\t\\t\\t1.0.0\\r\\n\\t\\t\\thttp\\r\\n\\t\\t\\tparam1,param2\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t1513846288000\\r\\n\\t\\t\\t1513846288000\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\tcH8Rj1CF\\r\\n\\t\\t\\trpcTest2\\r\\n rpcTest2\\r\\n 2018-05-02\\r\\n\\t\\t\\thttps://portal.aicc.aliyun.com/rpcServiceTest.html\\r\\n\\t\\t\\trpcTest\\r\\n\\t\\t\\t1.0.0\\r\\n\\t\\t\\thttp\\r\\n\\t\\t\\tparam1,param2\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t1513846284000\\r\\n\\t\\t\\t1513846284000\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询Rpc服务接口注册记录列表',
'summary' => '调用ListRpcServices查询Rpc服务接口注册记录列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
[
'name' => 'DeviceModel',
'in' => 'query',
'schema' => ['description' => '机型信息', 'type' => 'string', 'required' => false, 'example' => 'model_2nd'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '查询的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '查询的每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'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'],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tmodel_2nd\\r\\n\\t\\t\\t208\\r\\n\\t\\t\\t1537255540160\\r\\n\\t\\t\\t1537255540160\\r\\n\\t\\t\\t49\\r\\n\\t\\t\\tb09e93ce436aaf0dcfc2fb2004c1fde8\\r\\n\\t\\t\\tPIC3UA0V\\r\\n\\t\\t\\t{"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": "机油油位"}}}}}}}\\r\\n\\t\\t\\t1.0\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\ttrue\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\r\\n\\tEDCF581A-6A1A-4595-9542-96D084F5F231\\r\\n","errorExample":""}]',
'title' => '查询订阅列表',
'summary' => '调用ListSchemaSubscribes查询订阅列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListSchemaSubscribes',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListShadowSchemaDeviceModels' => [
'methods' => ['get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'ModelList' => [
'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'],
],
'description' => '',
],
],
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4F501674-4FE3-47F9-ADAD-A1875A325798'],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\tmodel_2nd\\r\\n\\t\\tcar_auto\\r\\n\\t\\tsn\\r\\n\\t\\t0\\r\\n\\t\\tbrand_2nd\\r\\n\\t\\tPIC3UA0V\\r\\n\\t\\t208\\r\\n\\t\\t0\\r\\n\\t\\tprivate\\r\\n\\t\\t1\\r\\n\\t\\r\\n\\t4F501674-4FE3-47F9-ADAD-A1875A325798\\r\\n","errorExample":""}]',
'title' => '获取所有机型列表',
'summary' => '在新增设备范式时,根据当前的projectId获取这个项目下的所有机型列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PIC3UA0V'],
],
[
'name' => 'QueryType',
'in' => 'query',
'schema' => ['description' => '查询类型', 'type' => 'string', 'required' => false, 'example' => 'deviceModelId'],
],
[
'name' => 'QueryValue',
'in' => 'query',
'schema' => ['description' => '和查询类型匹配的查询值', 'type' => 'string', 'required' => false, 'example' => '120'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '查询的页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页查询的数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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'],
],
],
'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\\": \\"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":"\\r\\n\\t973C5884-2CB8-40B4-9D9F-F92BA38BD85F\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\ttrue\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tmodel_2nd\\r\\n\\t\\t\\t1537255499517\\r\\n\\t\\t\\t{"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": "清洗液"}}\\r\\n\\t\\t\\t1537255499517\\r\\n\\t\\t\\tPIC3UA0V\\r\\n\\t\\t\\t用户模式\\r\\n\\t\\t\\t53\\r\\n\\t\\t\\t208\\r\\n\\t\\t\\t101\\r\\n\\t\\t\\tb09e93ce436aaf0dcfc2fb2004c1fde8\\r\\n\\t\\t
\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '获取schema分页数据',
'summary' => '根据项目ID、分页信息等,获取schema的分页数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListShadowSchemas',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListSupportFeatures' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'list'],
'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'],
],
'description' => '',
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\tOTA\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tDIS\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tIAS\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tRA\\r\\n\\t\\r\\n\\t\\r\\n\\t\\tCMNS\\r\\n\\t\\r\\n\\t1B0DA203-B3BA-43CD-9506-5DF33ACEFF26\\r\\n","errorExample":""}]',
'title' => '查询已开通的服务列表',
'summary' => '调用ListSupportFeatures查询已开通的服务列表。',
'description' => '> 查询用户已开通哪些IoVCC的服务模块。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-14T11:20:41.000Z', 'description' => '错误码发生变更'],
],
'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'],
'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' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '目标页号,默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '每页所显示的项数,默认为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '629586FE-CB2E-4742-995E-121F952CEB72'],
'TriggerList' => [
'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'],
],
],
'Triggers' => [
'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' => '函数数组',
'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' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t10\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t46\\r\\n\\t\\t\\t\\thello.zip\\r\\n\\t\\t\\t\\t1536201206000\\r\\n\\t\\t\\t\\t1536201206000\\r\\n\\t\\t\\t\\t36\\r\\n\\t\\t\\t\\tsomeFunc\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t1537154684000\\r\\n\\t\\t\\t1537154684000\\r\\n\\t\\t\\t2533\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tf323baa35c304751a4b1254adc8230bf\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t/\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '按分页列出触发器',
'summary' => '调用ListTriggers列出触发器,支持分页。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'list'],
'parameters' => [
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'],
],
[
'name' => 'AppServerId',
'in' => 'query',
'schema' => ['description' => '服务端应用ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '分页查询页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'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'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\tgU4bcOff\\r\\n 会员中心\\r\\n com.test.member\\r\\n\\t\\t\\t1525696754000\\r\\n\\t\\t\\t275\\r\\n\\t\\t\\tJU3ffOub\\r\\n\\t\\t\\tfJCR8g2I\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '查询上行消息客户端与服务端映射列表',
'summary' => '根据服务端应用ID,查询上行消息客户端与服务端映射列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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' => 'list'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => true, 'example' => 'fsgtd5y5r'],
],
[
'name' => 'PageIndex',
'in' => 'query',
'schema' => ['description' => '分页查询页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['description' => '分页查询每页数据集大小。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'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'],
],
'description' => '',
],
],
],
],
],
'description' => '',
],
],
],
'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":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t2\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t1\\r\\n\\t\\t\\t20\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t7\\r\\n\\t\\t\\tjRfe7P5k\\r\\n\\t\\t\\t8ZJH0595\\r\\n\\t\\t\\ttest1\\r\\n\\t\\t\\ttestTag\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t1514357674000\\r\\n\\t\\t\\t1525427071182\\r\\n\\t\\t\\tcom-yunos-iovcc-cmns-forward-qa-jRfe7P5k-testTag\\r\\n\\t\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\t6\\r\\n\\t\\t\\tmRFG7Bee\\r\\n\\t\\t\\t8ZJH0595\\r\\n\\t\\t\\ttest2\\r\\n\\t\\t\\ttag1,tag2,tag3\\r\\n\\t\\t\\tN\\r\\n\\t\\t\\t1514344420000\\r\\n\\t\\t\\t1525427071182\\r\\n\\t\\t\\tcom-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag1,com-yunos-iovcc-cmns-forward-qa-mRFG7Bee-tag2,com-yunos-aicc-cmns-forward-qa-mRFG7Bee-tag3\\r\\n\\t\\t
\\r\\n\\t\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '获取上行消息服务端应用列表',
'summary' => '根据项目工程ID获取上行消息服务端应用列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t\\r\\n\\t\\t1\\r\\n\\t\\t升级分组\\r\\n\\t\\t测试\\r\\n\\t\\t2018-01-01 00:00:00\\r\\n\\t\\t2018-01-01 00:01:00\\r\\n\\t\\r\\n","errorExample":""}]',
'title' => '列出项目下的所有测试设备分组信息',
'summary' => '调用ListVersionDeviceGroups列出项目下的所有测试设备分组信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:26.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'create'],
'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' => '1'],
],
[
'name' => 'SendMessage',
'in' => 'query',
'schema' => ['description' => '是否发送消息', 'type' => 'boolean', 'required' => true, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '发布应用版本',
'summary' => '发布应用版本,可控制是否推送升级消息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:PublishAppVersion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'PublishOsVersion' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'create'],
'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' => '1'],
],
[
'name' => 'SendMessage',
'in' => 'query',
'schema' => ['description' => '是否推送消息', 'type' => 'boolean', 'required' => true, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '发布系统版本',
'summary' => '发布系统版本,可控制是否推送升级消息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => 'none'],
'parameters' => [
[
'name' => 'AppPackage',
'in' => 'query',
'schema' => ['description' => '消息归属客户端应用包名。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.iovcc.cmns.test'],
],
[
'name' => 'Desc',
'in' => 'query',
'schema' => ['description' => '通知内容详情,消息类型为通知时必传。', 'type' => 'string', 'required' => false, 'example' => 'this is desc test'],
],
[
'name' => 'Act',
'in' => 'query',
'schema' => ['description' => '广播侦听通道,为客户端与服务端约定配置。', 'type' => 'string', 'required' => true, 'example' => 'com.aliyun.iovcc.action'],
],
[
'name' => 'Uri',
'in' => 'query',
'schema' => ['description' => 'alios4.0专用,alios设备通知和透传消息时必传。', 'type' => 'string', 'required' => false, 'example' => 'page://broadcast.yunos.com'],
],
[
'name' => 'PkgContent',
'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"}'],
],
[
'name' => 'CustomContent',
'in' => 'query',
'schema' => ['description' => '用户自定义内容。'."\n"
."\n"
.'为json字符串,json字符串中不得使用关键字"cmns"作为字段,消息类型为透传(type=1)时必传。', 'type' => 'string', 'required' => false, 'example' => '{"key1":"value1","key2":"value2"}'],
],
[
'name' => 'ReceiverType',
'in' => 'query',
'schema' => ['description' => '消息接收对象类型。取值:"**uuid**"、"**imei**"、"**kp**"、"**terminal**"。'."\n"
."\n"
.'- 按设备维度发送时,选择**uuid**或者**imei**。'."\n"
.'- 按账号维度发送时,选择**kp**。'."\n"
.'- 按设备类型维度时,选择**terminal**。', 'type' => 'string', 'required' => true, 'example' => 'uuid'],
],
[
'name' => 'ReceiverValues',
'in' => 'query',
'schema' => ['description' => '消息接收对象值,多个接收对象通过英文逗号拼接。'."\n"
."\n"
.'- 按照**uuid**或者**imei**的值拼接,最多限制1000个设备。'."\n"
.'- 按照**kp**的值拼接,最多限制100个账号。'."\n"
.'- 按照**terminal**的值拼接,最多限制10个机型。', 'type' => 'string', 'required' => true, 'example' => 'b81d39b0252a4ffdb750360b262cb442, b81d39b0252a4ffdb750360b262cb411'],
],
[
'name' => 'ExpiredTime',
'in' => 'query',
'schema' => ['description' => '消息过期时间。'."\n"
."\n"
.'相对时间(即多少秒后过期,单发最多7天,群发消息最多不能超过30天),单位为S,默认1小时过期。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7200'],
],
[
'name' => 'Title',
'in' => 'query',
'schema' => ['description' => '通知标题,消息类型为通知时必传。', 'type' => 'string', 'required' => false, 'example' => 'this is test test'],
],
[
'name' => 'ProjectId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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\\": \\"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":"\\r\\n\\t354677\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '推送消息到设备端',
'summary' => '推送消息到设备端,支持透传、通知两种消息类型。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'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' => 'none'],
'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' => '1'],
],
[
'name' => 'VersionType',
'in' => 'query',
'schema' => ['description' => '版本类型,取值:'."\n"
."\n"
.'- **FOTA**:系统版本'."\n"
.'- **APP**:应用版本', 'type' => 'string', 'required' => true, 'example' => 'FOTA'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '给某一版本下的所有机型推送升级消息',
'summary' => '调用PushVersionMessage给某一版本下的所有机型推送升级消息。',
'description' => '> 只能给“预发布”,“已发布”状态的版本推送消息。'."\n"
."\n"
.'- 针对系统版本推送,因为系统版本只关联一个机型,会对该机型下所有设备推送升级消息。'."\n"
.'- 针对应用版本推送,则会对应用版本下的所有关联机型覆盖的设备推送升级消息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '所属项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'PrepublishId',
'in' => 'query',
'schema' => ['description' => '预发布ID', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 \\"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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n\\t1000\\r\\n","errorExample":""}]',
'title' => '查询指定预发布的已查询设备数',
'summary' => '调用QueryPrepublishPassedDeviceCount查询指定预发布的已查询设备数,已查询设备会根据其云设备ID进行去重。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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' => '没有和时间服务器同步'],
],
[
'name' => 'DeviceModel',
'in' => 'formData',
'schema' => ['description' => '设备model。', 'type' => 'string', 'required' => false, 'example' => 'ModelS'],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
],
'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":"\\r\\n\\t6F0A833B-7A86-4D92-A083-C184041E2F2D\\r\\n","errorExample":""}]',
'title' => '提交远程诊断报告',
'summary' => '调用SubmitAssistReport提交远程诊断报告。',
'description' => '> 对于一次诊断,首次提交会创建一份报告,后续提交会更新报告内容。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:SubmitAssistReport',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateApiGatewayAppStatus' => [
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID。', 'type' => 'string', 'required' => true, 'example' => 'PPCVFRG7'],
],
[
'name' => 'GatewayAppId',
'in' => 'query',
'schema' => ['description' => '网关应用AppId。', 'type' => 'string', 'required' => true, 'example' => '5929076'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '状态,0-正常,1-禁用。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '修改项目关联的网关 APP 状态',
'summary' => '调用UpdateApiGatewayAppStatus修改项目关联的网关app状态。',
'description' => '> 禁用状态下,客户端无法调用IoVCC通过API网关暴露的接口。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => 'update'],
'parameters' => [
[
'name' => 'WhiteAppVersions',
'in' => 'query',
'schema' => ['description' => '白名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', 'type' => 'string', 'required' => false, 'example' => '12,13,14'],
],
[
'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' => '12345'],
],
[
'name' => 'BlackAppVersions',
'in' => 'query',
'schema' => ['description' => '黑名单版本versioncode列表,英文逗号分隔,黑白名单不能同时设置。', 'type' => 'string', 'required' => false, 'example' => '12,13,14'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新应用版本的版本的黑白名单',
'summary' => '调用UpdateAppBlackWhiteVersions更新应用版本的版本的黑白名单。',
'description' => '例如,若配置某个应用版本,只有哪些低版本的应用版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'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'],
],
[
'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',
'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'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => false, 'example' => '11'],
],
[
'name' => 'ApkMd5',
'in' => 'query',
'schema' => ['description' => 'APK的MD5值', 'type' => 'string', 'required' => false, 'example' => '34653456wertwe234653retwewer3456'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新应用升级版本中的各项信息配置',
'summary' => '调用UpdateAppVersion更新应用升级版本中的各项信息配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'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' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'VersionId',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12345'],
],
[
'name' => 'ReleaseNote',
'in' => 'query',
'schema' => ['description' => '发布说明', 'type' => 'string', 'required' => true, 'example' => 'sample release note'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新应用版本的发布说明',
'summary' => '调用UpdateAppVersionReleaseNote更新应用版本的发布说明。',
'description' => '> 当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'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'],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新备注信息',
'summary' => '在版本创建完成后,更新备注信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateAppVersionRemark',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateAppVersionStatus' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '切换应用版本状态',
'summary' => '测试通过、已发布、已下架、已废弃。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => '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'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => '过滤条件名', 'type' => 'string', 'required' => true, 'example' => 'AnotherFilter'],
],
[
'name' => 'Value',
'in' => 'query',
'schema' => ['description' => '过滤条件值', 'type' => 'string', 'required' => true, 'example' => '1,4'],
],
[
'name' => 'ValueType',
'in' => 'query',
'schema' => ['description' => '过滤条件值类型:'."\n"
."\n"
.'唯一取值**WRITE**。', 'type' => 'string', 'required' => true, 'example' => 'WRITE'],
],
[
'name' => 'ValueCompareType',
'in' => 'query',
'schema' => ['description' => '值的比较类型:'."\n"
."\n"
.'- **NUMBER**:按数字比较 '."\n"
.'- **STRING**:按字符串比较', 'type' => 'string', 'required' => true, 'example' => 'NUMBER'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '更新的自定义过滤条件ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新自定义过滤条件',
'summary' => '调用UpdateCustomizedFilter更新自定义过滤条件。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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' => false, 'example' => 'projectTest'],
],
[
'name' => 'HardwareType',
'in' => 'query',
'schema' => ['description' => '硬件类型。', 'type' => 'string', 'required' => false, 'example' => 'hardware_id'],
],
[
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9c7a3b09-a69a-43f5-8bf2-84f7119810eb'],
],
'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":"\\r\\nE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '修改设备型号信息',
'summary' => '调用UpdateDeviceModel修改设备型号信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'update'],
'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',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E94C9864-56FB-44AD-AC0C-A1CEFB332254'],
],
'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":"\\r\\nE94C9864-56FB-44AD-AC0C-A1CEFB332254\\r\\n","errorExample":""}]',
'title' => '修改Namespace中的数据',
'summary' => '调用UpdateNamespaceData修改Namespace里存的数据。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateNamespaceData',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateOsBlackWhiteVersions' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'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' => 'P0VFCREU'],
],
[
'name' => 'VersionId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新系统版本的黑白名单',
'summary' => '调用UpdateOsBlackWhiteVersions更新系统版本的版本的黑白名单。',
'description' => '例如,若配置某个系统版本,只有哪些低版本的系统版本才能升级到此版本时,可以设置版本白名单。黑白名单不能同时设置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => '项目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'],
],
[
'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',
'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' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新系统版本的基本信息',
'summary' => '调用UpdateOsVersion更新系统版本的基本信息。',
'description' => '用户创建完系统版本后,可能需要修改系统版本,可以调用此接口进行修改。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:25.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'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' => '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' => '10023'],
],
[
'name' => 'ReleaseNote',
'in' => 'query',
'schema' => ['description' => '版本发布说明', 'type' => 'string', 'required' => true, 'example' => 'new release note'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新系统版本发布说明',
'summary' => '调用UpdateOsVersionReleaseNote更新系统版本发布说明。',
'description' => '当版本灰度或者发布了,还希望更新版本的发布说明时,可以调用此接口更新版本发布说明。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => '12304'],
],
[
'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'],
],
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新系统版本备注信息',
'summary' => '在版本创建完成后,更新系统版本的备注信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'P0VFCREU'],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '12304'],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => ['description' => '版本状态', 'type' => 'string', 'required' => false, 'example' => 'PUBLISHED'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '切换系统版本状态',
'summary' => '调用UpdateOsVersionStatus切换系统版本状态。',
'description' => '例如,测试通过、已发布、已下架、已废弃等。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => '11'],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => '项目描述', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"NotFoundProject\\",\\n \\"Message\\": \\"Cannot find the specified project\\"\\n}"},{"type":"xml","example":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '修改项目基本信息',
'summary' => '调用UpdateProject修改项目基本信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-17T02:56:09.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => 'PIC3UA0V'],
],
[
'name' => 'SchemaVersion',
'in' => 'query',
'schema' => ['description' => '版本', 'type' => 'string', 'required' => false, 'example' => '1.0'],
],
],
'responses' => [
200 => [
'schema' => [
'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\\": \\"InvalidTenant\\",\\n \\"Message\\": \\"User is not a valid tenant\\"\\n}"},{"type":"xml","example":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '修改订阅信息',
'summary' => '调用UpdateSchemaSubscribe修改订阅信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'update'],
'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'],
],
[
'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',
'in' => 'query',
'schema' => ['description' => '待修改的数据记录ID', 'type' => 'string', 'required' => true, 'example' => '12'],
],
],
'responses' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '修改某机型的 schema 信息',
'summary' => '调用UpdateShadowSchema修改某机型的schema信息.。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'write',
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'schema' => ['description' => '项目ID', 'type' => 'string', 'required' => true, 'example' => 'PE9FQC48'],
],
[
'name' => 'Id',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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 \\"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":"\\r\\n\\t629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '修改触发器',
'summary' => '调用UpdateTrigger修改触发器。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => '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' => 'iovcc项目工程ID。', 'type' => 'string', 'required' => false, 'example' => 'ewtwtt4f'],
],
],
'responses' => [
200 => [
'schema' => [
'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":"\\r\\n629586FE-CB2E-4742-995E-121F952CEB72\\r\\n","errorExample":""}]',
'title' => '更新上行消息服务端应用名称、标签等信息',
'summary' => '调用UpdateUpstreamAppServer更新上行消息服务端应用名称、标签等信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新测试设备分组',
'summary' => '调用UpdateVersionDeviceGroup更新测试设备分组。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'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' => 'update'],
'parameters' => [
[
'name' => 'ProjectId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'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\\": \\"NoPermission.NotOwner\\",\\n \\"Message\\": \\"You have no permission because you are not the owner of the data\\"\\n}"},{"type":"xml","example":"\\r\\n\\t6F25F67C-F411-499F-BCE2-67CA563CB064\\r\\n","errorExample":""}]',
'title' => '更新指定预发布禁用启用状态',
'summary' => '调用UpdateVersionPrepublishActiveStatus更新指定预发布禁用启用状态。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'changeSet' => [
['createdAt' => '2024-06-18T02:20:24.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateVersionPrepublishActiveStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
],
'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' => '*'],
],
],
],
[
'apiName' => 'CountActivatedOrNewRegistrationDevice',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:CountActivatedOrNewRegistrationDevice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetOssUploadMeta',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:GetOssUploadMeta',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteUpstreamAppServer',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteUpstreamAppServer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListConnectLogs',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListConnectLogs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'InvokeFunction',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:InvokeFunction',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenerateFunctionFileUploadMeta',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:GenerateFunctionFileUploadMeta',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateTrigger',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:CreateTrigger',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeDeviceInfo',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeDeviceInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListAssistHistoryDetails',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListAssistHistoryDetails',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'CreateShadowSchema',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:CreateShadowSchema',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListShadowSchemas',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListShadowSchemas',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListShadowSchemaDeviceModels',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListShadowSchemaDeviceModels',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PublishAppVersion',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:PublishAppVersion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'CreateDeviceBrand',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:CreateDeviceBrand',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteVersionGroupDevice',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteVersionGroupDevice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateNamespaceData',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateNamespaceData',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteOpenAccount',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteOpenAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteDevice',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'iovcc:DeleteDevice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeCustomizedFilter',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeCustomizedFilter',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'AddVersionWhiteDevicesByDeviceGroups',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:AddVersionWhiteDevicesByDeviceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'UpdateCustomizedFilter',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateCustomizedFilter',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateAppVersion',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:CreateAppVersion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateUpstreamAppKeyRelation',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:CreateUpstreamAppKeyRelation',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenerateSdkDownloadInfo',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:GenerateSdkDownloadInfo',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'ListAssistHistories',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListAssistHistories',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'FindAppVersions',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:FindAppVersions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeAssistReport',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeAssistReport',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CountDevices',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:CountDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetNamespaceData',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:GetNamespaceData',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateApiGatewayAppStatus',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateApiGatewayAppStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListClientPlugins',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'iovcc:ListClientPlugins',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateShadowSchema',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateShadowSchema',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'UpdateOsBlackWhiteVersions',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateOsBlackWhiteVersions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetDeviceAppUpdateFunnelEvents',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:GetDeviceAppUpdateFunnelEvents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUpstreamAppServer',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'iovcc:UpdateUpstreamAppServer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'FindPrepublishPassedDevices',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:FindPrepublishPassedDevices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'FindVersionMessages',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:FindVersionMessages',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProjectApps',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:ListProjectApps',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeDeviceValiditySchema',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeDeviceValiditySchema',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'apiName' => 'FindCustomizedProperties',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:FindCustomizedProperties',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PublishOsVersion',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'iovcc:PublishOsVersion',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeOpenAccount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'iovcc:DescribeOpenAccount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IoVCommandCenter', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];