请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeBroadcastTables | 系统规定参数。取值为DescribeBroadcastTables。 |
DbName | String | 是 | test_db | 数据库名称。 |
DrdsInstanceId | String | 是 | drds************ | 实例ID。 |
Query | String | 是 | tb1 | 查询内容。 |
RegionId | String | 否 | cn-hangzhou | 地域ID。 |
PageSize | Integer | 否 | 10 | 每页大小。 |
CurrentPage | Integer | 否 | 1 | 当前页数。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
IsShard | Boolean | true | 是否拆分。 |
List | Array of List | 广播表列表。 |
|
PageNumber | Integer | 1 | 分页当前页数。 |
PageSize | Integer | 40 | 每页大小。 |
RequestId | String | 86E420ED-43F2-4788-A58C-921849****** | 请求ID。 |
Success | Boolean | true | 请求结果。 |
Total | Integer | 2 | 总条数。 |
示例
请求示例
http(s)://drds.cn-hangzhou.aliyuncs.com/?Action=DescribeBroadcastTables &DbName=test_db &DrdsInstanceId=drdshbgangf0p6m9 &Query=tb1 &<公共请求参数>
正常返回示例
XML
格式
<DescribeBroadcastTablesReponse> <IsShard>true</IsShard> <RequestId>86E420ED-43F2-4788-A58C-921849******</RequestId> <PageSize>40</PageSize> <PageNumber>1</PageNumber> <Total>2</Total> <List> <Status>1</Status> <DbInstType>0</DbInstType> <IsShard>false</IsShard> <Table>nation</Table> <Broadcast>true</Broadcast> <BroadcastType>1</BroadcastType> </List> <Success>true</Success> </DescribeBroadcastTablesReponse>
JSON
格式
{ "DescribeBroadcastTablesReponse": { "IsShard": true, "RequestId": "86E420ED-43F2-4788-A58C-921849******", "PageSize": 40, "PageNumber": 1, "Total": 2, "List": { "Status": 1, "DbInstType": 0, "IsShard": false, "Table": "nation", "Broadcast": true, "BroadcastType": 1 }, "Success": true } }
错误码
访问错误中心查看更多错误码。