調(diào)用DescribeTableListByType接口根據(jù)類型獲取表集合。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

請(qǐng)求參數(shù)

名稱 類型 是否必選 示例值 描述
Action String DescribeTableListByType

系統(tǒng)規(guī)定參數(shù)。取值:DescribeTableListByType

DbName String drds_flash****

數(shù)據(jù)庫(kù)名稱。

DrdsInstanceId String drdshbga76p6****

實(shí)例ID。

Query String drdshbga76p61861

搜索字段。

TableType String SINGLE

表類型。

RegionId String cn-hangzhou

地域ID。

PageSize Integer 10

每頁(yè)大小。

CurrentPage Integer 1

當(dāng)前頁(yè)。

返回?cái)?shù)據(jù)

名稱 類型 示例值 描述
List Array of List

返回集合。

Property String single

屬性。

TableName String employee_split

表名稱。

PageNumber Integer 1

第幾頁(yè)。

PageSize Integer 10

每頁(yè)大小。

RequestId String B360F47B-59E3-4D1C-BA03-6BFB1C993F88

請(qǐng)求唯一ID,如果遇到問(wèn)題請(qǐng)?zhí)峁┻@個(gè)請(qǐng)求ID,由工作人員為您排查。

Success Boolean true

請(qǐng)求是否成功。

Total Integer 1

總數(shù)量。

示例

請(qǐng)求示例

http(s)://[Endpoint]/?Action=DescribeTableListByType
&DbName=drds_flash****
&DrdsInstanceId=drdshbga76p6****
&Query=drdshbga76p61861
&TableType=SINGLE
&<公共請(qǐng)求參數(shù)>

正常返回示例

XML格式

<PageSize>10</PageSize>
<RequestId>B360F47B-59E3-4D1C-BA03-6BFB1C993F88</RequestId>
<PageNumber>1</PageNumber>
<Total>1</Total>
<List>
    <TableName>employee_split</TableName>
    <Property>single</Property>
</List>
<Success>true</Success>

JSON格式

{"PageSize":"10","RequestId":"B360F47B-59E3-4D1C-BA03-6BFB1C993F88","PageNumber":"1","Total":"1","List":[{"TableName":"employee_split","Property":"single"}],"Success":"true"}

錯(cuò)誤碼

HttpCode 錯(cuò)誤碼 錯(cuò)誤信息 描述
500 InternalError The request processing has failed due to some unknown error. 請(qǐng)求失敗,內(nèi)部錯(cuò)誤

訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。