'1.0', 'info' => ['style' => 'RPC', 'product' => 'Iot', 'version' => '2016-05-30'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'ApplyDeviceWithNames', 'BatchGetDeviceState', 'CheckTopicPermission', 'CreateProduct', 'CreateProductTopic', 'CreateRule', 'CreateRuleAction', 'DebugRuleSql', 'DeleteDevice', 'DeleteProductTopic', 'DeleteRule', 'DeleteRuleAction', 'DeviceGrant', 'DevicePermitModify', 'DeviceRevokeById', 'DeviceRevokeByTopic', 'GetCats', 'GetRule', 'GetRuleAction', 'ListDevicePermits', 'ListRule', 'ListRuleActions', 'Pub', 'QueryApplyStatus', 'QueryDevice', 'QueryDeviceById', 'QueryDeviceByName', 'QueryDeviceTopic', 'QueryPageByApplyId', 'QueryProduct', 'QueryProductByUserId', 'QueryProductTopic', 'QueryServerCallback', 'QueryTopic', 'RegistDevice', 'RevertRpc', 'SaveServerCallback', 'ServerOnline', 'StartRule', 'StopRule', 'Sub', 'SubTopicFilter', 'UnSub', 'UpdateProduct', 'UpdateProductTopic', 'UpdateRule', 'UpdateRuleAction', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ApplyDeviceWithNames' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => true, 'maxItems' => 1000, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ApplyId' => ['type' => 'integer', 'format' => 'int64'], 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'BatchGetDeviceState' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => true, 'maxItems' => 50, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'DeviceStatusList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DeviceStatus' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['type' => 'string'], 'LastOnlineTime' => ['type' => 'string'], 'DeviceName' => ['type' => 'string'], 'AsAddress' => ['type' => 'string'], 'DeviceId' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'CheckTopicPermission' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'TopicOperation', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['UNKNOW', 'PUB', 'SUB', 'ALL'], ], ], [ 'name' => 'Topic', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Permit' => ['type' => 'boolean'], 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'CreateProduct' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Desc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CatId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'ExtProps', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SecurityPolicy', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'default' => 'P_D', 'enum' => ['P_D', 'P', 'D'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'ProductInfo' => [ 'type' => 'object', 'properties' => [ 'ProductDesc' => ['type' => 'string'], 'ProductKey' => ['type' => 'string'], 'ProductName' => ['type' => 'string'], 'ProductSecret' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'FromSource' => ['type' => 'string'], 'CreateUserId' => ['type' => 'integer', 'format' => 'int64'], 'ExtProps' => ['type' => 'string'], 'CatId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'CreateProductTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TopicShortName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Operation', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Desc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'CreateRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'Select', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShortTopic', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Where', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RuleDesc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'CreateRuleAction' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Configuration', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DebugRuleSql' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'JsonInfo', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Where' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'RequestId' => ['type' => 'string'], 'PayloadJson' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeleteDevice' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeleteProductTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'TopicId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeleteRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeleteRuleAction' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ActionId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeviceGrant' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'TopicFullName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GrantType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['PUB', 'SUB', 'ALL'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ErrorMessage' => ['type' => 'string'], 'RequestId' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DevicePermitModify' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TopicFullName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GrantType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['ALL', 'PUB', 'SUB'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeviceRevokeById' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'DeviceRevokeByTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'TopicFullName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GrantType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => ['PUB', 'SUB', 'ALL'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'GetCats' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RootId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'CatInfo' => [ 'type' => 'object', 'properties' => [ 'HasChild' => ['type' => 'boolean'], 'Name' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], 'Childs' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ChildCat' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'HasChild' => ['type' => 'boolean'], 'Name' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'GetRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'RuleInfo' => [ 'type' => 'object', 'properties' => [ 'Status' => ['type' => 'string'], 'Modified' => ['type' => 'string'], 'Select' => ['type' => 'string'], 'CreateUserId' => ['type' => 'integer', 'format' => 'int64'], 'Where' => ['type' => 'string'], 'ProductKey' => ['type' => 'integer', 'format' => 'int64'], 'Topic' => ['type' => 'string'], 'ShortTopic' => ['type' => 'string'], 'RuleDesc' => ['type' => 'string'], 'Name' => ['type' => 'string'], 'Created' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'GetRuleAction' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ActionId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'RuleActionInfo' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'Configuration' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], 'RuleId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'ListDevicePermits' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'DevicePermissions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DevicePermission' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TopicFullName' => ['type' => 'string'], 'GrantType' => ['type' => 'string'], 'TopicUserId' => ['type' => 'integer', 'format' => 'int64'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'ListRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'CurrenPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'PageSize' => ['type' => 'integer', 'format' => 'int32'], 'Total' => ['type' => 'integer', 'format' => 'int32'], 'Page' => ['type' => 'integer', 'format' => 'int32'], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'RuleInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['type' => 'string'], 'Modified' => ['type' => 'string'], 'Select' => ['type' => 'string'], 'CreateUserId' => ['type' => 'integer', 'format' => 'int64'], 'Where' => ['type' => 'string'], 'ProductKey' => ['type' => 'integer', 'format' => 'int64'], 'Topic' => ['type' => 'string'], 'ShortTopic' => ['type' => 'string'], 'RuleDesc' => ['type' => 'string'], 'Name' => ['type' => 'string'], 'Created' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'ListRuleActions' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'RuleActionList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'RuleActionInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['type' => 'string'], 'Configuration' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], 'RuleId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'Pub' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Qos', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0', 'enum' => ['0', '1'], ], ], [ 'name' => 'TopicFullName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MessageContent', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryApplyStatus' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ApplyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Finish' => ['type' => 'boolean'], 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryDevice' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'PageSize' => ['type' => 'integer', 'format' => 'int32'], 'Total' => ['type' => 'integer', 'format' => 'int32'], 'PageCount' => ['type' => 'integer', 'format' => 'int32'], 'Page' => ['type' => 'integer', 'format' => 'int32'], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DeviceInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ProductKey' => ['type' => 'string'], 'DeviceName' => ['type' => 'string'], 'DeviceId' => ['type' => 'string'], 'DeviceSecret' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'DeviceStatus' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryDeviceById' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'DeviceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'DeviceInfo' => [ 'type' => 'object', 'properties' => [ 'ProductKey' => ['type' => 'string'], 'DeviceName' => ['type' => 'string'], 'DeviceId' => ['type' => 'string'], 'DeviceSecret' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'DeviceStatus' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryDeviceByName' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'DeviceInfo' => [ 'type' => 'object', 'properties' => [ 'ProductKey' => ['type' => 'string'], 'DeviceName' => ['type' => 'string'], 'DeviceId' => ['type' => 'string'], 'DeviceSecret' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'DeviceStatus' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryDeviceTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'TopicList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'DeviceTopicInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TopicTemplate' => ['type' => 'boolean'], 'Operation' => ['type' => 'string'], 'TopicName' => ['type' => 'string'], 'TopicMessageCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryPageByApplyId' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'CurrenPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'ApplyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'PageSize' => ['type' => 'integer', 'format' => 'int32'], 'Total' => ['type' => 'integer', 'format' => 'int32'], 'PageCount' => ['type' => 'integer', 'format' => 'int32'], 'Page' => ['type' => 'integer', 'format' => 'int32'], 'ApplyDeviceList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ApplyDeviceInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DeviceName' => ['type' => 'string'], 'DeviceId' => ['type' => 'string'], 'DeviceSecret' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryProduct' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'ProductInfo' => [ 'type' => 'object', 'properties' => [ 'ProductDesc' => ['type' => 'string'], 'SecurePolicy' => ['type' => 'string'], 'ProductKey' => ['type' => 'string'], 'ProductName' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'ProductSecret' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'FromSource' => ['type' => 'string'], 'CreateUserId' => ['type' => 'integer', 'format' => 'int64'], 'ExtProps' => ['type' => 'string'], 'CatId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryProductByUserId' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '0'], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '0'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'PageSize' => ['type' => 'integer', 'format' => 'int32'], 'Total' => ['type' => 'integer', 'format' => 'int32'], 'PageCount' => ['type' => 'integer', 'format' => 'int32'], 'Page' => ['type' => 'integer', 'format' => 'int32'], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ProductInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ProductDesc' => ['type' => 'string'], 'SecurePolicy' => ['type' => 'string'], 'ProductKey' => ['type' => 'string'], 'ProductName' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'ProductSecret' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'FromSource' => ['type' => 'string'], 'CreateUserId' => ['type' => 'integer', 'format' => 'int64'], 'ExtProps' => ['type' => 'string'], 'CatId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryProductTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'Data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ProductTopicInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Operation' => ['type' => 'string'], 'ProductKey' => ['type' => 'string'], 'TopicShortName' => ['type' => 'string'], 'Id' => ['type' => 'string'], 'Desc' => ['type' => 'string'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryServerCallback' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'ServerCallbackInfo' => [ 'type' => 'object', 'properties' => [ 'CallbackType' => ['type' => 'integer', 'format' => 'int32'], 'ProductKey' => ['type' => 'string'], 'MnsConfiguration' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'QueryTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TopicName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'TopicList' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TopicInfo' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TopicName' => ['type' => 'string'], 'ProductKey' => ['type' => 'string'], 'OwnerUserId' => ['type' => 'string'], 'TopicMessageCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'RegistDevice' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'DeviceName' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'DeviceId' => ['type' => 'string'], 'DeviceSecret' => ['type' => 'string'], 'DeviceStatus' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'RevertRpc' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'RpcContent', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'TimeOut', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ErrorMessage' => ['type' => 'string'], 'RequestId' => ['type' => 'string'], 'ResponseContent' => ['type' => 'string'], 'RpcCode' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'SaveServerCallback' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MnsConfiguration', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CallbackType', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], 'ServerCallbackInfo' => [ 'type' => 'object', 'properties' => [ 'CallbackType' => ['type' => 'integer', 'format' => 'int32'], 'ProductKey' => ['type' => 'string'], 'MnsConfiguration' => ['type' => 'string'], 'GmtCreate' => ['type' => 'string'], 'GmtModified' => ['type' => 'string'], 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'ServerOnline' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'StartRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'StopRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'Sub' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'SubCallback', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TopicList', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Topic', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'SubTopicFilter' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'SubCallback', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Topic', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => true, 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'UnSub' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'TopicList', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Topic', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'UpdateProduct' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ProductName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ProductDesc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ExtProps', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CatId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'UpdateProductTopic' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'Desc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Operation', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TopicShortName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TopicId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'UpdateRule' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Select', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ShortTopic', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Where', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RuleDesc', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], 'UpdateRuleAction' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'ActionId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Configuration', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [], 'responseDemo' => '', ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'endpoint' => 'iot.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'endpoint' => 'iot.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'endpoint' => 'iot.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'endpoint' => 'iot.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'endpoint' => 'iot.ap-southeast-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'endpoint' => 'iot.us-east-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'endpoint' => 'iot.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'endpoint' => 'iot.eu-central-1.aliyuncs.com'], ], ];