'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Dms', 'version' => '2018-01-10', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'GetAuditOverview', 'ShowDatabases', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetAuditOverview' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'deviceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'parentId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'subUser', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], [ 'name' => 'accountFilter', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'errorMessage' => [ 'type' => 'string', ], 'success' => [ 'type' => 'boolean', ], 'errorCode' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ 'type' => 'object', 'properties' => [ 'total' => [ 'type' => 'integer', 'format' => 'int32', ], 'instanceCount' => [ 'type' => 'integer', 'format' => 'int32', ], 'userCount' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], ], ], ], ], 'errorCodes' => [], ], 'ShowDatabases' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', ], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'deviceId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'parentId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'subUser', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], [ 'name' => 'loginToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'errorMessage' => [ 'type' => 'string', ], 'success' => [ 'type' => 'boolean', ], 'errorCode' => [ 'type' => 'string', ], 'requestId' => [ 'type' => 'string', ], 'data' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'rows' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'dbName' => [ 'type' => 'string', ], 'collation' => [ 'type' => 'string', ], 'charset' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], ], ], 'endpoints' => [ [ 'regionId' => 'cn-beijing', 'endpoint' => 'dms.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'dms.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'dms.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'dms.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'dms.ap-southeast-1.aliyuncs.com', ], ], ];