'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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], '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' => null, ], ], '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', ], ], ];